1 2014-03-08 Juanma Barranquero <lekktu@gmail.com>
3 * frameset.el (frameset-restore): When no frame is visible, do not
4 generate a list of frames, just make visible the selected one.
6 2014-03-08 Dmitry Gutov <dgutov@yandex.ru>
8 * vc/vc-git.el (vc-git-command): Turn FILE-OR-LIST into nil when
9 it only contains the repository root. (Bug#16897)
11 2014-03-07 Michael Albinus <michael.albinus@gmx.de>
13 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Run first pass
14 only when `remote-file-name-inhibit-cache' is nil.
15 (tramp-sh-file-name-handler): Use `tramp-error'. Simplify code.
17 2014-03-06 Martin Rudalics <rudalics@gmx.at>
19 * window.el (fit-frame-to-buffer, fit-frame-to-buffer-margins):
21 (fit-frame-to-buffer): New argument ONLY. Remove dependency on
22 fit-frame-to-buffer variable. Fix doc-string.
23 (fit-window-to-buffer): Set ONLY argument in call of
24 fit-frame-to-buffer. Fix doc-string.
26 2014-03-06 Michael Albinus <michael.albinus@gmx.de>
28 * net/tramp.el (tramp-error): VEC-OR-PROC can be nil.
29 (tramp-action-password): Clear password cache if needed.
30 (tramp-read-passwd): Do not clear password cache.
32 * net/tramp-gvfs.el (tramp-gvfs-handler-askpassword): Clear password
33 cache unless it is the first password request.
35 2014-03-06 Glenn Morris <rgm@gnu.org>
37 * simple.el (newline): Doc tweak.
39 * emacs-lisp/shadow.el (load-path-shadows-find):
40 Ignore dir-locals. (Bug#12357)
42 2014-03-05 Glenn Morris <rgm@gnu.org>
44 * files.el (interpreter-mode-alist):
45 * progmodes/sh-script.el (sh-ancestor-alist): Add dash. (Bug#16938)
47 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
49 * frameset.el (frameset--initial-params): Filter out null entries.
51 2014-03-05 Martin Rudalics <rudalics@gmx.at>
53 * window.el (window-min-height, window-min-width):
55 (window-body-size): Add PIXELWISE argument to make it consistent
58 2014-03-05 Juanma Barranquero <lekktu@gmail.com>
60 * finder.el (finder-mode-map, finder-mode-syntax-table):
61 Revert part of 2014-02-28 change.
63 2014-03-05 Lars Ingebrigtsen <larsi@gnus.org>
65 * net/eww.el (eww-mode-map): [tab] doesn't work on tty.
66 (eww-setup-buffer): Clear next/prev/etc more reliably.
67 (eww-textarea-map): [tab] doesn't work on tty.
68 Reported by Mario Lang.
70 * net/shr.el (shr-map): Ditto.
72 2014-03-04 Glenn Morris <rgm@gnu.org>
74 * minibuffer.el (completion-hilit-commonality):
75 Revert 2014-03-01 short-cut, which changed the return value. (Bug#16933)
77 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
79 * hilit-chg.el (hilit-chg-unload-function): New function.
80 (highlight-changes-mode, highlight-changes-visible-mode): Fix typos.
81 (hilit-chg-map-changes): Prefer cardinal number to digit.
82 (hilit-chg-display-changes): Reflow docstring.
83 (highlight-changes-rotate-faces): Remove superfluous backslash.
85 2014-03-04 Michael Albinus <michael.albinus@gmx.de>
87 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Do not call
88 `tramp-send-command-and-check'.
90 2014-03-04 Juanma Barranquero <lekktu@gmail.com>
92 * hexl.el (hexl-address-region, hexl-ascii-region)
93 (hexl-goto-hex-address, hexl-backward-char, hexl-forward-char)
94 (hexl-backward-short, hexl-forward-short, hexl-backward-word)
95 (hexl-forward-word, hexl-previous-line, hexl-next-line):
96 Use "Hexl mode" for non-hyperlinked hexl-mode references in docstrings.
98 (hexl-ascii-start-column, hexl-beginning-of-line, hexl-end-of-line)
99 (hexl-mode-ruler): Fix typos in docstrings.
101 * strokes.el (strokes-xpm-header, strokes-rate-stroke): Fix typos.
102 (strokes-character, strokes-get-grid-position, strokes-list-strokes):
103 Remove superfluous backslashes.
104 (strokes-last-stroke, strokes-global-map, strokes-mode):
106 (strokes-xpm-for-stroke, strokes-xpm-to-compressed-string)
107 (strokes-xpm-for-compressed-string): Use quotes with buffer name.
108 (strokes-distance-squared, strokes-global-set-stroke)
109 (strokes-global-set-stroke-string): Doc fixes.
110 (strokes-help): Fix typos; reflow docstring.
112 2014-03-04 Martin Rudalics <rudalics@gmx.at>
114 * window.el (window-in-direction): Fix doc-string.
116 2014-03-04 Glenn Morris <rgm@gnu.org>
118 * emacs-lisp/smie.el (smie-config-guess): Doc fix.
119 Explicit error if no grammar.
120 (smie-config-save): Doc fix. Fix quote typo.
122 2014-03-04 Stefan Monnier <monnier@iro.umontreal.ca>
124 * progmodes/cc-mode.el (c-initialize-cc-mode): Only hook into
125 electric-indent-mode-hook if we obey electric-indent-mode.
126 (c-basic-common-init): Use (fboundp 'electric-indent-local-mode) to
127 decide whether we obey electric-indent-mode.
128 (c-change-set-fl-decl-start, c-extend-after-change-region):
130 (c-electric-indent-mode-hook): Assume we do want to obey
131 electric-indent-mode.
133 * electric.el (electric-indent-mode-has-been-called): Remove.
134 (electric-indent-mode): Fix accordingly.
136 * files.el (hack-local-variables): Mention file name in warning.
138 * htmlfontify.el (hfy-fontify-buffer): Drop `invis-range' message.
140 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
142 * binding.el: Add comment describing why C-d binds to `delete-char'.
143 * simple.el (delete-forward-char): Mark as interactive-only.
145 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
147 * icomplete.el (icomplete-completions):
148 Follow-up to 2014-03-01 change.
150 * icomplete.el: Miscellaneous doc fixes.
151 Use Icomplete everywhere instead of icomplete for consistency.
152 (icomplete-max-delay-chars): Fix typo.
153 (icomplete-mode): Use \[].
154 (icomplete-tidy, icomplete-exhibit): Reflow.
155 (icomplete-minibuffer-setup-hook, icomplete-completions):
156 Remove superfluous backlashes.
158 * ido.el: Miscellaneous doc fixes.
159 Use Ido everywhere instead of ido or `ido' for consistency.
160 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
161 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
162 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
163 (ido-separator): Extract obsolescence info from docstring and declare
164 with make-obsolete-variable.
165 (ido-minibuffer-setup-hook): Simplify example.
166 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
167 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
168 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
169 (ido-everywhere): Reflow docstring.
170 (ido-toggle-vc): Doc fix.
171 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
172 of long list of keybindings.
174 2014-03-03 Glenn Morris <rgm@gnu.org>
176 * frame.el (display-pixel-height, display-pixel-width)
177 (display-mm-dimensions-alist, display-mm-height)
178 (display-mm-width): Doc tweaks.
180 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
182 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
183 case of undo in region.
185 2014-03-02 Martin Rudalics <rudalics@gmx.at>
187 * window.el (fit-window-to-buffer): Fix argument in window-size
188 call when window is horizontally combined.
190 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
192 * icomplete.el (icomplete-completions): Use string-width.
193 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
195 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
197 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
198 Highlight regexp options. (Bug#16914)
200 2014-03-01 Martin Rudalics <rudalics@gmx.at>
202 * window.el (window--max-delta-1): Round down when calculating
203 how many lines/columns we can get from a window.
205 2014-03-01 Glenn Morris <rgm@gnu.org>
207 * isearch.el (search-invisible): Doc fix.
209 * minibuffer.el (completion-hilit-commonality):
210 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
211 * comint.el (comint-dynamic-list-completions): Doc fix.
212 * comint.el (comint-dynamic-list-completions):
213 * filecache.el (file-cache-minibuffer-complete):
214 * tempo.el (tempo-display-completions):
215 * eshell/em-hist.el (eshell-list-history):
216 Replace use of obsolete argument of display-completion-list.
218 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
220 * icomplete.el (icomplete-completions):
221 Revert back to using "..." when ?… cannot be displayed.
223 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
225 * finder.el (finder-unload-function): New function.
227 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
229 * dframe.el (dframe-detach):
230 * find-dired.el (find-dired, find-name-dired):
231 * finder.el (finder-mode-map, finder-mode-syntax-table)
232 (finder-headmark, finder-select, finder-mouse-select):
235 2014-02-28 Martin Rudalics <rudalics@gmx.at>
237 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
238 * window.el (with-temp-buffer-window): Revert change from 2014-02-21.
239 Suggested by Thierry Volpiatto <thierry.volpiatto@gmail.com>.
240 Fix doc-string based on a suggestion by Nicolas Richard
241 <theonewiththeevillook@yahoo.fr>.
242 * help.el (with-help-window): Fix doc-string.
244 2014-02-28 Ivan Kanis <ivan@kanis.fr>
246 * net/shr.el (shr-image-animate): New option.
247 (shr-put-image): Respect shr-image-animate.
249 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
251 * net/tramp-adb.el (tramp-adb-parse-device-names):
252 Use `accept-process-output'.
253 (tramp-adb-handle-file-truename): Cache the localname only.
254 (tramp-adb-handle-make-directory)
255 (tramp-adb-handle-delete-directory): Flush file properties correctly.
256 (tramp-adb-handle-set-file-modes): Do not raise an error when file
257 modes cannot be changed.
259 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
260 file properties of symlinks.
262 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
264 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
265 required/optional fields to match development biblatex. (Bug#16781)
267 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
269 * saveplace.el (toggle-save-place):
270 Fix argument handling. (Bug#16673)
272 2014-02-28 Glenn Morris <rgm@gnu.org>
274 * minibuffer.el (completions-first-difference)
275 (completions-common-part, completion-hilit-commonality): Doc fixes.
277 2014-02-28 Karl Berry <karl@gnu.org>
279 * info.el (Info-mode-map): Add H for describe-mode,
280 to synchronize with standalone Info.
282 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
284 * progmodes/sql.el (sql-interactive-mode):
285 Avoid setting global comint-input-ring-separator. (Bug#16814)
287 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
289 * net/dbus.el (dbus--init-bus): Declare function.
290 (dbus-path-local, dbus-interface-local): New defconst.
291 (dbus-init-bus): Use them.
292 (dbus-return-values-table): Extend doc.
293 (dbus-handle-bus-disconnect): Extend error message.
295 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
297 * subr.el (y-or-n-p): Fix double space issue in message.
299 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
301 * net/tramp.el (tramp-call-process): Improve trace message.
302 (tramp-handle-insert-file-contents): Trace error case.
304 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
305 <insert-directory>: Use `tramp-handle-insert-directory'.
306 (tramp-adb-handle-insert-directory): Remove function.
307 (tramp-adb-send-command-and-check): New defun, replacing
308 `tramp-adb-command-exit-status'. Change all callees.
309 (tramp-adb-handle-file-attributes)
310 (tramp-adb-handle-directory-files-and-attributes): Use it.
311 (tramp-adb-ls-output-name-less-p):
312 Use `directory-listing-before-filename-regexp'.
313 (tramp-adb-handle-delete-directory): Flush also file properties of
314 the truename of directory.
315 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
316 (tramp-adb-handle-file-local-copy): Make the local copy readable.
317 (tramp-adb-handle-write-region): Implement APPEND.
318 (tramp-adb-handle-rename-file): Make it more robust. Flush file
319 properties correctly.
320 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
321 variables. Check for connected devices only when needed.
323 2014-02-27 Glenn Morris <rgm@gnu.org>
325 * minibuffer.el (completion-table-dynamic)
326 (completion-table-with-cache): Doc fixes.
328 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
329 (completing-read-multiple): Doc fixes.
331 2014-02-27 Daniel Colascione <dancol@dancol.org>
333 * minibuffer.el (completion--nth-completion): Fix indentation.
335 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
336 explicit tramp path is empty.
338 2014-02-27 Glenn Morris <rgm@gnu.org>
340 * emacs-lisp/crm.el (completing-read-multiple):
341 Empower help-enable-auto-load.
343 2014-02-26 Glenn Morris <rgm@gnu.org>
345 * startup.el (command-line): Don't init the tty in daemon mode.
347 Avoid calling tty-setup-hook twice, eg if a term file
348 explicitly calls tty-run-terminal-initialization. (Bug#16859)
349 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
350 (tty-create-frame-with-faces): Use it.
351 * startup.el (command-line): Pass run-hook argument
352 to tty-run-terminal-initialization.
354 * dired.el (dired-restore-desktop-buffer): Demote errors;
355 eg in case a glob match fails. (Bug#16884)
357 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
359 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
360 error from `read-from-string'. (Bug#16850)
362 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
363 result of `completing-read' in the interactive form. (Bug#16854)
365 2014-02-25 Glenn Morris <rgm@gnu.org>
367 * image.el (image-animate, image-animate-timeout):
368 Stop animating images in dead buffers. (Bug#16878)
370 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
372 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
374 * startup.el (term-setup-hook): Doc fix. Make obsolete.
375 * term/sun.el (sun-raw-prefix-hooks):
376 Use tty-setup-hook instead of term-setup-hook.
377 (terminal-init-sun): Construct message from bytecomp plist.
378 * term/wyse50.el (enable-arrow-keys): Doc fix.
380 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
382 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
385 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
387 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
389 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
391 * minibuffer.el (completion--try-word-completion):
392 Fix error when completing M-x commands (bug#16808).
394 2014-02-24 Leo Liu <sdl.web@gmail.com>
396 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
398 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
400 * apropos.el (apropos-print): Avoid formatting error when
401 apropos-do-all and apropos-compact-layout are both t.
403 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
405 * apropos.el (apropos-property, apropos-all-words-regexp)
406 (apropos-true-hit, apropos-variable, apropos-print):
407 Fix docstring typos, and remove obsolete comment.
409 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
411 * net/tramp-sh.el (tramp-sh-handle-file-truename):
412 Preserve trailing "/". (Bug#16851)
414 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
416 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
417 after `=>' (bug#16811).
418 (ruby-smie-rules): Handle the inconsistent second element of the
419 list returned by `smie-indent--parent'.
420 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
423 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
425 * elec-pair.el (electric-pair-text-syntax-table)
426 (electric-pair-syntax-info, electric-pair--syntax-ppss)
427 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
428 (electric-pair--looking-at-unterminated-string-p): Doc fix.
429 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
431 2014-02-22 Glenn Morris <rgm@gnu.org>
433 * imenu.el (imenu--generic-function): Doc fix.
435 * register.el (frame-configuration-to-register): Make obsolete.
437 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
439 * desktop.el (desktop-save-buffer-p): Do not fail when
440 desktop-files-not-to-save is nil. Return t for true result
443 2014-02-22 Daniel Colascione <dancol@dancol.org>
445 * net/secrets.el (secrets-create-item, secrets-search-items):
446 Check that attribute values are strings, avoiding the construction
447 of invalid dbus messages.
449 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
451 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
452 defun-declarations-alist.
454 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
456 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
459 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
461 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
462 (whitespace-newline, whitespace-trailing, whitespace-line)
463 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
464 (whitespace-space-after-tab): Fix typo in docstrings.
466 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
468 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
470 * electric.el (electric-indent-functions-without-reindent):
471 Add `yaml-indent-line'.
473 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
475 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
476 It has done nothing for years; should be removed after the release.
478 * simple.el (choose-completion): Fix docstring typo.
479 (read-quoted-char-radix): Remove unneeded * in docstring.
480 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
481 Don't escape parentheses unnecessarily in docstrings.
483 2014-02-21 Martin Rudalics <rudalics@gmx.at>
485 Fix handling of window-min-height/-width (Bug#16738).
486 * window.el (window--dump-window, window--dump-frame):
488 (window--min-size-1): Account for window dividers.
489 When window-resize-pixelwise is nil, delay rounding till after the
490 sum of the window components has been calculated.
491 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
492 nil make sure at least one text line and two text columns remain
494 (window-resize): Signal an error when window-resize-apply fails.
495 (window--resize-child-windows): Fix calculation of by how many
496 pixels a window can still be shrunk via window-new-normal.
497 (adjust-window-trailing-edge): Call window--resizable with
498 correct TRAIL argument.
500 (with-temp-buffer-window): Don't evaluate BODY within
501 with-current-buffer (Bug#16816).
503 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
505 * net/tramp.el (tramp-check-cached-permissions):
506 Call `file-attributes' with `suffix' being a symbol but a string.
508 2014-02-21 Daniel Colascione <dancol@dancol.org>
510 * net/dbus.el (dbus-init-bus-1): Declare new subr.
511 (dbus-init-bus): New function: call into dbus-init-bus-1
512 and installs a handler for the disconnect signal.
513 (dbus-call-method): Rewrite to look for result in cons.
514 (dbus-call-method-handler): Store result in cons.
515 (dbus-check-event): Recognize events with nil sender as valid.
516 (dbus-handle-bus-disconnect): New function. React to bus
517 disconnection signal by synthesizing dbus error for each
518 pending synchronous or asynchronous call.
519 (dbus-notice-synchronous-call-errors): New function.
520 (dbus-handle-event): Raise errors directly only when `dbus-debug'
521 is true, not all the time.
523 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
525 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
526 Remove obsolescence declarations, these variables do not exist anymore.
528 * savehist.el (savehist-save-minibuffer-history)
529 (savehist-additional-variables, savehist-file, savehist-mode-hook)
530 (savehist-save-hook, savehist-coding-system, savehist-loaded)
531 (savehist-load, savehist-install, savehist-autosave): Fix typos;
532 mostly, refer to "Savehist mode" when talking about the mode,
533 and not the function.
535 * saveplace.el (save-place): Remove redundant info in docstring.
536 (save-place-forget-unreadable-files, toggle-save-place)
537 (save-place-forget-unreadable-files, save-place-dired-hook):
538 Fix typos and remove unneeded backslashes.
540 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
542 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
543 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
545 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
546 <insert-directory>: Use `tramp-handle-insert-directory'.
547 (tramp-gvfs-handle-insert-directory): Remove function.
549 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
550 Call `tramp-handle-insert-directory'.
552 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
554 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
555 before the start of buffer/region (bug#16799).
557 2014-02-20 Glenn Morris <rgm@gnu.org>
559 * isearch.el (search-invisible): Doc fix.
561 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
563 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
566 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
568 * frameset.el (frameset-restore): Delay removing an old frame's
569 duplicate id until the new frame has been correctly created.
571 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
573 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
574 (tramp-check-cached-permissions): Call `file-attributes' if the
577 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
578 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
580 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
581 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
582 (tramp-gvfs-maybe-open-connection): Set always connection
583 properties, even if target is mounted already.
585 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
586 Set tramp-autoload cookie.
587 (tramp-get-remote-touch): New defun.
588 (tramp-sh-handle-set-file-times): Use it.
589 (tramp-sh-handle-directory-files-and-attributes):
590 Use `tramp-handle-directory-files-and-attributes' if neither stat
591 nor perl are available on the remote host.
593 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
594 "/". Write long listing only when "l" belongs to the switches.
596 * net/trampver.el: Update release number.
598 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
600 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
602 2014-02-19 Martin Rudalics <rudalics@gmx.at>
604 * window.el (window-state-put): Allow WINDOW to refer to an
605 internal window (Bug#16793).
607 2014-02-19 Glenn Morris <rgm@gnu.org>
609 * textmodes/remember.el: Move provide statement to end.
610 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
611 (remember-notes): Doc fixes.
613 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
615 * delsel.el (delete-char): Restore incorrectly erased property
618 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
620 * frameset.el (frameset--restore-frame): When a frame is being reused
621 and its root window is not alive, delete all the frame's windows before
622 restoring the window state. This works around the issue in bug#16793.
624 2014-02-18 Glenn Morris <rgm@gnu.org>
626 * textmodes/remember.el (remember-data-directory)
627 (remember-directory-file-name-format, remember-store-in-files)
628 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
629 (remember-notes-save-and-bury-buffer)
630 (remember-notes--kill-buffer-query): Doc fixes.
632 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
634 2014-02-17 Alan Mackenzie <acm@muc.de>
636 Connect electric-indent-mode up with CC Mode. Bug #15478.
637 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
638 to electric-indent-{,local-}-mode.
639 (c-basic-common-init): Set electric-indent-inhibit.
640 Initialise c-electric-flag from electric-indent-mode.
641 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
642 New hook functions which propagate electric-indent-mode to CC mode.
644 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
645 hit, toggle electric-indent-local-mode.
647 * electric.el (electric-indent-mode-has-been-called):
650 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
652 * frameset.el (frameset-cfg-id): New function.
653 (frameset--reuse-frame, frameset-restore): Use it.
654 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
656 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
658 * ido.el (ido-file-internal): Remove unused var `d'.
659 Use \` for to match BoS. Fit within 80n columns.
661 2014-02-17 Daniel Colascione <dancol@dancol.org>
663 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
664 dbus-call-method check for completion using a busy-wait loop with
667 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
669 Sync with Tramp 2.2.9.
671 * net/trampver.el: Update release number.
673 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
675 * ido.el (ido-file-internal): Don't add the name of an existing
676 directory twice. (Bug#16747)
678 2014-02-16 Glenn Morris <rgm@gnu.org>
680 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
681 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
683 2014-02-15 Michael R. Mauger <michael@mauger.com>
685 * progmodes/sql.el: Version 3.4
686 (sql-oracle-options): New default value ("-L").
687 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
688 (sql-placeholders-filter): Correct placeholder pattern.
689 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
690 (sql-login-delay): New variable.
691 (sql-product-interactive): Use it.
693 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
695 * frameset.el (frameset--jump-to-register): Check that buffer is live
698 2014-02-15 Glenn Morris <rgm@gnu.org>
700 * info.el (info-initialize): Revert 2014-01-10 change.
702 2014-02-14 Glenn Morris <rgm@gnu.org>
704 * replace.el (map-query-replace-regexp)
705 (read-regexp-defaults-function, read-regexp): Doc fixes.
707 * dired.el (dired-read-regexp):
708 * faces.el (list-faces-display):
709 * misearch.el (multi-isearch-read-matching-buffers)
710 (multi-isearch-read-matching-files):
711 * play/cookie1.el (cookie-apropos):
712 * progmodes/grep.el (grep-read-regexp): Doc fixes.
714 * textmodes/remember.el (remember): Use frameset-to-register
715 rather than frame-configuration-to-register.
717 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
719 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
720 incorrect keybinding.
722 2014-02-13 Daniel Colascione <dancol@dancol.org>
724 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
725 when adding overlays so that line numbers from compiler match line
728 2014-02-13 Glenn Morris <rgm@gnu.org>
730 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
732 * jit-lock.el (jit-lock-mode): Doc fix.
734 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
736 * apropos.el (apropos-read-pattern): When the user passes an empty
737 string, give a more helpful error message than "Wrong type
738 argument: stringp, nil".
740 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
742 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
744 2014-02-13 Glenn Morris <rgm@gnu.org>
746 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
748 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
750 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
751 shift-select commands.
753 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
755 * progmodes/js.el (js-indent-line): Don't widen.
756 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
758 2014-02-12 Glenn Morris <rgm@gnu.org>
760 * icomplete.el (icomplete): Add info-link to defgroup.
761 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
762 (icomplete-minibuffer-map, icomplete-mode)
763 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
765 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
766 (package-menu-filter): Rename from package-menu-filter-interactive.
769 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
771 * frameset.el (frameset--jump-to-register): Select the required
772 window and buffer before restoring position (bug#16696).
774 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
776 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
778 2014-02-10 Glenn Morris <rgm@gnu.org>
780 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
782 2014-02-10 Eli Zaretskii <eliz@gnu.org>
784 * w32-common-fns.el (x-get-selection): Doc fix.
785 * select.el (x-get-selection): Doc fix. (Bug#15109)
787 * face-remap.el (face-remap-add-relative)
788 (face-remap-remove-relative, face-remap-reset-base)
789 (face-remap-set-base): Call force-mode-line-update to redisplay
790 the current buffer due to potential change in faces. (Bug#16709)
792 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
794 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
795 script more robustly.
797 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
799 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
801 * simple.el (choose-completion): Doc fix (bug#14160).
803 * subr.el (event-start): Say what a nil EVENT value means.
805 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
808 * progmodes/grep.el (find-program): Doc fix (bug#14289).
810 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
812 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
814 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
815 predicate function (bug#15455).
817 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
819 * ielm.el (inferior-emacs-lisp-mode): Instead of
820 `comment-use-global-state', set `comment-use-syntax'.
822 2014-02-10 Glenn Morris <rgm@gnu.org>
824 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
826 2014-02-09 Alan Mackenzie <acm@muc.de>
828 Fix c-invalidate-state-cache on narrowed buffers.
829 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
830 Widen when setting and clearing the CPP delimiter properties.
832 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
834 * help.el (describe-bindings): Doc fix (bug#9888).
836 * files.el (save-buffer): Use ARG as the parameter name for
837 consistency (bug#10346).
838 (save-buffer): Clarify the 0 argument (bug#10346).
840 * cus-edit.el (customize-apropos): Fix error string.
841 (custom-buffer-create): Doc fix (bug#11122).
842 (custom-sort-items): Doc fix (bug#11121).
844 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
846 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
847 (icomplete-simple-completing-p): Mention the previous variable.
849 * font-lock.el (font-lock-value-in-major-mode): Clarify the
850 meaning of the parameter (bug#12282).
852 * files.el (find-file-noselect): Clarify prompt when changing
853 readedness (bug#13261).
854 (locate-file): Suffixes aren't returned, so don't say that they
856 (backup-inhibited): Doc clarification (bug#12525).
858 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
859 before we actually start to delete things (bug#16331).
861 * subr.el (event-start): Doc fix (bug#14228).
864 2014-02-09 Glenn Morris <rgm@gnu.org>
866 * emacs-lisp/warnings.el (lwarn):
867 Empower help-enable-auto-load. (Bug#15940)
869 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
871 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
874 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
876 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
877 Insert output at end of buffer. (Bug#16120)
879 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
881 * simple.el (choose-completion-string-functions): Document new
882 calling convention (bug#14153).
883 (execute-extended-command): Clarify doc string (bug#13373).
885 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
887 * find-dired.el (find-name-dired): Doc fix (bug#14290).
888 (find-grep-dired): Doc fix (bug#14288).
890 2014-02-08 Juri Linkov <juri@jurta.org>
892 * isearch.el (isearch-quote-char): Check character validity
893 like in `quoted-insert' (bug#16677).
895 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
897 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
899 * isearch.el (isearch-hide-immediately): Doc clarification
902 * simple.el (line-move): Document utility function used many
903 places in the Emacs sources (bug#14843).
905 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
906 (dired-prev-marked-file): Doc fix (bug#14855).
907 (dired-up-directory): Doc fix (bug#14848).
909 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
911 * files.el (file-relative-name): Doc fix (bug#15159).
913 * fringe.el (fringe-styles): Doc fix (bug#15239).
915 * isearch.el (isearch-filter-predicate): Documentation typo fix
918 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
920 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
922 * replace.el (replace-match-maybe-edit): Doc clarification
925 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
927 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
929 2014-02-08 Glenn Morris <rgm@gnu.org>
931 * help-fns.el (describe-variable):
932 Check {file,dir}-local-variables-alist, and buffer-file-name,
933 in the correct buffer.
935 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
937 * help-fns.el (describe-variable): Fix the case where
938 a value is directory-local with no dir-locals file. (Bug#16635)
940 2014-02-08 Glenn Morris <rgm@gnu.org>
942 * abbrev.el (edit-abbrevs-mode):
943 Derive from fundamental-mode. (Bug#16682)
945 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
947 * simple.el (quoted-insert): Check character validity (bug#16677).
949 2014-02-07 Juri Linkov <juri@jurta.org>
951 * desktop.el (desktop-read): Claim the lock when the owner is not
952 the current process. (Bug#16157)
954 2014-02-07 Juri Linkov <juri@jurta.org>
956 * desktop.el (desktop-buffers-not-to-save): Change default from nil
957 to "\\` ". (Bug#16651)
959 2014-02-07 Juri Linkov <juri@jurta.org>
961 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
962 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
963 (desktop-auto-save-cancel-timer): New function with some code from
964 `desktop-auto-save-set-timer'.
965 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
966 Instead of setting `desktop-save-mode' to nil, call
967 `desktop-save-mode' with arg 0. (Bug#16630)
969 2014-02-07 Glenn Morris <rgm@gnu.org>
971 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
972 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
973 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
975 * obsolete/iswitchb.el: Move to obsolete/.
976 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
977 since obsolete/ is not scanned for autoloads.
978 * emacs-lisp/authors.el (authors-valid-file-names):
981 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
982 Disable now non-functional find-file-hook.
984 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
986 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
987 instead of ";" in order to avoid additional prompts. Let heredoc
988 scripts read from tty. (Bug#16582)
989 (tramp-send-command): No special handling of heredocs, it isn't
992 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
994 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
995 with a space (bug#16664). Limit the symbols considered to the ones
996 that are bound or fbound (bug#16646).
998 2014-02-06 Glenn Morris <rgm@gnu.org>
1000 * epa.el (epa-mail-aliases): Doc fix.
1002 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
1004 * emacs-lisp/lisp.el (lisp-completion-at-point):
1005 Use `completion-table-merge' instead of `completion-table-in-turn'
1008 * minibuffer.el (completion-table-merge): New function.
1010 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
1012 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
1013 (tramp-sh-handle-set-file-acl)
1014 (tramp-sh-handle-start-file-process)
1015 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
1016 (tramp-find-executable, tramp-send-command): Use it.
1018 2014-02-05 Glenn Morris <rgm@gnu.org>
1020 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
1022 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
1024 * progmodes/python.el (python-shell-send-string)
1025 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
1027 2014-02-04 Anders Lindgren <andlind@gmail.com>
1029 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
1030 the names (bug#16620).
1032 2014-02-03 Martin Rudalics <rudalics@gmx.at>
1034 * faces.el (window-divider): New default value. Rewrite doc-string.
1035 (window-divider-first-pixel, window-divider-last-pixel): New faces.
1037 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
1039 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
1040 `protected' and `public' can also be called without arguments.
1042 2014-02-03 Glenn Morris <rgm@gnu.org>
1044 * register.el (window-configuration-to-register)
1045 (frame-configuration-to-register): Unadvertise unused argument.
1046 * frameset.el (frameset-to-register): Remove unused argument.
1048 * frameset.el (frameset-to-register):
1049 * kmacro.el (kmacro-to-register):
1050 * register.el (increment-register):
1051 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
1052 (calc-append-to-register, calc-prepend-to-register):
1053 * play/gametree.el (gametree-layout-to-register)
1054 (gametree-apply-register-layout):
1055 * textmodes/picture.el (picture-clear-rectangle-to-register)
1056 (picture-yank-rectangle-from-register):
1057 * vc/emerge.el (emerge-combine-versions-register):
1058 Use register-read-with-preview to read registers.
1060 2014-02-03 João Távora <joaotavora@gmail.com>
1062 * elec-pair.el (electric-pair-backward-delete-char): Don't error
1063 when at beginning of (possibly narrowed) buffer.
1065 2014-02-02 Daniel Colascione <dancol@dancol.org>
1067 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
1068 Also try to display local help from just before point.
1070 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
1072 c-parse-state. Don't "append-lower-brace-pair" in certain
1073 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
1074 recognised as a comment.
1076 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
1077 as well as normal comment starter.
1078 (c-parse-state-get-strategy): Extra return possibility
1080 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
1081 return value list to indicate replacement of a brace-pair cons
1083 (c-parse-state-1): With 'back-and-forward, only call
1084 c-append-lower-brace-pair-to state-cache when cons-separated.
1086 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
1088 * term/ns-win.el (ns-suspend-error): New function.
1089 (ns-initialize-window-system): Add ns-suspend-error to
1090 suspend-hook (Bug#16612).
1092 2014-02-02 Daniel Colascione <dancol@dancol.org>
1094 * progmodes/cc-defs.el (c-find-assignment-for-mode):
1095 Make loading cc-mode silent.
1097 2014-02-02 Daniel Colascione <dancol@dancol.org>
1099 * comint.el (comint-prompt-read-only): Change doc to suggest
1102 2014-02-02 Glenn Morris <rgm@gnu.org>
1104 * register.el (register-read-with-preview, point-to-register)
1105 (window-configuration-to-register, frame-configuration-to-register)
1106 (jump-to-register, number-to-register, view-register, insert-register)
1107 (copy-to-register, append-to-register, prepend-to-register)
1108 (copy-rectangle-to-register): Doc fixes.
1110 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
1112 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
1113 * emacs-lisp/find-func.el (find-function-C-source): Idem.
1114 * emacs-lisp/nadvice.el (advice--cd*r): New function.
1115 * help-fns.el (describe-function-1): Use it.
1117 2014-02-02 Glenn Morris <rgm@gnu.org>
1119 * register.el (register-preview-default): New function,
1120 split from register-preview.
1121 (register-preview-function): Rename from register-preview-functions,
1123 (register-preview): Use register-preview-function.
1124 (register-read-with-preview): Error on non-character event. (Bug#16595)
1126 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
1128 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
1129 `:' before binary operators (bug#16609). Don't check for `:'
1130 before `[' and `(', or their syntax status. A percent literal
1131 can't end with either.
1132 (ruby-font-lock-keywords): For built-ins that require arguments,
1133 check that they're followed by something that looks like argument
1136 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
1138 * subr.el (butlast): Document what an omitted N means (bug#13437).
1141 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1143 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1144 depth shallower (bug#16587).
1145 (shr-tag-svg): Respect `shr-inhibit-images'.
1146 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1148 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1150 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1151 (ruby-smie-grammar): Make "." right-associative. Make its priority
1152 lower than the ternary and all binary operators.
1153 (ruby-smie-rules): Indent "(" relative to the first non-"."
1154 parent, or the first "." parent at indentation.
1155 Use `ruby-align-chained-calls' for indentation of "." tokens.
1158 2014-01-31 Juri Linkov <juri@jurta.org>
1160 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1161 from `make-hash-table'.
1163 * textmodes/ispell.el (ispell-init-process): Change message format
1164 to be consistent with other messages.
1166 2014-01-31 Glenn Morris <rgm@gnu.org>
1168 * delsel.el (delete-selection-mode): Doc fix.
1170 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1171 (trace-function-background): Doc fixes.
1173 * ido.el (ido-use-virtual-buffers): Doc fix.
1174 Reset :version, since the default value has not changed.
1176 * register.el (register-preview-delay, register-read-with-preview):
1179 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1180 do not mess with mail-buffer position (fixes 2009-11-03 change).
1181 * progmodes/cc-mode.el (c-submit-bug-report):
1182 Check auto-fill-mode is bound. (Bug#16592)
1184 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1186 * startup.el (fancy-splash-image-file): New function,
1187 split from fancy-splash-head.
1188 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1189 so that we are both using the same image. (Bug#16574)
1191 2014-01-30 Glenn Morris <rgm@gnu.org>
1193 * simple.el (eval-expression): Doc fix.
1195 * hexl.el (hexl-mode-hook):
1196 * ielm.el (ielm-mode-hook):
1197 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1198 (lisp-interaction-mode-hook):
1199 * progmodes/cfengine.e (cfengine3-documentation-function):
1200 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1202 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1204 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1205 is a symbol (bug#16584).
1207 2014-01-30 Glenn Morris <rgm@gnu.org>
1209 * help.el (help-for-help-internal): Add "P" to text.
1211 2014-01-29 Glenn Morris <rgm@gnu.org>
1213 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1215 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1217 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1220 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1222 * progmodes/hideif.el: Extend to full CPP expression syntax.
1223 (hif-token-alist): Add missing tokens.
1224 (hif-token-regexp): Add support for float/octal/hex immediates.
1225 (hif-string-literal-regexp): New const.
1226 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1227 (hif-exprlist): New function.
1228 (hif-parse-if-exp): Use it.
1229 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1230 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1231 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1232 (hif-logxor, hif-comma): New functions.
1234 2014-01-28 Glenn Morris <rgm@gnu.org>
1236 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1238 * indent.el (tab-stop-list): Doc fix. Add :version.
1240 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1241 (cvs-append-to-ignore): Add compatibility alias.
1243 2014-01-27 Glenn Morris <rgm@gnu.org>
1245 * dired.el (dired-hide-details-mode): Don't autoload it,
1246 since it cannot be used outside Dired buffers anyway.
1248 * emulation/cua-base.el (cua-mode): Doc fix.
1250 * dired.el (dired-hide-details-hide-symlink-targets)
1251 (dired-hide-details-hide-information-lines)
1252 (dired-hide-details-mode): Doc fixes.
1254 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1255 * strokes.el (strokes-file): Doc fix. Bump :version.
1256 (strokes-help): Doc fix.
1257 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1258 * emulation/viper.el (viper): Doc fix for custom group.
1259 (top-level): Remove oh-so-no-longer-relevant text about vip.
1260 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1262 * ido.el (ido-save-directory-list-file):
1263 * saveplace.el (save-place-file):
1264 * calendar/timeclock.el (timeclock-file):
1265 * net/quickurl.el (quickurl-url-file):
1266 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1267 * progmodes/idlwave.el (idlwave-config-directory):
1268 * textmodes/remember.el (remember-data-file):
1271 2014-01-26 Glenn Morris <rgm@gnu.org>
1273 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1274 Doc fix. Make obsolete.
1275 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1277 * sort.el (delete-duplicate-lines): Doc fix.
1279 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1281 * progmodes/ada-mode.el (ada):
1282 * woman.el (woman): Link to info manual and Commentary section.
1284 * progmodes/flymake.el (flymake):
1285 * nxml/nxml-mode.el (nxml):
1287 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1288 * htmlfontify.el (htmlfontify):
1291 * ido.el (ido): Link to info manual.
1293 2014-01-25 Leo Liu <sdl.web@gmail.com>
1295 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1297 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1299 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1302 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1304 * net/eww.el (eww-download-callback):
1305 Fix reference to eww-download-directory.
1307 * emacs-lisp/bytecomp.el (byte-compile-file):
1308 Remove unused local variable `file-name'.
1310 2014-01-24 Glenn Morris <rgm@gnu.org>
1312 * woman.el (woman-default-faces, woman-monochrome-faces):
1313 Fix obsolescence specification.
1315 * subr.el (with-demoted-errors): Doc fix.
1317 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1319 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1320 (cl--macroexp-fboundp): New function.
1321 (cl--make-type-test): Use it.
1323 2014-01-23 Glenn Morris <rgm@gnu.org>
1325 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1326 * simple.el (eval-expression): Doc fixes.
1328 2014-01-22 Glenn Morris <rgm@gnu.org>
1330 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1332 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1334 * emacs-lisp/package.el: Write files silently.
1335 (package-autoload-ensure-default-file, package--write-file-no-coding)
1336 (package-generate-description-file, package--download-one-archive)
1337 (package-install-from-archive): Tell `write-region' to stay quiet.
1338 (package-menu-mode, package-menu--print-info): Omit the Archive column
1339 if there's only one archive.
1340 (package-all-keywords, package--has-keyword-p): Remove dead code.
1342 2014-01-22 Glenn Morris <rgm@gnu.org>
1344 * version.el (emacs-bzr-version-bzr): Fix typo.
1346 * version.el (emacs-repository-get-version):
1347 Check either .bzr or .git, but not both.
1348 Make the git case actually use the DIR argument, and return nil
1349 rather than the empty string.
1350 Avoid error if .git exists but the git executable is not found.
1352 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1354 Fixes in window size functions around Bug#16430 and Bug#16470.
1355 * window.el (window-total-size, window-size): New argument ROUND.
1356 (window--min-delta-1, window-min-delta, window--max-delta-1):
1357 Be more conservative when calculating the numbers of lines or
1358 columns a window can shrink (Bug#16430).
1359 (fit-window-to-buffer): Simplify code.
1360 * term.el (term-window-width): Call window-body-width again.
1362 2014-01-22 Glenn Morris <rgm@gnu.org>
1364 * image.el (image-format-suffixes): Doc fix.
1366 * international/quail.el (quail-define-package): Doc fix.
1368 * emacs-lisp/authors.el (authors-valid-file-names)
1369 (authors-renamed-files-alist): Additions.
1371 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1372 reverts 2014-01-09 change. (Bug#16422)
1374 * calc/calc-embed.el (thing-at-point-looking-at):
1375 * emacs-lisp/map-ynp.el (x-popup-dialog):
1376 * obsolete/lmenu.el (x-popup-dialog):
1377 * emacs-lisp/package.el (url-recreate-url):
1378 * mail/mailclient.el (clipboard-kill-ring-save):
1379 * subr.el (x-popup-dialog): Update declaration.
1380 * mail/rmail.el (rmail-mime-message-p):
1381 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1383 2014-01-21 Daniel Colascione <dancol@dancol.org>
1385 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1386 Correctly detect when we're inside an arithmetic expansion form
1387 containing nested parenthesis.
1388 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1389 to detect cases where we shouldn't expand "<<" to a heredoc
1392 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1394 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1395 (eldoc--message-command-p): New function.
1396 (eldoc-display-message-p): Use it.
1397 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1398 message is not automatically erased for us.
1399 (eldoc-print-current-symbol-info): Erase previous message, if any.
1401 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1403 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1404 specify it's an interactive function.
1406 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1407 Fix regex used for scanning for citation keys which failed for
1408 citations with optional arguments.
1410 2014-01-21 Leo Liu <sdl.web@gmail.com>
1412 * simple.el (read--expression): Don't enable eldoc-mode.
1414 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1416 * simple.el (move-beginning-of-line): Make sure we don't move forward
1419 2014-01-20 Juri Linkov <juri@jurta.org>
1421 * saveplace.el (toggle-save-place, save-place-to-alist)
1422 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1423 'dired-mode) before checking for dired-directory. (Bug#16477)
1425 2014-01-20 Juri Linkov <juri@jurta.org>
1427 * indent.el (indent-line-to): Use backward-to-indentation
1428 instead of back-to-indentation. (Bug#16461)
1430 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1432 Revert some of the CANNOT_DUMP fix (Bug#16494).
1433 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1434 but fixing this can wait until after the next release.
1435 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1437 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1439 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1440 Use `password-word-equivalents'.
1441 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1442 to t. (Bug#5664, Bug#13124)
1444 2014-01-19 Alan Mackenzie <acm@muc.de>
1446 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1448 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1449 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1450 * progmodes/cc-mode.el (c-before-change, c-after-change)
1451 (c-font-lock-fontify-region): Bind it here.
1453 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1455 * term.el (term-window-width): Call window-text-width instead of
1456 window-width (Bug#16470).
1458 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1460 * simple.el (password-word-equivalents): Remove duplicates.
1461 Sort, to make this easier next time.
1462 Downcase. Omit ": " after "jelszó".
1464 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1466 * term/common-win.el (saved-region-selection): Defvar it.
1467 (x-select-text): Set saved-region-selection (Bug#16382).
1469 2014-01-18 Glenn Morris <rgm@gnu.org>
1471 * emacs-lisp/authors.el (authors-aliases)
1472 (authors-renamed-files-alist): Add some entries.
1474 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1476 * net/tramp.el (tramp-password-prompt-regexp):
1477 Use `password-word-equivalents' if available.
1478 (tramp-action-password, tramp-process-one-action)
1479 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1481 2014-01-17 Chong Yidong <cyd@gnu.org>
1483 * simple.el (password-word-equivalents): New defcustom.
1484 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1486 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1489 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1491 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1492 (ruby-align-to-stmt-keywords): Change the default value.
1493 Use `ruby-alignable-keywords' to generate the possible customization
1495 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1496 keywords, check against the value of `ruby-alignable-keywords'
1497 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1499 2014-01-17 Glenn Morris <rgm@gnu.org>
1501 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1503 Make M-x authors return zero *Authors Errors* from current logs.
1504 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1505 (authors-ignored-files): Add some entries, remove others.
1506 (authors-ambiguous-files, authors-valid-file-names):
1508 (authors-renamed-files-alist): Add, remove, and adjust entries.
1509 (authors-renamed-files-regexps): Add some entries.
1510 Remove some very broad ones. Make some entries `lax'.
1511 (authors-lax-changelogs): New constant.
1512 (authors-disambiguate-file-name): Treat top-level specially.
1513 (authors-lax-changelog-p): New function.
1514 (authors-canonical-file-name): Check file as written against
1515 authors-valid-file-names. Do not special-case etc/.
1516 Handle `lax' logs and authors-renamed-files-regexps elements.
1518 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1520 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1521 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1524 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1526 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1527 Assume we're already in the proper buffer.
1528 Inspired by Anders Lindgren <andlind@gmail.com>.
1529 (follow-post-command-hook): Call it from the right buffer.
1530 (follow-comint-scroll-to-bottom): Adjust call.
1531 (follow-all-followers): Use get-buffer-window-list.
1533 2014-01-15 Daniel Colascione <dancol@dancol.org>
1535 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1536 `buffer-file-name' in interactive-form so that we don't leave
1537 pathless file names in `file-name-history'.
1539 2014-01-15 Juri Linkov <juri@jurta.org>
1541 * indent.el (indent-rigidly): Set deactivate-mark to nil
1542 in transient indentation mode. (Bug#16438)
1544 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1546 * emacs-lisp/package.el (package-desc-keywords): New function
1548 (describe-package-1, package-all-keywords)
1549 (package--has-keyword-p): Use it.
1551 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1553 * simple.el (define-alternatives): When creating the
1554 COMMAND-alternatives variable, assign COMMAND as its definition
1555 name so that `describe-variable' can relocate it.
1557 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1559 * font-lock.el (font-lock-keywords): Fix typo in docstring
1562 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1564 * ispell.el (ispell-region): Reset `in-comment' for new line
1565 instead of wrongly reset `add-coment' (bug#13577).
1567 2014-01-14 Daiki Ueno <ueno@gnu.org>
1569 * epa-file.el (epa-file-write-region): Encode the region according
1570 to `buffer-file-format'. Problem reported at:
1571 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1573 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1575 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1576 so it applies in the right buffer (bug#16410).
1578 2014-01-13 Daniel Colascione <dancol@dancol.org>
1580 * textmodes/rst.el (rst-define-key): Provide deprecated
1581 keybindings through named functions instead of anonymous ones so
1582 that "??" doesn't appear in describe-mode output.
1584 2014-01-13 Bastien Guerry <bzg@gnu.org>
1586 * simple.el (define-alternatives): Call the selected command
1587 interactively. When setting `COMMAND--implementation' for the
1588 first time, tell the user how to chose another implementation.
1589 Enhance the docstring.
1591 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1593 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1594 (log-edit--match-first-line): New function.
1595 (log-edit-font-lock-keywords): Use it.
1596 (log-edit-mode): Make jit-lock-defer-multiline work.
1598 2014-01-13 Bastien Guerry <bzg@gnu.org>
1600 * rect.el (rectangle-mark-mode): When the region is not active,
1601 display a message saying that the mark as been set and that
1602 rectangle mode is in use.
1603 (rectangle--highlight-for-redisplay): Only put an overlay with a
1604 visible vertical bar when (display-graphic-p) is non-nil.
1605 This partially fixes Bug#16403.
1607 2014-01-13 Juri Linkov <juri@jurta.org>
1609 * info.el (Info-find-file): Go to DIR before displaying the error
1610 about a nonexistent file if no previous Info file is visited.
1611 Use `user-error' instead of `error' for "Info file %s does not exist".
1612 (Info-find-node-2): In case of a nonexistent node in unwind forms
1613 go to the Top node if there is no previous node to revert to.
1616 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1618 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1619 * window.el (fit-frame-to-buffer): Fix doc-string.
1620 Respect window-min-height/-width. Fit pixelwise when
1621 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1622 when avoiding that frame goes partially off-screen.
1623 (fit-window-to-buffer): Respect window-min-height/-width
1626 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1628 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1629 after an empty line.
1631 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1633 * net/shr.el (shr-render-region): Autoload.
1635 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1637 * net/eww.el (eww-download-directory): Rename from
1638 `eww-download-path' (Bug#16419).
1640 2014-01-12 Leo Liu <sdl.web@gmail.com>
1642 * dired-x.el (dired-mode-map): Fix last change.
1644 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1646 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1649 * emacs-lisp/generic.el (generic--normalize-comments):
1650 Rename from generic--normalise-comments. All uses changed.
1651 * play/bubbles.el (bubbles--neighborhood-score)
1652 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1653 (bubbles--neighborhood-available)
1654 (bubbles--update-neighborhood-score):
1655 Rename from names with 'neighbourhood'. All uses changed.
1657 2014-01-12 Leo Liu <sdl.web@gmail.com>
1659 Re-implement the feature of showing eldoc info after editing.
1660 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1661 (eldoc-edit-message-commands): New function.
1662 (eldoc-print-after-edit): New variable.
1663 (eldoc-pre-command-refresh-echo-area): Emit message only by
1664 eldoc-message-commands.
1665 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1666 if eldoc-print-after-edit is set. (Bug#16346)
1667 * simple.el (read--expression): Enable eldoc-mode.
1668 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1670 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1671 Eric S. Raymond <esr@thyrsus.com>
1673 * version.el (emacs-repository-get-version): Enhance so the
1674 function works correctly in either a Bazaar or Git repo.
1676 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1678 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1679 Goes with removal of the joke manpages from /etc.
1681 2014-01-10 Kenichi Handa <handa@gnu.org>
1683 * mail/rmail.el (rmail-get-coding-system):
1684 Check rmail-get-coding-function before "funcall"ing it.
1686 2014-01-10 Glenn Morris <rgm@gnu.org>
1688 * emacs-lisp/authors.el (authors-fixed-entries):
1689 Update for files that no longer exist.
1691 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1693 * version.el (emacs-bzr-get-version): Restore compatibilty with
1696 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1698 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1701 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1703 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1705 2014-01-10 Chong Yidong <cyd@gnu.org>
1707 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1709 2014-01-10 Anders Lindgren <andlind@gmail.com>
1711 * follow.el (follow-cache-command-list): Include right-char and
1714 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1717 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1718 * woman.el (woman-mark-horizontal-position):
1719 Rename from woman-mark-horizonal-position. Use changed.
1721 2014-01-10 Glenn Morris <rgm@gnu.org>
1723 * info.el (info-initialize): If running uninstalled, ensure our
1724 own info files are always found first, even if INFOPATH is set.
1726 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1728 2014-01-09 David Engster <deng@randomsample.de>
1730 * emacs-lisp/eieio-custom.el:
1731 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1732 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1733 * emacs-lisp/eieio.el: Regenerate autoloads.
1735 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1737 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1738 following renames. (Bug#8756)
1740 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1742 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1744 (activate-mark): Add `no-tmm' argument.
1745 (set-mark, push-mark-command): Use it instead of running
1746 activate-mark-hook by hand.
1748 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1750 In preparation for the move to git, sanitize out some
1751 Bazaar-specific names.
1753 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1755 * version.el (emacs-bzr-version): Name changed to
1756 emacs-repository-version. Obsolete-variable alias made.
1757 * loadup.el: Follow through on this name change.
1758 * mail/emacsbug.el (report-emacs-bug): Factor out any
1759 assumption about the version control system in use.
1761 2014-01-08 David Engster <deng@randomsample.de>
1763 * help-fns.el (help-fns-describe-function-functions):
1764 New variable to call functions for augmenting help buffers.
1765 (describe-function-1): Remove explicit calls to
1766 `help-fns--compiler-macro', `help-fns--parent-mode' and
1767 `help-fns--obsolete'. Put them in above new variable instead, and
1768 call them through `run-hook-with-args'.
1769 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1770 `eieio-describe-class'. Not meant for interactive use anymore,
1771 but to augment existing help buffers. Remove optional second
1772 argument. Create proper button for file location.
1773 Rewrite function to use `insert' instead of `princ' and `prin1' where
1775 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1776 (eieio-method-def, eieio-class-def): Move further up.
1777 (describe-method, describe-generic, eieio-describe-method):
1779 (eieio-help-constructor, eieio-help-generic): Rename from
1780 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1781 Rewrite to use `insert' in the current buffer and use proper help
1783 (eieio-help-find-method-definition)
1784 (eieio-help-find-class-definition): Also accept symbols as
1786 (eieio-help-mode-augmentation-maybee): Remove.
1787 (eieio-describe-class-sb): Use `describe-function'.
1788 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1789 Add `eieio-help-generic' and `eieio-help-constructor'.
1791 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1794 * language/china-util.el (hz-ascii-designation):
1795 Rename from hz-ascii-designnation.
1796 (hz-ascii-designation): Rename from hz-ascii-designnation.
1799 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1801 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1804 2014-01-08 Bastien Guerry <bzg@gnu.org>
1806 * emacs-lisp/package.el (package-delete):
1807 Correctly delete the package from package-alist.
1809 2014-01-08 Daiki Ueno <ueno@gnu.org>
1811 * emacs-lisp/package.el (url-recreate-url): Declare.
1812 (url-http-target-url): Declare.
1813 (package-handle-response): Include requested URL in the error message.
1814 (package--check-signature): Don't re-signal errors from
1815 package--with-work-buffer. Suggested by Stefan Monnier.
1817 2014-01-07 Bastien Guerry <bzg@gnu.org>
1819 * minibuffer.el (completion--try-word-completion): When both a
1820 hyphen and a space are possible candidates for the character
1821 following a word, display both candidates. (Bug#15980)
1823 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1825 * window.el (balance-windows-2): While rounding don't give a
1826 window more than the remainder. Bug#16351, bug#16383.
1828 2014-01-07 Glenn Morris <rgm@gnu.org>
1830 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1831 (menu-bar-help-menu): Use view-external-packages instead.
1833 2014-01-07 Bastien Guerry <bzg@gnu.org>
1835 * emacs-lisp/package.el (package-delete): Also delete the package
1836 name from `package-alist', not its description only.
1838 2014-01-07 Glenn Morris <rgm@gnu.org>
1840 * help.el (view-external-packages):
1841 * menu-bar.el (menu-bar-help-extra-packages):
1842 Visit efaq.info rather than etc/MORE.STUFF.
1844 2014-01-07 Juri Linkov <juri@jurta.org>
1846 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1847 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1849 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1850 that shadows RET. (Bug#16342)
1852 2014-01-07 Chong Yidong <cyd@gnu.org>
1854 * isearch.el (isearch-yank-char, isearch-yank-word)
1855 (isearch-yank-line): Doc fix.
1857 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1859 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1860 * emacs-lisp/elint.el (elint-find-builtins):
1861 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1862 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1863 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1864 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1865 * apropos.el (apropos-safe-documentation):
1866 * subr.el (symbol-file): Remove redundant fboundp.
1867 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1869 2014-01-06 Bastien Guerry <bzg@gnu.org>
1871 * hl-line.el (global-hl-line-overlay): Make a local variable.
1872 (global-hl-line-overlays): New variable to store all overlays.
1873 (global-hl-line-mode): Don't delete overlays from the current
1874 buffer when `global-hl-line-sticky-flag' is non-nil.
1875 (global-hl-line-highlight): Add new overlays to
1876 `global-hl-line-overlays'.
1877 (global-hl-line-unhighlight-all): New function to delete all
1878 overlays when turning off `global-hl-line-mode'.
1879 This fixes Bug#16183.
1881 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1883 * subr.el (set-transient-map): Fix nested case and docstring.
1885 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1887 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1890 2014-01-06 Daniel Colascione <dancol@dancol.org>
1892 Fix defun navigation in vc log view.
1894 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1895 like `beginning-of-defun'.
1896 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1897 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1898 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1899 (log-view-extract-comment): Call `log-view-current-entry' directly
1900 instead of relying on broken `log-view-beginning-of-defun' behavior.
1902 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1905 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1906 * emacs-lisp/debug.el (cancel-debug-on-entry):
1907 * epg.el (epg-error-to-string):
1908 * files.el (recover-file):
1909 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1910 * mail/emacsbug.el (report-emacs-bug-hook):
1911 * mail/sendmail.el (mail-recover):
1912 * ses.el (ses-yank-resize):
1913 * term/ns-win.el (ns-print-buffer):
1914 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1915 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1917 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1919 2014-01-06 Leo Liu <sdl.web@gmail.com>
1921 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1922 to avoid shadowing global key. (Bug#16354)
1924 2014-01-06 Daniel Colascione <dancol@dancol.org>
1926 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1929 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1931 * window.el (balance-windows): Add mising t to fix Bug#16351.
1933 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1935 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1937 (shr-insert): If we have a word that's longer than `shr-width',
1938 break after it anyway. Otherwise we'll do no breaking once we get
1941 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1943 * net/eww.el (eww): Support single/double quote for search.
1944 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1945 (eww-history-quit): Delete and use quit-window.
1946 (eww-history-kill): Delete, because it doesn't work well and
1948 (eww-history-mode-map): Delete some keys and add easy-menu.
1950 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1952 Fix misspelling of 'chinese' in rx (Bug#16237).
1953 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1956 Change subword regexps back to vars (Bug#16296).
1957 * progmodes/subword.el (subword-forward-regexp)
1958 (subword-backward-regexp): Change these back to variables.
1960 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1962 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1963 syntax-begin-function (bug#16247).
1965 2014-01-03 Chong Yidong <cyd@gnu.org>
1967 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1968 (advice--docstring): Delete variable.
1969 (advice--make-1): Leave the docstring empty.
1970 (advice-add): Use function-documentation for advised docstring.
1972 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1973 Ignore function-documentation property when getting documentation.
1974 (ad-activate-advised-definition): Use function-documentation
1975 generate the docstring.
1976 (ad-make-advised-definition): Don't call
1977 ad-make-advised-definition-docstring.
1978 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1981 * progmodes/sql.el (sql-help): Use function-documentation instead
1982 of dynamic-docstring-function property. No need to autoload now.
1983 (sql--help-docstring): New variable.
1984 (sql--make-help-docstring): Use it.
1986 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1988 * ielm.el (ielm-tab): Retarget.
1989 (ielm-map): Use ielm-tab for tab.
1990 (ielm-complete-filename): Use comint-filename-completion.
1991 (ielm-complete-symbol): Remove.
1992 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1993 remove ielm-tab from completion-at-point-functions (bug#16224).
1995 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1996 Beware signals raised by predicates (bug#16201).
1998 2014-01-02 Richard Stallman <rms@gnu.org>
2000 * dired-aux.el (dired-do-print): Handle printer-name.
2002 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
2003 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
2004 (rmail-epa-decrypt): Turn off mime processing.
2006 * mail/rmail.el (rmail-make-in-reply-to-field):
2007 Add parens in message-id.
2009 * mail/rmail.el (rmail-get-coding-function): Variable.
2010 (rmail-get-coding-system): Use it.
2012 2013-12-31 Eli Zaretskii <eliz@gnu.org>
2014 * international/mule-conf.el: Unify the charset indian-is13194.
2015 (indian-is13194): Specify unify-map.
2017 2013-12-31 Leo Liu <sdl.web@gmail.com>
2019 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
2021 2013-12-30 Daniel Colascione <dancol@dancol.org>
2023 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
2024 of printing a useless when we resume from sleep.
2026 * progmodes/sh-script.el
2027 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
2028 in indentation code. (Bug#16233)
2030 2013-12-28 João Távora <joaotavora@gmail.com>
2032 * elec-pair.el (electric-pair-post-self-insert-function):
2033 Don't open extra newlines at beginning of buffer. (Bug#16272)
2035 2013-12-28 Eli Zaretskii <eliz@gnu.org>
2037 * frame.el (window-system-for-display): Don't allow to create a
2038 GUI frame from a -nw session on MS-Windows. (Bug#14739)
2040 2013-12-28 Glenn Morris <rgm@gnu.org>
2042 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
2045 * apropos.el (apropos-match-face):
2046 * calculator.el (calculator-displayer):
2047 * dabbrev.el (dabbrev-search-these-buffers-only):
2048 * face-remap.el (buffer-face-mode-face):
2049 * simple.el (yank-handled-properties):
2050 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
2051 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
2052 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
2053 (hashcash-double-spend-database):
2054 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
2055 (ruby-deep-indent-paren-style):
2056 * textmodes/flyspell.el (flyspell-auto-correct-binding):
2057 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
2058 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
2059 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
2060 Specify custom types.
2062 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
2063 * bookmark.el (bookmark-bmenu-use-header-line):
2064 * doc-view.el (doc-view-scale-internally):
2065 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
2066 * register.el (register-preview-delay):
2067 * net/shr.el (shr-bullet):
2068 * progmodes/cfengine.el (cfengine-cf-promises)
2069 (cfengine-parameters-indent):
2070 * progmodes/octave.el (inferior-octave-error-regexp-alist):
2071 * textmodes/reftex-vars.el (reftex-label-regexps):
2072 * vc/log-edit.el (log-edit-setup-add-author): Add version.
2074 * net/tls.el (tls-certtool-program): Fix default value.
2076 * desktop.el (desktop-restore-in-current-display):
2077 * newcomment.el (comment-empty-lines):
2078 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
2079 (idlwave-pad-keyword):
2080 * progmodes/tcl.el (tcl-tab-always-indent):
2081 * textmodes/reftex-vars.el (reftex-index-default-tag):
2082 * elec-pair.el (electric-pair-skip-whitespace):
2083 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
2085 * emacs-lisp/authors.el (authors-ignored-files)
2086 (authors-valid-file-names, authors-renamed-files-alist): Additions.
2088 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
2090 * shell.el (shell-dynamic-complete-command): Doc fix.
2091 (shell--command-completion-data): Shell completion now matches
2092 executable filenames from the current buffer's directory, on
2093 systems in which this behavior is the default (windows-nt, ms-dos).
2095 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2097 * net/shr.el (shr-insert): Don't infloop if the width is zero.
2099 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
2101 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
2104 * electric.el: Move all electric-pair-* to elec-pair.el.
2105 * elec-pair.el: New file, split from electric.el.
2107 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
2109 * net/shr.el (shr-find-fill-point): Don't try to fill if the
2110 indentation level is larger than the width, because that will
2112 (shr-insert): Fill repeatedly long texts, so that Japanese is
2113 formatted correctly (bug#16263).
2114 (shr-find-fill-point): Off by one error in comparison with the
2117 2013-12-26 João Távora <joaotavora@gmail.com>
2119 * electric.el (electric-pair-mode): More flexible engine for skip-
2120 and inhibit predicates, new options for pairing-related functionality.
2121 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
2122 if that keeps or improves their balance in buffers.
2123 (electric-pair-delete-adjacent-pairs): Delete the pair when
2124 backspacing over adjacent matched delimiters.
2125 (electric-pair-open-extra-newline): Open extra newline when
2126 inserting newlines between adjacent matched delimiters.
2127 (electric--sort-post-self-insertion-hook):
2128 Sort post-self-insert-hook according to priority values when
2129 minor-modes are activated.
2130 * simple.el (newline-and-indent): Call newline with interactive
2132 (blink-paren-post-self-insert-function): Set priority to 100.
2133 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
2134 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
2135 comments. Locally set electric-pair-skip-whitespace to 'chomp and
2136 electric-pair-open-newline-between-pairs to nil.
2138 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2140 * progmodes/python.el: Use lexical-binding.
2141 (python-nav-beginning-of-defun): Stop searching ASAP.
2143 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2145 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2146 Fix interactive spec. Doc fix. (Bug#15754)
2148 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2150 * emacs-lisp/byte-run.el (eval-when-compile):
2151 * progmodes/cc-defs.el (cc-eval-when-compile):
2152 Fix edebug spec (bug#16184).
2154 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2156 * net/shr.el (shr-visit-file): Remove debugging function.
2157 (shr-insert): Don't infloop if we can't find a good place to break
2158 the line (bug#16256).
2160 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2162 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2163 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2164 python-nav-lisp-forward-sexp-safe.
2165 (python-nav--forward-sexp): New argument SAFE allows switching
2166 forward sexp movement behavior for parens.
2167 (python-nav-forward-sexp): Throw errors on unterminated parens
2169 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2170 (python-nav-backward-sexp-safe): New functions.
2171 (python-shell-buffer-substring):
2172 Use `python-nav-forward-sexp-safe'.
2174 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2176 * net/shr.el (shr-find-fill-point): Don't break lines before a
2178 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2179 (shr-find-fill-point): Remove the special checks for the quotation
2180 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2182 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2184 * net/eww.el (eww-form-textarea): Use a different face for
2185 textareas than text input since they have different keymaps
2188 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2190 * progmodes/python.el (python-nav-beginning-of-statement):
2191 Speed up (Bug#15295).
2193 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2195 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2196 the window configuration.
2198 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2200 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2201 we run on MS-Windows or MS-DOS.
2203 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2205 * window.el (balance-windows-area): Call window-size instead of
2206 window-height and window-width. Bug#16241.
2208 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2210 * net/eww.el (eww-bookmark-quit): Remove.
2211 (eww-bookmark-browse): Restore the window configuration when you
2212 choose a bookmark (bug#16144).
2214 2013-12-24 Daniel Colascione <dancol@dancol.org>
2216 * icomplete.el: Remove redundant :group arguments to `defcustom'
2218 (icomplete-show-matches-on-no-input): New customizable variable.
2219 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2220 we have something to show.
2221 (icomplete-exhibit): Compute completions even if we have no user input.
2223 2013-12-23 Daniel Colascione <dancol@dancol.org>
2225 * icomplete.el: Move `provide' to end of file.
2227 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2229 * net/gnutls.el (gnutls-verify-error): Add version tag.
2231 2013-12-23 Chong Yidong <cyd@gnu.org>
2233 * subr.el (set-transient-map): Rename from
2234 set-temporary-overlay-map. Doc fix.
2236 * face-remap.el (text-scale-adjust):
2237 * indent.el (indent-rigidly):
2238 * kmacro.el (kmacro-call-macro):
2239 * minibuffer.el (minibuffer-force-complete):
2240 * repeat.el (repeat):
2241 * simple.el (universal-argument--mode):
2242 * calendar/todo-mode.el (todo-insert-item--next-param):
2243 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2245 * indent.el (indent-rigidly): Use substitute-command-keys.
2247 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2249 * net/eww.el (eww-tag-select): Add text-property to jump to next
2251 (eww): Add non-supported ftp error.
2253 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2255 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2256 comments. Handle electric indent after typing `?' and `!'.
2258 2013-12-22 Chong Yidong <cyd@gnu.org>
2260 * faces.el (face-spec-recalc): If the theme specs are not
2261 applicable to a frame, fall back on the defface spec.
2262 This prevents themes from obliterating faces on low-color terminals.
2264 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2266 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2267 after `{'. We need it after block openers, and it doesn't seem
2268 to hurt after hash openers.
2270 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2272 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2273 extracted from `ruby-smie-rules'.
2274 (ruby--electric-indent-chars): New variable.
2275 (ruby--electric-indent-p): New function.
2276 (ruby-mode): Use `electric-indent-functions' instead of
2277 `electric-indent-chars'.
2279 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2281 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2283 (ruby-smie-rules): Indent plus one level after `=>'.
2285 2013-12-21 Richard Stallman <rms@gnu.org>
2287 * simple.el (newline): Doc fix.
2289 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2291 * net/eww.el (eww-list-histories, eww-list-histories)
2292 (eww-history-browse, eww-history-quit, eww-history-kill)
2293 (eww-history-mode-map, eww-history-mode): New command and
2294 functions to list browser histories.
2295 (eww-form-text): Support text form with disabled
2296 and readonly attributes.
2297 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2299 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2301 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2302 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2303 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2304 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2306 (eww-bookmark-mode-map): Add menu.
2307 (eww-render, eww-mode): Use `setq-local'.
2308 (eww-tool-bar-map): New variable.
2309 (eww-mode): Set `tool-bar-map'.
2310 (eww-view-source): Check for `html-mode' with `fboundp'.
2312 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2314 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2315 elements with text inside. Also remove debugging.
2317 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2319 * cus-start.el (all): Add ns-use-srgb-colorspace.
2321 2013-12-21 Chong Yidong <cyd@gnu.org>
2323 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2324 undefined. Thus, theme settings for undefined faces do not take
2325 effect until the faces are defined with defface, the same as with
2328 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2329 (face-spec-reset-face): Don't assign extra properties in temacs.
2330 (face-spec-recalc): Apply X resources too.
2332 2013-12-21 Chong Yidong <cyd@gnu.org>
2334 * faces.el (face-spec-set):
2335 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2336 * custom.el (defface): Doc fixes (Bug#16203).
2338 * indent.el (indent-rigidly-map): Add docstring, and move commands
2339 into named functions.
2340 (indent-rigidly-left, indent-rigidly-right)
2341 (indent-rigidly-left-to-tab-stop)
2342 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2343 indentation direction based on bidi direction, and accumulate
2344 sequential commands in a single undo boundary.
2345 (indent-rigidly--pop-undo): New utility function.
2347 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2349 * faces.el (read-face-name): Require crm.el when using crm-separator.
2351 2013-12-20 Daniel Colascione <dancol@dancol.org>
2353 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2354 so that we don't reflow comments into the shebang line.
2356 2013-12-20 Juri Linkov <juri@jurta.org>
2358 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2359 a position when `dired-directory' is non-nil. Check integer
2360 positions with `integerp'.
2361 (toggle-save-place, save-places-to-alist): Add check for
2363 (save-place-find-file-hook): Check integer positions with
2365 (save-place-dired-hook): Use `dired-goto-file' when
2366 `dired-filename' is found in the assoc list. Check integer
2367 positions with `integerp'.
2368 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2370 * dired.el (dired-initial-position-hook): Rename back from
2371 `dired-initial-point-hook'.
2372 (dired-initial-position): Rename `dired-initial-point-hook' to
2373 `dired-initial-position-hook'.
2374 (dired-file-name-at-point): Doc fix. (Bug#15329)
2376 2013-12-20 Juri Linkov <juri@jurta.org>
2378 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2379 (read-regexp-suggestions): New function.
2380 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2381 Use `read-regexp-suggestions'. Add non-empty default to history
2383 (occur-read-regexp-defaults-function): Remove function.
2384 (occur-read-primary-args): Use `regexp-history-last' instead of
2385 `occur-read-regexp-defaults-function'.
2387 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2388 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2389 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2390 `hi-lock-read-regexp-defaults-function'. Doc fix.
2391 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2392 with `find-tag-default-as-symbol-regexp'. Doc fix.
2393 (hi-lock-read-regexp-defaults): Remove function.
2394 (hi-lock-regexp-okay): Add check for null.
2396 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2397 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2399 * subr.el (find-tag-default-as-symbol-regexp): New function.
2400 (find-tag-default-as-regexp): Move symbol regexp formatting to
2401 `find-tag-default-as-symbol-regexp'.
2403 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2405 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2408 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2410 * calendar/todo-mode.el: New implementation of item insertion
2411 commands and key bindings.
2412 (todo-key-prompt): New face.
2413 (todo-insert-item): New command.
2414 (todo-insert-item--parameters): New defconst, replacing defvar
2415 todo-insertion-commands-args-genlist.
2416 (todo-insert-item--param-key-alist): New defconst, replacing
2417 defvar todo-insertion-commands-arg-key-list.
2418 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2419 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2420 (todo-insert-item--next-param): New functions.
2421 (todo-insert-item--args, todo-insert-item--argleft)
2422 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2424 (todo-key-bindings-t): Change binding of "i" from
2425 todo-insertion-map to todo-insert-item.
2426 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2427 (todo-insertion-command-name, todo-insertion-commands-names)
2428 (todo-define-insertion-command, todo-insertion-commands)
2429 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2431 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2433 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2434 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2436 (todo-move-category): Allow choosing a non-existing todo file to
2437 move the category to, and create that file.
2438 (todo-default-priority): New user option.
2439 (todo-set-item-priority): Use it.
2440 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2441 (desktop-restore-file-buffer): Declare.
2442 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2443 (todo-modes-set-2): Locally set desktop-save-buffer to
2444 todo-desktop-save-buffer.
2445 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2446 (auto-mode-alist): Add autoload cookie.
2448 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2450 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2451 helpers.el was a poor choice of name.
2452 (string-remove-prefix): New function.
2453 (string-remove-suffix): New function.
2455 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2457 Fix assignment for new window total sizes.
2458 * window.el (window--pixel-to-size): Remove function.
2459 (window--pixel-to-total-1, window--pixel-to-total):
2460 Fix calculation of new total sizes.
2462 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2464 * comint.el (comint-output-filter): Fix rear-nonsticky property
2465 placement (Bug#16010).
2467 2013-12-20 Chong Yidong <cyd@gnu.org>
2469 * faces.el (read-color): Minor fix for completion function.
2471 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2473 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2474 New option. (Bug#16182)
2475 (ruby-smie--indent-to-stmt-p): Use it.
2476 (ruby-smie-rules): Revert the logic in the handling of `when'.
2477 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2478 (ruby-deep-arglist, ruby-deep-indent-paren)
2479 (ruby-deep-indent-paren-style): Update docstrings to note that the
2480 vars don't have any effect with SMIE.
2482 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2484 * calc/calc.el (calc-enter, calc-pop): Use the variable
2485 `calc-context-sensitive-enter'.
2487 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2489 * net/shr.el (shr-insert): Protect against infloops in degenerate
2492 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2494 * progmodes/octave.el (octave): Add link to manual and octave
2496 (octave-mode-menu): Link to octave-mode manual.
2498 2013-12-20 Leo Liu <sdl.web@gmail.com>
2500 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2501 insertion using skeleton-end-newline. (Bug#16138)
2503 2013-12-20 Juri Linkov <juri@jurta.org>
2505 * replace.el (occur-engine): Use `add-face-text-property'
2506 to add the face property to matches and titles. (Bug#14645)
2508 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2509 the palette of other hi-lock colors.
2510 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2512 2013-12-19 Juri Linkov <juri@jurta.org>
2514 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2515 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2516 (minibuffer-history-symbol): Move variable declaration closer to
2519 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2522 2013-12-19 Juri Linkov <juri@jurta.org>
2524 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2526 (log-edit-hook): Add it to :options. (Bug#16170)
2528 2013-12-19 Juri Linkov <juri@jurta.org>
2530 * simple.el (eval-expression-print-format): Don't check for
2531 command names and the last command. Always display additional
2532 formats of the integer result in the echo area, and insert them
2533 to the current buffer only with a zero prefix arg.
2534 Display character when char-displayable-p is non-nil.
2535 (eval-expression): With a zero prefix arg, set `print-length' and
2536 `print-level' to nil, and insert the integer values from
2537 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2539 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2540 `eval-last-sexp-arg-internal'. Doc fix.
2541 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2542 `eval-last-sexp-print-value'. Doc fix.
2543 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2544 Set `print-length' and `print-level' to nil when arg is zero.
2545 (eval-last-sexp): Doc fix.
2546 (eval-defun-2): Print the integer values from
2547 `eval-expression-print-format' at the end.
2549 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2550 values from `eval-expression-print-format' at the end.
2552 * ielm.el (ielm-eval-input): Print the integer
2553 values from `eval-expression-print-format' at the end.
2555 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2557 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2558 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2560 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2562 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2563 (hl-line-highlight, global-hl-line-highlight): Use it.
2564 (hl-line-overlay): Use defvar-local.
2566 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2568 * term/ns-win.el: Require dnd.
2569 (global-map): Remove drag items.
2570 (ns-insert-text, ns-set-foreground-at-mouse)
2571 (ns-set-background-at-mouse):
2572 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2573 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2576 2013-12-19 Glenn Morris <rgm@gnu.org>
2578 * emacs-lisp/ert.el (ert-select-tests):
2579 Fix string/symbol mixup. (Bug#16121)
2581 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2583 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2584 keywords to their parent.
2586 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2588 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2589 first arg to be a string (fixed dead code), or an operator symbol.
2590 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2592 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2593 did nothing. Don't respond to `(:after ".")', it will be called
2594 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2595 change anything. Only return indentation for binary operators
2596 when they are hanging. De-dent opening paren when its parent is
2597 `.', otherwise it looks bad when the dot is not at bol or eol
2600 2013-12-19 Juri Linkov <juri@jurta.org>
2602 * replace.el (query-replace-read-args): Split a non-negative arg
2603 and a negative arg into separate elements.
2604 (query-replace, query-replace-regexp, replace-string)
2605 (replace-regexp): Add arg `backward'. Doc fix.
2606 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2607 move point to the beginning of the match.
2608 (replace-search, replace-highlight): Use new arg `backward'
2609 to set the value of `isearch-forward'.
2610 (perform-replace): Add arg `backward' and use it to perform
2611 replacement backward. (Bug#14979)
2613 * isearch.el (isearch-query-replace): Use a negative prefix arg
2614 to call `perform-replace' with a non-nil arg `backward'.
2616 2013-12-18 Juri Linkov <juri@jurta.org>
2618 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2619 to the default list. Move `log-edit-show-files' to the end.
2620 Add more available functions to options.
2621 (log-edit): Move default specific settings to
2622 `log-edit-insert-message-template'. Don't move point.
2623 (log-edit-insert-message-template): New function.
2624 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2627 2013-12-18 Juri Linkov <juri@jurta.org>
2629 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2630 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2632 2013-12-18 Leo Liu <sdl.web@gmail.com>
2634 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2637 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2639 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2640 formats for displaying file sizes when the -s switch is given.
2641 Instead, compute a separate format for displaying the size in
2642 blocks, which is displayed in addition to the "regular" size.
2643 When -h is given in addition to -s, produce size in blocks in
2644 human-readable form as well. (Bug#16179)
2646 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2648 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2649 Reference tables with ~\ref{...} instead of only \ref{...}.
2651 2013-12-18 Chong Yidong <cyd@gnu.org>
2653 * cus-edit.el (custom-magic-alist): Fix "themed" description
2656 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2657 is non-nil, do not create a new entry in the symbol's theme-value
2658 or theme-face property; update theme-settings only (Bug#14664).
2659 (custom-available-themes): Doc fix.
2661 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2664 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2666 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2668 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2671 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2673 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2675 2013-12-18 Glenn Morris <rgm@gnu.org>
2677 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2678 * cus-start.el (load-prefer-newer): New option.
2680 2013-12-18 Le Wang <l26wang@gmail.com>
2682 * comint.el (comint-previous-matching-input-from-input):
2683 Retain point (Bug#13404).
2685 2013-12-18 Chong Yidong <cyd@gnu.org>
2687 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2689 2013-12-18 Glenn Morris <rgm@gnu.org>
2691 * mail/emacsbug.el (report-emacs-bug):
2692 Only mention enable-multibyte-characters if non-standard.
2694 2013-12-17 Juri Linkov <juri@jurta.org>
2696 * arc-mode.el (archive-extract-by-file): Check if directory exists
2697 before deletion to not show irrelevant errors if it doesn't exist.
2699 2013-12-17 Juri Linkov <juri@jurta.org>
2701 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2704 * net/eww.el (browse-web): Add alias to `eww'.
2705 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2706 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2708 * net/browse-url.el (browse-url-browser-function): Move `eww'
2709 closer to similar functions.
2711 * startup.el (fancy-startup-screen, fancy-about-screen):
2712 Set browse-url-browser-function to eww-browse-url locally.
2715 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2717 * window.el (window--pixel-to-total): Remove unused `mini' var.
2718 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2719 (split-window): Remove unused `new' var.
2720 (window--display-buffer): Remove unused `frame' and `delta' vars.
2721 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2724 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2726 * dired.el (dired-mark-pop-up):
2727 * register.el (register-preview): Don't bind
2728 split-height-threshold here since it's now done in
2729 display-buffer-below-selected.
2731 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2733 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2734 xterm-rgb-convert-to-16bit.
2735 (rxvt-register-default-colors): Standardize with
2736 xterm-register-default-colors (Bug#14078).
2738 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2740 * simple.el (kill-region): Pass mark first, then point, so that
2741 kill-append works right (Bug#12819).
2742 (copy-region-as-kill, kill-ring-save): Likewise.
2744 2013-12-17 Leo Liu <sdl.web@gmail.com>
2746 * net/rcirc.el (rcirc-add-face):
2747 * eshell/em-prompt.el (eshell-emit-prompt):
2748 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2751 2013-12-17 Chong Yidong <cyd@gnu.org>
2753 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2754 Suggested by Xue Fuqiao.
2756 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2758 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2760 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2762 * net/shr.el (shr-insert-document): Remove unused var
2763 `shr-preliminary-table-render'.
2764 (shr-rescale-image): Remove unused arg `force'.
2765 (shr-put-image): Update calls accordingly.
2766 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2768 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2770 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2771 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2772 :close-all, to see which indentation method to use (Bug#16116).
2773 (smie-rules-function): Document the method :close-all.
2775 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2777 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2779 * net/eww.el (eww-display-html): If we can't find the anchor we're
2780 looking for, then go to point-min.
2782 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2784 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2785 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2786 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2787 Expand dir too, in case it's relative.
2789 2013-12-16 Juri Linkov <juri@jurta.org>
2791 * desktop.el (desktop-auto-save-timeout): Change default to
2792 `auto-save-timeout'. Doc fix.
2793 (desktop-save): Skip the timestamp in desktop-saved-frameset
2794 when checking for auto-save changes.
2795 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2796 `desktop-auto-save' is called repeatedly by the idle timer.
2797 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2798 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2801 2013-12-16 Juri Linkov <juri@jurta.org>
2803 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2805 (isearch-pre-command-hook): Check `this-command' for symbolp.
2807 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2809 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2811 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2813 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2814 (cfengine3--current-function): Bring in the current-function
2815 functionality from `cfengine3--current-word'.
2816 (cfengine3-completion-function): Bring in the
2817 bounds-of-current-word functionality from
2818 `cfengine3--current-word'.
2820 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2822 * window.el (display-buffer-below-selected):
2823 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2825 2013-12-16 Leo Liu <sdl.web@gmail.com>
2827 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2828 Remove NOMSG arg and all uses changed.
2830 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2832 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2833 (cua--deactivate-rectangle): Don't deactivate the mark.
2834 (cua-set-rectangle-mark): Don't set mark-active since
2835 cua--activate-rectangle already does it for us.
2836 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2837 non-rectangular region.
2839 * emulation/cua-base.el (cua-repeat-replace-region):
2840 Use with-current-buffer.
2842 * net/gnutls.el: Use cl-lib.
2843 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2845 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2847 * emacs-lisp/package.el (package-built-in-p): Support both
2848 built-in and the package.el converted package descriptions.
2849 (package-show-package-list): Allow keywords.
2850 (package-keyword-button-action): Use it instead of
2851 `finder-list-matches'.
2852 (package-menu-filter-interactive): Interactive filtering (by
2854 (package-menu--generate): Support keywords and change keymappings
2855 and headers when they are given.
2856 (package--has-keyword-p): Helper function.
2857 (package-menu--refresh): Use it.
2858 (package--mapc): Helper function.
2859 (package-all-keywords): Use it.
2860 (package-menu-mode-map): Set up menu items and keybindings to
2861 provide a filtering UI.
2863 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2865 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2866 the behavior when a certificate fails validation. Defaults to
2867 old behavior: never abort, just warn.
2868 (gnutls-negotiate): Use it.
2870 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2872 * window.el (display-buffer-below-selected): Never split window
2873 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2875 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2877 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2878 (package-buffer-info): Use it (bug#15108).
2880 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2882 * icomplete.el (icomplete-completions): Make sure the prefix is already
2883 displayed elsewhere before hiding it (bug#16219).
2885 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2887 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2888 open-paren tokens when preceded by a open-paren, too.
2889 (ruby-smie-rules): Handle virtual indentation after open-paren
2890 tokens specially. If there is code between it and eol, return the
2891 column where is starts (Bug#16118).
2893 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2895 * progmodes/cfengine.el: Fix `add-hook' doc.
2896 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2897 (cfengine3--current-word): Fix parameters.
2898 (cfengine3-make-syntax-cache): Simplify further.
2899 (cfengine3-completion-function, cfengine3--current-function):
2900 Use `assq' for symbols.
2901 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2903 2013-12-13 Glenn Morris <rgm@gnu.org>
2905 * loadup.el (load-path): Warn if site-load or site-init changes it.
2906 No more need to reset it when bootstrapping.
2908 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2910 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2911 locations for cf-promises.
2912 (cfengine-mode-syntax-functions-regex): New caching variable.
2913 (cfengine3-fallback-syntax): Fallback syntax for cases where
2914 cf-promises doesn't run.
2915 (cfengine3--current-word): Reimplement using
2916 `cfengine-mode-syntax-functions-regex'.
2917 (cfengine3-completion-function, cfengine3--current-function):
2918 Use `cfengine3-make-syntax-cache' directly.
2919 (cfengine3-clear-syntax-cache): New function.
2920 (cfengine3-make-syntax-cache): Simplify and create
2921 `cfengine-mode-syntax-functions-regex' on demand.
2922 (cfengine3-format-function-docstring): Don't call
2923 `cfengine3-make-syntax-cache' explicitly.
2925 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2927 Fix windmove-find-other-window broken after pixelwise resizing
2929 * windmove.el (windmove-other-window-loc): Revert change from
2931 (windmove-find-other-window): Call window-in-direction.
2932 * window.el (window-in-direction): New arguments SIGN, WRAP and
2933 MINI to emulate original windmove-find-other-window behavior.
2935 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2937 * simple.el (blink-matching--overlay): New variable.
2938 (blink-matching-open): Instead of moving point, highlight the
2939 matching paren with an overlay
2940 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2942 * faces.el (paren-showing-faces, show-paren-match)
2943 (show-paren-mismatch): Move from paren.el.
2945 2013-12-13 Leo Liu <sdl.web@gmail.com>
2947 * indent.el (indent-region): Disable progress reporter in
2948 minibuffer. (Bug#16108)
2950 * bindings.el (visual-order-cursor-movement): Fix version.
2952 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2954 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2955 Also match after beginning of line.
2956 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2957 files. Thanks to Russell Sim. (Bug#15378)
2959 2013-12-13 Juri Linkov <juri@jurta.org>
2961 * simple.el <Keypad support>: Remove key bindings duplicated
2962 with bindings.el. (Bug#14397)
2964 2013-12-13 Juri Linkov <juri@jurta.org>
2966 * comint.el (comint-mode-map): Replace `delete-char' with
2967 `delete-forward-char'. (Bug#16109)
2969 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2971 * progmodes/python.el (python-indent-calculate-indentation):
2972 Fix de-denters cornercase. (Bug#15731)
2974 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2976 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2977 (advice--make): Pay attention to `depth'.
2978 (advice--make-1): Don't autoload commands eagerly.
2979 * emacs-lisp/elp.el (elp-instrument-function):
2980 * emacs-lisp/trace.el (trace-function-internal):
2981 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2983 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2985 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2987 * term/w32-win.el (w32-handle-dropped-file):
2988 * startup.el (normal-top-level):
2989 * net/browse-url.el (browse-url-file-url):
2990 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2991 decode file names using 'utf-8' rather than
2992 file-name-coding-system.
2994 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2996 * progmodes/python.el (python-indent-context)
2997 (python-indent-calculate-indentation): Fix auto-identation
2998 behavior for comment blocks. (Bug#15916)
3000 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3002 * progmodes/python.el (python-indent-calculate-indentation):
3003 When determining indentation, don't treat "return", "pass", etc., as
3004 operators when they are just string constituents. (Bug#15812)
3006 2013-12-12 Juri Linkov <juri@jurta.org>
3008 * uniquify.el (uniquify-buffer-name-style): Change default to
3009 `post-forward-angle-brackets'.
3011 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
3012 `uniquify'. Change default to `post-forward-angle-brackets'.
3014 2013-12-11 Glenn Morris <rgm@gnu.org>
3016 * emacs-lisp/package.el (finder-list-matches):
3017 Autoload rather than falsely declaring.
3019 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
3021 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
3022 (eww-mode-map): Use them.
3024 2013-12-11 Martin Rudalics <rudalics@gmx.at>
3026 * window.el (display-buffer-in-side-window): Fix doc-string
3029 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
3031 * vc/vc-git.el: Silence byte-compiler warnings.
3032 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
3033 (log-edit-set-header): Declare.
3035 2013-12-11 Eli Zaretskii <eliz@gnu.org>
3037 * Makefile.in (custom-deps, finder-data): Run output file names
3038 through unmsys--file-name. (Bug#16099)
3040 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
3042 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
3043 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
3045 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
3046 instead of deleting the selection "by hand" (bug#16098).
3047 Rely on insert-for-yank to yank rectangles.
3048 (cua-highlight-region-shift-only): Mark obsolete.
3049 (cua-mode): Don't enable/disable transient-mark-mode,
3050 shift-select-mode (cua-mode works both with and without them), and
3051 pc-selection-mode (obsolete).
3052 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
3053 (cua--deactivate-rectangle): Deactivate it.
3055 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
3056 (delete-selection-helper): Make sure yank starts at the top of the
3058 (minibuffer-keyboard-quit): Use region-active-p.
3060 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
3062 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
3063 to `delete' (bug#16109).
3065 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3067 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
3068 info manual and show keybindings and set `:group' keyword.
3070 2013-12-11 Juri Linkov <juri@jurta.org>
3072 * delsel.el (delete-active-region): Let-bind `this-command'
3073 to prevent `kill-region' from changing its original value.
3074 (delete-selection-helper): Handle `overwrite-mode' for the type
3075 `kill' exactly the same way as for the type `t'.
3076 (insert-char, quoted-insert, reindent-then-newline-and-indent):
3077 Support more commands. (Bug#13312)
3079 2013-12-11 Juri Linkov <juri@jurta.org>
3081 * bindings.el: Map kp keys to non-kp keys systematically
3082 with basic modifiers control, meta and shift. (Bug#14397)
3084 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3086 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
3087 "Close browser" menu items. Fix wrong function of "List
3090 2013-12-11 Juri Linkov <juri@jurta.org>
3092 * misearch.el (multi-isearch-buffers): Set the value of
3093 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3094 arg of isearch-forward to t.
3095 (multi-isearch-buffers-regexp): Set the value of
3096 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
3097 arg of isearch-forward-regexp to t.
3098 (multi-isearch-files): Set the value of
3099 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3100 arg of isearch-forward to t.
3101 (multi-isearch-files-regexp): Set the value of
3102 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
3103 arg of isearch-forward-regexp to t. (Bug#16035)
3105 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
3106 arg of isearch-forward to t.
3107 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
3108 arg of isearch-forward-regexp to t.
3109 (dired-isearch-filter-filenames): Remove unnecessary check for
3110 `dired-isearch-filenames'.
3112 * comint.el (comint-history-isearch-backward):
3113 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
3114 (comint-history-isearch-backward-regexp):
3115 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
3117 2013-12-10 Eli Zaretskii <eliz@gnu.org>
3119 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
3120 unmsys--file-name. (Bug#16099)
3122 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
3124 * emacs-lisp/package.el (package-keyword-button-action):
3125 Remove finder.el require dependency.
3127 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
3129 * emacs-lisp/package.el: Require finder.el.
3130 (describe-package-1): Add keyword buttons.
3131 (package-make-button): New convenience function.
3132 (package-keyword-button-action): Keyword button action using
3133 `finder-list-matches'.
3135 2013-12-09 Eli Zaretskii <eliz@gnu.org>
3137 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3140 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3142 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3145 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3147 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3148 after the end of a percent literal.
3150 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3152 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3153 Handle caret-delimited strings (Bug#16079).
3155 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3157 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3158 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3159 `ruby-parse-partial' (Bug#16078).
3161 2013-12-09 Leo Liu <sdl.web@gmail.com>
3163 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3165 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3167 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3168 (js-switch-indent-offset): New option.
3169 (js--proper-indentation): Use it. And handle the case when
3170 "default" is actually a key in an object literal.
3171 (js--same-line): New function.
3172 (js--multi-line-declaration-indentation): Use it.
3173 (js--indent-in-array-comp, js--array-comp-indentation):
3175 (js--proper-indentation): Use them, to handle array comprehension
3178 2013-12-08 Leo Liu <sdl.web@gmail.com>
3180 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3181 (flymake-make-overlay): Remove arg MOUSE-FACE.
3182 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3184 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3186 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3188 (redisplay-highlight-region-function): Use it.
3190 * emulation/cua-base.el (cua--explicit-region-start)
3191 (cua--last-region-shifted): Remove.
3192 (cua--deactivate): Use deactivate-mark.
3193 (cua--pre-command-handler-1): Don't handle shift-selection.
3194 (cua--post-command-handler-1): Don't change transient-mark-mode.
3195 (cua--select-keymaps): Use region-active-p rather than
3196 cua--explicit-region-start or cua--last-region-shifted.
3197 (cua-mode): Enable shift-select-mode.
3199 2013-12-08 Leo Liu <sdl.web@gmail.com>
3201 * progmodes/flymake.el (flymake-popup-current-error-menu):
3202 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3203 (flymake-posn-at-point-as-event, flymake-popup-menu)
3204 (flymake-make-emacs-menu): Remove. (Bug#16077)
3206 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3208 * rect.el (rectangle-mark-mode): Activate mark even if
3209 transient-mark-mode is off (bug#16066).
3210 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3211 is > mark and at bolp.
3213 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3214 (region-extract-function): Use it.
3215 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3216 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3218 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3219 kill-ring-save, kill-region, delete-char, delete-forward-char.
3220 Ignore self-insert-iso.
3222 * emulation/cua-gmrk.el (cua--init-global-mark):
3223 Ignore `self-insert-iso'.
3225 * emulation/cua-base.el (cua--prefix-copy-handler)
3226 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3227 checking cua--rectangle.
3228 (cua-delete-region): Use region-extract-function.
3229 (cua-replace-region): Delete function.
3230 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3231 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3232 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3233 (cua--init-keymaps): Don't remap delete-selection commands.
3234 (cua-mode): Use delete-selection-mode instead of rolling our own
3237 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3238 Obey region-extract-function.
3240 Make registers and delete-selection-mode work on rectangles.
3241 * register.el (describe-register-1): Don't modify the register's value.
3242 (copy-to-register): Obey region-extract-function.
3243 * delsel.el (delete-active-region): Obey region-extract-function.
3245 2013-12-08 Leo Liu <sdl.web@gmail.com>
3247 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3248 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3249 (flymake-compilation-prevents-syntax-check)
3250 (flymake-start-syntax-check-on-newline)
3251 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3252 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3253 (flymake-xml-program, flymake-master-file-dirs)
3254 (flymake-master-file-count-limit)
3255 (flymake-allowed-file-name-masks): Relocate.
3256 (flymake-makehash, flymake-float-time)
3257 (flymake-replace-regexp-in-string, flymake-split-string)
3258 (flymake-get-temp-dir): Remove.
3259 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3260 (flymake-current-row, flymake-selected-frame)
3261 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3262 related functions. (Bug#16077)
3264 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3266 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3268 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3270 * help-fns.el (describe-function-1): Use new advice-* functions
3271 rather than old ad-* functions. Fix function type description and
3272 source links for advised functions and subrs.
3274 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3276 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3278 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3280 * progmodes/compile.el (compilation-start):
3281 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3283 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3284 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3286 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3288 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3289 Touch up the last change.
3291 2013-12-06 Leo Liu <sdl.web@gmail.com>
3293 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3294 (inferior-octave-startup): Always use "octave> " for prompt.
3295 (octave-goto-function-definition)
3296 (octave-sync-function-file-names)
3297 (octave-find-definition-default-filename): Remove redundant backquotes.
3299 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3301 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3303 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3304 where appropriate already.
3305 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3306 end of method names (Bug#15874).
3308 2013-12-06 Juri Linkov <juri@jurta.org>
3310 * isearch.el (isearch--saved-overriding-local-map):
3311 New internal variable.
3312 (isearch-mode): Set it to the initial value of
3313 `overriding-terminal-local-map'.
3314 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3315 with `isearch--saved-overriding-local-map'. (Bug#16035)
3317 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3319 * progmodes/octave.el (inferior-octave-completion-table):
3320 Turn back into function, use `completion-table-with-cache'
3321 (Bug#11906). Update all references.
3323 * minibuffer.el (completion-table-with-cache): New function.
3325 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3327 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3329 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3331 * net/eww.el (eww-current-source): New variable to store page
3333 (eww-display-html, eww-mode, eww-save-history)
3334 (eww-restore-history): Use it.
3335 (eww-view-source): New command to view page source.
3336 Opportunistically uses `html-mode' to highlight the buffer.
3337 (eww-mode-map): Install it.
3339 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3341 * net/dbus.el (dbus-unregister-service)
3342 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3344 (dbus-unregister-service): Skip :serial entries in
3345 `dbus-registered-objects-table'.
3346 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3348 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3350 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3351 around keywords with extra `split-string' argument.
3353 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3355 * windmove.el (windmove-other-window-loc): Handle navigation
3356 between windows (excluding the minibuffer window - Bug#16017).
3358 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3360 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3361 in D-Bus type syntax.
3362 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3363 preserve unibyte strings. (Bug#16048)
3365 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3367 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3368 Call force-mode-line-update is the proper buffer (bug#16042).
3370 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3372 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3373 `log-edit-remember-comment', make argument optional. Adjust all
3375 (log-edit-mode): Add `log-edit-remember-comment' to
3376 `kill-buffer-hook' locally.
3377 (log-edit-kill-buffer): Don't remember comment explicitly since
3378 the buffer is killed anyway.
3380 2013-12-04 Juri Linkov <juri@jurta.org>
3382 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3383 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3385 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3387 * notifications.el (notifications-close-notification): Call the
3388 D-Bus method with ID being a `:uint32'. (Bug#16030)
3390 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3392 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3394 2013-12-03 Juri Linkov <juri@jurta.org>
3396 * progmodes/compile.el (compilation-start): Rename window alist
3397 entry `no-display-ok' to `allow-no-window'.
3399 * simple.el (shell-command): Add window alist entry
3400 `allow-no-window' to `display-buffer'.
3401 (async-shell-command): Doc fix.
3403 * window.el (display-buffer-no-window): New action function.
3404 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3406 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3408 * vc/log-edit.el (log-edit-set-header): Extract from
3409 `log-edit-toggle-header'.
3410 (log-edit-extract-headers): Separate the summary, when extracted
3411 from header, from the rest of the message with an empty line.
3413 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3414 line, if present, to the Summary header.
3416 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3418 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3419 in current-buffer (bug#16029).
3421 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3423 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3424 (debugger-mode-map): Bind it.
3425 (debugger--backtrace-base): New function.
3426 (debugger-eval-expression): Use it.
3427 (debugger-frame-number): Skip local vars when present.
3428 (debugger--locals-visible-p, debugger--insert-locals)
3429 (debugger--show-locals, debugger--hide-locals): New functions.
3431 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3433 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3435 (tramp-get-remote-locale): New defun.
3436 (tramp-open-connection-setup-interactive-shell): Use it.
3438 2013-12-02 Leo Liu <sdl.web@gmail.com>
3440 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3442 * progmodes/sh-script.el (sh-shell-process):
3443 * progmodes/octave.el (inferior-octave-process-live-p):
3444 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3445 (gdb-inferior-io-sentinel):
3446 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3448 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3450 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3451 `save-selected-window' to `log-edit-hide-buf'. This makes
3452 `log-edit-show-files' idempotent.
3453 (log-edit-show-files): Mark the new window as dedicated.
3455 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3457 * vc/log-edit.el (log-edit-mode-map): Add binding for
3458 `log-edit-kill-biffer'.
3459 (log-edit-hide-buf): Add a FIXME comment.
3460 (log-edit-add-new-comment): New function, extracted from
3462 (log-edit-done, log-edit-add-to-changelog): Use it.
3463 (log-edit-kill-buffer): New command.
3465 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3467 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3468 instead of killing the buffer.
3470 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3472 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3474 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3476 * net/eww.el (eww-form-checkbox-selected-symbol)
3477 (eww-form-checkbox-symbol): New customizable variable.
3478 (eww-form-checkbox, eww-toggle-checkbox):
3479 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3481 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3482 (shr--get-media-pref, shr--extract-best-source): New function.
3483 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3484 no :src tag was specified.
3486 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3487 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3488 Use \\` to match beginning of string instead of ^.
3489 (eww-browse-with-external-browser): Provide optional URL parameter.
3490 (eww-render): Set `eww-current-title' back to "".
3492 * net/shr.el (shr-tag-video): Display content for video if no
3493 poster is available.
3494 (shr-tag-audio): Add support for <audio> tag.
3496 * net/eww.el (eww-text-input-types): New const.
3497 (eww-process-text-input): Treat input types in
3498 `eww-text-input-types' as text.
3500 * net/shr.el (shr-tag-table): Fix comment typo.
3502 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3504 * net/eww.el (eww-follow-link): New command to avoid reloading
3505 pages when we follow #target links (bug#15243).
3506 (eww-quit): Special mode buffers shouldn't query before exiting.
3508 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3510 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3513 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3515 * net/eww.el (eww-restore-history): Update the window title after
3516 moving in the history.
3517 (eww-current-dom): New variable used to save the current DOM.
3519 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3521 * vc/log-edit.el (log-edit-mode-map): Add binding for
3522 `log-edit-beginning-of-line'.
3523 (log-edit-setup-add-author): New user option.
3524 (log-edit-beginning-of-line): New command.
3525 (log-edit): Move major mode call above the contents setup so that
3526 the local variable values are already applied.
3527 (log-edit): Only insert "Author: " when
3528 `log-edit-setup-add-author' is non-nil.
3529 (log-edit): When SETUP is non-nil, position point after ": "
3530 instead of point-min.
3532 2013-12-01 Glenn Morris <rgm@gnu.org>
3534 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3536 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3538 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3539 redisplay to make sure the initial frame gets a chance to become
3540 visible. (Bug#16014)
3542 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3544 Support resizing frames and windows pixelwise.
3545 * cus-start.el (frame-resize-pixelwise)
3546 (window-resize-pixelwise): New entries.
3547 * emacs-lisp/debug.el (debug): Use window-total-height instead
3548 of window-total-size.
3549 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3550 * help.el (describe-bindings-internal): Use help-buffer as
3551 argument for with-help-window.
3552 (temp-buffer-max-width): New option.
3553 (resize-temp-buffer-window, help-window-setup)
3554 (with-help-window): Rewrite.
3555 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3557 * window.el (frame-char-size, window-min-pixel-height)
3558 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3559 (window-min-pixel-width, window-safe-min-pixel-size)
3560 (window-combination-p, window-safe-min-size)
3561 (window-resizable-p, window--size-to-pixel)
3562 (window--pixel-to-size, window--resize-apply-p): New functions.
3563 (window-safe-min-height): Fix doc-string.
3564 (window-size, window-min-size, window--min-size-1)
3565 (window-sizable, window-sizable-p, window--min-delta-1)
3566 (window-min-delta, window--max-delta-1, window-max-delta)
3567 (window--resizable, window--resizable-p, window-resizable)
3568 (window-full-height-p, window-full-width-p, window-at-side-p)
3569 (window--in-direction-2, window-in-direction)
3570 (window--resize-reset-1, window--resize-mini-window)
3571 (window-resize, window-resize-no-error)
3572 (window--resize-child-windows-normal)
3573 (window--resize-child-windows, window--resize-siblings)
3574 (window--resize-this-window, window--resize-root-window)
3575 (window--resize-root-window-vertically)
3576 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3577 (maximize-window, minimize-window, delete-window)
3578 (quit-restore-window, window-split-min-size, split-window)
3579 (balance-windows-2, balance-windows)
3580 (balance-windows-area-adjust, balance-windows-area)
3581 (window--state-get-1, window-state-get, window--state-put-1)
3582 (window--state-put-2, window-state-put)
3583 (display-buffer-record-window, window--display-buffer):
3584 Make functions handle pixelwise sizing of windows.
3585 (display-buffer--action-function-custom-type)
3586 (display-buffer-fallback-action):
3587 Add display-buffer-in-previous-window.
3588 (display-buffer-use-some-window): Resize window to height it had
3590 (fit-window-to-buffer-horizontally): New option.
3591 (fit-frame-to-buffer): Describe new values.
3592 (fit-frame-to-buffer-bottom-margin): Replace with
3593 fit-frame-to-buffer-margins.
3594 (window--sanitize-margin): New function.
3595 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3596 using window-text-pixel-size.
3598 2013-11-30 Glenn Morris <rgm@gnu.org>
3600 * emacs-lisp/bytecomp.el (byte-compile-form):
3601 Make the `interactive-only' warning like the `obsolete' one.
3602 * comint.el (comint-run):
3603 * files.el (insert-file-literally, insert-file):
3604 * replace.el (replace-string, replace-regexp):
3605 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3606 (goto-line, insert-buffer, next-line, previous-line):
3607 Tweak `interactive-only' spec.
3609 Stop keeping (most) generated cedet grammar files in the repository.
3610 * Makefile.in (semantic): New.
3611 (compile-main): Depend on semantic.
3613 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3615 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3616 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3618 * uniquify.el (uniquify-buffer-name-style): Change default.
3620 * loadup.el: Preload "uniquify".
3622 * time.el (display-time-update): Update all mode lines (bug#15999).
3624 * electric.el (electric-indent-mode): Enable by default.
3625 * loadup.el: Preload "electric".
3627 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3629 * emacs-lisp/helpers.el (string-empty-p): New function.
3630 (string-blank-p): New function.
3632 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3634 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3637 2013-11-29 Andreas Politz <politza@fh-trier.de>
3638 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3639 allow non-lambda lists as functions.
3640 (imenu--in-alist): Don't recurse into non-subalists.
3641 (imenu): Don't pass function itself as an argument (Bug#14029).
3643 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3645 * progmodes/python.el (python-mode-map): Remove binding for ":".
3646 (python-indent-electric-colon): Remove command.
3647 (python-indent-post-self-insert-function): Integrate the previous code
3648 of python-indent-electric-colon. Make it conditional on
3649 electric-indent-mode.
3650 (python-mode): Add ?: to electric-indent-chars.
3651 Move python-indent-post-self-insert-function to the end of
3652 post-self-insert-hook.
3654 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3656 * doc-view.el (doc-view-goto-page): Update mode-line.
3658 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3660 2013-11-27 Glenn Morris <rgm@gnu.org>
3662 * international/charprop.el, international/uni-bidi.el:
3663 * international/uni-category.el, international/uni-combining.el:
3664 * international/uni-comment.el, international/uni-decimal.el:
3665 * international/uni-decomposition.el, international/uni-digit.el:
3666 * international/uni-lowercase.el, international/uni-mirrored.el:
3667 * international/uni-name.el, international/uni-numeric.el:
3668 * international/uni-old-name.el, international/uni-titlecase.el:
3669 * international/uni-uppercase.el:
3670 Remove generated files from VCS repository.
3672 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3674 * filenotify.el (file-notify-add-watch): Don't special-case
3675 w32notify when computing the directory to watch.
3677 2013-11-27 Glenn Morris <rgm@gnu.org>
3679 Make bootstrap without generated uni-*.el files possible again.
3680 * loadup.el: Update command-line-args checking for unidata-gen.
3681 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3682 * composite.el, international/characters.el:
3683 Handle unicode tables being undefined.
3685 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3686 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3687 (compile-main): Depend on leim rule.
3689 * loadup.el: Move leim-list.el to leim/ subdirectory.
3690 * startup.el (normal-top-level): No more leim directory.
3691 * international/ja-dic-cnv.el (skkdic-convert):
3692 Disable version-control and autoloads in output files.
3693 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3694 Disable version-control and autoloads in output files.
3695 * leim/quail: Move here from ../leim.
3696 * leim/quail/hangul.el (hangul-input-method-activate):
3697 Add autoload cookie.
3698 (generated-autoload-load-name): Set file-local value.
3699 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3700 (generated-autoload-load-name): Set file-local value.
3702 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3704 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3705 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3706 (eww-quit): Ask confirmation before quitting eww.
3708 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3710 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3711 reading output from Diff on MS-Windows and MS-DOS.
3713 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3715 * emacs-lisp/helpers.el (string-reverse): New function.
3717 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3719 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3720 names on MS Windows, like "/[::1]:".
3722 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3725 2013-11-26 Glenn Morris <rgm@gnu.org>
3727 * progmodes/python.el (python-indent-guess-indent-offset):
3728 Avoid corner-case error. (Bug#15975)
3730 Preload leim-list.el. (Bug#4789)
3731 * loadup.el: Load leim-list.el when found.
3732 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3734 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3736 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3738 * emacs-lisp/helpers.el (string-join): New function.
3740 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3742 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3743 Mark as obsolete and replace it with a symbol property.
3744 (byte-compile-form): Use new 'interactive-only property.
3745 * comint.el, files.el, replace.el, simple.el:
3746 Apply new 'interactive-only properly.
3748 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3750 * window.el (display-buffer-at-bottom): Make sure that
3751 split-window-sensibly creates the new window on bottom
3754 2013-11-23 David Kastrup <dak@gnu.org>
3756 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3757 on the conflict markers when available.
3758 (smerge--get-marker): New function.
3759 (smerge-end-re, smerge-base-re): Add subgroup.
3761 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3763 * frame.el (handle-focus-in, handle-focus-out): Add missing
3766 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3768 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3769 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3771 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3773 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3774 (gomoku--last-pos): New var.
3775 (gomoku--intangible-chars): New const.
3776 (gomoku--intangible): New function.
3777 (gomoku-mode): Use it. Derive from special-mode.
3778 (gomoku-move-up): Adjust line count.
3779 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3780 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3781 Simplify accordingly.
3783 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3784 Remove blink-cursor code.
3785 (blink-cursor-timer-function, blink-cursor-suspend):
3786 Don't special-case GUIs.
3787 (blink-cursor-mode): Use focus-in/out-hook.
3789 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3791 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3792 work when annotation is invisible (Bug#13886).
3794 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3796 * json.el (json-alist-p): Only return non-nil if the alist has
3797 simple keys (Bug#13518).
3799 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3801 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3802 when control-statement is the first statement in a buffer (Bug#15956).
3804 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3806 * imenu.el (imenu-generic-skip-comments-and-strings):
3807 New option (Bug#15560).
3808 (imenu--generic-function): Use it.
3810 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3812 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3815 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3817 * emacs-lisp/helpers.el: Add some string helpers.
3818 (string-trim-left): Removes leading whitespace.
3819 (string-trim-right): Removes trailing whitespace.
3820 (string-trim): Removes leading and trailing whitespace.
3822 * subr.el (string-suffix-p): New function.
3824 2013-11-23 Glenn Morris <rgm@gnu.org>
3826 * progmodes/python.el (python-shell-send-file):
3827 Add option to delete file when done. (Bug#15647)
3828 (python-shell-send-string, python-shell-send-region): Use it.
3830 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3832 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3833 to set buffer-read-only to t, never to nil. (Bug#15938)
3835 * textmodes/tex-mode.el (latex-noindent-environments):
3836 Add safe-local-variable property. (Bug#15936)
3838 2013-11-23 Glenn Morris <rgm@gnu.org>
3840 * textmodes/enriched.el (enriched-mode): Doc fix.
3841 * emacs-lisp/authors.el (authors-renamed-files-alist):
3842 Add enriched.doc -> enriched.txt.
3844 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3846 2013-11-22 Leo Liu <sdl.web@gmail.com>
3848 * progmodes/octave.el (inferior-octave-startup): Spit out error
3851 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3853 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3856 (ruby-encoding-magic-comment-style): Add :version.
3858 2013-11-22 Leo Liu <sdl.web@gmail.com>
3860 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3862 (octave-help-mode): Adapt to change to help-mode-finish to use
3863 derived-mode-p on 2013-09-17.
3864 (inferior-octave-prompt): Also match octave-gui.
3865 (octave-kill-process): Don't ask twice. (Bug#10564)
3867 2013-11-22 Leo Liu <sdl.web@gmail.com>
3869 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3870 (inferior-octave-startup, inferior-octave-check-process)
3871 (inferior-octave-track-window-width-change)
3872 (octave-completion-at-point, octave-eldoc-function): Use it.
3873 (octave-kill-process): Provide confirmation. (Bug#10564)
3875 2013-11-21 Leo Liu <sdl.web@gmail.com>
3877 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3878 Fix obsolete variable comment-use-global-state.
3880 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3882 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3883 Add `octave-source-file'.
3884 (octave-source-file): New function. (Bug#15935)
3886 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3888 * net/eww.el (eww-local-regex): New variable.
3889 (eww): Use it to detect localhost and similar.
3891 2013-11-21 Leo Liu <sdl.web@gmail.com>
3893 Add completion for command `ag'.
3894 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3895 (pcomplete/ag): New function.
3896 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3898 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3900 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3902 (make-obsolete): Remove interactive spec.
3904 2013-11-21 Glenn Morris <rgm@gnu.org>
3906 * startup.el (command-line-1): Use path-separator with -L.
3908 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3910 * emacs-lisp/package.el (describe-package-1): Add package archive
3913 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3915 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3916 Change default to "# encoding: %s" to differentiate it from the
3917 default Ruby encoding comment template.
3919 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3921 * ses.el (ses-mode): Doc fix. (Bug#14748)
3923 2013-11-20 Leo Liu <sdl.web@gmail.com>
3925 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3927 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3929 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3930 when rebase or bisect are in progress.
3932 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3934 * filenotify.el (file-notify-add-watch): Doc fix.
3936 2013-11-19 Leo Liu <sdl.web@gmail.com>
3938 * obsolete/rcompile.el: Mark obsolete.
3940 * progmodes/compile.el (compilation-start)
3941 (compilation-goto-locus, compilation-find-file):
3942 Pass no-display-ok and handle nil value from display-buffer.
3945 * window.el (display-buffer-alist, display-buffer): Document the
3946 new parameter no-display-ok. Return either a window or nil
3947 but never a non-window value.
3949 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3951 * electric.el (electric-indent-mode-map): Remove.
3952 (electric-indent-mode): Change the global-map instead (bug#15915).
3954 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3957 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3959 * emacs-lisp/nadvice.el (remove-function): Align with
3960 add-function's behavior.
3962 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3963 (gdb--string-regexp): New constant.
3964 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3965 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3966 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3968 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3969 Adjust use accordingly.
3970 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3972 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3974 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3975 interpolation curlies (Bug#15914).
3977 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3979 * calc/calc.el (calc-context-sensitive-enter): New variable.
3980 (calc-enter): Use `calc-context-sensitive-enter'.
3982 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3984 * progmodes/cfengine.el: Version bump.
3985 (cfengine-cf-promises): New defcustom to locate cf-promises.
3986 (cfengine3-vartypes): Add new "data" type.
3987 (cfengine3--current-word): New function to get current name-like
3989 (cfengine3--current-function): New function to look up a CFEngine
3990 function's definition.
3991 (cfengine3-format-function-docstring): New function.
3992 (cfengine3-make-syntax-cache): New function.
3993 (cfengine3-documentation-function): New function: ElDoc glue.
3994 (cfengine3-completion-function): New function: completion glue.
3995 (cfengine3-mode): Set `compile-command',
3996 `eldoc-documentation-function', and add to
3997 `completion-at-point-functions'.
3999 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
4001 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
4002 `tramp-current-connection'.
4004 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
4006 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
4007 nil/self/true/false with "end of symbol".
4009 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
4011 * subr.el (version-regexp-alist): Fix a typo.
4013 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
4015 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
4016 "en_US.utf8" and "LC_CTYPE" to "".
4017 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
4018 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
4020 2013-11-15 Leo Liu <sdl.web@gmail.com>
4022 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
4024 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4026 * progmodes/gud.el (ctl-x-map):
4027 Remove C-x SPC binding. (Bug#12342)
4028 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
4030 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
4032 * subr.el (version-regexp-alist):
4033 Recognize hg, svn and darcs versions as snapshot versions.
4035 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
4036 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
4037 (ruby--encoding-comment-required-p): Extract from
4038 `ruby-mode-set-encoding'.
4039 (ruby-mode-set-encoding): Add the ability to always insert an
4040 utf-8 encoding comment. Fix and simplify coding comment update
4043 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
4045 * net/tramp-gvfs.el (top): Run init code only when
4046 `tramp-gvfs-enabled' is not nil.
4047 (tramp-gvfs-enabled): Check also :system bus.
4049 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4051 Sync with upstream verilog-mode revision 78e66ba.
4052 * progmodes/verilog-mode.el (verilog-end-of-defun)
4053 (verilog-type-completion, verilog-get-list): Remove unused funcs.
4054 (verilog-get-end-of-defun): Remove unused argument.
4055 (verilog-comment-depth): Remove unused local `e'.
4056 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
4057 Don't pass arg to verilog-get-end-of-defun.
4059 2013-11-14 Glenn Morris <rgm@gnu.org>
4061 * obsolete/assoc.el (aget): Prefix dynamic variable.
4063 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
4065 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
4067 * widget.el, hfy-cmap.el: Remove bogus package version number.
4069 2013-11-13 Glenn Morris <rgm@gnu.org>
4071 * replace.el (replace-eval-replacement):
4072 Try to give more helpful error message. (Bug#15836)
4074 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
4075 (archive-7z-update): Avoid custom type mismatches.
4077 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
4079 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
4081 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
4082 address can be empty.
4084 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
4085 Accept nil SWITCHES.
4086 (tramp-gvfs-handle-write-region): Implement APPEND.
4088 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
4090 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
4091 binary "|" operator and closing block args delimiter.
4092 Remove FIXME comment referring to Ruby 1.8-only syntax.
4093 (ruby-smie--implicit-semi-p): Not after "|" operator.
4094 (ruby-smie--closing-pipe-p): New function.
4095 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
4096 (ruby-smie-rules): Indent after "|".
4098 2013-11-12 Glenn Morris <rgm@gnu.org>
4100 * ps-print.el (ps-face-attribute-list):
4101 Handle anonymous faces. (Bug#15827)
4103 2013-11-12 Martin Rudalics <rudalics@gmx.at>
4105 * window.el (display-buffer-other-frame): Fix doc-string.
4108 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4110 * subr.el (force-mode-line-update): Delete, move to buffer.c.
4112 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
4114 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
4115 (tramp-sh-handle-file-local-copy): Don't write a message when
4116 saving temporary files.
4118 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
4119 both directories are remote.
4120 (tramp-smb-handle-directory-files): Do not return double entries.
4121 Do not expand full file names.
4122 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
4123 (tramp-smb-handle-write-region): Implement APPEND.
4124 (tramp-smb-get-stat-capability): Fix a stupid bug.
4126 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4128 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
4130 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4132 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
4133 throwing error over malformed let/let* (bug#15814).
4135 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
4137 * iswitchb.el (iswitchb-mode): Mark obsolete.
4139 2013-11-11 Glenn Morris <rgm@gnu.org>
4141 * international/uni-bidi.el, international/uni-category.el:
4142 * international/uni-name.el, international/uni-numeric.el:
4143 Regenerate for Unicode 6.3.0.
4145 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4147 * net/tramp.el (tramp-methods):
4148 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4149 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4151 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4153 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4154 Force highlighting text after Summary keyword in doc face for rpm.
4156 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4158 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4159 available and the word has no wildcards, append one to the grep pattern.
4160 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4161 (ispell-complete-word): Call `ispell-lookup-words' with the value
4162 independent of `ispell-look-p'.
4164 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4166 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4168 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4171 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4173 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4174 (ruby-font-lock-keywords): Use backquote.
4176 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4178 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4179 (ruby-smie--backward-token): Only consider full-string matches.
4181 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4183 * faces.el (describe-face): Add distant-foreground.
4185 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4187 * progmodes/ruby-mode.el: Improve encoding comment handling.
4188 (ruby-encoding-magic-comment-style): New option.
4189 (ruby-custom-encoding-magic-comment-template): New option.
4190 (ruby--insert-coding-comment, ruby--detect-encoding):
4191 New functions extracted from `ruby-mode-set-encoding'.
4192 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4193 to control the style of the auto-inserted encoding comment.
4195 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4197 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4198 Use `smie-backward-sexp' with token argument.
4200 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4202 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4203 Remove instrumentation code.
4205 2013-11-08 Glenn Morris <rgm@gnu.org>
4207 * progmodes/autoconf.el (autoconf-mode):
4208 Tweak comment-start-skip. (Bug#15822)
4210 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4212 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4213 at bobp (bug#15826).
4214 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4216 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4218 * man.el (Man-start-calling): New macro, extracted from
4219 Man-getpage-in-background.
4220 (Man-getpage-in-background): Use it.
4221 (Man-update-manpage): New command.
4222 (Man-mode-map): Bind it.
4224 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4226 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4227 of "and", "or", "&&" and "||".
4228 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4229 argument. Prohibit opening curly brace because it could only be a
4230 block opener in that position.
4231 (ruby-smie--forward-token, ruby-smie--backward-token):
4232 Separate "|" from "&" or "*" going after it. That can happen in block
4234 (ruby-smie--indent-to-stmt): New function, seeks the end of
4235 previous statement or beginning of buffer.
4236 (ruby-smie-rules): Use it.
4237 (ruby-smie-rules): Check if there's a ":" before a curly block
4238 opener candidate; if there is, it's a hash.
4240 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4242 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4243 (cl--block-wrapper): Fix last accidental change.
4245 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4247 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4248 Instrument, in order to hunt failure on hydra.
4250 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4252 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4253 malformed bindings form (bug#15814).
4255 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4257 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4258 "." compared to " @ ". This incidentally fixes some indentation
4260 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4261 (ruby-smie-grammar): New tokens: "and" and "or".
4262 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4263 Exclude "and" and "or". Remove "do" in order to work around token
4265 (ruby-smie-rules): Add all infix tokens. Handle the case of
4266 beginning-of-buffer.
4268 2013-11-06 Glenn Morris <rgm@gnu.org>
4270 * Makefile.in (setwins_almost, setwins_for_subdirs):
4271 Avoid accidental matches.
4273 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4275 * menu-bar.el (popup-menu): Use key-binding.
4277 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4279 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4280 menus, support also the menus produced by minor modes.
4283 2013-11-06 Leo Liu <sdl.web@gmail.com>
4285 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4286 DISTANCE to bound the search. All uses changed. (Bug#15808)
4288 2013-11-06 Glenn Morris <rgm@gnu.org>
4290 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4291 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4292 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4294 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4296 * electric.el (electric-indent-just-newline): New command.
4297 (electric-indent-mode-map): New keymap.
4298 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4299 Re-add :group which weren't redundant.
4301 * electric.el (electric-indent-local-mode): New minor mode.
4302 (electric-indent-functions-without-reindent): New var.
4303 (electric-indent-post-self-insert-function): Use it.
4304 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4306 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4308 * international/quail.el (quail-help): Be more explicit about the
4309 meaning of the labels shown on the keys. (Bug#15800)
4311 * startup.el (normal-top-level): Load the subdirs.el files before
4312 setting the locale environment. (Bug#15805)
4314 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4316 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4317 via arguments so as to get the right ones (bug#15418).
4319 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4321 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4323 Fix problems found while writing a test suite.
4325 * net/tramp-compat.el (tramp-compat-load): New defun.
4326 * net/tramp.el (tramp-handle-load): Use it.
4328 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4329 "(numberp ok-if-already-exists)" correctly.
4331 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4333 * international/characters.el (glyphless-char-display-control):
4336 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4338 * progmodes/python.el (python-mode):
4339 * progmodes/scheme.el (scheme-mode):
4340 * progmodes/prolog.el (prolog-mode):
4341 * progmodes/ruby-mode.el (ruby-mode):
4342 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4343 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4345 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4347 * rect.el (rectangle--highlight-for-redisplay):
4348 * emacs-lisp/smie.el (smie--next-indent-change):
4349 Use buffer-chars-modified-tick.
4351 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4353 * electric.el (electric-indent-post-self-insert-function):
4354 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4356 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4358 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4360 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4362 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4365 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4367 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4369 * progmodes/python.el: Fix up last change.
4370 (python-shell--save-temp-file): New function.
4371 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4372 `string' comes from the current buffer.
4373 (python-shell-send-string-no-output): Remove `msg' arg.
4374 (python--use-fake-loc): New var.
4375 (python-shell-buffer-substring): Obey it. Try to compensate for the
4376 extra coding line added by python-shell--save-temp-file.
4377 (python-shell-send-region): Use python-shell--save-temp-file and
4378 python-shell-send-file directly. Add `nomain' argument.
4379 (python-shell-send-buffer): Use python-shell-send-region.
4380 (python-electric-pair-string-delimiter): New function.
4381 (python-mode): Use it.
4383 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4385 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4386 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4387 environment and decoding all of the default-directory's to here
4389 (command-line): Decode also argv[0].
4391 * loadup.el: Error out if default-directory is a multibyte string
4392 when we are dumping.
4394 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4396 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4398 * emacs-lisp/package.el (package-menu-mode)
4399 (package-menu--print-info, package-menu--archive-predicate):
4400 Add Archive column to package list.
4402 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4404 Fix problems found while writing a test suite.
4406 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4407 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4408 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4409 to nil when running original file name handler. Otherwise,
4410 there are problems with constructs like "$$FOO".
4412 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4415 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4417 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4419 * subr.el (version<, version<=, version=):
4420 Update docstrings with information for snapshot versions.
4422 * helpers.el: New library for misc helper functions.
4423 (hash-table-keys): New function returning a list of hash keys.
4424 (hash-table-values): New function returning a list of hash values.
4426 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4428 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4429 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4431 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4433 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4434 checking whether point is after a 1-letter word.
4436 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4438 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4439 Don't infloop when expanding region over `multiline' syntax-type that
4440 begins a line (bug#15778).
4442 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4444 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4445 Make it into a proper minor mode.
4446 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4447 (rectangle-mark-mode-map): New keymap.
4448 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4450 2013-11-04 Glenn Morris <rgm@gnu.org>
4452 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4454 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4456 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4457 (ruby-smie-rules): Use smie-rule-parent instead.
4459 * emacs-lisp/smie.el (smie-rule-parent): Always call
4460 smie-indent-virtual rather than only for hanging tokens.
4461 (smie--next-indent-change): New helper command.
4463 2013-11-03 Glenn Morris <rgm@gnu.org>
4465 * Makefile.in (abs_srcdir): Remove.
4466 (emacs): Unset EMACSLOADPATH.
4468 2013-11-02 Glenn Morris <rgm@gnu.org>
4470 * Makefile.in (EMACS): Use a relative filename.
4471 (abs_top_builddir): Remove.
4472 (custom-deps, finder-data, autoloads): Use --chdir.
4474 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4476 Use relative filenames in TAGS files.
4477 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4478 (lisptagsfiles4, TAGS): Use relative file names.
4479 (TAGS-LISP): Remove.
4480 (maintainer-clean): No more TAGS-LISP file.
4482 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4483 (lisptagsfiles4): Use absolute filenames again.
4484 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4485 Remove all *loaddefs files, not just the first. Remove esh-groups.
4486 (maintainer-clean): Delete TAGS, TAGS-LISP.
4488 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4490 * emacs-lisp/package.el (package-version-join):
4491 Recognize snapshot versions.
4493 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4495 * subr.el (version-regexp-alist): Add support for snapshot versions.
4497 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4499 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4500 New function, replacement for `smie-rule-parent' for when we want to
4501 skip over our direct parent if it's an assignment token..
4502 (ruby-smie-rules): Use it.
4504 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4506 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4507 unconditionally. Remove now unnecessary forward declarations.
4508 Remove XEmacs-specific setup.
4509 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4510 (ruby-font-lock-syntactic-keywords)
4511 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4512 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4513 (ruby-here-doc-end-syntax): Remove.
4514 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4515 defined as function.
4517 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4519 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4521 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4523 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4524 table and abbrev table, `define-derived-mode' does that for us
4527 2013-11-01 Glenn Morris <rgm@gnu.org>
4529 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4530 files is atomic for some time, so no parallel compilation issues).
4532 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4534 * faces.el (face-x-resources): Add :distant-foreground.
4535 (region): Use :distant-foreground for gtk and ns.
4537 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4539 Allow multiple bibliographies when BibLaTeX is used rather than
4541 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4542 (reftex-locate-bibliography-files): Us it.
4544 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4546 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4547 allow comments in pbm files.
4549 * term/w32-win.el (dynamic-library-alist): Support newer versions
4550 of libjpeg starting with v7: look only for the DLL from the
4551 version against which Emacs was built.
4552 Support versions of libpng beyond 1.4.x.
4553 Support libtiff v4.x.
4555 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4557 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4558 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4560 (ruby-deep-arglist): Add property :type.
4562 2013-10-31 Glenn Morris <rgm@gnu.org>
4564 * Makefile.in (custom-deps, finder-data): No need to setq the target
4565 variables, we are in the right directory and the defaults work fine.
4567 2013-10-30 Glenn Morris <rgm@gnu.org>
4569 * Makefile.in (autoloads): Do not use abs_lisp.
4571 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4572 `newline' does not respect `standard-output', so use `princ'.
4574 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4576 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4577 * buff-menu.el (Buffer-menu--unmark): New function.
4578 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4580 2013-10-30 Glenn Morris <rgm@gnu.org>
4582 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4584 * emacs-lisp/package.el (lm-homepage): Declare.
4586 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4589 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4591 * Makefile.in (finder-data, autoloads, update-subdirs)
4592 (compile-main, compile-clean, compile-always, bootstrap-clean):
4593 Check return value of cd.
4594 (compile-calc): Remove.
4596 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4598 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4600 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4601 (byte-compile-and-folded): New function.
4602 (=, <, >, <=, >=): Use it.
4604 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4605 (path-separator, null-device, buffer-file-coding-system)
4606 (lpr-headers-switches): Check system-type before modifying them.
4607 (find-buffer-file-type-coding-system): Mark obsolete.
4608 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4609 find-file-not-found-set-buffer-file-coding-system.
4610 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
4611 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4612 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
4613 (w32-direct-print-region-helper, w32-direct-print-region-function)
4614 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4615 * startup.el (normal-top-level-add-subdirs-to-load-path):
4616 * ps-print.el (ps-print-region-function):
4617 * lpr.el (print-region-function): Use new name.
4619 * subr.el (custom-declare-variable-early): Remove function.
4620 (custom-declare-variable-list): Remove var.
4621 (error, user-error): Remove `while' loop.
4622 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4623 (user-emacs-directory-warning, locate-user-emacs-file):
4625 * simple.el (read-quoted-char-radix, read-quoted-char):
4626 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4628 * custom.el (custom-declare-variable-list): Don't process
4629 custom-declare-variable-list.
4631 * progmodes/python.el (python-shell-get-buffer): New function.
4632 (python-shell-get-process): Use it.
4633 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4634 Python which encoding was used. Don't split-string since we only care
4635 about the first line. Return the temp-file, if applicable.
4636 (python-shell-send-region): Tell compile.el how to turn locations in
4637 the temp-file into locations in the source buffer.
4639 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4641 * subr.el (undefined): Add missing behavior from the C code for
4644 * rect.el: Use lexical-binding. Add new rectangular region support.
4645 (rectangle-mark): New command.
4646 (rectangle--region): New var.
4647 (deactivate-mark-hook): Reset rectangle--region.
4648 (rectangle--extract-region, rectangle--insert-for-yank)
4649 (rectangle--highlight-for-redisplay)
4650 (rectangle--unhighlight-for-redisplay): New functions.
4651 (region-extract-function, redisplay-unhighlight-region-function)
4652 (redisplay-highlight-region-function): Use them to handle
4654 * simple.el (region-extract-function): New var.
4655 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4656 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4657 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4658 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4659 (redisplay-unhighlight-region-function)
4660 (redisplay-highlight-region-function): New vars.
4661 (redisplay--update-region-highlight): New function.
4662 (pre-redisplay-function): Use it.
4663 (exchange-point-and-mark): Don't deactivate the mark before
4664 reactivate-it anyway.
4665 * comint.el (comint-kill-region): Remove yank-handler argument.
4666 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4667 (delete-char): Remove property, since it's now part of their
4669 (self-insert-iso): Remove property since this command doesn't exist.
4671 * emacs-lisp/package.el (package--download-one-archive)
4672 (describe-package-1): Don't query the user about final newline.
4674 2013-10-29 Daniel Colascione <dancol@dancol.org>
4676 * net/tramp.el (tramp-methods): Document new functionality.
4677 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4678 tramp-hostname-checker if method provides one instead of scanning
4679 argument list for "%h" to decide hostname acceptability.
4681 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4683 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4684 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4685 Handle COPY-CONTENTS. (Bug#15737)
4687 2013-10-28 Daiki Ueno <ueno@gnu.org>
4690 (epa-file-cache-passphrase-for-symmetric-encryption):
4691 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4693 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4695 * image.el (defimage, image-load-path): Doc fixes.
4697 2013-10-27 Alan Mackenzie <acm@muc.de>
4699 Indent statements in macros following "##" correctly.
4700 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4701 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4703 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4705 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4707 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4709 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4710 after `=' is probably a new expression.
4712 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4714 * man.el (man-imenu-title): New option.
4715 (Man-mode-map): Add menu. (Bug#15722)
4716 (Man-mode): Add imenu to menu.
4718 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4720 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4721 specific in what the first arg can be: a non-keyword word,
4722 string/regexp/percent literal opener, opening paren, or unary
4723 operator followed directly by word.
4725 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4727 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4728 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4729 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4730 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4731 Remove vars, they do not apply any more.
4732 (prolog-mode-abbrev-table): Remove redundant declaration.
4733 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4734 (prolog-use-smie): Remove.
4735 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4736 supported by prolog-electric-if-then-else-flag.
4737 (prolog-mode-variables, prolog-menu): Use setq-local.
4738 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4739 Remove binding to `Backspace' since this key doesn't exist anyway.
4740 Remove bindings for electric self-inserting keys.
4741 (prog-mode): Assume it's defined.
4742 (prolog-post-self-insert): New function.
4743 (prolog-mode): Use it.
4744 (prolog-indent-line, prolog-indent-level)
4745 (prolog-find-indent-of-matching-paren)
4746 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4747 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4748 (prolog-goto-next-paren, prolog-in-string-or-comment)
4749 (prolog-tokenize, prolog-inside-mline-comment)
4750 (prolog-find-start-of-mline-comment): Remove functions.
4751 (prolog-find-unmatched-paren, prolog-clause-end)
4752 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4753 (prolog-electric--if-then-else): Rename from
4754 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4755 (prolog-tokenize-searchkey): Remove const.
4756 (prolog-clause-info): Use forward-sexp.
4757 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4758 (prolog-electric-if-then-else): Remove commands.
4759 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4760 for use in post-self-insert-hook.
4761 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4762 for use in post-self-insert-hook.
4763 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4764 for use in post-self-insert-hook.
4765 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4766 adapt it for use in post-self-insert-hook.
4768 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4770 * emacs-lisp/ert.el (ert-run-tests-interactively):
4771 Use `completing-read'. (Bug#9756)
4773 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4775 * simple.el (line-move): Call line-move-1 instead of
4776 line-move-visual when the current window hscroll is zero, but
4777 temporary-goal-column indicates we will need to hscroll as result
4778 of the movement. (Bug#15712)
4780 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4782 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4783 capitalization. Use :visible instead of :active.
4784 Fix `ruby-indent-exp' reference. Add menu items for the generic
4785 commands that are used with SMIE.
4786 (ruby-do-end-to-brace): Insert space after `{'.
4788 2013-10-25 John Anthony <john@jo.hnanthony.com>
4790 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4792 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4794 2013-10-25 Glenn Morris <rgm@gnu.org>
4796 * vc/vc.el (vc-print-log): Don't use a working revision unless
4797 one was explicitly specified. (Bug#15322)
4799 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4801 * subr.el (add-to-list): Preserve return value in compiler-macro
4804 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4806 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4807 result. Ask user to retry using '-all' flag. (Bug#15701)
4809 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4811 * emacs-lisp/smie.el: New smie-config system.
4812 (smie-config): New defcustom.
4813 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4814 (smie-config-guess, smie-config-save): New commands.
4815 (smie-config--mode-local, smie-config--buffer-local)
4816 (smie-config--trace, smie-config--modefuns): New vars.
4817 (smie-config--advice, smie-config--mode-hook)
4818 (smie-config--setter, smie-config-local, smie-config--get-trace)
4819 (smie-config--guess-value, smie-config--guess): New functions.
4820 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4821 text properties. Treat "string fence" syntax like string syntax.
4823 * progmodes/sh-script.el (sh-use-smie): Change default.
4824 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4825 (sh-var-value): Simplify by CSE.
4826 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4827 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4829 (sh-guess-basic-offset): Use cl-incf.
4830 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4832 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4834 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4837 2013-10-24 Glenn Morris <rgm@gnu.org>
4839 * Makefile.in (abs_top_srcdir): Remove.
4840 (update-subdirs): Use relative path to update-subdirs.
4842 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4844 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4845 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4846 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4847 Call unmsys--file-name before expand-file-name, not after it.
4849 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4851 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4852 (ert-test-skipped): New error.
4853 (ert-skip, ert-stats-skipped): New defuns.
4854 (ert--skip-unless): New macro.
4855 (ert-test-skipped): New struct.
4856 (ert--run-test-debugger, ert-test-result-type-p)
4857 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4858 (ert--stats-set-test-and-result, ert-char-for-test-result)
4859 (ert-string-for-test-result, ert-run-tests-batch)
4860 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4861 Handle skipped tests. (Bug#9803)
4863 2013-10-24 Glenn Morris <rgm@gnu.org>
4865 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4867 * Makefile.in (abs_top_srcdir): New, set by configure.
4868 (update-subdirs): Correct build-aux location.
4870 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4872 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4873 value, whether we could auto-deduce `backend', or not.
4875 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4876 with parameters" example. Simplify the "is it block or is it
4877 hash" check, but also make it more thorough.
4879 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4881 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4883 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4885 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4888 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4891 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4893 * progmodes/compile.el (compilation-directory-matcher)
4894 (compilation-page-delimiter):
4895 Support GNU Make-4.0 directory quoting. (Bug#15678)
4897 2013-10-23 Leo Liu <sdl.web@gmail.com>
4899 * ido.el (ido-tidy): Handle read-only text.
4901 2013-10-23 Glenn Morris <rgm@gnu.org>
4903 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4904 (emacs, compile, compile-always):
4905 Quote entities that might contain whitespace.
4906 (custom-deps, finder-data, autoloads): Use abs_lisp.
4907 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4908 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4909 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4911 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4913 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4914 Use `following-char'.
4916 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4918 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4919 * progmodes/ruby-mode.el (ruby-smie-rules):
4920 Remove corresponding workaround. Fix indentation rule of ";" so it
4921 also applies when ";" is the parent.
4923 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4925 * frame.el (display-screens, display-pixel-height)
4926 (display-pixel-width, display-mm-width, display-backing-store)
4927 (display-save-under, display-planes, display-color-cells)
4928 (display-visual-class, display-monitor-attributes-list):
4929 Mention the optional ‘display’ argument in doc strings.
4931 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4933 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4934 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4936 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4938 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4939 TODO. Add "." after " @ ".
4940 (ruby-smie--at-dot-call): New function. Checks if point at method
4941 call with explicit target.
4942 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4943 to the method name tokens when it precedes them.
4944 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4945 (ruby-smie-rules): Add rule for indentation before and after "."
4948 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4950 * textmodes/remember.el (remember-diary-extract-entries):
4953 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4956 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4958 * progmodes/ruby-mode.el (ruby-smie-grammar):
4959 Add (almost) all infix operators.
4960 (ruby-smie--implicit-semi-p): Add new operator chars.
4962 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4964 (ruby-smie--args-separator-p): Check that there's no newline
4965 between method call and its arguments.
4967 2013-10-20 Alan Mackenzie <acm@muc.de>
4969 Allow comma separated lists after Java "implements".
4971 * progmodes/cc-engine.el (c-backward-over-enum-header):
4973 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4974 from a "disallowed" list in enum fontification.
4976 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4978 * startup.el (default-frame-background-mode): Remove unused defvar.
4980 * progmodes/verilog-mode.el (verilog-mode): Don't set
4981 comment-indent-function globally.
4983 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4985 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4986 Move Info menu item creation to ns-win.el.
4988 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4991 * menu-bar.el: Move GNUstep specific menus...
4993 * term/ns-win.el (ns-initialize-window-system): ... to here.
4995 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4997 * simple.el (newline): Only run post-self-insert-hook when
4998 called interactively.
5000 2013-10-19 Johan Bockgård <bojohan@gnu.org>
5002 * icomplete.el (icomplete-with-completion-tables): Add :version.
5004 2013-10-19 Alan Mackenzie <acm@muc.de>
5006 Fix fontification bugs with constructors and const.
5008 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
5009 CASE 2) Remove the check for the absence of a suffix construct
5010 after a function declaration with only types (no identifiers) in
5011 the parentheses. Also, accept a function declaration with just a
5012 type inside the parentheses, if this type can be positively
5013 recognised as such, or if a prefix keyword like "explicit" nails
5014 down the construct as a declaration.
5016 2013-10-19 Eli Zaretskii <eliz@gnu.org>
5018 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
5019 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
5020 the problem whereby selecting a menu item that leads to a
5021 minibuffer prompt moves the cursor out of the minibuffer window,
5022 making it hard to type at the prompt. Suggested by Stefan Monnier
5023 <monnier@iro.umontreal.ca>.
5025 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
5027 * menu-bar.el: Don't make Services menu.
5029 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5031 * ffap.el: Handle "/usr/include/c++/<version>" directories.
5032 (ffap-alist): Use ffap-c++-mode for c++-mode.
5033 (ffap-c++-path): New variable.
5034 (ffap-c++-mode): New function.
5036 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
5038 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
5040 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
5042 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
5043 introduced on 2013-09-08, which results in an infinite loop
5044 requesting a password.
5046 2013-10-18 Glenn Morris <rgm@gnu.org>
5048 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
5050 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
5052 Sync with upstream verilog-mode revision 1a6ecec7.
5053 * progmodes/verilog-mode.el (verilog-mode-version): Update.
5054 (verilog-mode-release-date): Remove.
5055 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
5056 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
5057 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
5058 (verilog-auto-tieoff-ignore-regexp)
5059 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
5060 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
5061 (verilog-signals-with, verilog-dir-cache-preserving)
5062 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
5064 (verilog-case-fold): New option, to control case folding in
5065 regexp searches, bug597.
5066 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
5067 (verilog-string-match-fold, verilog-in-paren-count)
5068 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
5069 (verilog-at-close-struct-p): New functions.
5070 (verilog-beg-block-re-ordered, verilog-extended-case-re)
5071 (verilog-forward-sexp, verilog-set-auto-endcomments)
5072 (verilog-leap-to-case-head): Handle "unique0" case.
5073 (verilog-in-constraint-re): New constant.
5074 (verilog-keywords, verilog-type-font-keywords):
5075 Add some SystemVerilog 1800-2012 keywords.
5076 (verilog-label-be): Remove unimplemented argument, bug669.
5077 (verilog-batch-execute-func): When batch expanding clear
5078 create-lockfiles to prevent spurious user locks when a file ends
5080 (verilog-calculate-indent, verilog-calc-1)
5081 (verilog-at-close-constraint-p, verilog-at-constraint-p)
5082 (verilog-do-indent): Fix indentation of nested constraints
5084 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
5085 (verilog-auto-inst-param): Use verilog-string-match-fold.
5086 (verilog-read-inst-module-matcher):
5087 Fix AUTOINST on gate primitives with #1.
5088 (verilog-read-decls): Fix double-declaring user-defined typed signals.
5089 Reads all user-defined typed variables.
5090 (verilog-read-defines): Fix reading definitions inside comments, bug647.
5091 (verilog-signals-matching-regexp)
5092 (verilog-signals-not-matching-regexp, verilog-auto):
5093 Respect verilog-case-fold.
5094 (verilog-diff-report): Fix line count.
5095 (verilog-auto-assign-modport): Remove unused local `modi'.
5096 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
5097 better handle multidimensional arrays.
5098 Fix packed array ports misadding bit index in AUTOINST, bug637.
5099 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
5100 to not double-declare existing outputs and inputs, respectively.
5101 (verilog-template-map): Bind U to verilog-sk-uvm-component.
5102 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
5103 (verilog-sk-uvm-component): New skeleton.
5104 (verilog-submit-bug-report): Add verilog-case-fold,
5105 remove verilog-mode-release-date.
5107 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
5109 * subr.el (sit-for): Call (input-pending-p t) so as to behave
5112 2013-10-18 Reuben Thomas <rrt@sc3d.org>
5114 * textmodes/remember.el (remember): Set buffer-offer-save in
5115 remember buffers (bug#13566).
5117 2013-10-18 Daniel Colascione <dancol@dancol.org>
5119 When evaluating forms in ielm, direct standard output to ielm
5120 buffer. Add new ielm-return-for-effect command. Remove trailing
5121 whitespace throughout.
5123 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
5124 (ielm-return-for-effect): New command.
5125 (ielm-send-input): Accept optional `for-effect' parameter.
5126 (ielm-eval-input): Accept optional `for-effect' parameter.
5127 Bind `standard-output' to stream we create using
5128 `ielm-standard-output-impl'. Suppress printing result when
5130 (ielm-standard-output-impl): New function.
5131 (inferior-emacs-lisp-mode): Explain new features in documentation.
5133 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
5137 * net/tramp.el (tramp-debug-message): Do not check for connection
5139 (tramp-message): Use "vector" connection property.
5141 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5142 (tramp-equal-remote, tramp-eshell-directory-change)
5143 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5144 (tramp-adb-handle-rename-file)
5145 * net/tramp-cmds.el (tramp-list-remote-buffers)
5146 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5147 * net/tramp-compat.el (tramp-compat-process-running-p)
5148 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5149 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5150 (tramp-gvfs-handle-rename-file)
5151 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5152 (tramp-set-file-uid-gid)
5153 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5154 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5157 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5158 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5159 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5160 (tramp-gw-open-network-stream): Suppress unrelated traces.
5162 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5163 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5164 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5165 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5166 connection property.
5168 * net/tramp-cache.el (top): Suppress traces when reading
5171 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5172 Refactor common code. Improve debug message.
5173 (tramp-maybe-open-connection)
5174 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5175 connection buffer too early.
5177 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5178 from `tramp-smb-actions-with-acl'.
5179 (tramp-smb-actions-set-acl): New defconst.
5180 (tramp-smb-handle-copy-directory)
5181 (tramp-smb-action-get-acl): New defun, renamed from
5182 `tramp-smb-action-with-acl'.
5183 (tramp-smb-action-set-acl): New defun.
5184 (tramp-smb-handle-set-file-acl): Rewrite.
5186 2013-10-17 Glenn Morris <rgm@gnu.org>
5188 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5190 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5192 * skeleton.el (skeleton-newline): Remove.
5193 (skeleton-internal-1): Use (insert "\n") instead.
5195 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5198 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5199 forward-sexp-function while we redo its job (bug#15613).
5201 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5203 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5204 represented by lists.
5206 2013-10-16 Glenn Morris <rgm@gnu.org>
5208 * tmm.el (tmm--history): New dynamic variable.
5209 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5211 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5213 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5214 (tramp-smb-errors): Add error messages.
5215 (tramp-smb-actions-with-acl): New defconst.
5216 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5217 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5218 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5219 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5220 (tramp-smb-get-stat-capability): Fix tests.
5222 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5224 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5227 2013-10-16 Glenn Morris <rgm@gnu.org>
5229 * ansi-color.el (ansi-color-drop-regexp):
5230 Add 1J, 1K, 2K. (Bug#15617)
5232 * files.el (hack-local-variables--warned-lexical): New.
5233 (hack-local-variables):
5234 Warn about misplaced lexical-binding. (Bug#15616)
5236 * net/eww.el (eww-render): Always set eww-current-url,
5237 and update header line. (Bug#15622)
5238 (eww-display-html): ... Rather than just doing it here.
5240 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5242 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5243 menu navigations commands.
5245 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5247 * progmodes/subword.el (subword-capitalize): Be careful when
5248 the search for [[:alpha:]] fails (bug#15580).
5250 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5252 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5253 to commands that scroll the menu.
5255 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5257 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5258 Handle methods ending with `?' and `!'.
5260 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5262 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5263 `japanese-cp932' to `cp932' to fix the problem where saving a
5264 source file written in Shift_JIS twice would end up having
5265 `coding: japanese-cp932' which Ruby could not recognize.
5266 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5267 in `ruby-encoding-map'.
5268 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5269 doesn't need to be explicitly declared in magic comment.
5270 (ruby-encoding-map): Add type declaration for better customize UI.
5272 2013-10-13 Glenn Morris <rgm@gnu.org>
5274 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5275 Occur buffers are read-only. http://bugs.debian.org/720775
5277 * emacs-lisp/authors.el (authors-fixed-entries):
5278 Comment out old alpha stuff.
5280 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5282 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5283 to `after-save-hook' instead of `before-save-hook'.
5284 (ruby-mode-set-encoding): Use the value of coding system used to
5285 write the file. Call `basic-save-buffer-1' after modifying the
5288 2013-10-13 Alan Mackenzie <acm@muc.de>
5290 Fix indentation/fontification of Java enum with
5291 "implements"/generic.
5293 * progmodes/cc-engine.el (c-backward-over-enum-header):
5294 Extracted from the three other places and enhanced to handle generics.
5295 (c-inside-bracelist-p): Uses new function above.
5296 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5298 (c-font-lock-enum-tail): Uses new function above.
5300 2013-10-13 Kenichi Handa <handa@gnu.org>
5302 * international/mule-cmds.el (select-safe-coding-system): Remove a
5303 superfluous condition in chekcing whether a coding system is safe
5306 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5308 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5310 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5312 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5314 2013-10-13 Glenn Morris <rgm@gnu.org>
5316 * menu-bar.el (menu-bar-update-buffers):
5317 Unify Buffers menu prompt string. (Bug#15576)
5319 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5321 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5323 (authors-fixed-entries): Use accented form of name.
5325 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5327 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5328 method calls (bug#15594).
5329 (ruby-smie--args-separator-p): New function.
5330 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5331 recognize paren-free method calls.
5333 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5334 internals of universal-argument.
5336 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5338 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5339 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5340 dropped menu on second mouse click on the menu bar.
5342 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5344 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5345 (explicit-shell-file-name): Declare.
5346 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5347 (sh-completion-at-point-function): New function.
5349 (sh-smie--keyword-p): Remove unused argument.
5350 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5352 (sh-set-shell): Always setup SMIE, even if we use the
5353 old indentation code.
5355 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5357 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5359 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5360 predicate would return nil are almost non-existent.
5361 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5363 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5364 cache also after commands that modify the buffer but don't move
5367 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5369 * env.el (substitute-env-in-file-name): New function.
5370 (substitute-env-vars): Extend the meaning of the optional arg.
5372 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5374 * term/w32-win.el (dynamic-library-alist): Define separate lists
5375 of GIF DLLs for versions before and after 5.0.0 of giflib.
5378 2013-10-10 João Távora <joaotavora@gmail.com>
5380 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5381 not locked, use last revision and current source as
5382 defaults. (Bug#15569)
5384 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5386 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5389 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5391 * window.el (pop-to-buffer-same-window): Fix doc-string.
5394 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5396 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5398 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5400 * calendar/icalendar.el (icalendar-import-file):
5401 Fix interactive spec. (Bug#15482)
5403 2013-10-10 Glenn Morris <rgm@gnu.org>
5405 * desktop.el (desktop-save): Default to saving in .emacs.d,
5406 since PWD is no longer in desktop-path by default. (Bug#15319)
5408 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5409 now that text mode has a menu with the same entry.
5410 (menu-bar-text-mode-auto-fill): Remove now unused func.
5411 * textmodes/text-mode.el (text-mode-map):
5412 Use auto-fill help text from menu-bar.el.
5414 2013-10-10 John Anthony <john@jo.hnanthony.com>
5416 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5418 2013-10-09 Juri Linkov <juri@jurta.org>
5420 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5421 instead of this-command-keys. Add universal-argument-more and
5422 universal-argument-minus to the list of prefix commands. (Bug#15568)
5424 2013-10-09 Glenn Morris <rgm@gnu.org>
5426 * vc/vc-svn.el (vc-svn-create-repo):
5427 Expand paths in file://... url. (Bug#15446)
5429 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5431 (authors): Remove unused local variables.
5433 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5435 * profiler.el: Create a more coherent calltree from partial backtraces.
5436 (profiler-format): Hide the tail with `invisible' so that C-s can still
5437 find the hidden elements.
5438 (profiler-calltree-depth): Don't recurse so enthusiastically.
5439 (profiler-function-equal): New hash-table-test.
5440 (profiler-calltree-build-unified): New function.
5441 (profiler-calltree-build): Use it.
5442 (profiler-report-make-name-part): Indent the calltree less.
5443 (profiler-report-mode): Add visibility specs for profiler-format.
5444 (profiler-report-expand-entry, profiler-report-toggle-entry):
5445 Expand the whole subtree when provided with a prefix arg.
5447 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5449 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5451 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5452 hanging iuwu-mod token.
5453 (ruby-smie--forward-token): Do not include a dot after a token in
5455 (ruby-smie--backward-token): Likewise.
5457 2013-10-08 Juri Linkov <juri@jurta.org>
5459 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5460 to isearch-other-control-char.
5461 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5462 and isearch-post-command-hook to post-command-hook.
5463 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5464 and isearch-post-command-hook from post-command-hook.
5465 (isearch-unread-key-sequence)
5466 (isearch-reread-key-sequence-naturally)
5467 (isearch-lookup-scroll-key, isearch-other-control-char)
5468 (isearch-other-meta-char): Remove functions.
5469 (isearch-pre-command-hook, isearch-post-command-hook):
5470 New functions based on isearch-other-meta-char rewritten
5471 relying on the new behavior of overriding-terminal-local-map
5472 that does not replace the local keymaps any more. (Bug#15200)
5474 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5476 Support menus on text-mode terminals.
5477 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5480 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5482 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5483 Move here from mouse.el.
5484 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5486 (tty-menu-navigation-map): New map for TTY menu navigation.
5488 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5490 * frame.el (display-mouse-p): Report text-mode mouse as available
5492 (display-popup-menus-p): Report availability if mouse is
5493 available; don't condition on window-system.
5495 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5496 (tty-menu-selected-face): New faces.
5498 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5500 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5501 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5502 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5503 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5505 (lisp-mode-variables): New `elisp' argument.
5506 (emacs-lisp-mode): Use it.
5507 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5508 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5510 * indent.el: Use lexical-binding.
5511 (indent-region): Add progress reporter.
5512 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5514 (indent--next-tab-stop): New function to implement this behavior.
5515 (tab-to-tab-stop, move-to-tab-stop): Use it.
5517 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5519 * indent.el (indent-rigidly--current-indentation): New function.
5520 (indent-rigidly-map): New var.
5521 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5523 2013-10-08 Bastien Guerry <bzg@gnu.org>
5525 * register.el (insert-register): Fix 2013-10-07 change.
5527 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5529 * progmodes/perl-mode.el: Use lexical-binding.
5530 Remove redundant :group args.
5531 (perl-nochange): Change default to be closer to other major modes's
5533 (perl-indent-line): Don't consider text on current line as a
5534 valid beginning of function from which to indent.
5536 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5537 with more than one argument (bug#15538).
5539 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5541 * vc/pcvs.el: Use lexical-binding.
5542 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5543 environment of `eval'.
5544 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5545 than a list of expressions. Adjust callers.
5546 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5548 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5550 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5551 case of the dot in a chained method call being on the following line.
5553 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5555 * electric.el (electric-indent-inhibit): New var.
5556 (electric-indent-post-self-insert-function): Use it.
5557 * progmodes/python.el (python-mode): Set it.
5559 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5562 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5564 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5565 (css-mode): Use electric-indent-chars.
5567 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5568 (font-lock-beg, font-lock-end): Move before first use.
5569 (nxml-mode): Use syntax-propertize-function.
5570 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5571 (nxml-extend-after-change-region): Remove.
5572 * nxml/xmltok.el: Use lexical-binding.
5573 (xmltok-save): Use `declare'.
5574 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5575 * nxml/nxml-util.el: Use lexical-binding.
5576 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5578 * nxml/nxml-ns.el: Use lexical-binding.
5579 (nxml-ns-save): Use `declare'.
5580 (nxml-ns-prefixes-for): Avoid add-to-list.
5581 * nxml/rng-match.el: Use lexical-binding.
5582 (rng--ipattern): Use cl-defstruct.
5583 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5584 (rng-cons-group-after, rng-subst-group-after)
5585 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5586 Use closures instead of `(lambda...).
5588 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5590 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5593 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5594 Use `tramp-handle-insert-file-contents'.
5595 (tramp-gvfs-handle-insert-file-contents): Remove function.
5597 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5598 Use `save-restriction' in order to keep markers.
5600 * net/trampver.el: Update release number.
5602 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5604 * progmodes/compile.el (compilation-parse-errors):
5605 Use compilation--put-prop.
5606 (compilation--ensure-parse): Check compilation-multiline.
5608 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5610 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5613 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5615 * progmodes/ruby-mode.el: Fix recently added tests.
5616 (ruby-smie-grammar): Add - and +.
5617 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5618 (ruby-smie--backward-id): New functions.
5619 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5620 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5623 2013-10-07 Leo Liu <sdl.web@gmail.com>
5625 * register.el (register-preview-delay)
5626 (register-preview-functions): New variables.
5627 (register-read-with-preview, register-preview)
5628 (register-describe-oneline): New functions.
5629 (point-to-register, window-configuration-to-register)
5630 (frame-configuration-to-register, jump-to-register)
5631 (number-to-register, view-register, insert-register)
5632 (copy-to-register, append-to-register, prepend-to-register)
5633 (copy-rectangle-to-register): Use register-read-with-preview to
5634 read register. (Bug#15525)
5636 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5638 * net/network-stream.el (network-stream-open-starttls): Don't add
5639 --insecure if it's already present, because that gnutls-cli
5640 rejects getting that parameter twice.
5642 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5644 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5647 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5649 * newcomment.el (comment-use-global-state): Change default value
5650 to t, mark obsolete (Bug#15251).
5651 (comment-beginning): In addition to `comment-to-syntax', check the
5652 value of `comment-use-global-state'.
5654 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5656 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5657 (ruby-comment-column): Follow the global default, by default.
5658 (ruby-smie-grammar): Add assignment syntax.
5659 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5660 open-paren, a comma, or a \.
5661 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5662 and line continuations.
5663 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5664 followed by implicit semi-colons. Add rule for string concatenation
5665 and for indentation at BOB.
5666 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when SMIE is in use.
5668 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5669 calling next-sexp, since next-token may have skipped chars which
5670 next-sexp doesn't know should be skipped!
5672 2013-10-05 Leo Liu <sdl.web@gmail.com>
5674 * progmodes/octave.el (octave-send-region):
5675 Call compilation-forget-errors.
5677 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5679 * vc/vc-svn.el (vc-svn-find-admin-dir):
5680 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5681 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5682 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5683 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5685 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5687 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5689 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5691 * subr.el (read-passwd): Hide chars even when called within a context
5692 where after-change-functions is disabled (bug#15501).
5693 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5694 until we removed ourself from overriding-terminal-local-map.
5696 2013-10-04 Leo Liu <sdl.web@gmail.com>
5698 * progmodes/octave.el (inferior-octave-mode):
5699 Call compilation-forget-errors.
5701 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5703 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5705 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5707 * net/secrets.el (secrets-create-collection): Add optional
5708 argument ALIAS. Use proper Label keyword. Append ALIAS as
5709 dbus-call-method argument. (Bug#15516)
5711 2013-10-04 Leo Liu <sdl.web@gmail.com>
5713 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5714 (inferior-octave-compilation-font-lock-keywords): New variables.
5715 (compilation-error-regexp-alist)
5716 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5717 (inferior-octave-mode): Use compilation-shell-minor-mode.
5719 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5721 * minibuffer.el (completion--replace): Be careful that `end' might be
5724 2013-10-03 Daiki Ueno <ueno@gnu.org>
5726 Add support for package signature checking.
5727 * emacs-lisp/package.el (url-http-file-exists-p)
5728 (epg-make-context, epg-context-set-home-directory)
5729 (epg-verify-string, epg-context-result-for)
5730 (epg-signature-status, epg-signature-to-string)
5731 (epg-check-configuration, epg-configuration)
5732 (epg-import-keys-from-file): Declare.
5733 (package-check-signature): New user option.
5734 (package-unsigned-archives): New user option.
5735 (package-desc): Add `signed' field.
5736 (package-load-descriptor): Set `signed' field if .signed file exists.
5737 (package--archive-file-exists-p): New function.
5738 (package--check-signature): New function.
5739 (package-install-from-archive): Check package signature.
5740 (package--download-one-archive): Check archive signature.
5741 (package-delete): Remove .signed file.
5742 (package-import-keyring): New command.
5743 (package-refresh-contents): Import default keyring.
5744 (package-desc-status): Add "unsigned" status.
5745 (describe-package-1, package-menu--print-info)
5746 (package-menu-mark-delete, package-menu--find-upgrades)
5747 (package-menu--status-predicate): Support "unsigned" status.
5749 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5751 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5752 the new compilation scheme using the new byte-codes.
5754 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5755 (byte-pophandler): New byte codes.
5756 (byte-goto-ops): Adjust accordingly.
5757 (byte-compile--use-old-handlers): New var.
5758 (byte-compile-catch): Use new byte codes depending on
5759 byte-compile--use-old-handlers.
5760 (byte-compile-condition-case--old): Rename from
5761 byte-compile-condition-case.
5762 (byte-compile-condition-case--new): New function.
5763 (byte-compile-condition-case): New function that dispatches depending
5764 on byte-compile--use-old-handlers.
5765 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5768 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5769 Optimize under `condition-case' and `catch' if
5770 byte-compile--use-old-handlers is nil.
5771 (disassemble-offset): Handle new bytecodes.
5773 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5775 * subr.el (error): Use `declare'.
5776 (decode-char, encode-char): Use advertised-calling-convention instead
5777 of the docstring to discourage use of the `restriction' arg.
5779 2013-10-03 Daiki Ueno <ueno@gnu.org>
5781 * epg.el (epg-verify-file): Add a comment saying that it does not
5782 notify verification error as a return value nor a signal.
5783 (epg-verify-string): Ditto.
5785 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5787 * progmodes/compile.el (compilation-start): Try globbing the arg to
5790 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5792 Sync with Tramp 2.2.8.
5794 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5795 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5796 * net/trampver.el: Update release number.
5798 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5800 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5801 and default-process-coding-system for darwin only.
5803 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5805 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5807 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5809 * vc/vc-git.el (vc-git-grep): Disable pager.
5811 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5813 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5814 Use :url instead of :homepage, as per
5815 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5817 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5818 non-nil, use `syntax-ppss' (Bug#15251).
5820 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5822 * progmodes/octave.el (inferior-octave-startup-file):
5823 Prefer ~/.emacs.d/init_octave.m.
5825 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5827 * emacs-lisp/package.el (package-desc-from-define):
5828 Accept additional arguments as plist, convert them to an alist and store
5829 them in the `extras' slot.
5830 (package-generate-description-file): Convert extras alist back to
5831 plist and append to the `define-package' form arguments.
5832 (package--alist-to-plist): New function.
5833 (package--ac-desc): Add `extras' slot.
5834 (package--add-to-archive-contents): Check if the archive-contents
5835 vector is long enough, and if it is, pass its `extras' slot value
5836 to `package-desc-create'.
5837 (package-buffer-info): Call `lm-homepage', pass the returned value
5838 to `package-desc-from-define'.
5839 (describe-package-1): Render the homepage button (Bug#13291).
5841 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5842 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5844 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5846 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5847 and default-process-coding-system to utf-8-unix (Bug#15402).
5849 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5851 * subr.el (looking-back): Do not recommend using looking-back.
5853 2013-09-28 Alan Mackenzie <acm@muc.de>
5855 Fix indentation/fontification of Java enum with "implements".
5857 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5858 regexp which matches "implements", etc., in Java.
5859 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5860 specifier clauses coming after "enum".
5861 * progmodes/cc-fonts.el (c-font-lock-declarations)
5862 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5865 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5867 * faces.el (region): Change ns_selection_color to
5868 ns_selection_fg_color, add ns_selection_bg_color.
5870 2013-09-28 Leo Liu <sdl.web@gmail.com>
5872 * progmodes/octave.el (inferior-octave-completion-table)
5873 (inferior-octave-completion-at-point): Minor tweaks.
5875 * textmodes/ispell.el (ispell-lookup-words): Rename from
5876 lookup-words. (Bug#15460)
5877 (lookup-words): Obsolete.
5878 (ispell-complete-word, ispell-command-loop): All uses changed.
5880 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5882 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5883 (octave-mode-menu): Add octave-send-buffer.
5884 (octave-send-buffer): New function.
5886 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5888 * progmodes/octave.el (octave-mode-map): Add key binding for
5890 (octave-mode-menu): Add octave-lookfor.
5891 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5893 (octave-lookfor): New function.
5895 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5897 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
5898 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5900 (cl--loop-set-iterator-function): New function.
5901 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5902 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5903 Bind `it' with `let' instead of substituting it with `cl-subst'.
5904 (cl--unused-var-p): New function.
5905 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5906 Eliminate some unused variable warnings (bug#15326).
5908 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5910 * doc-view.el (doc-view-scale-reset): Rename from
5911 `doc-view-reset-zoom-level'.
5912 (doc-view-scale-adjust): New command.
5913 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5914 `doc-view-scale-adjust'.
5916 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5918 * doc-view.el (doc-view-reset-zoom-level): New command.
5919 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5920 zoom commands (bug#15466).
5922 2013-09-26 Kenichi Handa <handa@gnu.org>
5924 * international/quail.el (quail-help): Make it not a command.
5926 2013-09-26 Leo Liu <sdl.web@gmail.com>
5928 * minibuffer.el (completion-all-sorted-completions): Make args
5929 optional as they are.
5931 2013-09-25 Daniel Colascione <dancol@dancol.org>
5933 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5934 specs are and that they're not evaluated.
5936 2013-09-24 Sam Steingold <sds@gnu.org>
5938 * midnight.el (clean-buffer-list-kill-regexps)
5939 (clean-buffer-list-kill-buffer-names): Update for the new Man
5940 buffer naming which includes the object name.
5942 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5944 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5945 (eshell-parse-command, eshell-parse-pipeline): Use it since
5946 eshell-separate-commands requires a dynamic scoped var.
5947 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5949 2013-09-23 Leo Liu <sdl.web@gmail.com>
5951 * autoinsert.el (auto-insert-alist): Make the value of
5952 lexical-binding match its file setting.
5954 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5956 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5958 * autoarg.el (autoarg-kp-digit-argument):
5959 * electric.el (Electric-command-loop):
5960 * kmacro.el (kmacro-step-edit-insert):
5961 Do not set universal-argument-num-events.
5963 2013-09-22 Leo Liu <sdl.web@gmail.com>
5965 * files.el (interpreter-mode-alist): Add octave.
5967 2013-09-21 Alan Mackenzie <acm@muc.de>
5969 C++: fontify identifier in declaration following "public:" correctly.
5970 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5971 to match "public", etc.
5972 (c-decl-prefix-re): Add ":" into the C++ value.
5973 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5974 bit. Add a check for a ":" preceded by "public", etc.
5976 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5978 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5979 recognized by GDB 7.5 and later.
5981 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5983 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5985 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5987 * subr.el (internal--call-interactively): New const.
5988 (called-interactively-p): Use it (bug#3984).
5990 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5992 * vc/pcvs.el (cvs-mode-ignore):
5993 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5994 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5996 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5998 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5999 (eshell-ls-orig-insert-directory): Remove.
6000 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
6001 (eshell-ls-use-in-dired): Use advice-add/remove.
6002 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
6003 Add `orig-fun' arg for use in :around advice.
6004 Make it check (redundantly) eshell-ls-use-in-dired.
6006 2013-09-19 Glenn Morris <rgm@gnu.org>
6008 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
6010 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
6012 * emacs-lisp/eieio.el (class-parent): Undo previous change.
6014 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
6016 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
6017 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
6018 (tramp-get-remote-python): New defuns.
6019 (tramp-get-remote-uid-with-perl)
6020 (tramp-get-remote-gid-with-perl): New defuns. Perl code
6021 contributed by yary <not.com@gmail.com> (tiny change).
6022 (tramp-get-remote-uid-with-python)
6023 (tramp-get-remote-gid-with-python): New defuns. Python code
6024 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
6025 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
6027 2013-09-19 Glenn Morris <rgm@gnu.org>
6029 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
6031 * eshell/em-unix.el (eshell-remove-entries):
6032 Rename argument to avoid name-clash with global `top-level'.
6034 * eshell/esh-proc.el (eshell-kill-process-function):
6035 Remove eshell-reset-after-proc from eshell-kill-hook if present.
6036 (eshell-reset-after-proc): Remove unused arg `proc'.
6038 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
6039 (directory-files-and-attributes): Mark unused arg.
6041 * eshell/em-unix.el (eshell-remove-entries):
6042 Remove unused arg `path'. Update callers.
6044 * eshell/em-hist.el (eshell-hist-parse-arguments):
6045 Remove unused arg `silent'. Update callers.
6047 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
6048 Fix (f)boundp mix-up.
6050 * eshell/em-smart.el (eshell-smart-scroll-window)
6051 (eshell-disable-after-change):
6052 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
6054 2013-09-18 Alan Mackenzie <acm@muc.de>
6056 Fix fontification of type when followed by "const".
6057 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
6058 "known" types from fontification.
6060 2013-09-18 Glenn Morris <rgm@gnu.org>
6062 * emacs-lisp/chart.el (x-display-color-cells): Declare.
6063 (chart-face-list): Drop Emacsen without display-color-p.
6065 * net/eww.el (libxml-parse-html-region): Declare.
6066 (eww-display-html): Explicit error if no libxml2 support.
6068 * doc-view.el (doc-view-mode): Silence --without-x compilation.
6070 * image.el (image-type-from-buffer, image-multi-frame-p):
6071 Remove --without-x warning/error.
6073 * mouse.el (mouse-yank-primary):
6074 * term.el (term-mouse-paste):
6075 Reorder to silence --without-x compilation.
6077 * mpc.el (doc-view-mode): Silence --without-x compilation.
6079 * mail/rmailmm.el (rmail-mime-set-bulk-data):
6080 Silence --without-x compilation.
6082 * progmodes/gud.el (gud-find-file, gud-mode):
6083 Silence --without-x compilation.
6084 (tooltip-mode): Declare.
6086 * wdired.el (dired-backup-overwrite): Remove declaration.
6087 (wdired-mode-map): Add doc string.
6089 * custom.el (x-get-resource): Declare.
6091 * eshell/em-glob.el (ange-cache):
6092 * eshell/em-unix.el (ange-cache): Declare.
6094 * faces.el (x-display-list, x-open-connection, x-get-resource):
6097 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
6098 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
6101 * frame.el (x-display-grayscale-p, x-display-name): Declare.
6103 * net/gnutls.el (gnutls-log-level): Declare.
6105 * net/shr.el (image-size, image-animate): Declare.
6107 * simple.el (font-info): Declare.
6109 * subr.el (x-popup-dialog): Declare.
6111 * term/common-win.el (x-select-enable-primary)
6112 (x-last-selected-text-primary, x-last-selected-text-clipboard):
6115 * term/ns-win.el (x-handle-args): Declare.
6117 * term/x-win.el (x-select-enable-clipboard): Declare.
6119 * term/w32-win.el (create-default-fontset): Declare.
6121 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
6124 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
6125 (fit-frame-to-buffer): Explicit error if --without-x.
6126 (mouse-autoselect-window-select): Silence compiler.
6128 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
6130 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
6131 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
6132 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
6133 * eshell/esh-util.el (eshell-sublist):
6134 Remove unused local variables.
6136 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
6138 * textmodes/two-column.el: Make 2C-split work for --without-x.
6139 (scroll-bar-columns): Autoload.
6140 (top-level): Require fringe when compiling.
6142 2013-09-18 Leo Liu <sdl.web@gmail.com>
6144 * subr.el (add-hook): Robustify to handle closure as well.
6146 2013-09-17 Glenn Morris <rgm@gnu.org>
6148 * simple.el (messages-buffer-mode-map): Unbind "g".
6150 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6152 * help-mode.el (help-mode-finish): Use derived-mode-p.
6153 Remove obsolete highlighting.
6155 * play/life.el (life-mode): Use define-derived-mode. Derive from
6157 (life): Let-bind inhibit-read-only.
6158 (life-setup): Avoid `setq'. Use `life-mode'.
6160 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6161 which should not be needed any more.
6162 (package-menu-refresh, package-menu-describe-package): Use user-error.
6164 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6165 (eshell-post-rewrite-command-hook): Make obsolete.
6166 (eshell-parse-command): Simplify.
6167 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6168 (eshell--cmd): Declare.
6169 (eshell-parse-pipeline): Remove unused var `final-p'.
6170 Pass a dynvar to eshell-post-rewrite-command-hook.
6171 Implement the new eshell-post-rewrite-command-function.
6172 (eshell-invoke-directly): Remove unused arg `input'.
6173 * eshell/esh-io.el (eshell-io-initialize):
6174 Use eshell-post-rewrite-command-function (bug#15399).
6175 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6176 adjust to new calling convention.
6177 (eshell-create-handles): Rename args to avoid clashing with dynvar
6180 2013-09-17 Glenn Morris <rgm@gnu.org>
6182 * simple.el (messages-buffer-mode): New major mode.
6183 (messages-buffer): New function.
6184 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6185 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6186 (ert-run-test): Use `messages-buffer' function.
6187 (ert--force-message-log-buffer-truncation): Ignore read-only.
6188 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6189 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6191 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6193 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6195 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6197 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6199 * icomplete.el (icomplete-in-buffer): New var.
6200 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6201 vars and replace them with functions.
6202 (icomplete-minibuffer-setup): Adjust accordingly.
6203 (icomplete--completion-table, icomplete--completion-predicate)
6204 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6206 (icomplete-forward-completions, icomplete-backward-completions)
6207 (icomplete-simple-completing-p, icomplete-exhibit)
6208 (icomplete-completions): Use them.
6209 (icomplete--in-region-buffer): New var.
6210 (icomplete--in-region-setup): New function.
6211 (icomplete-mode): Use it.
6213 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6215 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6216 return args and options.
6217 (eshell-eval-using-options): Use the new return value of
6218 eshell--do-opts to set the options's vars in their scope.
6219 (eshell--set-option): Rename from eshell-set-option.
6221 (eshell--process-option): Rename from eshell-process-option.
6223 (eshell--process-args): Use an `opt-vals' alist to store the options's
6224 values during their processing and return them additionally to the
6227 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6229 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6230 continuation character an operator, as far as indentation is
6231 concerned (Bug#15369).
6233 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6235 * window.el (window--state-put-2): Don't process buffer state
6236 when buffer doesn't exist any more (Bug#15382).
6238 2013-09-15 Glenn Morris <rgm@gnu.org>
6240 * eshell/em-unix.el (eshell/rm):
6241 Make -f ignore missing files. (Bug#15373)
6243 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6244 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6245 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6247 2013-09-14 Glenn Morris <rgm@gnu.org>
6249 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6251 2013-09-13 Glenn Morris <rgm@gnu.org>
6253 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6254 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6256 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6258 * frame.el (x-focus-frame): Mark as declared in frame.c.
6260 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6262 * ls-lisp.el: Use advice-add.
6263 (original-insert-directory): Remove.
6264 (ls-lisp--insert-directory): Rename from insert-directory; add
6265 `orig-fun' argument.
6266 (insert-directory): Advise.
6268 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6270 * term.el (term-emulate-terminal): Decode the command string
6271 before passing it to term-command-hook. (Bug#15337)
6273 2013-09-13 Glenn Morris <rgm@gnu.org>
6275 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6277 * eshell/esh-ext.el (eshell-search-path): Declare.
6279 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6280 Otherwise an error occurs if eshell-dirs module not loaded.
6282 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6284 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6286 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6287 `tramp-check-proper-host'. Check for a valid method name.
6289 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6290 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6291 * net/tramp-sh.el (tramp-maybe-open-connection):
6292 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6294 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6295 also for hash values.
6297 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6299 * term/ns-win.el (parameters): Don't declare as dynamic.
6300 (before-make-frame-hook): Don't add ineffective function.
6302 * eshell/*.el: Use lexical-binding (bug#15231).
6304 2013-09-12 Kenichi Handa <handa@gnu.org>
6306 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6308 2013-09-12 Glenn Morris <rgm@gnu.org>
6310 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6311 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6313 * subr.el (do-after-load-evaluation): Also give compiler warnings
6314 when obsolete files are used (except by obsolete files).
6316 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6317 in the status output, assume `filename' is the first. (Bug#15322)
6319 * vc/vc.el (vc-deduce-fileset): Doc fix.
6321 * calc/calc-help.el (Info-goto-node):
6322 * progmodes/cperl-mode.el (Info-find-node):
6323 * vc/ediff.el (Info-goto-node): Update declarations.
6325 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6327 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6328 (vc-bzr-pull): Require vc-dispatcher.
6329 * vc/vc-git.el (vc-compilation-mode): Declare.
6330 (vc-git-pull): Require vc-dispatcher.
6332 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6334 * progmodes/octave.el (help-button-action): Declare.
6336 * shell.el (shell-directory-tracker): Output error as a message
6337 rather than just returning it as a string.
6338 (shell-process-pushd): Remove useless use of message.
6340 * dframe.el (dframe-timer-fn):
6341 * files.el (dir-locals-read-from-file):
6342 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6344 * reveal.el (reveal-post-command):
6345 * saveplace.el (load-save-place-alist-from-file):
6346 * shell.el (shell-resync-dirs):
6347 * w32-common-fns.el (x-get-selection-value):
6348 * emacs-lisp/copyright.el (copyright-find-copyright):
6349 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6350 * emulation/tpu-edt.el (tpu-copy-keyfile):
6351 * play/bubbles.el (bubbles--mark-neighbourhood):
6352 * progmodes/executable.el
6353 (executable-make-buffer-file-executable-if-script-p):
6354 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6356 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6358 Cleanup Eshell to rely less on dynamic scoping.
6359 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6360 last-value, and ext-command here. Bind `args' closer to `body'.
6361 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6362 (eshell--args): Declare new dynamic var.
6363 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6364 last-value, and ext-command. Pass `args' to `body'.
6365 (eshell-process-args): Bind eshell--args.
6366 (eshell-set-option): Use eshell--args.
6367 * eshell/eshell.el (eshell): Use derived-mode-p.
6368 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6369 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6370 (eshell-glob-function): Declare.
6371 * eshell/esh-util.el: Require cl-lib.
6372 (eshell-read-hosts-file): Avoid add-to-list.
6373 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6375 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6377 (eshell/diff): Remove unused var `err'.
6378 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6380 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6381 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6383 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6384 Move declaration before first use.
6385 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6386 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6389 2013-09-12 Glenn Morris <rgm@gnu.org>
6391 * term/ns-win.el (global-map): Remove binding for ispell-next,
6392 deleted 1999-05-29. (Bug#15357)
6394 2013-09-11 Glenn Morris <rgm@gnu.org>
6396 * echistory.el (electric-command-history): Remove call to deleted func.
6398 * play/landmark.el (landmark-mode): Fix typos.
6400 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6401 Check cvs-sort-ignore-file is bound.
6403 * savehist.el: No need for cl when compiling on Emacs.
6405 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6407 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6409 (eshell-self-insert-command, eshell-send-invisible):
6410 Remove unused argument.
6411 (eshell-handle-control-codes): Remove unused var `orig'.
6412 Avoid delete-backward-char.
6414 * files.el (set-auto-mode): Simplify a bit further.
6416 2013-09-11 Glenn Morris <rgm@gnu.org>
6418 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6419 (set-auto-mode): Don't regexp-quote elements.
6420 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6421 * progmodes/cc-mode.el (interpreter-mode-alist):
6422 * progmodes/ruby-mode.el (interpreter-mode-alist):
6423 Revert previous change.
6425 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6427 * play/snake.el (snake-mode):
6428 * play/mpuz.el (mpuz-mode):
6429 * play/landmark.el (lm-mode):
6430 * play/blackbox.el (blackbox-mode):
6431 * play/5x5.el (5x5-mode):
6432 * obsolete/options.el (Edit-options-mode):
6433 * net/quickurl.el (quickurl-list-mode):
6434 * net/newst-treeview.el (newsticker-treeview-mode):
6435 * mail/rmailsum.el (rmail-summary-mode):
6436 * mail/mspools.el (mspools-mode):
6437 * locate.el (locate-mode):
6438 * ibuffer.el (ibuffer-mode):
6439 * emulation/ws-mode.el (wordstar-mode):
6440 * emacs-lisp/debug.el (debugger-mode):
6441 * array.el (array-mode):
6442 * net/eudc.el (eudc-mode): Use define-derived-mode.
6443 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6444 Move initialization into declaration.
6445 (mairix-searches-mode): Use define-derived-mode.
6446 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6447 (eudc-edit-hotlist): Use dolist.
6448 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6449 (Man-mode): Use define-derived-mode.
6450 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6451 (Info-edit-mode): Use define-derived-mode.
6452 (Info-cease-edit): Use Info-mode.
6453 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6455 (eshell-mode): Use define-derived-mode.
6456 * chistory.el (command-history-mode-map): Rename from
6457 command-history-map.
6458 (command-history-mode): Use define-derived-mode.
6459 (Command-history-setup): Remove function.
6460 * calc/calc.el (calc-trail-mode-map): New var.
6461 (calc-trail-mode): Use define-derived-mode.
6462 (calc-trail-buffer): Set calc-main-buffer manually.
6463 * bookmark.el (bookmark-insert-annotation): New function.
6464 (bookmark-edit-annotation): Use it.
6465 (bookmark-edit-annotation-mode): Make it a proper major mode.
6466 (bookmark-send-edited-annotation): Use derived-mode-p.
6467 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6468 closer to its ideal place. Use \' to match EOS.
6470 * profiler.el (profiler-calltree-find): Use function-equal.
6472 2013-09-10 Glenn Morris <rgm@gnu.org>
6474 * files.el (interpreter-mode-alist): Convert to regexps.
6475 (set-auto-mode): Adapt for this. (Bug#15306)
6476 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6477 Comment out unused variable.
6478 * progmodes/cc-mode.el (interpreter-mode-alist):
6479 * progmodes/python.el (interpreter-mode-alist):
6480 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6481 * progmodes/sh-script.el (sh-set-shell):
6482 No longer use interpreter-mode-alist to get list of shells.
6484 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6486 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6488 * simple.el: Use set-temporary-overlay-map for universal-argument.
6489 (universal-argument-map): Don't use default-bindings (bug#15317).
6490 Bind switch-frame explicitly. Replace universal-argument-minus with
6491 a conditional binding.
6492 (universal-argument-num-events, saved-overriding-map): Remove.
6493 (restore-overriding-map): Remove.
6494 (universal-argument--mode): Rename from save&set-overriding-map,
6496 (universal-argument, universal-argument-more, negative-argument)
6497 (digit-argument): Adjust accordingly.
6498 (universal-argument-minus): Remove.
6499 (universal-argument-other-key): Remove.
6501 * subr.el (with-demoted-errors): Add `format' argument.
6503 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6505 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6506 `tramp-cleanup-connection'.
6508 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6509 parameters KEEP-DEBUG and KEEP-PASSWORD.
6511 * net/tramp.el (tramp-file-name-handler):
6512 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6513 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6514 (tramp-maybe-open-connection):
6515 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6516 Use `tramp-cleanup-connection'.
6518 * net/tramp-sh.el (tramp-maybe-open-connection):
6519 Catch 'uname-changed inside the progress reporter.
6521 2013-09-10 Glenn Morris <rgm@gnu.org>
6523 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6525 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6526 returns "alternate access method" in mode (eg "-rw-r--r--.").
6528 2013-09-08 Glenn Morris <rgm@gnu.org>
6530 * saveplace.el (load-save-place-alist-from-file):
6531 Demote errors. (Bug#15305)
6533 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6535 Improve compatibility with older Emacsen, and XEmacs.
6537 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6538 only if it is bound. It isn't for XEmacs.
6539 (with-tramp-progress-reporter): Do not let-bind `result'.
6540 This yields to scoping errors in XEmacs.
6541 (tramp-handle-make-auto-save-file-name): New function, moved from
6544 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6545 for `make-auto-save-file-name'.
6546 (tramp-adb--gnu-switches-to-ash):
6547 Use `tramp-compat-replace-regexp-in-string'.
6549 * net/tramp-cache.el (tramp-cache-print): Call
6550 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6552 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6553 bound. It isn't for XEmacs.
6555 * net/tramp-compat.el (tramp-compat-copy-file):
6556 Catch `wrong-number-of-arguments' error.
6557 (tramp-compat-replace-regexp-in-string): New defun.
6559 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6560 for `make-auto-save-file-name'.
6561 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6563 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6564 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6565 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6567 * net/tramp-gw.el (tramp-gw-open-network-stream):
6568 Use `tramp-compat-replace-regexp-in-string'.
6570 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6571 Call `tramp-handle-make-auto-save-file-name'.
6572 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6573 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6574 (tramp-sh-file-inotifywait-process-filter):
6575 Use `tramp-compat-replace-regexp-in-string'.
6576 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6578 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6579 for `make-auto-save-file-name'.
6580 (tramp-smb-handle-copy-directory):
6581 Call `tramp-compat-replace-regexp-in-string'.
6582 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6583 (tramp-smb-handle-copy-file): Improve error message.
6584 (tramp-smb-handle-rename-file): Rename directly only in case
6585 `newname' does not exist yet. This is a restriction of smbclient.
6586 (tramp-smb-maybe-open-connection): Rerun the function only when
6587 `auth-sources' is non-nil.
6589 2013-09-08 Kenichi Handa <handa@gnu.org>
6591 * international/characters.el: Set category "^" (Combining) for
6594 2013-09-07 Alan Mackenzie <acm@muc.de>
6596 Correctly fontify Java class constructors.
6597 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6599 (c-recognize-typeless-decls): Set the Java value to t.
6600 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6601 While handling a "(", add a check for, effectively, Java, and handle a
6602 "typeless" declaration there.
6604 2013-09-07 Roland Winkler <winkler@gnu.org>
6606 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6607 field subtitle for entry type book.
6609 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6611 * minibuffer.el: Make minibuffer-complete call completion-in-region
6612 rather than other way around.
6613 (completion--some, completion-pcm--find-all-completions):
6614 Don't delay signals when debugging.
6615 (minibuffer-completion-contents): Beware fields within the
6616 minibuffer contents.
6617 (completion-all-sorted-completions): Use defvar-local.
6618 (completion--do-completion, completion--cache-all-sorted-completions)
6619 (completion-all-sorted-completions, minibuffer-force-complete):
6620 Add args `beg' and `end'.
6621 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6622 (minibuffer-complete): Use completion-in-region.
6623 (completion-complete-and-exit): New fun, extracted from
6624 minibuffer-complete-and-exit.
6625 (minibuffer-complete-and-exit): Use it.
6626 (completion--complete-and-exit): Rename from
6627 minibuffer--complete-and-exit.
6628 (completion-in-region--single-word): New function, extracted from
6629 minibuffer-complete-word.
6630 (minibuffer-complete-word): Use it.
6631 (display-completion-list): Make `common-substring' argument obsolete.
6632 (completion--in-region): Call completion--in-region-1 instead of
6633 minibuffer-complete.
6634 (completion-help-at-point): Pass boundaries to
6635 minibuffer-completion-help as args rather than via an overlay.
6636 (completion-pcm--string->pattern): Use `any-delim'.
6637 (completion-pcm--optimize-pattern): New function.
6638 (completion-pcm--pattern->regex): Handle `any-delim'.
6639 * icomplete.el (icomplete-forward-completions)
6640 (icomplete-backward-completions, icomplete-completions):
6641 Adjust calls to completion-all-sorted-completions and
6642 completion--cache-all-sorted-completions.
6643 (icomplete-with-completion-tables): Default to t.
6644 * emacs-lisp/crm.el (crm--current-element): Rename from
6645 crm--select-current-element. Don't put an overlay but return the
6647 (crm--completion-command): Take two new args to bind to the boundaries.
6648 (crm-completion-help): Adjust accordingly.
6649 (crm-complete): Use completion-in-region.
6650 (crm-complete-word): Use completion-in-region--single-word.
6651 (crm-complete-and-exit): Use completion-complete-and-exit.
6653 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6655 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6658 2013-09-06 Juri Linkov <juri@jurta.org>
6660 * info.el (Info-display-images-node): When image file doesn't exist
6661 display text version of the image if it's provided in the Info file.
6662 Otherwise, display the location of missing image from SRC attribute.
6663 Add help-echo text property from ALT attribute. (Bug#15279)
6665 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6667 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6668 (edit-abbrevs-mode): Use define-derived-mode.
6670 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6671 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6673 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6674 Use define-derived-mode.
6676 * epg.el (epg-start-encrypt): Minor CSE simplification.
6678 2013-09-06 William Xu <william.xwl@gmail.com>
6680 * arc-mode.el: Add support for 7za (bug#15264).
6681 (archive-7z-program): New var.
6682 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6683 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6684 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6686 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6690 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6691 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6692 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6693 (tramp-postfix-host-format, tramp-file-name-regexp)
6694 (tramp-completion-file-name-regexp)
6695 (tramp-completion-dissect-file-name)
6696 (tramp-handle-substitute-in-file-name): Remove 'url case.
6697 (tramp-file-name-regexp-url)
6698 (tramp-completion-file-name-regexp-url): Remove constants.
6700 2013-09-06 Glenn Morris <rgm@gnu.org>
6702 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6704 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6706 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6707 keywords" below "here-doc beginnings" (Bug#15270).
6709 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6711 * subr.el (pop): Use `car-safe'.
6712 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6713 to detect unused `pop' return value.
6715 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6717 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6718 (python-fill-string): Remove unused var `marker'.
6719 (python-skeleton-add-menu-items): Remove unused var `items'.
6721 * international/mule-cmds.el: Require CL.
6722 (find-coding-systems-for-charsets): Avoid add-to-list.
6723 (sanitize-coding-system-list): New function, extracted from
6724 select-safe-coding-system-interactively.
6725 (select-safe-coding-system-interactively): Use it.
6726 (read-input-method-name): Accept symbols for `default'.
6728 * emacs-lisp/advice.el (defadvice): Add indent rule.
6730 2013-09-05 Daniel Hackney <dan@haxney.org>
6734 * net/browse-url.el:
6737 * net/eudcb-ldap.el:
6750 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6751 byte compiler. Remove some unused let-bound variables.
6753 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6755 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6756 a "ref-cell", since it gets better optimized (bug#14883).
6758 2013-09-05 Glenn Morris <rgm@gnu.org>
6760 * progmodes/cc-awk.el (c-forward-sws): Declare.
6762 2013-09-04 Glenn Morris <rgm@gnu.org>
6764 * generic-x.el [rul-generic-mode]: Require cc-mode.
6765 (c++-mode-syntax-table): Declare.
6766 (rul-generic-mode-syntax-table): Init in the defvar.
6768 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6770 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6771 (vc-do-command, vc-set-async-update):
6772 * vc/vc-mtn.el (vc-mtn-dir-status):
6773 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6774 (vc-hg-pull, vc-hg-merge-branch):
6775 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6776 (vc-git-merge-branch):
6777 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6778 (vc-cvs-dir-status-files):
6779 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6780 (vc-bzr-dir-status-files):
6781 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6782 * vc/vc-annotate.el: Use lexical-binding.
6783 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6784 (vc-sentinel-movepoint): Declare.
6785 (vc-annotate): Don't use `goto-line'.
6786 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6787 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6788 (vc-sentinel-movepoint): Declare.
6789 * vc/vc-svn.el: Use lexical-binding.
6790 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6792 * vc/vc-rcs.el: Use lexical-binding.
6794 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6795 `deleted'. Don't drop errors silently.
6797 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6799 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6801 * vc/vc.el (vc-ignore): Rewrite.
6802 (vc-default-ignore): New function.
6803 (vc-default-ignore-completion-table): Use find-ignore-file.
6805 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6806 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6807 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6808 Remove. Most code moved to vc.el.
6810 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6812 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6813 * net/tramp-smb.el (tramp-smb-get-file-entries):
6814 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6815 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6817 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6819 (eww-change-select): Remove unused var `properties'.
6820 (eww-make-unique-file-name): Remove unused var `base'.
6822 * finder.el (finder-compile-keywords): Don't mess with windows.
6824 * calculator.el (calculator-funcall): Fix typo in last change.
6826 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6828 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6829 <pkg>-autoloads.el file stop us.
6831 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6832 warnings, and factor out common code.
6834 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6836 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6837 two-character operators and whether the character preceding them
6838 changes their meaning (Bug#15208).
6840 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6842 Format code sent to Python shell for robustness.
6843 * progmodes/python.el (python-shell-buffer-substring):
6845 (python-shell-send-region, python-shell-send-buffer): Use it.
6847 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6849 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6850 * net/tramp.el (tramp-user-error): ... here.
6851 (tramp-find-method, tramp-check-proper-host)
6852 (tramp-dissect-file-name, tramp-debug-message)
6853 (tramp-handle-shell-command):
6854 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6855 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6857 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6859 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6861 * avoid.el (mouse-avoidance-point-position)
6862 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6865 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6867 * progmodes/python.el (python-shell-completion-get-completions):
6868 Drop use of deleted `comint-last-prompt-overlay'.
6869 (python-nav-if-name-main): New command.
6871 2013-09-01 Glenn Morris <rgm@gnu.org>
6873 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6874 Avoid leading space in $wins. Otherwise the sed command used by
6875 eg compile-main ends up containing "/*.el". (Bug#15170)
6877 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6879 2013-08-30 Glenn Morris <rgm@gnu.org>
6881 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6882 Fix is-this-a-directory logic. (Bug#15220)
6884 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6886 * textmodes/css-mode.el: Use SMIE.
6887 (css-smie-grammar): New var.
6888 (css-smie--forward-token, css-smie--backward-token)
6889 (css-smie-rules): New functions.
6890 (css-mode): Use them.
6891 (css-navigation-syntax-table): Remove var.
6892 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6893 (css-indent-calculate, css-indent-line): Remove functions.
6895 Misc changes to reduce use of `(lambda...); and other cleanups.
6896 * cus-edit.el: Use lexical-binding.
6897 (customize-push-and-save, customize-apropos)
6898 (custom-buffer-create-internal): Use closures.
6899 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6900 * progmodes/ada-xref.el: Use setq.
6901 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6902 * dframe.el: Use lexical-binding.
6903 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6904 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6905 * descr-text.el: Use lexical-binding.
6906 (describe-text-widget, describe-text-sexp, describe-property-list):
6908 * comint.el (comint-history-isearch-push-state): Use a closure.
6909 * calculator.el: Use lexical-binding.
6910 (calculator-number-to-string): Make it work with lexical-binding.
6911 (calculator-funcall): Same and use cl-letf.
6913 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6914 (lisp--company-doc-string, lisp--company-location): New functions.
6915 (lisp-completion-at-point): Use them to improve Company support.
6917 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6918 params of lambda expressions.
6919 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6920 (ruby-smie--opening-pipe-p): New function.
6921 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6922 symbols and matched |...| for formal params.
6923 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6924 from being treated as hanging. Handle "rescue".
6926 2013-08-29 Glenn Morris <rgm@gnu.org>
6928 * progmodes/cc-engine.el (c-pull-open-brace):
6929 Move definition before use.
6931 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6933 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6934 are immutable. Don't use `unsafe' any more.
6935 (cl--defsubst-expand): Don't substitute at the same time as keeping
6936 a residual unused let-binding. Don't use `unsafe' any more.
6938 2013-08-29 Glenn Morris <rgm@gnu.org>
6940 * calendar/cal-china.el (calendar-chinese-year-cache):
6943 * nxml/nxml-util.el (nxml-debug-clear-inside):
6944 Use cl-loop rather than loop.
6946 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6948 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6950 2013-08-28 Glenn Morris <rgm@gnu.org>
6952 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6954 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6956 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6958 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6960 * simple.el (repeat-complex-command--called-interactively-skip):
6962 (repeat-complex-command): Use it (bug#14136).
6964 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6965 (c-define-abbrev-table): Add `doc' argument.
6966 (c-mode-abbrev-table, c++-mode-abbrev-table)
6967 (objc-mode-abbrev-table, java-mode-abbrev-table)
6968 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6969 (awk-mode-abbrev-table): Use it.
6970 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6971 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6972 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6973 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6974 Move initialization into the declaration; and remove any
6977 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6978 and dynamic let binding.
6980 * vc/smerge-mode.el: Remove redundant :group args.
6982 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6985 2013-08-28 Juri Linkov <juri@jurta.org>
6987 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6988 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6989 (isearch-other-meta-char): Handle an undefined shifted printing
6990 character by downshifting it. (Bug#15200)
6992 2013-08-28 Juri Linkov <juri@jurta.org>
6994 * isearch.el (isearch-search): Change regexp error message for
6995 non-regexp searches. (Bug#15166)
6997 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6999 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
7000 for portability to hosts where /bin/sh has problems.
7002 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
7004 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
7006 2013-08-27 Juri Linkov <juri@jurta.org>
7008 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
7009 in the keyboard macro. (Bug#15126)
7011 2013-08-27 Juri Linkov <juri@jurta.org>
7013 * isearch.el (isearch-quote-char): Comment out converting unibyte
7014 to multibyte, thus syncing with its `quoted-insert' counterpart.
7017 2013-08-27 Martin Rudalics <rudalics@gmx.at>
7019 * window.el (display-buffer-use-some-window): Add missing
7020 argument in call of get-largest-window (Bug#15185).
7021 Reported by Stephen Leake.
7023 2013-08-27 Glenn Morris <rgm@gnu.org>
7025 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
7027 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
7029 * progmodes/python.el (python-font-lock-keywords): Don't return nil
7030 from a matcher-function unless there's no more matches (bug#15161).
7032 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7034 * minibuffer.el: Revert change from 2013-08-20.
7036 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
7037 with text property `tramp-default', if appropriate.
7038 (tramp-check-proper-host): New defun.
7039 (tramp-dissect-file-name): Do not check hostname. Revert change
7041 (tramp-backtrace): Make VEC-OR-PROC optional.
7043 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
7044 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
7045 * net/tramp-sh.el (tramp-maybe-open-connection):
7046 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
7047 Apply `tramp-check-proper-host'.
7049 2013-08-26 Tassilo Horn <tsdh@gnu.org>
7051 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
7052 lambda expression in order to have `describe-variable' display it.
7054 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
7056 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
7057 BUF can be optional. (Bug#15186)
7059 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
7061 * progmodes/flymake.el (flymake-get-real-file-name-function):
7062 Fix broken customization. (Bug#15184)
7064 2013-08-25 Alan Mackenzie <acm@muc.de>
7066 Improve indentation of bracelists defined by macros (without "=").
7068 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
7069 expansion begins with "{", regard it as bracelist when it doesn't
7072 Parse C++ inher-intro when there's a template split over 2 lines.
7074 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
7075 rigorously the search for "class" etc. followed by ":".
7077 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
7078 random languages a regexp which never matches rather than nil.
7080 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
7082 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
7083 (c-awk-regexp-one-line-possibly-open-char-list-re)
7084 (c-awk-one-line-possibly-open-regexp-re)
7085 (c-awk-one-line-non-syn-ws*-re): Remove.
7086 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
7087 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
7088 (c-awk-space*-unclosed-regexp-/-re): New constants.
7089 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
7090 aren't regexp delimiters.
7092 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
7093 handling for a rare situation in AWK Mode involving unterminated
7096 2013-08-23 Glenn Morris <rgm@gnu.org>
7098 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
7100 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
7102 * files.el (create-file-buffer): If the result would begin with
7103 spaces, prepend a "|" instead of removing them. (Bug#15162)
7105 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
7107 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
7108 text-properties (bug#15155).
7110 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
7112 (calc-keypad-redraw): Remove unused var `pad'.
7113 (calc-keypad-press): Remove unused var `menu'.
7115 2013-08-23 Martin Rudalics <rudalics@gmx.at>
7117 * window.el (display-buffer-pop-up-frame):
7118 Call pop-up-frame-function with BUFFER current so `make-frame' will
7119 use it as the new frame's buffer (Bug#15133).
7121 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
7123 * calendar/timeclock.el: Minor cleanups.
7124 (timeclock-ask-before-exiting, timeclock-use-display-time):
7126 (timeclock-modeline-display): Define as alias before the
7128 (timeclock-mode-line-display): Use define-minor-mode.
7129 (timeclock-day-list-template): Make it a function, add an argument.
7130 (timeclock-day-list-required, timeclock-day-list-length)
7131 (timeclock-day-list-debt, timeclock-day-list-span)
7132 (timeclock-day-list-break): Adjust calls accordingly.
7134 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
7136 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
7137 Use read--expression so that completion works again.
7139 2013-08-21 Sam Steingold <sds@gnu.org>
7141 Add rudimentary inferior shell interaction
7142 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7143 (sh-set-shell): Reset it.
7144 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7145 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7147 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7149 * align.el: Use lexical-binding.
7150 (align-region): Simplify accordingly.
7152 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7154 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7156 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7159 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7163 * net/tramp-cmds.el:
7165 * net/tramp-gvfs.el:
7167 * net/tramp-sh.el: Don't wrap external variable declarations by
7168 `eval-when-compile'.
7170 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7172 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7173 now that Emacs supports ImageMagick animations.
7175 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7177 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7178 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7180 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7182 * window.el (mouse-autoselect-window-select): Do autoselect when
7183 mouse pointer is on margin.
7185 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7187 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7189 2013-08-16 Glenn Morris <rgm@gnu.org>
7191 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7192 Handle "Remote Directory" response of some clients. (Bug#15058)
7194 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7195 Tweak warning. (Bug#14926)
7197 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7198 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7200 * image-mode.el (image-mode-map): Add menu items to reverse,
7201 increase, decrease, reset animation speed.
7202 (image--set-speed, image-increase-speed, image-decrease-speed)
7203 (image-reverse-speed, image-reset-speed): New functions.
7204 (image-mode-map): Add bindings for speed commands.
7206 * image.el (image-animate-get-speed, image-animate-set-speed):
7208 (image-animate-timeout): Respect image :speed property.
7210 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7212 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7213 previous line (bug#15101).
7214 (debugger-eval-expression, debugger-record-expression):
7215 Use read--expression (bug#15102).
7217 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7219 Remove byte compiler warnings, visible when compiling with
7220 `byte-compile-force-lexical-warnings' set to t.
7222 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7223 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7224 (tramp-handle-unhandled-file-name-directory)
7225 (tramp-handle-file-notify-add-watch, tramp-action-login)
7226 (tramp-action-succeed, tramp-action-permission-denied)
7227 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7230 * net/tramp-adb.el (tramp-adb-parse-device-names)
7231 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7232 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7233 (tramp-adb-handle-file-truename): Remove unused arguments.
7235 * net/tramp-cache.el (tramp-flush-directory-property)
7236 (tramp-flush-connection-property, tramp-list-connections)
7237 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7239 * net/tramp-compat.el (tramp-compat-make-temp-file):
7240 Rename FILENAME to F.
7242 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7243 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7244 (tramp-zeroconf-parse-workstation-device-names)
7245 (tramp-zeroconf-parse-webdav-device-names)
7246 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7248 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7249 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7251 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7253 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7254 (tramp-sh-handle-insert-file-contents-literally)
7255 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7257 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7258 Remove unused variables.
7260 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7261 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7262 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7264 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7265 Make them a defconst.
7266 (tramp-uuencode-region): Remove unused variable.
7268 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7270 * frameset.el (frameset--prop-setter): New function.
7271 (frameset-prop): Add gv-setter declaration.
7272 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7273 parameter was already set in FILTERED. Doc fix.
7274 (frameset--record-minibuffer-relationships): Allow saving a
7275 minibufferless frame without its corresponding minibuffer frame.
7276 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7277 frame, if the frame id matches.
7278 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7279 frames before orphaned ones.
7280 (frameset-restore): Warn about orphaned windows, instead of error out.
7282 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7284 * window.el (window-make-atom): Don't overwrite parameter
7286 (display-buffer-in-atom-window): Handle special case where we
7287 split an already atomic window.
7288 (window--major-non-side-window, display-buffer-in-side-window)
7289 (window--side-check): Ignore minibuffer window when walking
7291 (window-deletable-p): Return 'frame only if no other frame uses
7292 our minibuffer window.
7293 (record-window-buffer): Run buffer-list-update-hook.
7294 (split-window): Make sure window--check-frame won't destroy an
7295 existing atomic window in case the new window gets nested
7297 (display-buffer-at-bottom): Ignore minibuffer window when
7298 walking window tree. Don't split a side window.
7299 (pop-to-buffer): Don't set-buffer here, the select-window call
7301 (mouse-autoselect-window-select): Autoselect only if we are in the
7302 text portion of the window.
7304 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7306 * net/shr.el (shr-parse-image-data): New function to grab both the
7307 data itself and the Content-Type.
7308 (shr-put-image): Use it.
7310 * net/eww.el (eww-display-image): Ditto.
7312 * image.el (image-content-type-suffixes): New variable.
7314 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7316 * progmodes/python.el (python-imenu--build-tree)
7317 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7319 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7321 * simple.el (backward-word): Mention the optional argument.
7323 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7325 * frameset.el (frameset--make): Rename constructor from make-frameset.
7326 (frameset-p, frameset-valid-p): Don't autoload.
7327 (frameset-valid-p): Use normal accessors.
7329 2013-08-13 Glenn Morris <rgm@gnu.org>
7331 * progmodes/compile.el (compile-command): Tweak example in doc.
7332 * obsolete/scribe.el (scribe-mode):
7333 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7335 * mail/feedmail.el (feedmail-confirm-outgoing)
7336 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7338 * cus-start.el (truncate-partial-width-windows): Fix type.
7340 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7342 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7344 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7346 * emacs-lisp/timer.el (timer--time-setter): New function.
7347 (timer--time): Use it as gv-setter.
7349 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7350 setter is not a symbol.
7352 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7354 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7355 if sending fails. This makes debugging easier.
7357 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7359 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7360 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7361 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7363 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7365 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7367 2013-08-12 Glenn Morris <rgm@gnu.org>
7369 * format.el (format-annotate-function):
7370 Handle read-only text properties in the source. (Bug#14887)
7372 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7374 * net/eww.el (eww-display-html): Ignore coding system errors.
7375 One web site uses "utf-8lias" as the coding system.
7377 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7379 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7381 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7383 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7384 (tutorial--detailed-help): Remove unused local variables.
7385 (tutorial--save-tutorial-to): Use ignore-errors.
7386 (help-with-tutorial): Use looking-at-p.
7388 * view.el (view-buffer-other-window, view-buffer-other-frame):
7389 Mark unused arguments.
7391 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7392 (woman-select-symbol-fonts, woman, woman-find-file)
7393 (woman-insert-file-contents, woman-non-underline-faces):
7395 (woman1-unquote): Move declaration.
7397 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7398 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7399 argument. Remove unused local variable.
7400 (xml-parse-elem-type): Use string-match-p.
7401 (xml-substitute-numeric-entities): Use ignore-errors.
7403 * calculator.el (calculator): Mark unused argument.
7404 (calculator-paste, calculator-quit, calculator-integer-p):
7406 (calculator-string-to-number, calculator-decimal, calculator-exp)
7407 (calculator-op-or-exp): Use string-match-p.
7409 * dired.el (dired-buffer-more-recently-used-p): Declare.
7410 (dired-insert-set-properties, dired-insert-old-subdirs):
7413 * dired-aux.el (dired-compress): Use ignore-errors.
7414 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7415 (dired-do-async-shell-command, dired-do-shell-command)
7416 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7417 (dired-insert-subdir-validate): Use string-match-p.
7418 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7419 (dired-add-entry): Use string-match-p, looking-at-p.
7420 (dired-insert-subdir-newpos): Remove unused local variable.
7422 * filenotify.el (file-notify-callback): Remove unused local variable.
7424 * filesets.el (filesets-error): Mark unused argument.
7425 (filesets-which-command-p, filesets-filter-dir-names)
7426 (filesets-directory-files, filesets-get-external-viewer)
7427 (filesets-ingroup-get-data): Use string-match-p.
7429 * find-file.el (ff-other-file-name, ff-other-file-name)
7430 (ff-find-the-other-file, ff-cc-hh-converter):
7431 Remove unused local variables.
7432 (ff-get-file-name): Use string-match-p.
7433 (ff-all-dirs-under): Use ignore-errors.
7435 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7436 (follow-select-if-visible): Remove unused local variable.
7438 * forms.el (read-file-filter): Move declaration.
7439 (forms--make-format, forms--make-parser, forms-insert-record):
7440 Quote function with #'.
7441 (forms--update): Use string-match-p. Quote function with #'.
7443 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7444 (help-make-xrefs): Use looking-at-p.
7445 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7447 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7448 (ibuffer-confirm-operation-on): Use string-match-p.
7450 * msb.el (msb-item-handler, msb-dired-item-handler):
7451 Mark unused arguments.
7453 * ses.el (ses-decode-cell-symbol)
7454 (ses-kill-override): Remove unused local variable.
7455 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7456 (ses-load): Use ignore-errors, looking-at-p.
7457 (ses-jump-safe): Use ignore-errors.
7458 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7460 * tabify.el (untabify, tabify): Mark unused arguments.
7462 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7463 Mark unused argument.
7464 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7465 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7467 * emacs-lisp/timer.el (timer--time): Define setter with
7468 gv-define-setter to avoid deprecation warning.
7470 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7471 (*record-cmpl-statistics-p*): Remove (was commented out).
7472 (cmpl-statistics-block): Remove (body was commented out).
7473 All callers changed.
7474 (add-completions-from-buffer, load-completions-from-file):
7475 Remove unused variables.
7477 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7479 * filecache.el (file-cache-delete-file-list):
7480 Print message only when told so.
7481 (file-cache-files-matching): Use #' in mapconcat argument.
7483 * ffap.el (ffap-url-at-point): Fix reference to variable
7484 thing-at-point-default-mail-uri-scheme.
7486 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7488 * subr.el (define-error): New function.
7489 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7490 error-file-not-found and define with define-error.
7491 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7492 and define with define-error.
7493 * userlock.el (file-locked, file-supersession):
7494 * simple.el (mark-inactive):
7495 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7496 * progmodes/ada-mode.el (ada-mode-errors):
7497 * play/life.el (life-extinct):
7498 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7499 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7500 * nxml/rng-util.el (rng-error):
7501 * nxml/rng-uri.el (rng-uri-error):
7502 * nxml/rng-match.el (rng-compile-error):
7503 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7504 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7505 * nxml/nxml-rap.el (nxml-scan-error):
7506 * nxml/nxml-outln.el (nxml-outline-error):
7507 * net/soap-client.el (soap-error):
7508 * net/gnutls.el (gnutls-error):
7509 * net/ange-ftp.el (ftp-error):
7510 * mpc.el (mpc-proc-error):
7511 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7512 (json-number-format, json-string-escape, json-string-format)
7513 (json-key-format, json-object-format):
7514 * jka-compr.el (compression-error):
7515 * international/quail.el (quail-error):
7516 * international/kkc.el (kkc-error):
7517 * emacs-lisp/ert.el (ert-test-failed):
7518 * calc/calc.el (calc-error, inexact-result, math-overflow)
7520 * bookmark.el (bookmark-error-no-filename):
7521 * epg.el (epg-error): Define with define-error.
7523 * time.el (display-time-event-handler)
7524 (display-time-next-load-average): Don't call sit-for since it seems
7525 unnecessary (bug#15045).
7527 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7528 Use #' instead of ' to quote functions.
7529 (checkdoc-output-mode): Use setq-local.
7530 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7531 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7532 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7533 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7534 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7535 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7536 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7537 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7539 * ido.el (ido-completion-help): Fix up compiler warning.
7541 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7543 * frameset.el (frameset-p): Add autoload cookie.
7544 (frameset--jump-to-register): New function, based on code moved from
7546 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7548 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7549 (frameset-restore, frameset-save, frameset-session-filter-alist):
7550 Remove declarations.
7551 (register-alist): Doc fix.
7552 (frameset-to-register): Move to frameset.el.
7553 (jump-to-register, describe-register-1): Remove frameset-specific code.
7555 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7557 * allout-widgets.el (allout-widgets-pre-command-business)
7558 (allout-widgets-post-command-business)
7559 (allout-widgets-after-change-handler)
7560 (allout-decorate-item-and-context, allout-set-boundary-marker)
7561 (allout-body-modification-handler)
7562 (allout-graphics-modification-handler): Mark ignored arguments.
7563 (allout-widgets-post-command-business)
7564 (allout-widgets-exposure-change-processor)
7565 (allout-widgets-exposure-undo-processor)
7566 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7567 (allout-parse-item-at-point, allout-decorate-item-guides)
7568 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7569 * allout.el (epa-passphrase-callback-function): Declare.
7570 (allout-overlay-insert-in-front-handler)
7571 (allout-overlay-interior-modification-handler)
7572 (allout-isearch-end-handler, allout-chart-siblings)
7573 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7574 (allout-yank-processing, allout-process-exposed)
7575 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7576 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7577 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7578 (lisp-indent-defform): Mark ignored arguments.
7579 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7580 (calculate-lisp-indent): Remove unused variables.
7581 * international/characters.el (indian-2-column, arabic-2-column)
7582 (tibetan): Mark ignored arguments.
7583 (use-cjk-char-width-table): Mark ignored arguments.
7584 Remove unused variables.
7585 * international/fontset.el (build-default-fontset-data)
7586 (x-compose-font-name, create-fontset-from-fontset-spec):
7587 Mark ignored arguments.
7588 (fontset-plain-name): Remove unused variables.
7589 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7590 (keyboard-coding-system): Mark ignored arguments.
7591 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7592 * help.el (resize-temp-buffer-window):
7593 * window.el (display-buffer-in-major-side-window)
7594 (display-buffer-in-side-window, display-buffer-in-previous-window):
7595 Remove unused variables.
7596 * isearch.el (isearch-forward-symbol):
7597 * version.el (emacs-bzr-version-bzr):
7598 * international/mule-cmds.el (current-language-environment):
7599 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7601 * term/pc-win.el (x-list-fonts, x-display-planes)
7602 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7603 (x-server-version, x-display-screens, x-display-mm-height)
7604 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7605 (x-selection-owner-p, x-own-selection-internal)
7606 (x-disown-selection-internal, x-get-selection-internal)
7607 (msdos-initialize-window-system):
7608 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7609 * term/x-win.el (x-handle-no-bitmap-icon):
7610 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7611 (vc-default-find-file-hook, vc-default-extra-menu):
7612 Mark ignored arguments.
7614 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7616 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7617 break-condition in the context of the debugged code (bug#12685).
7619 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7622 Do not use an overlay to highlight the last prompt. (Bug#14744)
7623 (comint-mode): Make comint-last-prompt buffer local.
7624 (comint-last-prompt): New variable.
7625 (comint-last-prompt-overlay): Remove. Superseded by
7627 (comint-snapshot-last-prompt, comint-output-filter):
7628 Use comint-last-prompt.
7630 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7632 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7633 (frameset-save): Check validity of the resulting frameset.
7635 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7637 * ido.el (ido-record-command): Add doc string.
7639 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7641 * frameset.el (frameset): Do not disable creation of the default
7642 frameset-p predicate. Doc fix.
7643 (frameset-valid-p): New function, copied from the old predicate-p.
7644 Add additional checks.
7645 (frameset-restore): Check with frameset-valid-p.
7646 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7647 (frameset-name, frameset-description, frameset-properties)
7648 (frameset-states): Add docstring.
7649 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7650 (frameset-filter-alist): Doc fixes.
7652 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7654 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7656 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7658 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7659 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7660 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7661 (byte-compile-normal-call): Remove obsolescence check.
7663 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7665 * frameset.el (frameset-restore): Doc fix.
7667 * register.el (frameset-frame-id, frameset-frame-with-id)
7668 (frameset-p, frameset-restore, frameset-save): Declare.
7669 (register-alist): Document framesets.
7670 (frameset-session-filter-alist): Declare.
7671 (frameset-to-register): New function.
7672 (jump-to-register): Implement jumping to framesets. Doc fix.
7673 (describe-register-1): Describe framesets.
7675 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7677 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7679 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7680 Use lexical-binding.
7682 * frameset.el (frameset): Use type vector, not list (incompatible
7683 change). Do not declare a new constructor, use the default one.
7684 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7685 `name' and `description', respectively, and add read-only slot
7686 `timestamp'. Doc fixes.
7687 (frameset-copy, frameset-persistent-filter-alist)
7688 (frameset-filter-alist, frameset-switch-to-gui-p)
7689 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7690 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7691 (frameset-filter-iconified, frameset-keep-original-display-p):
7693 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7694 Rename from frameset-filter-(save|restore)-param. All callers changed.
7696 (frameset-p): Adapt to change to vector and be more thorough.
7697 Change arg name to OBJECT. Doc fix.
7698 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7699 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7700 All callers changed.
7701 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7702 All callers changed.
7703 (frameset--record-minibuffer-relationships): Rename from
7704 frameset--process-minibuffer-frames. All callers changed.
7705 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7706 Use new default constructor (again). Doc fix.
7707 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7708 All callers changed.
7709 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7710 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7712 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7713 PARAMETERS and WINDOW-STATE, respectively.
7714 (frameset-restore): Add new keyword argument PREDICATE.
7715 Reset frameset--target-display to nil. Doc fix.
7717 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7719 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7721 (bat-mode-syntax-table): Mark \n as end-of-comment.
7722 (bat-font-lock-keywords): Remove comment rule.
7724 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7725 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7727 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7728 (byte-compile-callargs-warn): Use `push'.
7729 (byte-compile-arglist-warn): Ignore higher-order "calls".
7730 (byte-compile-file-form-autoload): Use `pcase'.
7731 (byte-compile-function-form): If quoting a symbol, check that it exists.
7733 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7735 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7736 and add a few popular commands found in batch files.
7737 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7738 (dos-mode): Doc fixes.
7740 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7742 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7743 (dos-mode): Use setq-local. Add space after "rem".
7744 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7745 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7747 2013-08-07 Arni Magnusson <arnima@hafro.is>
7749 * progmodes/dos.el: New file.
7750 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7753 2013-08-06 Glenn Morris <rgm@gnu.org>
7755 * calendar/calendar.el: Add new faces, and day-header-array.
7756 (calendar-weekday-header, calendar-weekend-header)
7757 (calendar-month-header): New faces.
7758 (calendar-day-header-construct): New function.
7759 (calendar-day-header-width): Also :set calendar-day-header-array.
7760 (calendar-american-month-header, calendar-european-month-header)
7761 (calendar-iso-month-header): Use calendar- faces.
7762 (calendar-generate-month):
7763 Use calendar-day-header-array for day headers; apply faces to them.
7764 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7765 (calendar-abbrev-construct): Add optional maxlen argument.
7766 (calendar-day-name-array): Doc fix.
7767 (calendar-day-name-array, calendar-abbrev-length)
7768 (calendar-day-abbrev-array):
7769 Also :set calendar-day-header-array, and maybe redraw.
7770 (calendar-day-header-array): New option. (Bug#15007)
7771 (calendar-font-lock-keywords): Set to nil and make obsolete.
7772 (calendar-day-name): Add option to use header array.
7774 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7776 * net/shr.el (shr-render-td): Remove debugging.
7777 (shr-render-td): Make width computation consistent by defaulting
7778 all zero-width columns to 10 characters. This may not be optimal,
7779 but it's at least consistent.
7780 (shr-make-table-1): Redo last change to fix the real problem in
7783 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7785 * files.el (cache-long-line-scans):
7786 Make obsolete alias to `cache-long-scans'.
7788 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7790 * frameset.el (frameset, frameset-filter-alist)
7791 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7792 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7793 (frameset-compute-pos): Rename from frameset--compute-pos,
7795 (frameset-move-onscreen): Use frameset-compute-pos.
7796 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7798 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7799 Fix typos in docstrings.
7801 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7803 * frame.el (get-other-frame): Tiny cleanup.
7805 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7807 * vc/vc.el (vc-default-ignore-completion-table):
7808 Silence byte-compiler warning.
7810 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7811 slot, which can indeed be nil.
7812 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7813 Move entry for `left' from persistent to live filter alist.
7814 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7816 (frameset-filter-params): When restoring a frame, copy items added to
7817 `filtered', to avoid unwittingly modifying the original parameters.
7818 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7819 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7821 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7822 to use looking-at-p instead of looking-at. (Bug#15028)
7824 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7826 Revert introduction of isearch-filter-predicates (bug#14714).
7827 Rely on add-function instead.
7828 * isearch.el (isearch-filter-predicates): Rename it back to
7829 isearch-filter-predicate.
7830 (isearch-message-prefix): Use advice-function-mapc and advice
7831 properties to get the isearch-message-prefix.
7832 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7833 instead of run-hook-with-args-until-failure.
7834 (isearch-filter-visible): Not obsolete any more.
7835 * loadup.el: Preload nadvice.
7836 * replace.el (perform-replace): Revert to funcall
7837 instead of run-hook-with-args-until-failure.
7838 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7839 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7840 dired-isearch-filenames-toggle; make it into a proper minor mode.
7841 Use add/remove-function.
7842 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7843 Call the minor-mode rather than add/remove-hook.
7844 (dired-isearch-filter-filenames):
7845 Remove isearch-message-prefix property.
7846 * info.el (Info--search-loop): New function, extracted from Info-search.
7847 Funcall isearch-filter-predicate instead of
7848 run-hook-with-args-until-failure isearch-filter-predicates.
7849 (Info-search): Use it.
7850 (Info-mode): Use isearch-filter-predicate instead of
7851 isearch-filter-predicates.
7853 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7855 Do not call to `selected-window' where it is assumed by default.
7856 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7857 `window-hscroll', `window-width', `window-height', `window-buffer',
7858 `window-frame', `window-start', `window-point', `next-window'
7859 and `window-display-table'.
7860 * abbrev.el (abbrev--default-expand):
7861 * bs.el (bs--show-with-configuration):
7862 * buff-menu.el (Buffer-menu-mouse-select):
7863 * calc/calc.el (calc):
7864 * calendar/calendar.el (calendar-generate-window):
7865 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7867 * comint.el (send-invisible, comint-dynamic-complete-filename)
7868 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7869 * completion.el (complete):
7870 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7871 * disp-table.el (describe-current-display-table):
7872 * doc-view.el (doc-view-insert-image):
7873 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7874 * ehelp.el (with-electric-help):
7875 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7876 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7877 * emacs-lisp/helper.el (Helper-help-scroller):
7878 * emulation/cua-base.el (cua--post-command-handler-1):
7879 * eshell/esh-mode.el (eshell-output-filter):
7880 * ffap.el (ffap-gnus-wrapper):
7881 * help-macro.el (make-help-screen):
7882 * hilit-chg.el (highlight-compare-buffers):
7883 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7884 * hl-line.el (global-hl-line-highlight):
7885 * icomplete.el (icomplete-simple-completing-p):
7886 * isearch.el (isearch-done):
7887 * jit-lock.el (jit-lock-stealth-fontify):
7888 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7889 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7890 * mpc.el (mpc-tagbrowser, mpc):
7891 * net/rcirc.el (rcirc-any-buffer):
7892 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7893 * play/landmark.el (landmark-max-width, landmark-max-height):
7894 * play/zone.el (zone):
7895 * progmodes/compile.el (compilation-goto-locus):
7896 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7897 * progmodes/etags.el (find-tag-other-window):
7898 * progmodes/fortran.el (fortran-column-ruler):
7899 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7900 * progmodes/verilog-mode.el (verilog-point-text):
7901 * reposition.el (reposition-window):
7902 * rot13.el (toggle-rot13-mode):
7903 * server.el (server-switch-buffer):
7904 * shell.el (shell-dynamic-complete-command)
7905 (shell-dynamic-complete-environment-variable):
7906 * simple.el (insert-buffer, set-selective-display)
7907 (delete-completion-window):
7908 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7909 (speedbar-recenter):
7910 * startup.el (fancy-splash-head):
7911 * textmodes/ispell.el (ispell-command-loop):
7912 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7913 * tutorial.el (help-with-tutorial):
7914 * vc/add-log.el (add-change-log-entry):
7915 * vc/compare-w.el (compare-windows):
7916 * vc/ediff-help.el (ediff-indent-help-message):
7917 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7918 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7919 (ediff-setup-control-frame):
7920 * vc/emerge.el (emerge-position-region):
7921 * vc/pcvs-util.el (cvs-bury-buffer):
7922 * window.el (walk-windows, mouse-autoselect-window-select):
7923 * winner.el (winner-set-conf, winner-undo): Related users changed.
7925 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7927 * frameset.el (frameset--set-id): Doc fix.
7928 (frameset-frame-id, frameset-frame-id-equal-p)
7929 (frameset-locate-frame-id): New functions.
7930 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7931 (frameset-restore): Use them.
7933 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7935 Do not call to `selected-frame' where it is assumed by default.
7936 Affected functions are `raise-frame', `redraw-frame',
7937 `frame-first-window', `frame-terminal' and `delete-frame'.
7938 * calendar/appt.el (appt-disp-window):
7939 * epg.el (epg-wait-for-completion):
7940 * follow.el (follow-delete-other-windows-and-split)
7941 (follow-avoid-tail-recenter):
7942 * international/mule.el (set-terminal-coding-system):
7943 * mail/rmail.el (rmail-mail-return):
7944 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7945 * progmodes/f90.el (f90-add-imenu-menu):
7946 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7947 * server.el (server-switch-buffer):
7948 * simple.el (delete-completion-window):
7950 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7951 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7952 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7953 * vc/ediff.el (ediff-documentation): Related users changed.
7954 * frame.el (selected-terminal): Remove the leftover.
7956 2013-08-05 Glenn Morris <rgm@gnu.org>
7958 * calendar/calendar.el (calendar-generate-month):
7959 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7960 (calendar-generate-month, calendar-font-lock-keywords):
7961 Fix for calendar-day-header-width > length of any day name.
7963 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7965 * desktop.el (desktop-clear): Use new name of sort predicate.
7967 * frameset.el (frameset): Add docstring. Move :version property to its
7969 (frameset-copy): Rename from copy-frameset.
7970 (frameset-p): Check more thoroughly.
7971 (frameset-prop): Do not check for :version, which is no longer a prop.
7972 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7973 Use new :never value instead of t.
7974 (frameset-filter-alist): Expand and clarify docstring.
7975 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7976 (frameset-filter-minibuffer, frameset-filter-save-param)
7977 (frameset-filter-restore-param, frameset-filter-iconified):
7978 Add pointer to docstring of frameset-filter-alist.
7979 (frameset-filter-params): Rename filter values to be more meaningful:
7980 :never instead of t, and reverse the meanings of :save and :restore.
7981 (frameset--process-minibuffer-frames): Clarify error message.
7982 (frameset-save): Avoid unnecessary and confusing call to framep.
7983 Use new BOA constructor for framesets.
7984 (frameset--reuse-list): Doc fix.
7985 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7986 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7987 (frameset-minibufferless-first-p): Doc fix.
7988 Rename from frameset-sort-frames-for-deletion.
7989 (frameset-restore): Doc fixes. Use new function names.
7990 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7992 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7994 * desktop.el (desktop-restore-forces-onscreen)
7995 (desktop-restore-reuses-frames): Document :keyword constant values.
7996 (desktop-filter-parameters-alist): Remove, now identical to
7997 frameset-filter-alist.
7998 (desktop--filter-tty*): Remove, moved to frameset.el.
7999 (desktop-save-frameset, desktop-restore-frameset):
8000 Do not pass :filters argument.
8002 * frameset.el (frameset-live-filter-alist)
8003 (frameset-persistent-filter-alist): New variables.
8004 (frameset-filter-alist): Use them. Add autoload cookie.
8005 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
8006 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
8007 `frameset--id' (it's supposed to be internal to frameset.el).
8008 (frameset--process-minibuffer-frames): Ditto. Doc fix.
8009 (frameset--initial-params): New function.
8010 (frameset--get-frame): Use it. Doc fix.
8011 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
8012 Accept :all, not 'all.
8013 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
8014 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
8015 with fbound symbols. Fix frame id matching, and remove matching ids if
8016 the frame being restored is deleted. Obey :delete.
8018 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8020 * subr.el (macrop): New function.
8021 (text-clone--maintaining): New var.
8022 (text-clone--maintain): Rename from text-clone-maintain. Use it
8023 instead of inhibit-modification-hooks.
8025 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
8026 a proxy, so as handle autoloads and redefinitions of the target.
8027 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
8029 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
8030 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
8031 (pcase--mutually-exclusive-p): New function.
8032 (pcase--split-consp): Use it.
8033 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
8034 mutually exclusive with the current predicate.
8036 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
8037 (edebug-macrop): Remove. Use `macrop' instead.
8038 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
8040 * eshell/esh-cmd.el (eshell-macrop):
8041 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
8043 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
8045 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
8046 (advice-mapc): New function, using it.
8047 (advice-function-member-p): New function.
8048 (advice--normalize): Store the cdr in advice--saved-rewrite since
8049 that's the part that will be changed.
8050 (advice--symbol-function): New function.
8051 (advice-remove): Handle removal before the function is defined.
8052 Adjust to new advice--saved-rewrite.
8053 (advice-member-p): Use advice-function-member-p and
8054 advice--symbol-function.
8056 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
8058 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
8059 (frameset-filter-minibuffer): Doc fix.
8060 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
8061 (frameset--set-id, frameset--process-minibuffer-frames)
8062 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
8063 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
8065 * desktop.el (desktop-clear): Only delete frames when called
8066 interactively and desktop-restore-frames is non-nil. Doc fix.
8067 (desktop-read): Set desktop-saved-frameset to nil.
8069 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
8071 * vc/vc.el (vc-ignore): Rewrite.
8072 (vc-default-ignore-completion-table, vc--read-lines)
8073 (vc--add-line, vc--remove-regexp): New functions.
8075 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
8076 (vc-svn-ignore-completion-table): New function.
8078 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
8079 (vc-hg-ignore-completion-table)
8080 (vc-hg-find-ignore-file): New functions.
8082 * vc/vc-git.el (vc-git-ignore): Rewrite.
8083 (vc-git-ignore-completion-table)
8084 (vc-git-find-ignore-file): New functions.
8086 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
8088 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
8089 (vc-bzr-ignore-completion-table)
8090 (vc-bzr-find-ignore-file): New functions.
8092 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
8094 * frameset.el (frameset-prop): New function and setter.
8095 (frameset-save): Do not modify frame list passed by the caller.
8097 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
8099 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
8101 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
8103 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
8104 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
8106 * custom.el (custom-initialize-default, custom-initialize-set)
8107 (custom-initialize-reset, custom-initialize-changed): Affect the
8108 toplevel-default-value (bug#6275, bug#14586).
8109 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
8112 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8114 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
8115 Add cl-def* expressions.
8117 * frameset.el (frameset-filter-params): Fix order of arguments.
8119 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
8121 Move code related to saving frames to frameset.el.
8122 * desktop.el: Require frameset.
8123 (desktop-restore-frames): Doc fix.
8124 (desktop-restore-reuses-frames): Rename from
8125 desktop-restoring-reuses-frames.
8126 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
8127 (desktop-clear): Clear frames too.
8128 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
8129 (desktop--filter-tty*, desktop-save, desktop-read):
8130 Use frameset functions.
8131 (desktop-before-saving-frames-functions, desktop--filter-*-color)
8132 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8133 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
8134 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
8135 (desktop--process-minibuffer-frames, desktop-save-frames)
8136 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
8137 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
8138 (desktop--sort-states, desktop-restoring-frames-p)
8139 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8140 (desktop-restoring-frameset-p, desktop-restore-frameset)
8141 (desktop--check-dont-save, desktop-save-frameset): New functions.
8142 (desktop--app-id): New constant.
8143 (desktop-first-buffer, desktop-buffer-ok-count)
8144 (desktop-buffer-fail-count): Move before first use.
8145 * frameset.el: New file.
8147 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8149 * files.el: Use lexical-binding.
8150 (dir-locals-read-from-file): Remove unused `err' variable.
8151 (hack-dir-local-variables--warned-coding): New var.
8152 (hack-dir-local-variables): Use it to avoid repeated warnings.
8153 (make-backup-file-name--default-function): New function.
8154 (make-backup-file-name-function): Use it as default.
8155 (buffer-stale--default-function): New function.
8156 (buffer-stale-function): Use it as default.
8157 (revert-buffer-insert-file-contents--default-function): New function.
8158 (revert-buffer-insert-file-contents-function): Use it as default.
8159 (insert-directory): Avoid add-to-list.
8161 * autorevert.el (auto-revert-handler): Simplify.
8162 Use buffer-stale--default-function.
8164 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8166 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8168 * whitespace.el (whitespace-ensure-local-variables): New function.
8169 (whitespace-cleanup-region): Call it.
8170 (whitespace-turn-on): Call it.
8172 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8174 Complete file name handlers.
8176 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8177 (tramp-handle-verify-visited-file-modtime)
8178 (tramp-handle-file-notify-rm-watch): New functions.
8179 (tramp-call-process): Do not bind `default-directory'.
8181 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8182 Order alphabetically.
8183 <access-file, add-name-to-file, dired-call-process>:
8184 <dired-compress-file, file-acl, file-notify-rm-watch>:
8185 <file-ownership-preserved-p, file-selinux-context>:
8186 <make-directory-internal, make-symbolic-link, set-file-acl>:
8187 <set-file-selinux-context, set-visited-file-modtime>:
8188 <verify-visited-file-modtime>: Add handler.
8189 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8191 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8192 <file-notify-add-watch, file-notify-rm-watch>:
8193 <set-file-times, set-visited-file-modtime>:
8194 <verify-visited-file-modtime>: Add handler.
8195 (with-tramp-gvfs-error-message)
8196 (tramp-gvfs-handle-set-visited-file-modtime)
8197 (tramp-gvfs-fuse-file-name): Remove.
8198 (tramp-gvfs-handle-file-notify-add-watch)
8199 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8200 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8202 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8203 Order alphabetically.
8204 <file-notify-rm-watch>: Use default Tramp handler.
8205 <executable-find>: Remove private handler.
8206 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8207 `default-directory'.
8208 (tramp-sh-handle-executable-find)
8209 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8210 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8211 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8212 Do not use `format' in `tramp-message'.
8214 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8215 <file-notify-rm-watch, set-visited-file-modtime>:
8216 <verify-visited-file-modtime>: Add handler.
8217 (tramp-smb-call-winexe): Do not bind `default-directory'.
8219 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8221 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8223 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8225 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8227 (log-view-diff-changeset): Same.
8228 (log-view-diff-common): Call backend command `previous-revision'
8229 to find out the previous revision, in both cases. Swap the
8230 variables `to' and `fr', so that `fr' usually refers to the
8231 earlier revision (Bug#14989).
8233 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8235 * ibuf-ext.el (ibuffer-filter-by-filename):
8236 Make it work with dired buffers too.
8238 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8240 * emacs-lisp/re-builder.el (reb-color-display-p):
8241 * files.el (save-buffers-kill-terminal):
8242 * net/browse-url.el (browse-url):
8243 * server.el (server-save-buffers-kill-terminal):
8244 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8245 Prefer nil to selected-frame for the first arg of frame-parameter.
8247 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8249 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8251 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8253 * minibuffer.el (completion--twq-all): Try and preserve each
8254 completion's case choice (bug#14907).
8256 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8258 * net/network-stream.el (open-network-stream): Mention the new
8259 :nogreeting parameter.
8260 (network-stream-open-starttls): Use the :nogreeting parameter
8263 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8265 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8266 more natural than popping.
8268 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8269 (shr-urlify): Highlight under mouse.
8271 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8273 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8275 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8277 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8280 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8281 point-min==1. Fix search string. Fix parentheses missing.
8283 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8284 assume point-min==1. Fix search string. Fix parentheses missing.
8286 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8288 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8291 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8293 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8294 initial frame is minibuffer-less. (Bug#14841)
8296 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8298 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8301 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8302 (tramp-maybe-open-connection): Use it.
8304 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8306 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8307 minimal set of parameters passed when creating a frame, because
8308 the minibuffer status of a frame cannot be changed later.
8310 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8312 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8313 replace-regexp-in-string and inadvertent omissions in previous change.
8314 (todo-filter-items): Ensure only file names are comma-separated in
8315 name of filtered items buffer.
8317 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8319 * desktop.el: Optionally force offscreen frames back onscreen.
8320 (desktop-restoring-reuses-frames): New option.
8321 (desktop--compute-pos, desktop--move-onscreen): New functions.
8322 (desktop--make-frame): Use desktop--move-onscreen.
8324 2013-07-27 Alan Mackenzie <acm@muc.de>
8326 Fontify a Java generic method as a function.
8327 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8330 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8332 * calendar/todo-mode.el: Add command to rename todo files.
8333 (todo-rename-file): New command.
8334 (todo-key-bindings-t): Add key binding for it. Change the
8335 bindings of todo-filter-regexp-items(-multifile) to use `x'
8336 instead of `r', since the latter is better suited to the new
8339 2013-07-27 Alan Mackenzie <acm@muc.de>
8341 Make Java try-with-resources statement parse properly.
8342 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8343 (c-block-stmt-1-2-key): New language constants/variables.
8344 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8345 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8346 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8347 with c-block-stmt-1-2-key.
8349 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8351 * desktop.el (desktop--make-frame): Apply most frame parameters after
8352 creating the frame to force (partially or totally) offscreen frames to
8353 be restored as such.
8355 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8357 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8360 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8362 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8363 `base' arg of backtrace-frame.
8365 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8367 * simple.el (list-processes): Doc fix.
8369 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8371 * desktop.el (desktop--select-frame):
8372 Try harder to reuse existing frames.
8374 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8376 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8377 (edebug-eval): Use backtrace-eval.
8378 (edebug--display, edebug--recursive-edit): Don't let-bind the
8379 edebug-outer-* vars that keep track of variables we locally let-bind.
8380 (edebug-outside-excursion): Don't restore outside values of locally
8382 (edebug--display): Use user-error.
8383 (cl-lexical-debug, cl-debug-env): Remove.
8385 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8387 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8388 are restored to be sure that they are visible before deleting any
8391 2013-07-26 Matthias Meulien <orontee@gmail.com>
8393 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8394 vc-print-root-log. (Bug#14948)
8396 2013-07-26 Richard Stallman <rms@gnu.org>
8398 Add aliases for encrypting mail.
8399 * epa.el (epa-mail-aliases): New option.
8400 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8401 Bind inhibit-read-only so read-only text doesn't ruin everything.
8402 (epa-mail-default-recipients): New subroutine broken out.
8403 Handle epa-mail-aliases.
8405 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8407 Add support for lexical variables to the debugger's `e' command.
8408 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8409 vars, except for debugger-outer-match-data.
8410 (debugger-frame-number): Move check for "on a function call" from
8411 callers into it. Add `skip-base' argument.
8412 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8413 (debugger-env-macro): Only reset the state stored in non-variables,
8414 i.e. current-buffer and match-data.
8415 (debugger-eval-expression): Rewrite using backtrace-eval.
8416 * subr.el (internal--called-interactively-p--get-frame): Remove.
8417 (called-interactively-p):
8418 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8419 `base' arg of backtrace-frame instead.
8421 2013-07-26 Glenn Morris <rgm@gnu.org>
8423 * align.el (align-regexp): Doc fix. (Bug#14857)
8424 (align-region): Explicit error if subexpression missing/does not match.
8426 * simple.el (global-visual-line-mode):
8427 Do not duplicate the mode lighter. (Bug#14858)
8429 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8431 * window.el (display-buffer): In display-buffer bind
8432 split-window-keep-point to t, bug#14829.
8434 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8436 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8437 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8438 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8439 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8441 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8442 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8444 2013-07-25 Glenn Morris <rgm@gnu.org>
8446 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8448 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8450 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8451 parameter to modify-frame-parameters if the value has not changed;
8452 this is a workaround for bug#14949.
8453 (desktop--make-frame): On cl-delete-if call, check parameter name,
8456 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8458 * vc/vc.el (vc-ignore): New function.
8460 * vc/vc-svn.el (vc-svn-ignore): New function.
8462 * vc/vc-hg.el (vc-hg-ignore): New function.
8464 * vc/vc-git.el (vc-git-ignore): New function.
8466 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8467 (vc-dir-ignore): New function.
8469 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8470 (cvs-append-to-ignore): Move here from pcvs.el.
8472 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8474 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8476 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8478 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8479 (desktop-restore-frames): Warn when deleting an existing frame failed.
8481 2013-07-24 Glenn Morris <rgm@gnu.org>
8483 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8485 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8487 * filenotify.el (file-notify-supported-p):
8488 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8491 * autorevert.el (auto-revert-use-notify)
8492 (auto-revert-notify-add-watch):
8493 * net/tramp.el (tramp-file-name-for-operation):
8494 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8495 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8496 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8497 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8498 Remove `file-notify-supported-p' entry.
8500 2013-07-24 Glenn Morris <rgm@gnu.org>
8502 * printing.el: Replace all uses of deleted ps-windows-system,
8503 ps-lp-system, ps-flatten-list with lpr- versions.
8505 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8507 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8508 checked with memq (bug#14935).
8510 * files.el (revert-buffer-function): Use a non-nil default.
8511 (revert-buffer-preserve-modes): Declare var to
8512 provide access to the `preserve-modes' argument.
8513 (revert-buffer): Let-bind it.
8514 (revert-buffer--default): New function, extracted from revert-buffer.
8516 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8518 * lpr.el: Signal print errors more prominently.
8519 (print-region-function): Don't default to nil.
8520 (lpr-print-region): New function, extracted from print-region-1.
8521 Check lpr's return value and signal an error in case of problem.
8522 (print-region-1): Use it.
8523 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8525 (ps-printer-name): Default to nil.
8526 (ps-printer-name-option): Default to lpr-printer-switch.
8527 (ps-print-region-function): Don't default to nil.
8528 (ps-postscript-code-directory): Simplify default.
8529 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8530 (ps-string-list, ps-eval-switch, ps-flatten-list)
8531 (ps-flatten-list-1): Remove.
8532 (ps-multibyte-buffer): Avoid setq.
8533 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8534 (print-region-function, ps-print-region-function): Don't set them here.
8536 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8538 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8539 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8540 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
8541 (ido-decorations): Doc fix.
8543 * ansi-color.el: Fix old URL.
8545 2013-07-23 Michael R. Mauger <michael@mauger.com>
8547 * progmodes/sql.el: Version 3.3
8548 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8549 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8550 (sql-interactive-remove-continuation-prompt): Rewrite, use
8551 functions above. Fix continuation prompt and complete output line
8553 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8554 redirected output buffer.
8555 (sql-mode): Restore deleted code (Bug#13591).
8557 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8559 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8561 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8563 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8565 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8566 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8567 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8569 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8571 * desktop.el (desktop-clear): Simplify; remove useless checks
8572 against invalid buffer names.
8573 (desktop-list*): Use cl-list*.
8574 (desktop-buffer-info, desktop-create-buffer): Simplify.
8576 2013-07-23 Leo Liu <sdl.web@gmail.com>
8578 * bookmark.el (bookmark-make-record): Restore NAME as a default
8581 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8583 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8584 extracted from autoload--insert-text.
8585 (autoload--insert-text): Remove.
8586 (autoload--print-cookie-text): New function, extracted from
8587 autoload--insert-cookie-text.
8588 (autoload--insert-cookie-text): Remove.
8589 (autoload-generate-file-autoloads): Adjust calls accordingly.
8591 * winner.el (winner-hook-installed-p): Remove.
8592 (winner-mode): Simplify accordingly.
8594 * subr.el (add-to-list): Fix compiler-macro when `append' is
8595 not constant. Don't use `cl-member' for the base case.
8597 * progmodes/subword.el: Fix boundary case (bug#13758).
8598 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8600 (subword-backward-regexp): Make it a constant.
8601 (subword-forward-internal): Don't treat a trailing capital as the
8602 beginning of a word.
8604 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8606 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8607 global value of tabulated-list-revert-hook (bug#14930).
8609 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8611 * desktop.el: Require 'cl-lib.
8612 (desktop-before-saving-frames-functions): New hook.
8613 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8614 for frames being saved. Rename from desktop--save-minibuffer-frames.
8615 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8616 Do not save frames with non-nil `desktop-dont-save' parameter.
8617 Filter out deleted frames.
8618 (desktop--find-frame): Use cl-find-if.
8619 (desktop--select-frame): Use cl-(first|second|third) to access values
8621 (desktop--make-frame): Use cl-delete-if.
8622 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8623 (desktop-restore-frames): Use cl-(first|second|third) to access values
8624 of desktop-mini. Look for visible frame at the end, not while
8627 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8628 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8629 Use string-match-p, looking-at-p (bug#14927).
8631 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8633 * desktop.el (desktop-saved-frame-states):
8634 Rename from desktop--saved-states; all users changed.
8635 (desktop-save-frames): Rename from desktop--save-frames.
8636 Do not save state to desktop file.
8637 (desktop-save): Save desktop-saved-frame-states to desktop file
8639 (desktop-restoring-frames-p): New function.
8640 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8641 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8642 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8644 * desktop.el: Correctly restore iconified frames.
8645 (desktop--filter-iconified-position): New function.
8646 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8648 2013-07-20 Glenn Morris <rgm@gnu.org>
8650 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8651 Let `message' do the formatting.
8652 (def-gdb-preempt-display-buffer): Add explicit format.
8654 * image-dired.el (image-dired-track-original-file):
8655 Use with-current-buffer.
8656 (image-dired-track-thumbnail): Use with-current-buffer.
8657 Avoid changing point of wrong window.
8659 * image-dired.el (image-dired-track-original-file):
8660 Avoid changing point of wrong window. (Bug#14909)
8662 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8664 * progmodes/gdb-mi.el (gdb-done-or-error):
8665 Guard against "%" in gdb output. (Bug#14127)
8667 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8669 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8672 * international/mule.el (coding-system-iso-2022-flags): Fix last
8675 2013-07-20 Kenichi Handa <handa@gnu.org>
8677 * international/mule.el (coding-system-iso-2022-flags):
8678 Add `8-bit-level-4'. (Bug#8522)
8680 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8682 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8685 * net/eww.el (eww-process-text-input): Allow inputting when the
8686 point is at the start of the line, as the properties aren't
8689 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8692 2013-07-19 Richard Stallman <rms@gnu.org>
8694 * epa.el (epa-popup-info-window): Doc fix.
8696 * subr.el (split-string): New arg TRIM.
8698 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8700 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8701 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8703 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8705 * filenotify.el (file-notify--library): Rename from
8706 `file-notify-support'. Do not autoload. Adapt all uses.
8707 (file-notify-supported-p): New defun.
8709 * autorevert.el (auto-revert-use-notify):
8710 Use `file-notify-supported-p' instead of `file-notify-support'.
8712 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8714 * net/tramp.el (tramp-file-name-for-operation):
8715 Add `file-notify-supported-p'.
8717 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8719 (tramp-sh-file-name-handler-alist): Add it as handler for
8720 `file-notify-supported-p '.
8722 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8723 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8724 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8725 Add `ignore' as handler for `file-notify-*' functions.
8727 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8729 * simple.el (line-move-partial, line-move): Don't start vscroll or
8730 scroll-up if the current line is not taller than the window.
8733 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8735 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8736 highlight question marks in the method names as strings.
8737 (ruby-block-beg-keywords): Inline.
8738 (ruby-font-lock-keyword-beg-re): Extract from
8739 `ruby-font-lock-keywords'.
8741 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8743 * frame.el (blink-cursor-blinks): New defcustom.
8744 (blink-cursor-blinks-done): New defvar.
8745 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8746 (blink-cursor-timer-function): Check if number of blinks has been
8748 (blink-cursor-suspend, blink-cursor-check): New defuns.
8750 2013-07-15 Glenn Morris <rgm@gnu.org>
8752 * edmacro.el (edmacro-format-keys): Fix previous change.
8754 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8756 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8757 The hack didn't work outside English locales anyway.
8759 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8761 * simple.el (define-alternatives): Rename from alternatives-define,
8762 per RMS' suggestion.
8764 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8766 * desktop.el (desktop-restore-frames): Change default to t.
8767 (desktop-restore-in-current-display): Now offer more options.
8768 (desktop-restoring-reuses-frames): New customization option.
8769 (desktop--saved-states): Doc fix.
8770 (desktop-filter-parameters-alist): New variable, renamed and expanded
8771 from desktop--excluded-frame-parameters.
8772 (desktop--target-display): New variable.
8773 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8774 (desktop--filter-tty*, desktop--filter-*-color)
8775 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8776 (desktop--filter-save-desktop-parm)
8777 (desktop-restore-in-original-display-p): New functions.
8778 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8779 (desktop--save-minibuffer-frames): New function, inspired by a similar
8780 function from Martin Rudalics.
8781 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8782 (desktop--restore-in-this-display-p): Remove.
8783 (desktop--find-frame): Rename from desktop--find-frame-in-display
8784 and add predicate argument.
8785 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8786 (desktop--reuse-list): New variable.
8787 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8789 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8791 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8793 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8795 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8797 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8798 Highlight conversion methods on Kernel.
8800 2013-07-13 Alan Mackenzie <acm@muc.de>
8802 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8803 and comment it out. This out-commenting enables certain C++
8804 declarations to be parsed correctly.
8806 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8808 * international/mule.el (define-coding-system): Doc fix.
8810 * simple.el (default-font-height): Don't call font-info if the
8811 frame's default font didn't change since the frame was created.
8814 2013-07-13 Leo Liu <sdl.web@gmail.com>
8816 * ido.el (ido-read-file-name): Guard against non-symbol value.
8818 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8820 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8823 2013-07-13 Leo Liu <sdl.web@gmail.com>
8825 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8826 ido-set-matches call. (Bug#6852)
8828 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8830 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
8831 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8833 (ruby-font-lock-keywords): Distinguish calls to functions with
8834 module-like names from module references. Highlight character
8837 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8839 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8840 (gdb-send): Handle continued commands. (Bug#14847)
8842 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8844 * desktop.el (desktop--v2s): Remove unused local variable.
8845 (desktop-save-buffer): Make defvar-local; adjust docstring.
8846 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8847 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8849 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8851 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8853 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8855 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8858 2013-07-12 Glenn Morris <rgm@gnu.org>
8860 * doc-view.el: Require cl-lib at runtime too.
8861 (doc-view-remove-if): Remove.
8862 (doc-view-search-next-match, doc-view-search-previous-match):
8865 * edmacro.el: Require cl-lib at runtime too.
8866 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8867 (edmacro-mismatch, edmacro-subseq): Remove.
8869 * shadowfile.el: Require cl-lib.
8870 (shadow-remove-if): Remove.
8871 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8874 * wid-edit.el: Require cl-lib.
8875 (widget-choose): Use cl-remove-if.
8876 (widget-remove-if): Remove.
8878 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8879 (ebrowse-delete-if-not): Remove.
8880 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8881 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8882 Use cl-delete-if-not.
8884 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8886 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8887 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8889 2013-07-12 Leo Liu <sdl.web@gmail.com>
8891 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8893 2013-07-11 Glenn Morris <rgm@gnu.org>
8895 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8896 (edebug-gensym-index, edebug-gensym):
8897 Remove reimplementation of cl-gensym.
8898 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8900 * thumbs.el: Require cl-lib at run-time too.
8901 (thumbs-gensym-counter, thumbs-gensym):
8902 Remove reimplementation of cl-gensym.
8903 (thumbs-temp-file): Use cl-gensym.
8905 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8906 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8907 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8908 (ert--union, ert--gensym-counter, ert--gensym-counter)
8909 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8910 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8911 (ert-make-test-unbound, ert--expand-should-1)
8912 (ert--expand-should, ert--should-error-handle-error)
8913 (should-error, ert--explain-equal-rec)
8914 (ert--plist-difference-explanation, ert-select-tests)
8915 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8916 Use cl-lib functions rather than reimplementations.
8918 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8920 * net/tramp.el (tramp-methods): Extend docstring.
8921 (tramp-connection-timeout): New defcustom.
8922 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8923 (with-tramp-progress-reporter): Simplify.
8924 (tramp-process-actions): Improve messages.
8926 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8927 * net/tramp-sh.el (tramp-maybe-open-connection):
8928 Use `tramp-connection-timeout'.
8929 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
8932 2013-07-11 Leo Liu <sdl.web@gmail.com>
8934 * ido.el (ido-read-file-name): Conform to the requirements of
8935 read-file-name. (Bug#11861)
8936 (ido-read-directory-name): Conform to the requirements of
8937 read-directory-name.
8939 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8941 * subr.el (delay-warning): New function.
8943 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8945 * simple.el (default-line-height): New function.
8946 (line-move-partial, line-move): Use it instead of computing the
8948 (line-move-partial): Always compute ROWH. If the last line is
8949 partially-visible, but its text is completely visible, allow
8950 cursor to enter such a partially-visible line.
8952 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8954 Improve error messages. (Bug#14808)
8956 * net/tramp.el (tramp-current-connection): New defvar, moved from
8958 (tramp-message-show-progress-reporter-message): Remove, not
8960 (tramp-error-with-buffer): Show message in minibuffer.
8961 Discard input before waiting. Reset connection timestamp.
8962 (with-tramp-progress-reporter): Improve messages.
8963 (tramp-process-actions): Use progress reporter. Delete process in
8964 case of error. Improve messages.
8966 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8967 Call `tramp-error-with-buffer' with vector and buffer.
8968 (tramp-current-connection): Remove.
8969 (tramp-maybe-open-connection): The car of
8970 `tramp-current-connection' are the first 3 slots of the vector.
8972 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8974 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8975 inside continued strings.
8977 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8979 Timestamp fixes for undo (Bug#14824).
8980 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8982 2013-07-10 Leo Liu <sdl.web@gmail.com>
8984 * files.el (require-final-newline): Allow safe local value.
8987 2013-07-09 Leo Liu <sdl.web@gmail.com>
8989 * ido.el (ido-read-directory-name): Handle fallback.
8990 (ido-read-file-name): Update DIR to ido-current-directory.
8992 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8994 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8996 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8997 "autoload". Remove "warn lower camel case" section, previously
8998 commented out. Highlight negation char. Do not highlight the
8999 target in singleton method definitions.
9001 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
9003 * faces.el (tty-setup-hook): Declare the hook.
9005 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
9006 and detect when a guard/pred depends on local vars (bug#14773).
9007 (pcase--u1): Adjust caller.
9009 2013-07-08 Eli Zaretskii <eliz@gnu.org>
9011 * simple.el (line-move-partial, line-move): Account for
9013 (line-move-partial): Avoid setting vscroll when the last
9014 partially-visible line in window is of default height.
9016 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
9018 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
9021 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
9023 * subr.el (read-quoted-char): Remove unused local variable `char'.
9025 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
9027 * ediff.el (ediff-version): Version update.
9028 (ediff-files-command, ediff3-files-command, ediff-merge-command)
9029 (ediff-merge-with-ancestor-command, ediff-directories-command)
9030 (ediff-directories3-command, ediff-merge-directories-command)
9031 (ediff-merge-directories-with-ancestor-command): New functions.
9032 All are command-line interfaces to ediff: to facilitate calling
9033 Emacs with the appropriate ediff functions invoked.
9035 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
9036 (viper-save-kill-buffer): Check if buffer is modified.
9038 * viper.el (viper-version): Version update.
9039 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
9041 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
9043 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
9044 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
9045 (viper-intercept-ESC-key): Simplify.
9046 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
9047 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
9048 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
9049 (viper-setup-ESC-to-escape): New functions.
9050 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
9051 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
9053 2013-07-07 Eli Zaretskii <eliz@gnu.org>
9055 * simple.el (default-font-height, window-screen-lines):
9057 (line-move, line-move-partial): Use them instead of
9058 frame-char-height and window-text-height. This makes scrolling
9059 text smoother when the buffer's default face uses a font that is
9060 different from the frame's default font.
9062 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
9064 * files.el (write-file): Do not display confirm dialog for NS,
9065 it does its own dialog, which can't be canceled (Bug#14578).
9067 2013-07-06 Eli Zaretskii <eliz@gnu.org>
9069 * simple.el (line-move-partial): Adjust the row returned by
9070 posn-at-point for the current window-vscroll. (Bug#14567)
9072 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
9074 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
9075 (tramp-sh-file-inotifywait-process-filter): Handle file names with
9078 2013-07-06 Martin Rudalics <rudalics@gmx.at>
9080 * window.el (window-state-put-stale-windows): New variable.
9081 (window--state-put-2): Save list of windows without matching buffer.
9082 (window-state-put): Remove "bufferless" windows if possible.
9084 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9086 * simple.el (alternatives-define): Remove leftover :group keyword.
9089 2013-07-06 Leo Liu <sdl.web@gmail.com>
9091 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
9092 (ido-enable-virtual-buffers): New variable.
9093 (ido-buffer-internal, ido-toggle-virtual-buffers)
9094 (ido-make-buffer-list): Use it.
9095 (ido-exhibit): Support turning on and off virtual buffers
9098 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
9100 * simple.el (alternatives-define): New macro.
9102 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
9104 * subr.el (read-quoted-char): Use read-key.
9105 (sit-for): Let read-event decode tty input (bug#14782).
9107 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
9109 * calendar/todo-mode.el: Add handling of file deletion, both by
9110 mode command and externally. Fix various related bugs.
9111 Clarify Commentary and improve some documentation strings and code.
9112 (todo-delete-file): New command.
9113 (todo-check-file): New function.
9114 (todo-show): Handle external deletion of the file we're trying to
9115 show (bug#14688). Replace called-interactively-p by an optional
9116 prefix argument to avoid problematic interaction with catch form
9117 when byte compiled (bug#14702).
9118 (todo-quit): Handle external deletion of the archive's todo file.
9119 Make sure the buffer that was visiting the archive file is still
9120 live before trying to bury it.
9121 (todo-category-completions): Handle external deletion of any
9122 category completion files.
9123 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
9124 of todo files, in case of external deletion.
9125 (todo-add-file): Replace unnecessary setq by let-binding.
9126 (todo-find-archive): Check whether there are any archives.
9127 Replace unnecessary setq by let-binding.
9128 (todo-archive-done-item): Use find-file-noselect to get the
9129 archive buffer whether or not the archive already exists.
9130 Remove superfluous code. Use file size instead of buffer-file-name to
9131 check if the archive is new; if it is, update list of archives.
9132 (todo-default-todo-file): Allow nil to be a valid value for when
9133 there are no todo files.
9134 (todo-reevaluate-default-file-defcustom): Use corrected definition
9135 of todo-default-todo-file.
9136 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
9137 (todo-delete-category, todo-show-categories-table)
9138 (todo-category-number): Clarify comment.
9139 (todo-filter-items): Clarify documentation string.
9140 (todo-show-current-file, todo-display-as-todo-file)
9141 (todo-reset-and-enable-done-separator): Tweak documentation string.
9142 (todo-done-separator): Make separator length window-width, since
9143 bug#2749 is now fixed.
9145 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9147 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9148 Support both "gvfs-monitor-dir" and "inotifywait".
9149 (tramp-sh-file-inotifywait-process-filter): Rename from
9150 `tramp-sh-file-notify-process-filter'.
9151 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9152 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9154 2013-07-05 Leo Liu <sdl.web@gmail.com>
9156 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9158 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9160 * frame.el (display-pixel-height, display-pixel-width)
9161 (display-mm-height, display-mm-width): Mention behavior on
9162 multi-monitor setups in docstrings.
9163 (w32-display-monitor-attributes-list): Declare function.
9164 (display-monitor-attributes-list): Use it.
9166 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9168 * filenotify.el: New package.
9170 * autorevert.el (top): Require filenotify.el.
9171 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9173 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9174 (auto-revert-notify-handler): Use `file-notify-*' functions.
9176 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9178 * net/tramp.el (tramp-file-name-for-operation):
9179 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9181 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9182 for `file-notify-add-watch' and `file-notify-rm-watch'.
9183 (tramp-process-sentinel): Improve trace.
9184 (tramp-sh-handle-file-notify-add-watch)
9185 (tramp-sh-file-notify-process-filter)
9186 (tramp-sh-handle-file-notify-rm-watch)
9187 (tramp-get-remote-inotifywait): New defuns.
9189 2013-07-03 Juri Linkov <juri@jurta.org>
9191 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9192 call of `occur-read-primary-args' to interactive spec.
9194 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9195 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9197 2013-07-03 Matthias Meulien <orontee@gmail.com>
9199 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9200 `Buffer-menu-multi-occur'. Add it to the menu.
9201 (Buffer-menu-mode): Document it in docstring.
9202 (Buffer-menu-multi-occur): New command. (Bug#14673)
9204 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9206 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9207 keywords and built-ins.
9209 2013-07-03 Glenn Morris <rgm@gnu.org>
9211 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9213 Make info-xref checks case-sensitive by default
9214 * info.el (Info-find-node, Info-find-in-tag-table)
9215 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9216 Add option for exact case matching of nodes.
9217 * info-xref.el (info-xref): New custom group.
9218 (info-xref-case-fold): New option.
9219 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9221 2013-07-03 Leo Liu <sdl.web@gmail.com>
9223 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9225 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9227 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9228 middle of block statement initially, lower the depth. Remove
9229 FIXME comment, not longer valid. Remove middle of block statement
9230 detection, no need to do that anymore since we've been using
9231 `ruby-parse-region' here.
9233 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9235 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9237 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9239 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9241 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9243 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9244 (desktop-restore-in-current-display): New customization option.
9245 (desktop--excluded-frame-parameters): Add `font'.
9246 (desktop--save-frames): Rename from desktop--save-windows.
9247 (desktop--restore-in-this-display-p): New function.
9248 (desktop--make-full-frame): Remove unwanted width/height from
9249 full(width|height) frames.
9250 (desktop--restore-frames): Rename from desktop--restore-windows.
9251 Obey desktop-restore-current-display. Do not delete old frames or
9252 select a new frame unless we were able to restore at least one frame.
9254 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9256 * files.el (find-file-noselect): Simplify conditional expression.
9258 * textmodes/remember.el (remember-append-to-file):
9259 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9261 Add `remember-notes' function to store random notes across Emacs
9263 * textmodes/remember.el (remember-data-file): Add :set callback to
9264 affect notes buffer (if any).
9265 (remember-notes): New command.
9266 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9267 New defcustoms for the `remember-notes' function.
9268 (remember-notes-save-and-bury-buffer): New command.
9269 (remember-notes-mode-map): New variable.
9270 (remember-mode): New minor mode.
9271 (remember-notes--kill-buffer-query): New function.
9272 * startup.el (initial-buffer-choice): Add notes to custom type.
9274 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9276 * bindings.el (right-char, left-char): Don't call sit-for, this is
9277 no longer needed. Use arithmetic comparison only for numerical
9280 * international/mule-cmds.el (select-safe-coding-system):
9281 Handle the case of FROM being a string correctly. (Bug#14755)
9283 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9285 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9286 progression on degenerate tables.
9287 (shr-rescale-image): ImageMagick animated images currently don't work.
9289 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9291 Some fixes and improvements for desktop frame restoration.
9292 It is still experimental and disabled by default.
9293 * desktop.el (desktop--save-windows): Put the selected frame at
9294 the head of the list.
9295 (desktop--make-full-frame): New function.
9296 (desktop--restore-windows): Try to re-select the frame that was
9297 selected upon saving. Do not abort if some frames fail to restore,
9298 just show an error message and continue. Set up maximized frames
9299 so they have default non-maximized dimensions.
9301 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9303 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9304 Don't start heredoc inside a string or comment.
9306 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9308 * bindings.el (visual-order-cursor-movement): New defcustom.
9309 (right-char, left-char): Provide visual-order cursor motion by
9310 calling move-point-visually. Update the doc strings.
9312 2013-06-28 Kenichi Handa <handa@gnu.org>
9314 * international/mule.el (define-coding-system): New coding system
9315 properties :inhibit-null-byte-detection,
9316 :inhibit-iso-escape-detection, and :prefer-utf-8.
9317 (set-buffer-file-coding-system): If :charset-list property of
9318 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9319 appropriate for setting.
9321 * international/mule-cmds.el (select-safe-coding-system):
9322 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9323 multibyte characters, return utf-8 (or one of its siblings).
9325 * international/mule-conf.el (prefer-utf-8): New coding system.
9326 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9329 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9331 * net/shr.el (shr-render-region): New function.
9333 * net/eww.el: Autoload `eww-browse-url'.
9335 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9337 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9338 Adapt to `package-desc-version' being a list.
9339 Use `package--ac-desc-version' to retrieve version from a package
9342 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9344 New experimental feature to save&restore window and frame setup.
9345 * desktop.el (desktop-save-windows): New defcustom.
9346 (desktop--saved-states): New var.
9347 (desktop--excluded-frame-parameters): New defconst.
9348 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9349 (desktop--restore-windows, desktop--save-windows): New functions.
9350 (desktop-save): Call `desktop--save-windows'.
9351 (desktop-read): Call `desktop--restore-windows'.
9353 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9355 * net/shr.el (add-face-text-property): Remove compat definition.
9357 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9359 * info.el (Info-try-follow-nearest-node): Move search for footnote
9360 above search for node name to prevent missing a footnote (bug#14717).
9362 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9364 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9366 2013-06-27 Leo Liu <sdl.web@gmail.com>
9368 * net/eww.el (eww-read-bookmarks): Check file size.
9370 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9372 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9373 advice--pending if newdef is nil or an autoload (bug#13820).
9374 (advice-mapc): New function.
9376 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9378 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9380 (eww-mode-map): Add a menu bar.
9381 (eww-add-bookmark): New command.
9382 (eww-bookmark-mode): New mode and commands.
9383 (eww-add-bookmark): Remove newlines from the title.
9384 (eww-bookmark-browse): Don't bug out if it's the only window.
9386 2013-06-26 Glenn Morris <rgm@gnu.org>
9388 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9389 (hfy-size): Handle ttys. (Bug#14668)
9391 * info-xref.el: Update for Texinfo 5 change in *note format.
9392 (info-xref-node-re, info-xref-note-re): New constants.
9393 (info-xref-check-buffer): Use info-xref-note-re.
9395 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9397 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9399 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9400 nil terminate the loop (bug#14718).
9402 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9404 * net/eww.el: Rework history traversal. When going forward/back,
9405 put these actions into the history, too, so that they can be
9407 (eww-render): Move the history reset to the correct buffer.
9409 2013-06-25 Juri Linkov <juri@jurta.org>
9411 * files-x.el (modify-dir-local-variable): Change the header comment
9412 in the file with directory local variables. (Bug#14692)
9414 * files-x.el (read-file-local-variable-value): Add `default'.
9417 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9419 * net/eww.el (eww-make-unique-file-name): Create a unique file
9420 name before saving to entering `y' accidentally asynchronously.
9422 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9424 * net/eww.el (eww-download): New command and keystroke.
9426 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9428 * net/eww.el (eww-copy-page-url): Change name of command.
9430 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9431 be more consistent with Info and dired.
9433 * net/eww.el (eww-mode-map): Ditto.
9435 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9437 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9438 packages from archives.
9439 (package-archive-contents): Change format; include obsolete packages.
9440 (package-desc): Use `dir' to mark builtin packages.
9441 (package--from-builtin): Set the `dir' field to `builtin'.
9442 (generated-autoload-file, version-control): Declare.
9443 (package-compute-transaction): Change first arg and return value to be
9444 lists of package-descs. Adjust to new package-archive-contents format.
9445 (package--add-to-archive-contents): Adjust to new
9446 package-archive-contents format.
9447 (package-download-transaction): Arg is now a list of package-descs.
9448 (package-install): If `pkg' is a package name, pass it as
9449 a requirement, so it is subject to the usual (e.g. disabled) checks.
9450 (describe-package): Accept package-desc as well.
9451 (describe-package-1): Describe a specific package-desc. Add links to
9452 other package-descs for the same package name.
9453 (package-menu-describe-package): Pass the actual package-desc.
9454 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9456 (package-desc-status): New function.
9457 (package-menu--refresh): New function, extracted
9458 from package-menu--generate.
9459 (package-menu--generate): Use it.
9460 (package-delete): Update package-alist.
9461 (package-menu-execute): Don't call package-initialize.
9463 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9464 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9465 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9466 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9467 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9468 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9470 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9472 * window.el (window--state-get-1): Workaround for bug#14527.
9473 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9475 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9477 * net/eww.el (eww-back-url): Implement the history by stashing all
9478 the data into a list.
9479 (eww-forward-url): Allow going forward in the history, too.
9481 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9483 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9484 for values and use read--expression for expressions (bug#14710).
9485 (read-file-local-variable): Avoid setq.
9486 (read-file-local-variable-mode): Use minor-mode-list.
9488 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9490 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9493 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9495 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9496 Update imenu-support when dialect changes.
9498 2013-06-25 Leo Liu <sdl.web@gmail.com>
9500 * ido.el (ido-read-internal): Allow forward slash on windows.
9502 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9504 * net/eww.el (eww): Start of strings is \\`, not ^.
9506 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9508 * net/shr.el (shr-browse-url): Fix interactive spec.
9510 * net/eww.el (eww): Add a trailing slash to domain names.
9512 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9514 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9516 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9518 * net/shr.el (shr-browse-url): Use an external browser if given a
9521 * net/eww.el (eww-external-browser): Move to shr.
9523 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9525 * net/eww.el (eww): Work more correctly for file: URLs.
9526 (eww-detect-charset): Allow quoted charsets.
9527 (eww-yank-page-url): New command and keystroke.
9529 2013-06-24 Daiki Ueno <ueno@gnu.org>
9531 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9532 file name of gpg executable.
9533 (epg-context-program): New function.
9534 (epg-context-home-directory): New function.
9535 (epg-context-set-program): New function.
9536 (epg-context-set-home-directory): New function.
9537 (epg--start): Use `epg-context-program' instead of
9539 (epg--list-keys-1): Likewise.
9541 2013-06-24 Leo Liu <sdl.web@gmail.com>
9543 * ido.el (ido-read-internal): Fix bug#14620.
9545 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9547 * faces.el (face-documentation): Simplify.
9548 (read-face-attribute, tty-find-type, x-resolve-font-name):
9549 Use `string-match-p'.
9550 (list-faces-display): Use `string-match-p'. Simplify.
9551 (face-spec-recalc): Check face to avoid face alias loops.
9552 (read-color): Use `string-match-p' and non-capturing parenthesis.
9554 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9556 * net/shr.el (shr-rescale-image): Use the new
9557 :max-width/:max-height functionality.
9559 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9561 * net/eww.el (eww-search-prefix): New variable.
9563 (eww-external-browser): New variable.
9564 (eww-mode-map): New keystroke.
9565 (eww-browse-with-external-browser): New command.
9567 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9569 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9571 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9572 Don't skip aligning the next header field when padding is 0;
9573 otherwise, field width is not respected unless the title is as
9576 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9578 * emacs-lisp/package.el (package-el-version): Remove.
9579 (package-process-define-package): Fix inf-loop.
9580 (package-install): Allow symbols as arguments again.
9582 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9584 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9585 add some more keyword-like methods.
9586 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9588 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9590 * bs.el (bs-buffer-show-mark): Make defvar-local.
9591 (bs-mode): Use setq-local.
9593 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9594 (emacs-lock--try-unlocking): Make defvar-local.
9596 2013-06-22 Glenn Morris <rgm@gnu.org>
9598 * play/cookie1.el (cookie-apropos): Minor simplification.
9600 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9602 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9604 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9605 `regexp-opt', it breaks the build during dumping.
9607 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9609 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9610 Highlight keyword-like methods on Kernel and Module with
9611 font-lock-builtin-face.
9612 (auto-mode-alist): Consolidate different entries into one regexp
9613 and add more *file-s.
9615 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9617 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9619 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9620 (diary-entry): Use it in the action of this button type instead of
9623 * calendar/todo-mode.el: New version.
9624 (todo-add-category): Append new category to end of file and give
9625 it the highest number, instead of putting it at the beginning and
9626 giving it 0. Incorporate noninteractive functionality.
9627 (todo-forward-category): Adapt to 1-based category numbering.
9628 Allow skipping over archived categories.
9629 (todo-backward-category): Derive from todo-forward-category.
9630 (todo-backward-item, todo-forward-item): Make noninteractive and
9631 delegate interactive part to new commands. Make sensitive to done items.
9632 (todo-categories): Make value an alist of category names and
9633 vectors of item counts.
9634 (todo-category-beg): Make a defconst.
9635 (todo-category-number): Use 1 instead of 0 as initial value.
9636 (todo-category-select): Make sensitive to overlays, optional item
9637 highlighting and done items.
9638 (todo-delete-item): Make sensitive to overlays and marked and done items.
9639 (todo-edit-item): Make sensitive to overlays and editing of
9640 date/time header optional. Add format checks.
9641 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9642 no-op if point is not on an item. Advertise using todo-edit-quit.
9643 (todo-edit-mode): Make sensitive to new format, font-locking, and
9644 multiple todo files.
9645 (todo-insert-item, todo-insert-item-here): Derive from
9646 todo-basic-insert-item and extend functionality.
9647 (todo-item-end, todo-item-start): Make sensitive to done items.
9648 (todo-item-string): Don't return text properties. Restore point.
9649 (todo-jump-to-category): Make sensitive to multiple todo files and
9650 todo archives. Use extended category completion.
9651 (todo-lower-item, todo-raise-item): Rename to *-priority and
9652 derive from todo-set-item-priority.
9653 (todo-mode): Derive from special-mode. Make sensitive to new
9654 format, font-locking and multiple todo files. Make read-only.
9655 (todo-mode-map): Don't suppress digit keys, so they can supply
9656 prefix arguments. Add many new key bindings.
9657 (todo-prefix): Insert as an overlay instead of file text.
9658 Change semantics from diary date expression to purely visual mark.
9659 (todo-print): Rename to todo-print-buffer. Make buffer display
9660 features printable. Remove option to restrict number of items
9661 printed. Add option to print to file.
9662 (todo-print-function): Rename to todo-print-buffer-function.
9663 (todo-quit): Extend to handle exiting new todo modes.
9664 (todo-remove-item): Make sensitive to overlays.
9665 (todo-save): Extend to buffers of filtered items.
9666 (todo-show): Make sensitive to done items, multiple todo files and
9667 new todo modes. Offer to convert legacy todo file before creating
9668 first new todo file.
9669 (todo-show-priorities): Rename to todo-top-priorities.
9670 Change semantics of value 0.
9671 (todo-top-priorities): Rename to todo-filter-top-priorities,
9672 derive from todo-filter-items and extend functionality.
9673 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9674 and extend functionality to other types of filtered items.
9675 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9676 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9677 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9678 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9679 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9680 (todo-edit-mode-hook, todo-entry-prefix-function)
9681 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9682 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9683 (todo-initials, todo-insert-threshold, todo-item-string-start)
9684 (todo-line-string, todo-menu, todo-mode-hook)
9685 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9686 (todo-print-priorities, todo-remove-separator)
9687 (todo-save-top-priorities-too, todo-string-count-lines)
9688 (todo-string-multiline-p, todo-time-string-format)
9689 (todo-tmp-buffer-name): Remove.
9690 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9691 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9692 (todo-edit-category-diary-inclusion)
9693 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9694 (todo-edit-file, todo-edit-item-date-day)
9695 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9696 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9697 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9698 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9699 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9700 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9701 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9702 (todo-filter-top-priorities-multifile, todo-find-archive)
9703 (todo-find-filtered-items-file, todo-go-to-source-item)
9704 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9705 (todo-jump-to-archive-category, todo-lower-category)
9706 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9707 (todo-move-category, todo-move-item, todo-next-button)
9708 (todo-next-item, todo-padded-string, todo-powerset)
9709 (todo-previous-button, todo-previous-item)
9710 (todo-print-buffer-to-file, todo-raise-category)
9711 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9712 (todo-set-category-number, todo-set-item-priority)
9713 (todo-set-top-priorities-in-category)
9714 (todo-set-top-priorities-in-file, todo-show-categories-table)
9715 (todo-sort-categories-alphabetically-or-numerically)
9716 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9717 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9718 (todo-toggle-item-header, todo-toggle-item-highlighting)
9719 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9720 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9721 (todo-unarchive-items, todo-unmark-category): New commands.
9722 (todo-absolute-file-name, todo-add-to-buffer-list)
9723 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9724 (todo-basic-insert-item, todo-category-completions)
9725 (todo-category-number, todo-category-string-matcher-1)
9726 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9727 (todo-check-format, todo-clear-matches)
9728 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9729 (todo-current-category, todo-date-string-matcher)
9730 (todo-define-insertion-command, todo-diary-expired-matcher)
9731 (todo-diary-goto-entry, todo-diary-item-p)
9732 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9733 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9734 (todo-done-item-section-p, todo-done-separator)
9735 (todo-done-string-matcher, todo-files, todo-filter-items)
9736 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9737 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9738 (todo-insert-category-line, todo-insert-item-from-calendar)
9739 (todo-insert-sort-button, todo-insert-with-overlays)
9740 (todo-insertion-command-name, todo-insertion-key-bindings)
9741 (todo-label-to-key, todo-longest-category-name-length)
9742 (todo-make-categories-list, todo-mode-external-set)
9743 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9744 (todo-modes-set-3, todo-multiple-filter-files)
9745 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9746 (todo-read-category, todo-read-date, todo-read-dayname)
9747 (todo-read-file-name, todo-read-time)
9748 (todo-reevaluate-category-completions-files-defcustom)
9749 (todo-reevaluate-default-file-defcustom)
9750 (todo-reevaluate-filelist-defcustoms)
9751 (todo-reevaluate-filter-files-defcustom)
9752 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9753 (todo-reset-done-separator, todo-reset-done-separator-string)
9754 (todo-reset-done-string, todo-reset-global-current-todo-file)
9755 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9756 (todo-reset-prefix, todo-set-categories)
9757 (todo-set-date-from-calendar, todo-set-show-current-file)
9758 (todo-set-top-priorities, todo-short-file-name)
9759 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9760 (todo-total-item-counts, todo-update-buffer-list)
9761 (todo-update-categories-display, todo-update-categories-sexp)
9762 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9764 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9766 (todo-categories, todo-display, todo-edit, todo-faces)
9767 (todo-filtered): New defgroups.
9768 (todo-archived-only, todo-button, todo-category-string, todo-date)
9769 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9770 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9771 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9772 (todo-add-item-if-new-category, todo-always-add-time-string)
9773 (todo-categories-align, todo-categories-archived-label)
9774 (todo-categories-category-label, todo-categories-diary-label)
9775 (todo-categories-done-label, todo-categories-number-separator)
9776 (todo-categories-todo-label, todo-categories-totals-label)
9777 (todo-category-completions-files, todo-completion-ignore-case)
9778 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9779 (todo-done-separator-string, todo-done-string)
9780 (todo-files-function, todo-filter-done-items, todo-filter-files)
9781 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9782 (todo-initial-category, todo-initial-file, todo-item-mark)
9783 (todo-legacy-date-time-regexp, todo-mode-line-function)
9784 (todo-nondiary-marker, todo-number-prefix)
9785 (todo-print-buffer-function, todo-show-current-file)
9786 (todo-show-done-only, todo-show-first, todo-show-with-done)
9787 (todo-skip-archived-categories, todo-top-priorities-overrides)
9788 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9789 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9791 (todo-category-done, todo-date-pattern, todo-date-string-start)
9792 (todo-diary-items-buffer, todo-done-string-start)
9793 (todo-filtered-items-buffer, todo-item-start)
9794 (todo-month-abbrev-array, todo-month-name-array)
9795 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9796 (todo-top-priorities-buffer): New defconsts.
9797 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9798 (todo-categories-with-marks, todo-category-string-face)
9799 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9800 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9801 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9802 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9803 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9804 (todo-font-lock-keywords, todo-global-current-todo-file)
9805 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9806 (todo-insertion-commands-args)
9807 (todo-insertion-commands-args-genlist)
9808 (todo-insertion-commands-names, todo-insertion-map)
9809 (todo-key-bindings-t, todo-key-bindings-t+a)
9810 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9811 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9812 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9813 (todo-visited): New variables.
9815 2013-06-21 Glenn Morris <rgm@gnu.org>
9817 * play/cookie1.el (cookie-apropos): Add optional display argument.
9818 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9819 (psychoanalyze-pinhead): Use cookie-doctor.
9821 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9823 * emacs-lisp/package.el (tar-get-file-descriptor)
9824 (tar--extract): Declare.
9826 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9828 Extend flymake's warning predicate to be a function (bug#14217).
9829 * progmodes/flymake.el (flymake-warning-predicate): New.
9830 (flymake-parse-line): Use it.
9831 (flymake-warning-re): Make obsolete alias to
9832 `flymake-warning-predicate'.
9834 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9836 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9837 (package-obsolete-list): Remove.
9838 (package-activate): Remove min-version argument. Add `force' argument.
9839 Adjust to new package-alist format.
9840 (package-mark-obsolete): Remove.
9841 (package-unpack): Force reload of the package's autoloads.
9842 (package-installed-p): Check builtins if the installed package is not
9844 (package-initialize): Don't reset package-obsolete-list.
9845 Don't specify which package version to activate.
9846 (package-process-define-package, describe-package-1)
9847 (package-menu--generate): Adjust to new package-alist format.
9849 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9851 * allout-widgets.el (allout-widgets-mode-off)
9852 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9853 (allout-widgets-post-command-business)
9854 (allout-widgets-after-copy-or-kill-function)
9855 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9856 (allout-decorate-item-and-context)
9857 (allout-graphics-modification-handler): Fix typos in docstrings.
9858 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9860 * cmuscheme.el (scheme-start-file): Doc fix.
9861 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9862 (scheme-input-filter): Use `string-match-p'.
9864 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9866 * dired-x.el: Use Dired consistently in docstrings.
9868 * dired.el: Use Dired consistently in docstrings.
9869 (dired-readin, dired-mode): Use `setq-local'.
9870 (dired-switches-alist): Make defvar-local.
9871 (dired-buffers-for-dir): Use `zerop'.
9872 (dired-safe-switches-p, dired-switches-escape-p)
9873 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9874 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9875 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
9876 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9877 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9878 (dired-toggle-marks, dired-mark-files-containing-regexp)
9879 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9880 (dired-flag-auto-save-files, dired-flag-backup-files):
9882 (dired-mark-files-regexp, dired-build-subdir-alist):
9883 Use `string-match-p', `looking-at-p'.
9885 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9886 (direct-print-region-helper): Use `string-match-p'.
9888 2013-06-21 Leo Liu <sdl.web@gmail.com>
9890 * comint.el (comint-redirect-results-list-from-process):
9893 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9895 * net/eww.el (eww-update-header-line-format): Quote % characters.
9897 2013-06-21 Glenn Morris <rgm@gnu.org>
9899 * play/cookie1.el (cookie): New custom group.
9900 (cookie-file): New option.
9901 (cookie-check-file): New function.
9902 (cookie): Make it interactive. Make start and end messages optional.
9903 Interactively, display the result. Default to cookie-file.
9904 (cookie-insert): Default to cookie-file.
9905 (cookie-snarf): Make start and end messages optional.
9906 Default to cookie-file. Use with-temp-buffer.
9907 (cookie-read): Rename from read-cookie.
9908 Make start and end messages optional. Default to cookie-file.
9909 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9911 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9912 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9914 2013-06-21 Leo Liu <sdl.web@gmail.com>
9916 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9918 2013-06-21 Glenn Morris <rgm@gnu.org>
9920 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9922 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9923 Daniel Hackney <dan@haxney.org>
9925 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9926 Consolidate the single-file vs tarball code.
9927 (package-desc-suffix): New function.
9928 (package-desc-full-name): Don't bother inlining it.
9929 (package-load-descriptor): Return the new package-desc.
9930 (package-mark-obsolete): Remove unused arg `package'.
9931 (package-unpack): Make it work for single files as well.
9932 Make it update package-alist.
9933 (package--make-autoloads-and-stuff): Rename from
9934 package--make-autoloads-and-compile. Don't compile any more.
9935 (package--compile): New function.
9936 (package-generate-description-file): New function, extracted from
9937 package-unpack-single.
9938 (package-unpack-single): Remove.
9939 (package--with-work-buffer): Add indentation and debugging info.
9940 (package-download-single): Remove.
9941 (package-install-from-archive): Rename from package-download-tar, make
9942 it take a pkg-desc, and make it work for single files as well.
9943 (package-download-transaction): Simplify.
9944 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9945 external tar program.
9946 (package-install-from-buffer): Remove `pkg-desc' argument.
9947 Use package-tar-file-info for tar-mode buffers.
9948 (package-install-file): Simplify accordingly.
9949 (package-archive-base): Change to take a pkg-desc.
9950 * tar-mode.el (tar--check-descriptor): New function, extracted from
9952 (tar-get-descriptor): Use it.
9953 (tar-get-file-descriptor): New function.
9954 (tar--extract): New function, extracted from tar-extract.
9955 (tar--extract): Use it.
9956 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9957 case the summary uses non-ascii. Adjust to new calling convention of
9958 package-tar-file-info.
9960 2013-06-21 Leo Liu <sdl.web@gmail.com>
9962 * comint.el (comint-redirect-results-list-from-process):
9963 Fix random delay. (Bug#14681)
9965 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9967 * profiler.el (profiler-format-number): Use log, not log10.
9969 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9971 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9973 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9975 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9976 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9978 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9979 (AUTOGENEL): ... here.
9980 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9981 (cl--defsubst-expand): Use it.
9983 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9985 * subr.el (log10): Move here from C code, and declare as obsolete.
9986 All uses of (log10 X) replaced with (log X 10).
9988 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9990 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9991 Declare with `defvar-local'.
9992 (tabulated-list-use-header-line, tabulated-list-entries)
9993 (tabulated-list-padding, tabulated-list-printer)
9994 (tabulated-list-sort-key): Declare with `defvar-local'.
9995 (tabulated-list-init-header, tabulated-list-print-fake-header):
9998 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
10000 * arc-mode.el (archive-mode): Add `archive-write-file' to
10001 `write-contents-functions' also for remote files. (Bug#14652)
10003 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
10005 * cus-edit.el (custom-commands): Fix typos.
10006 (custom-display): Fix tooltip text.
10007 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
10008 Fix typos in docstrings.
10009 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
10010 (custom-unlispify-menu-entry, custom-magic-value-create)
10011 (custom-add-see-also, custom-group-value-create): Use ?\s.
10012 (custom-guess-type, customize-apropos, editable-field)
10013 (custom-face-value-create): Use `string-match-p'.
10014 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
10016 * custom.el (custom-load-symbol): Use `string-match-p'.
10018 * ansi-color.el: Convert to lexical binding.
10019 (ansi-colors): Fix URL.
10020 (ansi-color-context, ansi-color-context-region): Use defvar-local.
10021 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
10022 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
10024 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10026 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
10028 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
10030 2013-06-19 Tom Tromey <tromey@redhat.com>
10032 * net/eww.el (eww-top-url): Remove.
10033 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
10034 (eww-render): Set new variables. Don't set eww-top-url.
10035 (eww-handle-link): Handle "prev", "home", and "contents".
10036 Downcase the rel text.
10037 (eww-top-url): Choose best top URL.
10039 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10041 * net/eww.el: Rewrite to implement form elements "by hand" instead of
10042 relying in widget.el. Using widget.el leads to too many
10043 user interface inconsistencies.
10044 (eww-self-insert): Implement entering commands in text fields.
10045 (eww-process-text-input): New function to make text input field editing
10047 (eww-submit): Rewrite to use the new-style form methods.
10048 (eww-select-display): Display the correct selected item.
10049 (eww-change-select): Implement changing the select value.
10050 (eww-toggle-checkbox): Implement radio/checkboxes.
10051 (eww-update-field): Fix compilation error.
10052 (eww-tag-textarea): Implement <textarea>.
10054 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
10055 we don't shadow mode-specific bindings.
10057 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
10060 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
10062 2013-06-19 Glenn Morris <rgm@gnu.org>
10064 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
10066 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10068 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
10071 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
10073 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
10075 * net/browse-url.el (browse-url-browser-function):
10076 `eww-browse-url' has the right calling signature, `eww' does not.
10078 2013-06-19 Glenn Morris <rgm@gnu.org>
10080 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10081 Only eval autoloaded macros.
10082 (byte-compile-autoload): Only give the macro warning for macros.
10084 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
10085 (ps-underlined-faces): Declare.
10087 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
10088 (speedbar-add-supported-extension): Declare.
10090 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
10091 Don't include a date stamp in the header of the generated file;
10092 it leads to needless differences between output files.
10094 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
10096 * net/secrets.el (secrets-struct-secret-content-type):
10097 Replace check of introspection data by a test call of "CreateItem".
10098 Some servers do not offer introspection.
10100 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
10102 * electric.el (electric-pair-mode): Improve interaction with
10103 electric-layout-mode.
10104 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
10105 (electric-pair-syntax): Use text-mode-syntax-table in comments
10107 (electric-pair--insert): New function.
10108 (electric-pair-post-self-insert-function): Use it and
10109 electric--after-char-pos.
10111 2013-06-19 Leo Liu <sdl.web@gmail.com>
10113 * progmodes/octave.el (octave-help): Fix regexp.
10115 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
10117 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
10118 (shr-table-horizontal-line): Allow nil as a value, and change the
10120 (shr-insert-table-ruler): Respect the nil value.
10122 2013-06-18 Tom Tromey <tromey@barimba>
10124 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10126 (eww-open-file): New defun.
10127 (eww-render): Initialize new variables.
10128 (eww-display-html): Handle "link" and "a".
10129 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
10130 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
10131 (eww-back-url): Rename from eww-previous-url.
10132 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
10135 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
10137 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
10138 Distinguish ternary operator tokens from slash symbol and slash
10141 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10143 Convert symbol prettification into minor mode and global minor mode.
10145 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10146 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10147 (prettify-symbols--keywords): Rename from
10148 `prog-prettify-symbols-alist' and make a local defvar.
10149 (prettify-symbols--compose-symbol): Rename from
10150 `prog--prettify-font-lock-compose-symbol'.
10151 (prettify-symbols--make-keywords): Rename from
10152 `prog-prettify-font-lock-symbols-keywords' and simplify.
10153 (prog-prettify-install): Remove.
10154 (prettify-symbols-mode): New minor mode, based on
10155 `prog-prettify-install'.
10156 (turn-on-prettify-symbols-mode): New function.
10157 (global-prettify-symbols-mode): New globalized minor mode.
10159 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10160 * progmodes/cfengine.el (cfengine3-mode):
10161 * progmodes/perl-mode.el (perl-mode): Don't call
10162 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10164 2013-06-18 Juri Linkov <juri@jurta.org>
10166 * files-x.el (modify-file-local-variable-message): New function.
10167 (modify-file-local-variable)
10168 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10169 and call `modify-file-local-variable-message' when it's non-nil.
10170 (add-file-local-variable, delete-file-local-variable)
10171 (add-file-local-variable-prop-line)
10172 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10173 and use it. (Bug#9820)
10175 2013-06-18 Juri Linkov <juri@jurta.org>
10177 * emulation/vi.el (vi-shell-op):
10178 * emulation/vip.el (vip-execute-com, ex-command):
10179 * emulation/viper-cmd.el (viper-exec-bang):
10180 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10181 the call of `shell-command-on-region'. (Bug#14637)
10183 * simple.el (shell-command-on-region): Doc fix.
10185 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10187 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10190 2013-06-18 Glenn Morris <rgm@gnu.org>
10192 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10194 * newcomment.el (comment-search-forward, comment-search-backward):
10195 Doc fix. (Bug#14376)
10197 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10199 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10200 (buffer-face-mode-invoke): Doc fix.
10202 2013-06-18 Matthias Meulien <orontee@gmail.com>
10204 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10205 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10207 2013-06-18 Glenn Morris <rgm@gnu.org>
10209 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10210 Replace obsolete function generic-make-keywords with its expansion.
10212 * progmodes/python.el (ffap-alist): Declare.
10214 * textmodes/reftex.el (bibtex-mode-map): Declare.
10216 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10218 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10219 (package-unpack, package-unpack-single): Return the pkg-dir.
10220 (package-download-transaction): Use it to update package-alist.
10222 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10224 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10227 2013-06-17 Juri Linkov <juri@jurta.org>
10229 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10231 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10233 * emacs-lisp/package.el (package-load-descriptor):
10234 Remove `with-syntax-table' call, `read' doesn't need it.
10235 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10237 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10239 * startup.el (command-line): Expand package name returned by
10240 `package--description-file' (bug#14639).
10242 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10244 * emacs-lisp/package.el (package-load-descriptor): Do not call
10245 `emacs-lisp-mode', just use its syntax table.
10247 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10249 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10250 `font-lock-extra-managed-props' if any prettifying keyword is added.
10251 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10252 (prog-mode): Use `setq-local'.
10254 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10256 * international/characters.el (standard-case-table): Set syntax of ?»
10257 and ?« to punctuation.
10259 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10261 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10262 Save relevant match data before calling `syntax-ppss' (bug#14595).
10264 2013-06-15 Juri Linkov <juri@jurta.org>
10266 * files-x.el (modify-file-local-variable-prop-line): Add local
10267 variables to the end of the existing comment on the first line.
10268 Use `file-auto-mode-skip' to skip interpreter magic line,
10269 and also skip XML declaration.
10271 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10273 * startup.el (package--builtin-versions): New var.
10274 (package-subdirectory-regexp): Remove.
10275 (package--description-file): Hard code its value instead.
10277 * emacs-lisp/package.el: Don't activate packages older than builtin.
10278 (package-obsolete-list): Rename from package-obsolete-alist, and make
10279 it into a simple list of package-desc.
10280 (package-strip-version): Remove.
10281 (package-built-in-p): Use package--builtin-versions.
10282 (package-mark-obsolete): Simplify.
10283 (package-process-define-package): Mark it obsolete if older than the
10285 (package-handle-response): Use line-end-position.
10286 (package-read-archive-contents, package--download-one-archive):
10288 (package--add-to-archive-contents): Skip if older than the builtin or
10290 (package-menu-describe-package): Fix last change.
10291 (package-list-unversioned): New var.
10292 (package-menu--generate): Use it.
10294 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10295 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10296 (autoload-builtin-package-versions): New variable.
10297 (autoload-generate-file-autoloads): Use them.
10298 Remove the list of autoloaded functions/macros from the
10299 (autoload...) comments.
10301 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10303 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10305 * simple.el (line-move-partial): Don't jump to the next screen
10306 line as soon as it becomes visible. Instead, continue enlarging
10307 the vscroll until the portion of a tall screen line that's left on
10308 display is about the height of the frame's default font.
10311 2013-06-15 Glenn Morris <rgm@gnu.org>
10313 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10314 compilation-error-regexp-alist void, or local while let-bound.
10316 * progmodes/make-mode.el (makefile-mode-syntax-table):
10317 Treat "=" as punctuation. (Bug#14614)
10319 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10321 * help-fns.el (describe-variable):
10322 Add extra line for permanent-local variables.
10324 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10326 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10327 Add export, import, library. (Bug#9164)
10328 (library): Set indent function.
10330 2013-06-14 Glenn Morris <rgm@gnu.org>
10332 * term/xterm.el (xterm--query):
10333 Stop after first matching handler. (Bug#14615)
10335 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10337 Add support for dired in saveplace.
10338 * dired.el (dired-initial-position-hook): New variable.
10339 (dired-initial-position): Call hook to place cursor position.
10340 * saveplace.el (save-place-to-alist): Add dired position.
10341 (save-place-dired-hook): New function.
10343 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10345 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10346 through a symbol rather than letrec.
10348 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10349 (package-desc): Add `dir' field.
10350 (package-desc-full-name): New function.
10351 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10352 (package-maybe-load-descriptor): Remove.
10353 (package-load-all-descriptors): Just call package-load-descriptor.
10354 (package--disabled-p): New function.
10355 (package-desc-vers, package-desc-doc): Remove aliases.
10356 (package--dir): Remove function.
10357 (package-activate): Check if a package is disabled.
10358 (package-process-define-package): New function, extracted from
10360 (define-package): Turn into a place holder.
10361 (package-unpack-single, package-tar-file-info):
10362 Use package--description-file.
10363 (package-compute-transaction): Use package--disabled-p.
10364 (package-download-transaction): Don't call
10365 package-maybe-load-descriptor since they're all loaded anyway.
10366 (package-install): Change argument to be a pkg-desc.
10367 (package-delete): Use a single pkg-desc argument.
10368 (describe-package-1): Use package-desc-dir instead of package--dir.
10369 Use package-desc property instead of package-symbol.
10370 (package-install-button-action): Adjust accordingly.
10371 (package--push): Rewrite.
10372 (package-menu--print-info): Adjust accordingly. Change the ID format
10374 (package-menu-describe-package, package-menu-get-status)
10375 (package-menu--find-upgrades, package-menu-mark-upgrades)
10376 (package-menu-execute, package-menu--name-predicate):
10377 Adjust accordingly.
10378 * startup.el (package--description-file): New function.
10379 (command-line): Use it.
10380 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10381 Use package-desc-version.
10383 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10384 (byte-compile-preprocess): Use it.
10385 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10386 can't quite recognize.
10387 (byte-compile-add-to-list): Remove.
10388 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10389 (cconv-closure-convert): Add assertion.
10391 * emacs-lisp/map-ynp.el: Use lexical-binding.
10392 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10393 Factor out some repeated code.
10395 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10397 * subr.el (with-eval-after-load): New macro.
10398 (eval-after-load): Allow form to be a function.
10399 take advantage of lexical-binding.
10400 (do-after-load-evaluation): Use dolist and adjust to new format.
10401 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10403 2013-06-13 Juri Linkov <juri@jurta.org>
10405 * replace.el (perform-replace): Display "symbol " and other search
10406 modes from `isearch-message-prefix' in the *Help* buffer.
10408 * isearch.el (isearch-query-replace): Add " symbol" and other
10409 possible search modes from `isearch-message-prefix' to the prompt.
10410 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10411 when reading a regexp to collect.
10413 2013-06-13 Juri Linkov <juri@jurta.org>
10415 * isearch.el (word-search-regexp): Match whitespace if the search
10416 string begins or ends in whitespace. The LAX arg is applied to
10417 both ends of the search string. Use `regexp-quote' and explicit
10418 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10419 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10420 boundaries are replaced with symbol boundaries, and characters
10421 between symbols match non-word non-symbol syntax. (Bug#14602)
10423 2013-06-13 Juri Linkov <juri@jurta.org>
10425 * isearch.el (isearch-del-char): Don't exceed the length of
10426 `isearch-string' by the prefix arg. (Bug#14563)
10428 2013-06-13 Juri Linkov <juri@jurta.org>
10430 * isearch.el (isearch-yank-word, isearch-yank-line)
10431 (isearch-char-by-name, isearch-quote-char)
10432 (isearch-printing-char, isearch-process-search-char):
10433 Add optional count prefix arg. (Bug#14563)
10435 * international/isearch-x.el
10436 (isearch-process-search-multibyte-characters):
10437 Add optional count prefix arg.
10439 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10441 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10442 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10445 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10447 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10449 2013-06-13 Glenn Morris <rgm@gnu.org>
10451 * startup.el (tty-handle-args):
10452 Don't just discard "--" and anything after. (Bug#14608)
10454 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10456 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10458 Implement changes in Secret Service API. Make it backward compatible.
10459 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10460 (secrets-create-item): Use it. Prefix properties with interface.
10462 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10464 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10465 (term-emulate-terminal): Respect term-suppress-hard-newline.
10467 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10469 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10470 Only remove a `thumb-file' overlay. (Bug#14548)
10472 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10474 * mail/reporter.el (reporter-submit-bug-report):
10475 Handle missing package-name. (Bug#14600)
10477 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10479 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10480 (reftex-citation-prompt, reftex-default-bibliography)
10481 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10482 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10483 (reftex-bib-sort-author, reftex-bib-sort-year)
10484 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10485 (reftex-extract-bib-entries-from-thebibliography)
10486 (reftex-get-bibkey-default, reftex-get-bib-names)
10487 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10488 (reftex-format-bib-entry, reftex-parse-bibitem)
10489 (reftex-format-bibitem, reftex-do-citation)
10490 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10491 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10492 (reftex-insert-bib-matches, reftex-format-citation)
10493 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10494 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10495 existing comments into docstrings.
10497 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10499 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10501 2013-06-12 Andreas Schwab <schwab@suse.de>
10503 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10504 for auto-save files.
10506 2013-06-12 Glenn Morris <rgm@gnu.org>
10508 * ido.el (ido-delete-ignored-files): Remove.
10509 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10510 Go back to calling ido-ignore-item-p directly.
10512 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10514 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10516 * ido.el (ido-delete-ignored-files): New function,
10517 split from ido-make-file-list-1.
10518 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10519 (ido-make-file-list-1): Use ido-delete-ignored-files.
10521 2013-06-12 Leo Liu <sdl.web@gmail.com>
10523 * progmodes/octave.el (inferior-octave-startup)
10524 (inferior-octave-completion-table)
10525 (inferior-octave-track-window-width-change)
10526 (octave-eldoc-function-signatures, octave-help)
10527 (octave-find-definition): Use single quoted strings.
10528 (inferior-octave-startup-args): Change default value.
10529 (inferior-octave-startup): Do not hard code "-i" and
10530 "--no-line-editing".
10531 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10532 (inferior-octave-directory-tracker): Use it.
10533 (octave-goto-function-definition): Robustify.
10534 (octave-help): Support highlighting operators in 'See also'.
10535 (octave-find-definition): Find subfunctions only in Octave mode.
10537 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10539 * help-fns.el (help-fns--compiler-macro): If the handler function is
10540 named, then put a link to it.
10541 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10542 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10543 (cl-typep): Use it.
10544 (cl-eval-when): Simplify debug spec.
10545 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10546 compiler-macro function instead of setting `compiler-macro-file'.
10548 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10550 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10551 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10553 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10554 Daniel Hackney <dan@haxney.org>
10556 First part of Daniel Hackney's patch to package.el.
10557 * emacs-lisp/package.el: Use defstruct.
10558 (package-desc): New, main struct.
10559 (package--bi-desc, package--ac-desc): New structs, used to describe the
10560 format in external files.
10561 (package-desc-vers): Replace with package-desc-version accessor.
10562 (package-desc-doc): Replace with package-desc-summary accessor.
10563 (package-activate-1): Remove `package' arg since the pkg-vec now
10565 (define-package): Use package-desc-from-define.
10566 (package-unpack-single): Change file-name arg to be a symbol.
10567 (package--add-to-archive-contents): Use package-desc-create and new
10568 accessor functions to package--ac-desc.
10569 (package-buffer-info, package-tar-file-info): Return a package-desc.
10570 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10571 arg to be a package-desc.
10572 (package-install-file): Adjust accordingly. Use \' to match EOS.
10573 (package--from-builtin): New function.
10574 (describe-package-1, package-menu--generate): Use it.
10575 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10576 (package-generate-autoloads): Idem and return the name of the file.
10577 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10578 Change pkg-info arg to be a package-desc.
10579 Use package-make-ac-desc.
10580 (package-upload-file): Use \' to match EOS.
10581 * finder.el (finder-compile-keywords): Use package-make-builtin.
10583 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10585 * vc/vc.el (vc-deduce-fileset): Change error message.
10586 (vc-read-backend): New function.
10587 (vc-next-action): Use it.
10589 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10591 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10592 (prolog-font-lock-keywords): Use regexp-opt instead.
10593 Don't manually highlight strings.
10594 (prolog-mode-variables): Simplify comment-start-skip.
10595 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10597 * emacs-lisp/generic.el (generic--normalise-comments)
10598 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10599 (generic-mode-set-comments): Use them.
10600 (generic-bracket-support): Use setq-local.
10601 (generic-make-keywords-list): Declare obsolete.
10603 2013-06-11 Glenn Morris <rgm@gnu.org>
10605 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10606 Prettify after setting font-lock-defaults. (Bug#14574)
10608 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10610 * replace.el (query-replace, occur-read-regexp-defaults-function)
10612 * subr.el (declare-function, number-sequence, local-set-key)
10613 (substitute-key-definition, locate-user-emacs-file)
10614 (with-silent-modifications, split-string, eval-after-load):
10615 Fix typos, remove unneeded backslashes and reflow some docstrings.
10617 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10619 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10620 default for Elisp files.
10622 2013-06-11 Glenn Morris <rgm@gnu.org>
10624 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10625 although define-derived-mode was doing this anyway. (Bug#14583)
10627 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10629 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10630 Fix make-variable-buffer-local call to refer to the correct variable.
10632 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10634 * eshell/em-term.el (eshell-visual-commands)
10635 (eshell-visual-subcommands, eshell-visual-options):
10636 Add summary line to docstrings. Add cross-references.
10638 2013-06-10 Glenn Morris <rgm@gnu.org>
10640 * epa.el (epa-read-file-name): New function. (Bug#14510)
10641 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10643 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10645 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10646 output redirection to be ignored with visual commands.
10648 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10650 * eshell/em-term.el (eshell-visual-command-p): New function.
10651 (eshell-term-initialize): Move long lambda to separate function
10652 eshell-visual-command-p.
10653 * eshell/em-dirs.el (eshell-dirs-initialize):
10654 * eshell/em-script.el (eshell-script-initialize):
10655 Add missing #' to lambda.
10657 2013-06-08 Leo Liu <sdl.web@gmail.com>
10659 * progmodes/octave.el (octave-add-log-current-defun): New function.
10660 (octave-mode): Set add-log-current-defun-function.
10661 (octave-goto-function-definition): Do not move point if not found.
10662 (octave-find-definition): Enhance to try subfunctions first.
10664 2013-06-08 Glenn Morris <rgm@gnu.org>
10666 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10667 (byte-compile-backward-char, byte-compile-backward-word):
10668 Improve previous change, to handle non-explicit nil.
10670 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10672 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10673 (smie--opener/closer-at-point): New function.
10674 (smie--matching-block-data): Use it. Don't match from right after an
10675 opener or right before a closer. Obey smie-blink-matching-inners.
10676 Don't signal a mismatch for repeated inners like "switch..case..case".
10678 2013-06-07 Leo Liu <sdl.web@gmail.com>
10680 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10682 (octave-function-header-regexp): Fix. (Bug#14570)
10683 (octave-help-mode-finish-hook, octave-help-mode-finish):
10684 Remove. Just use temp-buffer-show-hook.
10686 * newcomment.el (comment-search-backward): Revert last change.
10689 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10691 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10693 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10694 through xargs, to avoid failure due to MS-Windows limitations on
10695 command-line length.
10697 2013-06-06 Glenn Morris <rgm@gnu.org>
10699 * font-lock.el (lisp-font-lock-keywords-2):
10700 Treat user-error like error.
10702 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10703 (byte-compile-backward-char, byte-compile-backward-word):
10704 Handle explicit nil arguments. (Bug#14565)
10706 2013-06-05 Alan Mackenzie <acm@muc.de>
10708 * isearch.el (isearch-allow-prefix): New user option.
10709 (isearch-other-meta-char): Don't exit isearch when a prefix
10710 argument is typed whilst `isearch-allow-prefix' is non-nil.
10713 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10715 * autorevert.el (auto-revert-notify-handler): Use memq.
10716 Hide assertion failure.
10718 * skeleton.el: Use cl-lib.
10719 (skeleton-further-elements): Use defvar-local.
10720 (skeleton-insert): Use cl-progv.
10722 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10724 * progmodes/prog-mode.el (prog-prettify-symbols)
10725 (prog-prettify-install): Update docstrings.
10727 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10729 * simple.el: Move all the prog-mode code to prog-mode.el.
10730 * progmodes/prog-mode.el: New file.
10731 * loadup.el: Add prog-mode.el.
10733 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10735 * simple.el (prog-prettify-symbols): Add version.
10736 (prog-prettify-install): Add convenience function to prettify symbols.
10738 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10739 (perl--augmented-font-lock-keywords-1)
10740 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10741 variables and use it.
10743 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10744 (cfengine3-mode): Remove unneeded variable and use it.
10746 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10747 (lisp--augmented-font-lock-keywords-1)
10748 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10749 Remove unneeded variables and use it.
10751 2013-06-05 João Távora <joaotavora@gmail.com>
10753 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10754 to point when opening the connection. (Bug#14380)
10756 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10758 * subr.el (load-history-regexp, load-history-filename-element)
10759 (eval-after-load, after-load-functions, do-after-load-evaluation)
10760 (eval-next-after-load, display-delayed-warnings)
10761 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10762 definition of save-match-data.
10763 (overriding-local-map): Remove accidental obsolescence declaration.
10765 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10767 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10769 Generalize symbol prettify support to prog-mode and implement it
10770 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10771 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10772 (prog--prettify-font-lock-compose-symbol)
10773 (prog-prettify-font-lock-symbols-keywords): New variables and
10774 functions to support symbol prettification.
10775 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10776 (lisp--augmented-font-lock-keywords-1)
10777 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10778 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10779 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10780 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10781 Implement prettify of -> => :: strings.
10782 * progmodes/perl-mode.el (perl-prettify-symbols)
10783 (perl--font-lock-compose-symbol)
10784 (perl--font-lock-symbols-keywords): Move to prog-mode.
10785 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10786 (perl-font-lock-keywords-1)
10787 (perl-font-lock-keywords-2): Remove explicit prettify support.
10788 (perl--augmented-font-lock-keywords)
10789 (perl--augmented-font-lock-keywords-1)
10790 (perl--augmented-font-lock-keywords-2, perl-mode):
10791 Implement prettify support.
10793 2013-06-05 Leo Liu <sdl.web@gmail.com>
10795 Re-implement SMIE matching block highlight using
10796 show-paren-data-function. (Bug#14395)
10797 * emacs-lisp/smie.el (smie-matching-block-highlight)
10798 (smie--highlight-matching-block-overlay)
10799 (smie--highlight-matching-block-lastpos)
10800 (smie-highlight-matching-block)
10801 (smie-highlight-matching-block-mode): Remove.
10802 (smie--matching-block-data-cache): New variable.
10803 (smie--matching-block-data): New function.
10804 (smie-setup): Use smie--matching-block-data for
10805 show-paren-data-function.
10807 * progmodes/octave.el (octave-mode-menu): Fix.
10808 (octave-find-definition): Skip garbage lines.
10810 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10812 Fix compilation error with simultaneous dynamic+lexical scoping.
10813 Add warning when a defvar appears after the first let-binding.
10814 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10815 (byte-compile-close-variables): Initialize it.
10816 (byte-compile--declare-var): New function.
10817 (byte-compile-file-form-defvar)
10818 (byte-compile-file-form-define-abbrev-table)
10819 (byte-compile-file-form-custom-declare-variable): Use it.
10820 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10821 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10822 (byte-compile-bind): Handle dynamic bindings that shadow
10824 (byte-compile-unbind): Make arg non-optional.
10825 (byte-compile-let): Simplify.
10826 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10827 (cconv--analyse-function, cconv-analyse-form): Populate it.
10828 Protect byte-compile-bound-variables to limit the scope of defvars.
10829 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10830 Remove unneeded rule for `declare'.
10832 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10833 so as to avoid depending on cl-adjoin at run-time.
10834 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10836 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10837 (macroexp--warn-and-return): Use it.
10839 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10841 * subr.el: Convert to lexical binding.
10842 (overriding-local-map): Make obsolete.
10843 (add-to-list): Doc fix. Add compiler macro.
10844 (read-key): Swap values of local maps.
10846 2013-06-05 Leo Liu <sdl.web@gmail.com>
10848 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10850 2013-06-04 Leo Liu <sdl.web@gmail.com>
10852 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10853 (compilation-auto-jump): Suppress the "Mark set" message to give
10854 way to exit message.
10856 2013-06-04 Alan Mackenzie <acm@muc.de>
10858 Remove faulty optimisation from indentation calculation.
10859 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10860 search limit based on 2000 characters back from indent-point.
10862 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10864 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10866 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10868 * emacs-lisp/lisp.el: Use lexical-binding.
10869 (lisp--local-variables-1, lisp--local-variables): New functions.
10870 (lisp--local-variables-completion-table): New var.
10871 (lisp-completion-at-point): Use it complete let-bound vars.
10873 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10874 eagerly (bug#14422).
10876 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10878 * autorevert.el (auto-revert-notify-enabled)
10879 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10880 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10881 (auto-revert-notify-handler): Handle also gfilenotify.
10883 * subr.el (file-notify-handle-event): New defun. Replacing ...
10884 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10887 2013-06-03 Juri Linkov <juri@jurta.org>
10889 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10890 `M-s h .'. (Bug#14427)
10892 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10893 command `hi-lock-face-symbol-at-point'.
10894 (hi-lock-face-symbol-at-point): New command.
10895 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10896 (hi-lock-menu): Add `highlight-symbol-at-point'.
10897 (hi-lock-mode): Doc fix.
10899 * isearch.el (isearch-forward-symbol-at-point): New command.
10900 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10901 (isearch-highlight-regexp): Add a regexp which matches
10902 words/symbols for word/symbol mode.
10904 * subr.el (find-tag-default-bounds): New function with the body
10905 mostly moved from `find-tag-default'.
10906 (find-tag-default): Move most code to `find-tag-default-bounds',
10907 call it and apply `buffer-substring-no-properties' afterwards.
10909 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10911 * eshell/em-term.el (eshell-term-initialize):
10912 Use `cl-intersection' rather than `intersection'.
10914 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10916 * vc/log-view.el: Doc fix.
10917 (log-view-mode-map): Copy keymap from `special-mode-map'.
10919 2013-06-02 Eric Ludlam <zappo@gnu.org>
10921 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10922 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10923 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10924 (eieio-unbound, eieio-default-superclass)
10925 (eieio--define-field-accessors, method-static, method-before)
10926 (method-primary, method-after, method-num-lists)
10927 (method-generic-before, method-generic-primary)
10928 (method-generic-after, method-num-slots)
10929 (eieio-specialized-key-to-generic-key)
10930 (eieio--check-type, class-v, class-p)
10931 (eieio-class-name, define-obsolete-function-alias)
10932 (eieio-class-parents-fast, eieio-class-children-fast)
10933 (same-class-fast-p, class-constructor, generic-p)
10934 (generic-primary-only-p, generic-primary-only-one-p)
10935 (class-option-assoc, class-option, eieio-object-p)
10936 (class-abstract-p, class-method-invocation-order)
10937 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10938 (eieio-class-un-autoload, eieio-defclass)
10939 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10940 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10941 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10942 (eieio-defgeneric-reset-generic-form)
10943 (eieio-defgeneric-form-primary-only)
10944 (eieio-defgeneric-reset-generic-form-primary-only)
10945 (eieio-defgeneric-form-primary-only-one)
10946 (eieio-defgeneric-reset-generic-form-primary-only-one)
10947 (eieio-unbind-method-implementations)
10948 (eieio--defmethod, eieio--typep)
10949 (eieio-perform-slot-validation, eieio-validate-slot-value)
10950 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10951 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10952 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10953 (eieio-slot-name-index, eieio-class-slot-name-index)
10954 (eieio-set-defaults, eieio-initarg-to-attribute)
10955 (eieio-attribute-to-initarg, eieio-c3-candidate)
10956 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10957 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10958 (eieio-class-precedence-list, eieio-generic-call-methodname)
10959 (eieio-generic-call-arglst, eieio-generic-call-key)
10960 (eieio-generic-call-next-method-list)
10961 (eieio-pre-method-execution-functions, eieio-generic-call)
10962 (eieio-generic-call-primary-only, eieiomt-method-list)
10963 (eieiomt-optimizing-obarray, eieiomt-install)
10964 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10965 (eieio-generic-form, eieio-defmethod, make-obsolete)
10966 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10967 (defclass): Remove `eval-and-compile' from macro.
10968 (call-next-method, shared-initialize): Instead of using
10969 `scoped-class' variable, use new eieio--scoped-class, and
10970 eieio--with-scoped-class.
10971 (initialize-instance): Rename local variable 'scoped-class' to
10972 'this-class' to remove ambiguitity from old global.
10974 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10976 (eieio--scoped-class-stack): New variable.
10977 (eieio--scoped-class): New fcn.
10978 (eieio--with-scoped-class): New scoping macro.
10979 (eieio-defclass): Use pushnew instead of add-to-list.
10980 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10981 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10982 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10983 `scoped-class' variable, use new eieio--scoped-class, and
10984 eieio--with-scoped-class.
10986 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10988 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10990 * eshell/esh-ext.el (eshell-external-command): Pass args to
10991 `eshell-find-interpreter'.
10992 (eshell-find-interpreter): Add new second parameter ARGS.
10994 * eshell/em-script.el (eshell-script-initialize): Add second arg
10995 to the function added as MATCH to `eshell-interpreter-alist'.
10997 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10998 the function added as MATCH to `eshell-interpreter-alist'.
11000 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
11001 (eshell-visual-options): New defcustom.
11002 (eshell-escape-control-x): Adapt docstring.
11003 (eshell-term-initialize): Test `eshell-visual-subcommands' and
11004 `eshell-visual-options' in addition to `eshell-visual-commands'.
11005 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
11007 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
11009 * progmodes/python.el (python-indent-block-enders): Add break,
11010 continue and raise keywords.
11012 2013-06-01 Glenn Morris <rgm@gnu.org>
11014 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
11016 Plain (f)boundp silences compilation warnings since Emacs 22.1.
11017 * progmodes/cc-cmds.el (delete-forward-p):
11018 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
11019 * progmodes/cc-engine.el (buffer-syntactic-context):
11020 * progmodes/cc-fonts.el (face-property-instance):
11021 * progmodes/cc-mode.el (set-keymap-parents):
11022 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
11023 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
11024 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
11025 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
11026 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
11028 * progmodes/cc-vars.el (other): Emacs has this widget since
11029 at least 21.1, so don't (re)define it.
11031 * eshell/em-cmpl.el (eshell-cmpl-initialize):
11032 Replace the obsolete alias pcomplete-arg-quote-list.
11034 2013-06-01 Leo Liu <sdl.web@gmail.com>
11036 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
11037 punctuation syntax.
11038 (inferior-octave-minimal-columns)
11039 (inferior-octave-last-column-width): New variables.
11040 (inferior-octave-track-window-width-change): New function.
11041 (inferior-octave-mode): Adjust column width so that Octave output,
11042 for example from 'ls', can fit into the window nicely.
11044 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11046 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11047 Highlight expansions inside regexp literals.
11049 2013-05-31 Glenn Morris <rgm@gnu.org>
11051 * obsolete/sym-comp.el (symbol-complete):
11052 Replace obsolete completion-annotate-function.
11054 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
11056 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
11058 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
11059 New function, checks if point is inside a literal that allows
11060 expression expansion.
11061 (ruby-syntax-propertize-expansion): Use it.
11062 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
11065 2013-05-30 Juri Linkov <juri@jurta.org>
11067 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
11069 (isearch-invisible): New variable.
11070 (isearch-forward): Doc fix.
11071 (isearch-mode): Set `isearch-invisible'
11072 to the value of `search-invisible'.
11073 (isearch-toggle-case-fold): Doc fix.
11074 (isearch-toggle-invisible): New command.
11075 (isearch-query-replace): Let-bind `search-invisible'
11076 to the value of `isearch-invisible'.
11077 (isearch-search): Use `isearch-invisible' instead of
11078 `search-invisible'. Let-bind `search-invisible'
11079 to the value of `isearch-invisible'. (Bug#11378)
11081 2013-05-30 Juri Linkov <juri@jurta.org>
11083 * replace.el (perform-replace): Avoid `isearch-range-invisible'
11084 call when `query-flag' is nil and `search-invisible' is non-nil.
11087 2013-05-30 Glenn Morris <rgm@gnu.org>
11089 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
11091 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
11092 (cc-require): Suppress spurious "noruntime" warnings.
11093 (cc-require-when-compile): Use fboundp, for sake of compiler.
11095 * progmodes/cc-mode.el: Move load of cc-vars before that of
11096 cc-langs (which in turn loads cc-vars), to quieten compiler.
11098 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11100 * paren.el: Simplify the code.
11101 (show-paren-mode): Always start the timer.
11102 (show-paren--idle-timer): Rename from show-paren-idle-timer.
11103 (show-paren--overlay, show-paren--overlay-1): Rename from
11104 show-paren-overlay and show-paren-overlay-1, and initialize to an
11105 overlay rather than to nil.
11106 (show-paren-function): Misc cleanup and simplifications.
11108 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
11110 * paren.el (show-paren-data-function): New hook.
11111 (show-paren--default): New function, extracted from show-paren-function.
11112 (show-paren-function): Use show-paren-data-function.
11114 2013-05-30 Glenn Morris <rgm@gnu.org>
11116 * ielm.el (ielm-map, ielm-complete-symbol):
11117 Use completion-at-point rather than obsolete functions.
11118 (inferior-emacs-lisp-mode): Doc fix.
11119 Set completion-at-point-functions, rather than
11120 comint-dynamic-complete-functions.
11122 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
11123 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
11124 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
11126 * image.el (image-animated-p): Tweak definition.
11128 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
11129 (rlogin-process-connection-type): Tweak default. Add set-after.
11130 (rlogin-host): Doc fix.
11131 (rlogin): Tweak prompt.
11132 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
11134 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
11135 * progmodes/tcl.el (inferior-tcl-mode-map):
11136 Use completion-at-point rather than obsolete alias.
11138 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11140 * minibuffer.el (read-file-name-completion-ignore-case):
11141 Move before completion--in-region, for eager macro expansion.
11143 2013-05-29 Juri Linkov <juri@jurta.org>
11145 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11146 for total count of matching lines. Add `global-matches' for total
11147 count of matches. Rename `matches' to `lines' for count of
11148 matching lines. Add `matches' for count of matches.
11149 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11150 to `prev-line' for line number of prev match endpt.
11151 Increment `matches' for every match. Print the number of
11152 matching lines in the header.
11153 (occur-context-lines): Rename `lines' to `curr-line'.
11154 Rename `prev-lines' to `prev-line'. (Bug#14017)
11156 2013-05-29 Juri Linkov <juri@jurta.org>
11158 * replace.el (perform-replace): Add `skip-read-only-count',
11159 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11160 Increment them for corresponding conditions and report the number
11161 of skipped occurrences in the final message. (Bug#11746)
11162 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11163 (replace-string, replace-regexp): Doc fix.
11165 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11167 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11169 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11170 prog-mode-map (bug#14504).
11172 2013-05-29 Leo Liu <sdl.web@gmail.com>
11174 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11175 (octave-help): Small simplification.
11177 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11178 off the highlight first.
11180 2013-05-29 Glenn Morris <rgm@gnu.org>
11182 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11183 Handle idlwave-last-system-routine-info-cons-cell being nil.
11185 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11186 (idlwave-write-paths): Simplify via with-temp-buffer.
11188 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11189 * emulation/cua-rect.el: Also load cua-base at run time.
11191 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11192 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11193 (cperl-imenu-on-info): Require imenu.
11195 2013-05-28 Alan Mackenzie <acm@muc.de>
11197 Handle "capitalised keywords" correctly.
11198 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11200 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11202 * eshell/em-unix.el: Add -r option to cp.
11204 2013-05-28 Glenn Morris <rgm@gnu.org>
11206 * vc/vc-arch.el (vc-exec-after): Declare.
11207 (vc-switches): Autoload.
11208 * vc/vc-bzr.el: No need to require vc when compiling.
11209 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11210 (vc-resynch-buffer, vc-dir-refresh): Declare.
11211 (vc-setup-buffer, vc-switches): Autoload.
11212 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11213 (vc-resynch-buffer): Declare.
11214 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11215 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11216 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11217 (grep-read-regexp, grep-read-files, grep-expand-template)
11218 (vc-dir-refresh): Declare.
11219 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11220 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11221 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11222 * vc/vc-mtn.el (vc-exec-after): Declare.
11223 (vc-switches): Autoload.
11224 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11225 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11226 (vc-file-tree-walk): Declare.
11227 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11228 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11229 (vc-tag-precondition, vc-rename-master): Autoload.
11230 * vc/vc-svn.el (vc-exec-after): Declare.
11231 (vc-switches, vc-setup-buffer): Autoload.
11232 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11234 (vc-resynch-buffer): Declare.
11236 * obsolete/fast-lock.el (byte-compile-warnings):
11237 Don't warn about obsolete features in this obsolete file.
11239 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11240 Move definition before use.
11242 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11243 (dun-unix-verbs): Remove dun-zippy.
11244 (dun-zippy): Remove function.
11246 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11248 2013-05-27 Juri Linkov <juri@jurta.org>
11250 * replace.el (replace-search): New function with code moved out
11251 from `perform-replace'.
11252 (replace-highlight, replace-dehighlight): Move function definitions
11253 up closer to `replace-search'. (Bug#11746)
11255 2013-05-27 Juri Linkov <juri@jurta.org>
11257 * replace.el (perform-replace): Ignore invisible matches.
11258 In addition to checking `query-replace-skip-read-only', also
11259 filter out matches by calling `run-hook-with-args-until-failure'
11260 on `isearch-filter-predicates', and also check `search-invisible'
11261 for t or call `isearch-range-invisible'.
11262 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11264 2013-05-27 Juri Linkov <juri@jurta.org>
11266 * isearch.el (isearch-filter-predicates): Rename from
11267 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11268 (isearch-message-prefix): Display text from the property
11269 `isearch-message-prefix' of the currently active filters.
11270 (isearch-search): Don't compare `isearch-filter-predicate' with
11271 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11272 on `isearch-filter-predicates'. Also check `search-invisible' for t
11273 or call `isearch-range-invisible'.
11274 (isearch-filter-visible): Make obsolete.
11275 (isearch-lazy-highlight-search):
11276 Call `run-hook-with-args-until-failure' on
11277 `isearch-filter-predicates' and use `isearch-range-invisible'.
11279 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11280 `isearch-filter-predicates' instead of `funcall'ing
11281 `isearch-filter-predicate'.
11282 (Info-mode): Set `Info-isearch-filter' to
11283 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11285 * dired-aux.el (dired-isearch-filter-predicate-orig):
11287 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11288 (dired-isearch-filenames-end): Add and remove
11289 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11290 instead of changing the value of `isearch-filter-predicate'.
11291 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11292 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11293 Put property `isearch-message-prefix' to "filename " on
11294 `dired-isearch-filter-filenames'.
11296 * wdired.el (wdired-change-to-wdired-mode):
11297 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11298 locally instead of changing `isearch-filter-predicate'.
11299 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11301 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11303 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11304 return the commit hash (Bug#14459). Also set the
11305 `vc-git-detached' property.
11306 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11307 (vc-git-mode-line-string): Use the same help-echo format whether
11308 in detached mode or not, because we know the actual revision now.
11309 When in detached mode, shorten the revision to 7 chars.
11311 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11313 * emacs-lisp/easy-mmode.el (define-minor-mode):
11314 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11315 mode hook and provide a docstring.
11317 2013-05-27 Alan Mackenzie <acm@muc.de>
11319 Remove spurious syntax-table text properties inserted by C-y.
11320 * progmodes/cc-mode.el (c-after-change): Also clear hard
11321 syntax-table property with value nil.
11323 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11325 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11326 when reading the events; the buffer layout shall not be changed.
11328 2013-05-27 Leo Liu <sdl.web@gmail.com>
11330 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11332 (inferior-octave-directory-tracker): Automatically re-sync
11334 (octave-help): Improve handling of 'See also'.
11336 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11338 * doc-view.el: Minor naming convention tweaks.
11339 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11341 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11342 even if there's no `display' property yet (bug#14435).
11344 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11346 * subr.el (unmsys--file-name): Rename from reveal-filename.
11348 * Makefile.in (custom-deps, finder-data, autoloads)
11349 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11350 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11351 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11353 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11355 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11356 error-completion on the first 2 args of condition-case (bug#14446).
11359 2013-05-25 Leo Liu <sdl.web@gmail.com>
11361 * comint.el (comint-previous-matching-input): Do not flood the
11362 *Messages* buffer with trivial messages.
11364 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11366 * progmodes/flymake.el (flymake-nop): Don't return a string.
11367 (flymake-set-at): Fix typo.
11369 * simple.el (read--expression): New function, extracted from
11370 eval-expression. Set completion-at-point-functions (bug#14465).
11371 (eval-expression, eval-minibuffer): Use it.
11373 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11375 * progmodes/flymake.el (flymake-save-buffer-in-file)
11376 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11377 (flymake-selected-frame, flymake-log, flymake-ins-after)
11378 (flymake-set-at, flymake-get-buildfile-from-cache)
11379 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11380 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11381 Refine the doc string.
11382 (flymake-get-file-name-mode-and-masks): Reformat.
11383 (flymake-get-real-file-name-function): Fix a minor bug.
11385 2013-05-24 Juri Linkov <juri@jurta.org>
11387 * progmodes/grep.el (grep-mode-font-lock-keywords):
11388 Support =linenumber= format used by git-grep for lines with
11389 function names. (Bug#13549)
11391 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11393 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11394 0 after a semi-colon; it works better for smie-auto-fill.
11395 (octave--indent-new-comment-line): New function.
11396 (octave-indent-new-comment-line): Use it (indirectly).
11397 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11398 modify comment-line-break-function.
11400 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11401 (smie-setup): Use add-function to set it.
11403 2013-05-24 Sam Steingold <sds@gnu.org>
11405 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11406 argument (before the `interactive' argument).
11408 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11410 * image-mode.el (image-mode-winprops): Add winprops to
11411 image-mode-winprops-alist before running
11412 image-mode-new-window-functions.
11413 * doc-view.el (doc-view-new-window-function): Don't delay
11414 doc-view-goto-page via timers (bug#14435).
11416 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11418 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11419 (doc-view-desktop-save-buffer): New function.
11420 (doc-view-restore-desktop-buffer): New function.
11421 (desktop-buffer-mode-handlers):
11422 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11424 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11425 `desktop-save-buffer' function.
11427 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11429 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11430 (tramp-gvfs-file-name-handler): Raise a user error when
11431 `tramp-gvfs-enabled' is nil.
11432 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11433 Do not raise a user error when loading package. (Bug#14447)
11435 * net/xesam.el: Move to obsolete/.
11437 2013-05-24 Glenn Morris <rgm@gnu.org>
11439 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11441 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11443 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11444 (Info-find-node, Man-getpage-in-background): Declare.
11446 * mail/unrmail.el (unrmail):
11447 Replace obsolete detect-coding-with-priority.
11449 * net/socks.el (socks-split-string): Use this rather than split-string.
11450 (socks-nslookup-host): Update for above change.
11451 (dynamic-choice, s5-dynamic-choice-match)
11452 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11453 Comment out unused code.
11455 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11456 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11457 (gud-tooltip-echo-area): Make obsolete.
11458 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11460 * progmodes/js.el (js--optimize-arglist): Declare.
11462 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11464 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11465 (ediff-window-C): Declare.
11467 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11468 Tweak requires to silence compiler.
11470 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11471 (he-search-string, he-tried-table, he-expand-list)
11472 (he-init-string, he-string-member, he-substitute-string)
11473 (he-reset-string): Declare.
11475 * obsolete/options.el (list-options): Use custom-variable-p,
11476 rather than obsolete alias.
11478 2013-05-23 Sam Steingold <sds@gnu.org>
11480 * simple.el (shell-command-on-region): Pass the `replace' argument
11481 down to `call-process-region' to comply with the doc as reported on
11482 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11484 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11486 * emacs-lisp/smie.el (smie-indent-forward-token)
11487 (smie-indent-backward-token): Handle string tokens (bug#14381).
11489 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11491 * ielm.el (ielm-menu): New menu.
11492 (inferior-emacs-lisp-mode): Set comment-start.
11494 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11496 * textmodes/reftex.el (reftex-ref-style-toggle):
11497 Fix deactivate action.
11499 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11500 Add cleveref macros.
11502 * textmodes/reftex-parse.el
11503 (reftex-locate-bibliography-files): Accept options for
11504 bibliography commands.
11505 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11506 Add addbibresource. Basic Biblatex support.
11508 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11510 * net/tramp-gvfs.el (top):
11511 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11512 when loading package. (Bug#14447)
11514 2013-05-23 Glenn Morris <rgm@gnu.org>
11516 * progmodes/js.el: No need to load comint when compiling.
11517 (ring-insert, comint-send-string, comint-send-input)
11518 (comint-last-input-end, ido-chop): Declare.
11520 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11521 * vc/ediff-mult.el: Adjust requires.
11522 (ediff-directories-internal, ediff-directory-revisions-internal)
11523 (ediff-patch-file-internal): Declare.
11524 * vc/ediff-ptch.el: Adjust requires.
11525 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11526 (ediff-find-file): Autoload.
11527 * vc/ediff-util.el: No need to load ediff when compiling.
11528 (ediff-regions-internal): Declare.
11529 * vc/ediff-wind.el: Adjust requires.
11530 (ediff-compute-toolbar-width): Define when compiling.
11531 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11532 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11533 (dired-get-filename, dired-get-marked-files)
11534 (ediff-last-dir-patch, ediff-patch-default-directory)
11535 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11536 (ediff-patch-buffer-internal): Declare.
11538 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11539 (ispell-process, ispell-buffer-local-words, lm-summary)
11540 (lm-section-start, lm-section-end): Declare.
11541 (checkdoc-ispell-init): Simplify.
11543 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11544 (he-string-member, he-reset-string, he-substitute-string): Declare.
11546 * eshell/em-ls.el: Adjust requires.
11547 (eshell-glob-regexp): Declare.
11548 * eshell/em-tramp.el: Adjust requires.
11549 (eshell-parse-command): Autoload.
11550 * eshell/em-xtra.el: Adjust requires.
11551 (eshell-parse-command): Autoload.
11552 * eshell/esh-ext.el: Adjust requires.
11553 (eshell-parse-command, eshell-close-handles): Autoload.
11554 * eshell/esh-io.el: Adjust requires.
11555 (eshell-output-filter): Autoload.
11556 * eshell/esh-util.el: No need to load tramp when compiling.
11557 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11559 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11560 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11561 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11562 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11563 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11564 * eshell/esh-opt.el, eshell/esh-proc.el:
11565 * eshell/esh-var.el: Adjust requires.
11566 * eshell/eshell.el: Do not require esh-util twice.
11567 (eshell-add-input-to-history): Declare.
11568 (eshell-command): Check history module is active before using it.
11570 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11572 2013-05-22 Leo Liu <sdl.web@gmail.com>
11574 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11576 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11578 * autorevert.el (auto-revert-notify-add-watch)
11579 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11580 it indicates changes in file modification time.
11582 2013-05-22 Glenn Morris <rgm@gnu.org>
11584 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11585 Always delete the autoloaded function from the noruntime and
11586 unresolved functions lists.
11588 * allout.el: No need to load epa, epg, overlay when compiling.
11589 (epg-context-set-passphrase-callback, epg-list-keys)
11590 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11591 (epg-key-user-id-list): Declare.
11593 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11594 (viper-set-parsing-style-toggling-macro)
11595 (viper-set-emacs-state-searchstyle-macros):
11596 Use called-interactively-p on Emacs.
11597 (viper-looking-back): Make it an obsolete alias. Update callers.
11598 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11599 Use looking-back rather than viper-looking-back.
11600 (viper-tmp-insert-at-eob, viper-enlarge-region)
11601 (viper-read-string-with-history, viper-register-to-point)
11602 (viper-append-to-register, viper-change-state-to-vi)
11603 (viper-backward-char-carefully, viper-forward-char-carefully)
11604 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11605 (viper-change-state-to-emacs): Declare.
11606 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11607 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11608 * emulation/viper-mous.el: Do not load viper-cmd.
11609 (viper-backward-char-carefully, viper-forward-char-carefully)
11610 (viper-forward-word, viper-adjust-window): Declare.
11612 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11614 * progmodes/idlw-help.el (idlwave-help-fontify):
11615 Use called-interactively-p.
11617 * term/w32console.el (w32-get-console-codepage)
11618 (w32-get-console-output-codepage): Declare.
11620 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11621 Remove unnecessary declarations.
11622 (dframe-message): Doc fix.
11624 * info.el (dframe-select-attached-frame, dframe-current-frame):
11627 * speedbar.el (speedbar-message): Make it an obsolete alias.
11628 Update all callers.
11629 (speedbar-with-attached-buffer)
11630 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11631 (speedbar-with-writable): Use backquote.
11632 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11633 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11634 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11635 rather than speedbar- aliases.
11636 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11637 (speedbar-make-specialized-keymap, speedbar-insert-button)
11638 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11639 (speedbar-do-function-pointer): Declare.
11640 (rmail-speedbar-button, rmail-speedbar-find-file)
11641 (rmail-speedbar-move-message):
11642 Use dframe-with-attached-buffer rather than speedbar- alias.
11643 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11644 (dframe-message, speedbar-make-specialized-keymap)
11645 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11646 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11647 (speedbar-insert-button, dframe-select-attached-frame)
11648 (dframe-maybee-jump-to-attached-frame)
11649 (speedbar-change-initial-expansion-list)
11650 (speedbar-previously-used-expansion-list-name): Declare.
11651 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11652 Use dframe-message, dframe-with-attached-buffer rather than
11654 (gud-sentinel): Silence compiler.
11655 * progmodes/vhdl-mode.el (speedbar-refresh)
11656 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11657 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11658 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11659 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11660 (speedbar-file-lists, speedbar-make-tag-line)
11661 (speedbar-line-directory, speedbar-goto-this-file)
11662 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11663 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11664 (speedbar-make-button, speedbar-reset-scanners)
11665 (speedbar-files-item-info, speedbar-line-text)
11666 (speedbar-find-file-in-frame, speedbar-set-timer)
11667 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11668 (speedbar-with-writable): Do not (re)define it.
11669 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11670 rather than speedbar- alias.
11672 2013-05-21 Leo Liu <sdl.web@gmail.com>
11674 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11676 (octave-mode): Tweak fill-nobreak-predicate.
11677 (inferior-octave-startup): Check process to avoid infinite loop.
11678 (inferior-octave): Pop to buffer first to show abornmal process
11681 2013-05-21 Glenn Morris <rgm@gnu.org>
11683 * printing.el (pr-menu-bar): Define when compiling.
11685 2013-05-21 Leo Liu <sdl.web@gmail.com>
11687 * progmodes/octave.el (octave-auto-fill): Remove.
11688 (octave-indent-new-comment-line): Improve.
11689 (octave-mode): Use auto fill mode through
11690 comment-line-break-function and fill-nobreak-predicate.
11691 (octave-goto-function-definition): Support DEFUN_DLD.
11692 (octave-beginning-of-defun): Small tweak.
11693 (octave-help): Show parent directory.
11695 2013-05-21 Glenn Morris <rgm@gnu.org>
11697 * files.el (dired-unmark):
11698 * progmodes/gud.el (gdb-input): Update declarations.
11700 * calculator.el (electric, ehelp): No need to load when compiling.
11701 (Electric-command-loop, electric-describe-mode): Declare.
11703 * doc-view.el (doc-view-current-converter-processes): Move before use.
11705 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11706 Move MODE-set-explicitly definition before use.
11708 * international/mule-diag.el (mule-diag):
11709 Don't use obsolete window-system-version.
11711 * mail/feedmail.el (smtpmail): No need to load when compiling.
11712 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11714 * mail/mail-utils.el (rfc822): No need to load when compiling.
11715 (rfc822-addresses): Autoload it.
11716 (mail-strip-quoted-names): Trivial simplification.
11718 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11719 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11721 * net/snmp-mode.el (tempo): Don't duplicate requires.
11723 * progmodes/prolog.el (info): No need to load when compiling.
11724 (comint): Require before shell requires it.
11725 (Info-goto-node): Autoload it.
11726 (Info-follow-nearest-node): Declare.
11727 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11729 * textmodes/artist.el (picture-mode-exit): Declare.
11731 * textmodes/reftex-parse.el (reftex-parse-from-file):
11732 Trivial rewrite so the compiler can parse it better.
11734 2013-05-20 Leo Liu <sdl.web@gmail.com>
11736 * progmodes/octave.el (octave-help-mode-map)
11737 (octave-help-mode-finish-hook): New variables.
11738 (octave-help-mode, octave-help-mode-finish): New functions.
11739 (octave-help): Use octave-help-mode.
11741 2013-05-20 Glenn Morris <rgm@gnu.org>
11743 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11745 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11747 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11748 start at point, so that expansion starting right after opening
11749 slash in a regexp is recognized.
11750 (ruby-syntax-before-regexp-re): New defvar, extracted from
11751 ruby-syntax-propertize-function. Since the value of this regexp
11752 is looked up at runtime now, we should be able to turn
11753 `ruby-syntax-methods-before-regexp' into a defcustom later.
11754 (ruby-syntax-propertize-function): Split regexp matching into two
11755 parts, for opening and closing slashes. That allows us to skip
11756 over string interpolations and support multiline regexps.
11757 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11758 for them, which calls `ruby-syntax-propertize-expansion'.
11759 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11760 call to `ruby-syntax-propertize-function'.
11761 (ruby-syntax-propertize-expansion): Extracted from
11762 `ruby-syntax-propertize-expansions'. Handles one expansion.
11763 (ruby-syntax-propertize-percent-literal): Leave point right after
11764 the percent symbol, so that the expression expansion rule can
11765 propertize the contents.
11766 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11768 (ruby-syntax-propertize-expansions): Remove.
11770 2013-05-18 Juri Linkov <juri@jurta.org>
11772 * man.el (Man-default-man-entry): Remove `-' from the end
11773 of the default value. (Bug#14400)
11775 2013-05-18 Glenn Morris <rgm@gnu.org>
11777 * comint.el (comint-password-prompt-regexp):
11778 Allow "password for XXX" where XXX contains colons (eg https://...).
11780 2013-05-18 Leo Liu <sdl.web@gmail.com>
11782 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11783 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11784 (octave-source-directories): Don't check process.
11785 (octave-source-directories, octave-find-definition): Doc fix.
11787 2013-05-18 Glenn Morris <rgm@gnu.org>
11789 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11790 Remove backspace/delete bindings. (Bug#14392)
11792 * cus-dep.el (custom-make-dependencies): Sort the output.
11793 (custom-versions-load-alist): Convert comment to doc.
11795 2013-05-17 Leo Liu <sdl.web@gmail.com>
11797 * newcomment.el (comment-search-backward): Stricter in finding
11798 comment start. (Bug#14303)
11800 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11801 (octave-comment-start-skip): Properly anchored.
11803 2013-05-17 Leo Liu <sdl.web@gmail.com>
11805 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11806 Clean up when turned off. (Bug#14395)
11807 (smie--highlight-matching-block-overlay): No longer buffer-local.
11808 (smie-highlight-matching-block): Adjust.
11810 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11812 Doc string fix for "nanoseconds" (Bug#14406).
11813 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11814 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11816 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11818 * calc/calc-units.el (math-extract-units): Preserve powers
11821 2013-05-17 Leo Liu <sdl.web@gmail.com>
11823 * subr.el (delete-consecutive-dups): New function.
11824 * ido.el (ido-set-matches-1): Use it.
11825 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11826 * ido.el (ido-remove-consecutive-dups): Remove.
11828 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11830 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11831 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11832 regexp-opt's `words'.
11834 2013-05-16 Leo Liu <sdl.web@gmail.com>
11836 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11837 (smie--highlight-matching-block-overlay)
11838 (smie--highlight-matching-block-lastpos)
11839 (smie--highlight-matching-block-timer): New variables.
11840 (smie-highlight-matching-block): New function.
11841 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11842 (smie-setup): Conditionally enable smie-blink-matching-open.
11844 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11846 Sync with upstream verilog-mode r840.
11847 * progmodes/verilog-mode.el (verilog-mode-version)
11848 (verilog-mode-release-date): Update.
11849 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11850 (verilog-sig-tieoff): Fix string error on
11851 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11852 (verilog-read-decls): Fix parameters confusing
11853 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11855 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11857 * subr.el (reveal-filename): New function.
11859 * loadup.el: Compute Emacs executable versions on MS-Windows,
11860 where executables have the .exe extension. Add a hard link
11861 emacs-XX.YY.ZZ.exe on MS-Windows.
11863 * Makefile.in (XARGS_LIMIT): New variable.
11864 (custom-deps, finder-data, autoloads)
11865 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11866 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11867 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11868 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11870 2013-05-16 Leo Liu <sdl.web@gmail.com>
11872 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11873 (octave-mode-menu, octave-mode-map): Remove its uses.
11875 2013-05-16 Reto Zimmermann <reto@gnu.org>
11877 Sync with upstream vhdl mode v3.34.2.
11878 * progmodes/vhdl-mode.el: Use `push' throughout.
11879 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11880 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11881 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11882 (vhdl-actual-generic-name): New option to derive actual generic name.
11883 (vhdl-port-paste-signals): Replace formal by actual generics.
11884 (vhdl-beautify): New name for old group vhdl-align. Update users.
11885 (vhdl-beautify-options): New option.
11886 (vhdl-last-input-event): New compat alias. Use throughout.
11887 (vhdl-goto-line): Replace user level function `goto-line'.
11888 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11889 vhdl-fix-statement-buffer.
11890 (vhdl-create-mode-menu): Add some entries.
11891 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11892 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11893 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11894 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11895 to force statements on one line.
11896 (vhdl-remove-trailing-spaces-region):
11897 New, split from vhdl-remove-trailing-spaces.
11898 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11899 Respect vhdl-beautify-options.
11900 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11901 (vhdl-update-sensitivity-list): Not add with index if exists without.
11902 Not include array index with signal. Ignore keywords in comments.
11903 (vhdl-get-visible-signals): Regexp tweaks.
11904 (vhdl-template-component-inst): Handle empty library.
11905 (vhdl-template-type): Add template for 'enum' type.
11906 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11907 Use vhdl-replace-string.
11908 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11909 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11910 (vhdl-speedbar-initialize): Update for above name change.
11911 (vhdl-compose-wire-components): Fix in handling of constants.
11912 (vhdl-error-regexp-emacs-alist): New variable.
11913 (vhdl-error-regexp-add-emacs): New function;
11914 adds support for new compile.el (Emacs 22+)
11915 (vhdl-generate-makefile-1): Change target order for single lib. units.
11916 Allow use of absolute file names.
11918 2013-05-16 Leo Liu <sdl.web@gmail.com>
11920 * simple.el (prog-indent-sexp): Indent enclosing defun.
11922 2013-05-15 Glenn Morris <rgm@gnu.org>
11924 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11925 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11926 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11927 (whitespace-highlight): Move to whitespace group.
11929 * comint.el (comint-source):
11930 * pcmpl-linux.el (pcmpl-linux):
11931 * shell.el (shell-faces):
11932 * eshell/esh-opt.el (eshell-opt):
11933 * international/ccl.el (ccl): Remove empty custom groups.
11935 * completion.el (dynamic-completion-mode):
11936 * jit-lock.el (jit-lock-debug-mode):
11937 * minibuffer.el (completion-in-region-mode):
11938 * type-break.el (type-break-mode-line-message-mode)
11939 (type-break-query-mode):
11940 * emulation/tpu-edt.el (tpu-edt-mode):
11941 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11942 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11943 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11945 * term/xterm.el (xterm): Change parent group to terminals.
11947 * master.el (master): Remove empty custom group.
11948 (master-mode): Remove unused :group argument.
11949 * textmodes/refill.el (refill): Remove empty custom group.
11950 (refill-mode): Remove unused :group argument.
11952 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11954 * cus-dep.el: Provide a feature.
11955 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11956 Don't mistakenly ignore files whose basenames match a basename
11957 from preloaded-file-list (eg cedet/ede/simple.el).
11958 Add a fallback method for getting :group.
11960 2013-05-15 Juri Linkov <juri@jurta.org>
11962 * isearch.el (isearch-char-by-name): Rename from
11963 `isearch-insert-char-by-name'. Doc fix.
11964 (isearch-forward): Mention `isearch-char-by-name' in
11965 the docstring. (Bug#13348)
11967 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11968 `exit-minibuffer' instead of
11969 `isearch-nonincremental-exit-minibuffer'.
11970 (isearch-edit-string): Remove mention of
11971 `isearch-nonincremental-exit-minibuffer' from docstring.
11972 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11973 (isearch-forward-exit-minibuffer)
11974 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11976 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11978 * loadup.el: Just use unversioned DOC.
11980 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11981 literals as extending to EOB.
11982 (nxml-last-fontify-end): Remove unused variable.
11983 (nxml-after-change1): Use with-silent-modifications.
11984 (nxml-extend-after-change-region): Simplify.
11985 (nxml-extend-after-change-region1): Remove function.
11986 (nxml-after-change1): Don't adjust for dependent regions.
11987 (nxml-fontify-matcher): Simplify.
11988 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11989 (xmltok-add-dependent): Remove function.
11990 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11991 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11992 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11993 unclosed <[[, <?, comment, and other literals as extending to EOB.
11994 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11995 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11997 (rng-do-some-validation-1): Don't mark dependent regions.
11998 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11999 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
12000 (nxml-clear-dependent-regions): Remove functions.
12001 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
12002 (nxml-ensure-scan-up-to-date):
12003 Don't clear&mark dependent regions.
12005 2013-05-15 Leo Liu <sdl.web@gmail.com>
12007 * progmodes/octave.el (octave-goto-function-definition):
12008 Improve and fix callers.
12010 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
12012 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
12013 the setter (bug#14387).
12015 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
12016 surrounding group (bug#14402).
12018 2013-05-14 Juri Linkov <juri@jurta.org>
12020 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
12023 2013-05-14 Glenn Morris <rgm@gnu.org>
12025 * progmodes/f90.el (f90-imenu-generic-expression):
12026 Fix typo in 2013-05-08 change. (Bug#14402)
12028 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12030 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
12031 Remove signals for which replies are never received.
12033 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12035 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
12036 (gdb-handler-alist, gdb-handler-number): Remove variables.
12037 (gdb-handler-list): New variable.
12038 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
12039 (gdb-pending-handler-p, gdb-handle-reply)
12040 (gdb-remove-all-pending-triggers): New functions.
12041 (gdb-discard-unordered-replies): New defcustom.
12042 (gdb-handler): New defstruct.
12043 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
12044 instead of gdb-pending-triggers. Update docstring.
12045 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
12046 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
12047 (gdb-var-update-handler, def-gdb-auto-update-trigger)
12048 (def-gdb-auto-update-handler, gdb-get-changed-registers)
12049 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
12050 (gdb-frame-handler): Pending triggers are now automatically managed.
12051 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
12053 (gdb-input): Automatically handles pending triggers. Update docstring.
12054 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
12055 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
12057 (gdb-done-or-error): Now use gdb-handle-reply.
12059 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
12061 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
12064 2013-05-14 Glenn Morris <rgm@gnu.org>
12066 * subr.el (user-emacs-directory-warning): New option.
12067 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
12069 2013-05-14 Leo Liu <sdl.web@gmail.com>
12071 * progmodes/octave.el (octave-font-lock-keywords): Fix error
12073 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
12074 (octave-font-lock-texinfo-comment): Fix invalid search bound
12075 error: wrong side of point.
12077 2013-05-14 Glenn Morris <rgm@gnu.org>
12079 * progmodes/flymake.el (flymake-xml-program): New option.
12080 (flymake-xml-init): Use it.
12082 * term/xterm.el: Provide a feature.
12084 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
12086 2013-05-13 Glenn Morris <rgm@gnu.org>
12088 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
12089 Add compat aliases as a hack workaround. (Bug#14384)
12091 2013-05-13 Leo Liu <sdl.web@gmail.com>
12093 * progmodes/octave.el (octave-indent-comment): Fix indentation for
12095 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
12097 (octave-comment-start-skip): Include %!.
12098 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
12100 2013-05-12 Leo Liu <sdl.web@gmail.com>
12102 * progmodes/octave.el (inferior-octave-startup): Store the value
12103 of __octave_srcdir__ for octave-source-directories.
12104 (inferior-octave-check-process): New function refactored out of
12105 inferior-octave-send-list-and-digest.
12106 (octave-source-directories)
12107 (octave-find-definition-filename-function): New variables.
12108 (octave-source-directories)
12109 (octave-find-definition-default-filename): New functions.
12110 (octave-find-definition): Improve to find functions implemented in C++.
12112 2013-05-12 Glenn Morris <rgm@gnu.org>
12114 * calendar/diary-lib.el (diary-outlook-format-1):
12115 Don't include dayname in the output. (Bug#14349)
12117 2013-05-11 Glenn Morris <rgm@gnu.org>
12119 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
12121 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
12122 Treat cc-provide like provide.
12124 2013-05-11 Kevin Ryde <user42@zip.com.au>
12126 * cus-dep.el (custom-make-dependencies):
12127 Use generated-autoload-load-name for the sake of files such
12128 such cedet/semantic/bovine/c.el, where the base file name
12129 is not in load-path. (Bug#5277)
12131 2013-05-11 Glenn Morris <rgm@gnu.org>
12133 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
12136 2013-05-11 Leo Liu <sdl.web@gmail.com>
12138 * progmodes/octave.el (octave-indent-comment): Improve.
12139 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12140 (octave-eldoc-function-signatures, octave-eldoc-function):
12142 (octave-mode, inferior-octave-mode): Add eldoc support.
12144 2013-05-11 Richard Stallman <rms@gnu.org>
12146 * epa.el (epa-decrypt-file): Take output file name as argument
12147 and read it using `interactive'.
12149 2013-05-11 Leo Liu <sdl.web@gmail.com>
12151 * progmodes/octave.el (octave-beginning-of-line)
12152 (octave-end-of-line): Check before using up-list because it jumps
12153 out of more syntactic contructs since moving to smie.
12154 (octave-indent-comment): New function.
12155 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12156 (octave-begin-keywords, octave-end-keywords)
12157 (octave-reserved-words, octave-smie-bnf-table)
12158 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12160 2013-05-11 Glenn Morris <rgm@gnu.org>
12162 * faces.el (internal-face-x-get-resource):
12163 * frame.el (ns-display-monitor-attributes-list):
12164 * calc/calc-aent.el (math-to-radians-2):
12165 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12168 * calc/calc-menu.el: Make it loadable in isolation.
12170 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12171 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12172 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12173 (eudc-bbdb-query-internal): Require 'bbdb.
12175 * lpr.el (lpr-headers-switches):
12176 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12178 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12180 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12182 * term.el (term-set-escape-char): Make it idempotent.
12184 2013-05-10 Leo Liu <sdl.web@gmail.com>
12186 * progmodes/octave.el (inferior-octave-completion-table):
12187 No longer a function and all uses changed. Use cache to speed up
12188 completion due to bug#11906.
12189 (octave-beginning-of-defun): Re-write to be more general.
12191 2013-05-10 Glenn Morris <rgm@gnu.org>
12193 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12195 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12197 * comint.el (comint-redirect-send-command-to-process): Use :around
12198 rather than :override for comint-redirect-filter.
12199 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12200 Call it instead of comint-redirect-original-filter-function (which
12201 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12203 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12205 * frame.el (display-monitor-attributes-list): Add NS case.
12206 (ns-display-monitor-attributes-list): Declare.
12208 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12210 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12212 2013-05-09 Glenn Morris <rgm@gnu.org>
12214 * international/fontset.el (vertical-centering-font-regexp):
12215 Set standard-value.
12217 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12219 * bookmark.el (bookmark-search-delay):
12220 * cus-start.el (vertical-centering-font-regexp):
12221 * ps-mule.el (ps-mule-font-info-database-default):
12222 * ps-print.el (ps-default-fg, ps-default-bg):
12223 * type-break.el (type-break-good-break-interval):
12224 * whitespace.el (whitespace-indentation-regexp)
12225 (whitespace-space-after-tab-regexp):
12226 * emacs-lisp/testcover.el (testcover-1value-functions)
12227 (testcover-noreturn-functions, testcover-progn-functions)
12228 (testcover-prog1-functions):
12229 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12230 * eshell/em-glob.el (eshell-glob-translate-alist):
12231 * play/tetris.el (tetris-tty-colors):
12232 * progmodes/cpp.el (cpp-face-default-list):
12233 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12234 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12235 (idlwave-help-browser-generic-args):
12236 * progmodes/make-mode.el (makefile-special-targets-list):
12237 * progmodes/python.el (python-shell-virtualenv-path):
12238 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12239 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12240 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12241 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12242 * textmodes/reftex-vars.el (reftex-format-label-function):
12243 * textmodes/remember.el (remember-diary-file): Fix custom types.
12245 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12248 2013-05-09 Leo Liu <sdl.web@gmail.com>
12250 * progmodes/octave.el (inferior-octave-completion-at-point):
12251 Restore file completion. (Bug#14300)
12252 (inferior-octave-startup): Fix incorrect highlighting for the
12255 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12257 * progmodes/ruby-mode.el: First cut at SMIE support.
12258 (ruby-use-smie): New var.
12259 (ruby-smie-grammar): New constant.
12260 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12261 (ruby-smie--forward-token, ruby-smie--backward-token)
12262 (ruby-smie-rules): New functions.
12263 (ruby-mode-variables): Setup SMIE if applicable.
12265 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12267 * simple.el (line-move-visual): Signal beginning/end of buffer
12268 only if vertical-motion moved less than it was requested. Avoids
12269 silly incorrect error messages when there are display strings with
12270 multiple newlines at EOL.
12272 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12274 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12275 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12276 (prolog-char-quote-workaround):
12277 * progmodes/cperl-mode.el (cperl-under-as-char):
12278 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12280 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12282 (vhdl-mode-syntax-table-init): Remove.
12284 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12287 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12289 (ld-script-font-lock-keywords):
12290 Change regexps to use things like \_< and \_>.
12292 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12293 Change all regexps to use things like \_< and \_>.
12295 * progmodes/autoconf.el (autoconf-definition-regexp)
12296 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12297 Handle a _ with symbol syntax.
12298 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12300 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12301 Consolidate declaration.
12302 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12304 (ada-create-syntax-table): Remove.
12305 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12306 already has the right syntax nowadays.
12307 (ada-goto-next-word): Don't change the syntax of "_".
12309 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12312 2013-05-08 Sam Steingold <sds@gnu.org>
12314 * thingatpt.el (thing-at-point): Accept optional second argument
12315 NO-PROPERTIES to strip the text properties from the return value.
12316 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12317 to `thing-at-point' instead of stripping the properties ourselves.
12318 Also, when `thing-at-point' fails to find a url, prepend "http://"
12319 to the filename at point on the assumption that the user is
12320 pointing at something like gnu.org/gnu.
12322 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12324 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12325 * faces.el (crm-separator):
12326 Silence byte-compiler.
12328 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12329 (tool-bar-map): Remove unneeded defvars.
12331 2013-05-08 Leo Liu <sdl.web@gmail.com>
12333 Re-work a fix for bug#10994 based on Le Wang's patch.
12334 * ido.el (ido-remove-consecutive-dups): New helper.
12335 (ido-completing-read): Use it.
12336 (ido-chop): Revert fix for bug#10994.
12338 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12340 * cus-edit.el (custom-save-variables):
12341 Pretty-print long values. (Bug#14187)
12343 2013-05-08 Glenn Morris <rgm@gnu.org>
12345 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12346 (m4-mode-syntax-table): Init in the defvar.
12347 (m4-mode-abbrev-table): Let define-derived-mode define it.
12349 2013-05-08 Tom Tromey <tromey@redhat.com>
12351 * progmodes/m4-mode.el (m4-mode-syntax-table):
12352 Do not treat "_" as word constituent. (Bug#14167)
12354 2013-05-07 Glenn Morris <rgm@gnu.org>
12356 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12357 Remove explicit eshell-isearch-cancel-map.
12359 * progmodes/f90.el (f90-smart-end-names): New option.
12360 (f90-smart-end): Doc fix.
12361 (f90-end-block-optional-name): New constant.
12362 (f90-block-match): Respect f90-smart-end-names.
12364 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12366 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12367 about implicit semi-colons (bug#14218).
12369 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12371 * frame.el (display-monitor-attributes-list)
12372 (frame-monitor-attributes): New functions.
12374 2013-05-06 Leo Liu <sdl.web@gmail.com>
12376 * progmodes/octave.el (octave-syntax-propertize-function): Change
12377 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12378 (octave-font-lock-keywords): Use octave-operator-regexp.
12379 (octave-completion-at-point): Rename from
12380 octave-completion-at-point-function.
12381 (inferior-octave-directory-tracker): Robustify.
12382 (octave-text-functions): Remove and fix its uses. No such things
12385 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12387 * emacs-lisp/trace.el (trace--display-buffer): New function.
12388 (trace-make-advice): Use it.
12390 2013-05-06 Juri Linkov <juri@jurta.org>
12392 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12393 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12395 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12396 in the help string. (Bug#12985)
12398 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12400 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12402 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12404 * progmodes/perl-mode.el: Add support for here documents.
12405 (perl-syntax-propertize-function): Match here-doc markers.
12406 (perl-syntax-propertize-special-constructs): Find their end.
12407 (perl-imenu-generic-expression): Use [:alnum:].
12409 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12410 (advice--add-function): Refresh the advice if already present
12413 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12415 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12417 2013-05-06 Glenn Morris <rgm@gnu.org>
12419 * w32-fns.el (w32-charset-info-alist): Declare.
12421 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12422 of its defcustom properties.
12423 (eshell-cmpl-initialize): No need to load pcomplete.
12425 * generic-x.el: No need to require comint when compiling.
12427 * net/eudc-export.el: Make it loadable without bbdb.
12428 (top-level): Use require rather than load-library.
12429 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12430 (eudc-batch-export-records-to-bbdb)
12431 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12434 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12436 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12437 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12438 some tweaks, instead.
12440 2013-05-05 Leo Liu <sdl.web@gmail.com>
12442 * progmodes/octave.el (octave-font-lock-keywords)
12443 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12444 (inferior-octave-send-list-and-digest): Improve error message.
12445 (octave-mode, inferior-octave-mode): Use setq-local.
12446 (octave-help): Set info-lookup-mode.
12448 2013-05-05 Richard Stallman <rms@gnu.org>
12450 * vc/compare-w.el (compare-windows-whitespace):
12451 Treat no-break space as whitespace.
12453 * mail/rmailsum.el (rmail-summary-rmail-update):
12454 Detect empty summary and don't change selected message.
12455 (rmail-summary-goto-msg): Likewise.
12457 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12458 Doc fixes, rename args.
12460 2013-05-05 Alan Mackenzie <acm@muc.de>
12462 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12464 2013-05-05 Juri Linkov <juri@jurta.org>
12466 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12467 to not add the length of the summary segment to the return value.
12470 2013-05-05 Leo Liu <sdl.web@gmail.com>
12472 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12473 (inferior-octave-output-filter): Remove.
12474 (octave-send-region, inferior-octave-startup): Fix callers.
12475 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12476 (octave-binary-file-extensions): New user variable.
12477 (octave-find-definition): Confirm if opening binary files.
12478 (octave-help-file): Use octave-find-definition to get the binary
12480 (octave-help): Adjust for octave-help-file change.
12482 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12484 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12485 Merge the two entries that handle function definitions.
12486 (pascal--syntax-propertize): New const.
12487 (pascal-mode): Use it. Use setq-local.
12489 2013-05-04 Glenn Morris <rgm@gnu.org>
12491 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12492 (diary-from-outlook): Respect diary-from-outlook-function.
12494 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12496 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12497 Move the declaration from C.
12498 (read-minibuffer, eval-minibuffer): Move from C.
12499 (completion-setup-function): Avoid minibuffer-completion-contents.
12501 2013-05-03 Leo Liu <sdl.web@gmail.com>
12503 * progmodes/octave.el (octave-font-lock-keywords): Do not
12504 dehighlight 'end' in comments or strings.
12505 (octave-completing-read, octave-goto-function-definition):
12507 (octave-help-buffer): New user variable.
12508 (octave-help-file, octave-help-function): New button types.
12509 (octave-help): New command and bind it to C-h ;.
12510 (octave-find-definition): New command and bind it to M-.
12511 (user-error): Alias to error if not defined.
12513 2013-05-02 Leo Liu <sdl.web@gmail.com>
12515 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12517 (octave-font-lock-keywords): Include [ and {.
12519 2013-05-02 Leo Liu <sdl.web@gmail.com>
12521 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12522 (inferior-octave): Remove calling comint-mode and return the buffer.
12523 (inferior-octave-startup): Cosmetic changes.
12525 2013-05-02 Leo Liu <sdl.web@gmail.com>
12527 * progmodes/octave.el (octave-syntax-propertize-function):
12528 Include the case when ' is at line beginning. (Bug#14336)
12530 2013-05-02 Glenn Morris <rgm@gnu.org>
12532 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12533 * desktop.el (vc-dir-mode): Just autoload it here.
12535 2013-05-02 Alan Mackenzie <acm@muc.de>
12537 Eliminate variable c-standard-font-lock-fontify-region-function.
12538 * progmodes/cc-mode.el
12539 (c-standard-font-lock-fontify-region-function): Remove.
12540 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12542 2013-05-01 Leo Liu <sdl.web@gmail.com>
12544 * progmodes/octave.el: Compatible with older emacs-24 releases.
12545 (inferior-octave-has-built-in-variables): Remove. Built-in
12546 variables were removed from Octave in 2007.
12547 (inferior-octave-startup): Fix uses.
12548 (comint-line-beginning-position): Remove compatibility code for
12551 2013-05-01 Juri Linkov <juri@jurta.org>
12553 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12555 2013-05-01 Juri Linkov <juri@jurta.org>
12557 * comint.el (comint-previous-matching-input): Don't print message
12558 "History item: %d" when `isearch-mode' is active.
12559 (comint-history-isearch-message): Print message "History item: %d"
12560 when `comint-input-ring-index' is not empty and this function is
12561 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12563 2013-05-01 Leo Liu <sdl.web@gmail.com>
12565 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12566 definitions. Use completion-at-point to insert keywords.
12567 (octave-abbrev-start): Remove.
12568 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12570 2013-04-30 Leo Liu <sdl.web@gmail.com>
12572 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12575 2013-04-30 Alan Mackenzie <acm@muc.de>
12577 Handle arbitrarily long C++ member initialisation lists.
12578 * progmodes/cc-engine.el (c-back-over-member-initializers):
12580 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12581 (most) member init lists.
12583 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12585 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12588 2013-04-30 Leo Liu <sdl.web@gmail.com>
12590 * progmodes/octave.el (octave-variables): Remove. No builtin
12591 variables any more. All converted to functions.
12592 (octave-font-lock-keywords, octave-completion-at-point-function):
12594 (octave-font-lock-texinfo-comment): New user variable.
12595 (octave-texinfo-font-lock-keywords): New variable for texinfo
12597 (octave-function-comment-block): New face.
12598 (octave-font-lock-texinfo-comment): New function.
12599 (octave-mode): Font lock texinfo comment block.
12601 2013-04-29 Leo Liu <sdl.web@gmail.com>
12603 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12604 indexing expression.
12605 (octave-continuation-string): Do not use \.
12606 (inferior-octave-complete-impossible): Remove.
12607 (inferior-octave-completion-table)
12608 (inferior-octave-completion-at-point): Remove its uses.
12609 (inferior-octave-startup): completion_matches was introduced to
12610 Octave in 1996 so safe to assume it.
12611 (octave-function-file-comment): Improve to follow how Octave does it.
12612 (octave-update-function-file-comment): Tweak.
12614 2013-04-29 Leo Liu <sdl.web@gmail.com>
12616 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12617 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12618 (octave-function-file-comment): Fix typo.
12619 (octave-sync-function-file-names): Use read-char-choice.
12621 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12623 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12624 to t for the less important warnings.
12626 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12628 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12630 2013-04-27 Glenn Morris <rgm@gnu.org>
12632 * vc/log-view.el (log-view-current-entry):
12633 Treat "---" separator lines as part of the following rev. (Bug#14169)
12635 2013-04-27 Juri Linkov <juri@jurta.org>
12637 * subr.el (read-number): Doc fix about using it by interactive
12638 code letter `n'. (Bug#14254)
12640 2013-04-27 Juri Linkov <juri@jurta.org>
12642 * desktop.el (desktop-auto-save-timeout): New option.
12643 (desktop-file-checksum): New variable.
12644 (desktop-save): Add optional arg `auto-save' and don't auto-save
12645 if nothing changed.
12646 (desktop-auto-save-timer): New variable.
12647 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12648 (after-init-hook): Call `desktop-auto-save-set-timer'.
12649 Suggested by Reuben Thomas <rrt@sc3d.org> in
12650 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12652 2013-04-27 Leo Liu <sdl.web@gmail.com>
12654 * progmodes/octave.el (octave-function-file-p)
12655 (octave-skip-comment-forward, octave-function-file-comment)
12656 (octave-update-function-file-comment): New functions.
12657 (octave-mode-map): Bind C-c ; to
12658 octave-update-function-file-comment.
12659 (octave-mode-menu): Add octave-update-function-file-comment.
12660 (octave-mode, inferior-octave-mode): Fix doc-string.
12661 (octave-insert-defun): Conform to Octave's coding convention.
12664 * files.el (basic-save-buffer): Don't let errors in
12665 before-save-hook prevent saving buffer.
12667 2013-04-20 Roland Winkler <winkler@gnu.org>
12669 * faces.el (read-face-name): Use completing-read if arg multiple
12672 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12674 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12675 displayed, move point to after the totals line.
12676 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12679 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12681 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12682 Add current dir to the load-path.
12683 (package-generate-autoloads): Don't rely on
12684 autoload-ensure-default-file.
12686 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12688 * textmodes/remember.el (remember-store-in-files): Document that
12689 the file name format is passed to `format-time-string'.
12691 2013-04-26 Leo Liu <sdl.web@gmail.com>
12693 * progmodes/octave.el (octave-sync-function-file-names): New function.
12694 (octave-mode): Use it in before-save-hook.
12696 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12698 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12701 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12702 \n and comment, even if it's not an implicit ; (bug#14218).
12704 2013-04-26 Glenn Morris <rgm@gnu.org>
12706 * subr.el (read-number): Once more use `read' rather than
12707 `string-to-number', to trap non-numeric input. (Bug#14254)
12709 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12711 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12712 Use `syntax-multiline' text property consistently instead of
12713 `font-lock-multiline'. (Bug#14237)
12715 2013-04-26 Glenn Morris <rgm@gnu.org>
12717 * emacs-lisp/shadow.el (list-load-path-shadows):
12718 No longer necessary to check for duplicate simple.el, since
12719 2012-07-07 change to init_lread to not include installation lisp
12720 directories in load-path when running uninstalled. (Bug#14270)
12722 2013-04-26 Leo Liu <sdl.web@gmail.com>
12724 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12725 (octave-mode, inferior-octave-mode): Use setq-local.
12726 (octave-not-in-string-or-comment-p): Rename to
12727 octave-in-string-or-comment-p.
12728 (octave-in-comment-p, octave-in-string-p)
12729 (octave-in-string-or-comment-p): Replace defsubst with defun.
12731 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12733 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12735 2013-04-25 Bastien Guerry <bzg@gnu.org>
12737 * textmodes/remember.el (remember-data-directory)
12738 (remember-directory-file-name-format): Fix custom types.
12740 2013-04-25 Leo Liu <sdl.web@gmail.com>
12742 * progmodes/octave.el (octave-completion-at-point-function):
12743 Make use of inferior octave process.
12744 (octave-initialize-completions): Remove.
12745 (inferior-octave-completion-table): New function.
12746 (inferior-octave-completion-at-point): Use it.
12747 (octave-completion-alist): Remove.
12749 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12751 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12752 (opascal-mode-syntax-table): New var.
12753 (opascal-literal-kind, opascal-is-literal-end)
12754 (opascal-literal-token-at): Rewrite.
12755 (opascal--literal-start-re, opascal-font-lock-keywords)
12756 (opascal--syntax-propertize): New constants.
12757 (opascal-font-lock-defaults): Adjust.
12758 (opascal-mode): Use them. Set comment-<foo> variables as well.
12759 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12760 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12761 (delphi-other-face, opascal-other-face): Remove face variables.
12762 (opascal-save-state): Remove macro.
12763 (opascal-fontifying-progress-step): Remove constant.
12764 (opascal--ignore-changes): Remove var.
12765 (opascal-set-token-property, opascal-parse-next-literal)
12766 (opascal-is-stable-literal, opascal-complete-literal)
12767 (opascal-is-literal-start, opascal-face-of)
12768 (opascal-parse-region, opascal-parse-region-until-stable)
12769 (opascal-fontify-region, opascal-after-change)
12770 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12771 (opascal-debug-parse-region, opascal-debug-parse-window)
12772 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12773 (opascal-debug-fontify-buffer): Remove.
12774 (opascal-debug-mode-map): Adjust accordingly.
12776 2013-04-25 Leo Liu <sdl.web@gmail.com>
12778 Merge octave-mod.el and octave-inf.el into octave.el with some
12780 * progmodes/octave.el: New file renamed from octave-mod.el.
12781 * progmodes/octave-inf.el: Merged into octave.el.
12782 * progmodes/octave-mod.el: Renamed to octave.el.
12784 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12786 * textmodes/reftex-vars.el
12787 (reftex-label-ignored-macros-and-environments): New defcustom.
12789 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12791 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12793 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12794 (smie-indent-keyword): Improve the check to ensure that the next
12795 comment is really on the same line.
12796 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12798 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12799 semi-colons if the line is not otherwise empty (bug#14218).
12801 2013-04-25 Glenn Morris <rgm@gnu.org>
12803 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12805 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12807 * progmodes/opascal.el (opascal-set-token-property): Rename from
12808 opascal-set-text-properties and only set `token' (bug#14134).
12809 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12810 (opascal-literal-text-properties): Remove.
12811 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12814 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12816 * textmodes/remember.el (remember-handler-functions): Add an
12817 option for a new handler `remember-store-in-files'.
12818 (remember-data-directory, remember-directory-file-name-format):
12820 (remember-store-in-files): New function to store remember notes
12821 as separate files within a directory.
12823 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12825 * progmodes/compile.el (compilation-next-error-function):
12826 Pass "formats" to compilation-find-file (bug#11777).
12828 2013-04-24 Glenn Morris <rgm@gnu.org>
12830 * vc/vc-bzr.el (vc-bzr-print-log):
12831 * vc/vc-hg.el (vc-hg-print-log):
12832 * vc/vc-svn.el (vc-svn-print-log):
12833 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12835 * vc/vc-bzr.el (vc-bzr-print-log):
12836 * vc/vc-cvs.el (vc-cvs-print-log):
12837 * vc/vc-git.el (vc-git-print-log):
12838 * vc/vc-hg.el (vc-hg-print-log):
12839 * vc/vc-mtn.el (vc-mtn-print-log):
12840 * vc/vc-rcs.el (vc-rcs-print-log):
12841 * vc/vc-sccs.el (vc-sccs-print-log):
12842 * vc/vc-svn.el (vc-svn-print-log):
12843 * vc/vc.el (vc-print-log-internal): Doc fixes.
12845 2013-04-23 Glenn Morris <rgm@gnu.org>
12847 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12848 Remove venerable code attempting to avoid substitute-command-keys.
12850 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12852 * textmodes/reftex-vars.el (reftex-label-regexps):
12853 Call `reftex-compile-variables' after changes to this variable.
12855 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12857 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12858 Use lexical-binding.
12859 (jit-lock-force-redisplay): Use markers, check buffer's continued
12860 existence and beware narrowed buffers.
12861 (jit-lock-fontify-now): Adjust call accordingly.
12863 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12865 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12866 to avoid misleading the user.
12868 2013-04-22 Leo Liu <sdl.web@gmail.com>
12870 * info-look.el: Prefer latex2e.info. (Bug#14240)
12872 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12874 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12876 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12877 * net/tramp.el (tramp-call-process): ... here.
12878 (tramp-set-completion-function, tramp-parse-putty):
12879 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12880 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12881 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12882 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12883 (tramp-call-local-coding-command): Use `tramp-call-process'
12884 instead of `tramp-compat-call-process'.
12886 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12887 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12888 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
12889 (tramp-find-inline-compress): Improve traces.
12890 (tramp-maybe-send-script): Check for Perl binary.
12891 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12893 2013-04-22 Daiki Ueno <ueno@gnu.org>
12895 * epg.el (epg-context-pinentry-mode): New function.
12896 (epg-context-set-pinentry-mode): New function.
12897 (epg--start): Pass --pinentry-mode option to gpg command.
12899 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12901 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12902 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12903 `completion-at-point'. (Bug#13774)
12905 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12906 default key binding for `describe-distribution' has been moved to
12907 `C-h C-o'. (Bug#13970)
12909 2013-04-21 Glenn Morris <rgm@gnu.org>
12911 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12913 (vc-print-log): Clarify interactive prompt.
12915 2013-04-20 Glenn Morris <rgm@gnu.org>
12917 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12918 No longer include timestamp etc information.
12920 2013-04-20 Roland Winkler <winkler@gnu.org>
12922 * faces.el (read-face-name): Bug fix, return just one face if arg
12923 multiple is nil. (Bug#14209)
12925 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12927 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12928 (remove-function): Autoload.
12930 * comint.el (comint-redirect-original-filter-function): Remove.
12931 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12932 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12933 (vc-cvs-annotate-command):
12934 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12935 * progmodes/prolog.el (prolog-consult-compile):
12936 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12937 Use add/remove-function instead.
12938 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12939 (gud-tooltip-process-output, gud-tooltip-tips):
12940 Use add/remove-function instead.
12941 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12942 (scheme-interaction-mode, exit-scheme-interaction-mode):
12943 Use add/remove-function instead.
12945 * vc/vc-dispatcher.el: Use lexical-binding.
12946 (vc--process-sentinel): Rename from vc-process-sentinel.
12947 Change last arg to be the code to run. Don't use vc-previous-sentinel
12948 and vc-sentinel-commands any more.
12949 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12950 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12952 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12954 * progmodes/sh-script.el (sh-imenu-generic-expression):
12955 Handle function names with a single character. (Bug#14111)
12957 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12959 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12960 for subroutines defined in an eval (bug#14182).
12962 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12964 * bookmark.el (bookmark-completing-read): Improve handling of empty
12965 string (bug#14176).
12967 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12969 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12971 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12973 New faster Imenu implementation (bug#14058).
12974 * progmodes/python.el:
12975 (python-imenu-prev-index-position):
12976 (python-imenu-format-item-label-function)
12977 (python-imenu-format-parent-item-label-function)
12978 (python-imenu-format-parent-item-jump-label-function):
12980 (python-imenu-format-item-label)
12981 (python-imenu-format-parent-item-label)
12982 (python-imenu-format-parent-item-jump-label)
12983 (python-imenu--put-parent, python-imenu--build-tree)
12984 (python-imenu-create-index, python-imenu-create-flat-index)
12985 (python-util-popn): New functions.
12986 (python-mode): Set imenu-create-index-function to
12987 python-imenu-create-index.
12989 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12991 * winner.el (winner-active-region): Use region-active-p, activate-mark
12992 and deactivate-mark (bug#14225).
12994 * simple.el (deactivate-mark): Don't inline it.
12996 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12998 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
13000 2013-04-18 Tassilo Horn <tsdh@gnu.org>
13002 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
13003 file extensions from the archive-mode entry in order to prefer
13004 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
13006 2013-04-18 Leo Liu <sdl.web@gmail.com>
13008 * bindings.el (help-event-list): Add ?\?.
13010 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
13012 * subr.el (with-wrapper-hook): Declare obsolete.
13013 * simple.el (filter-buffer-substring-function): New hook.
13014 (filter-buffer-substring): Use it.
13015 (filter-buffer-substring-functions): Mark obsolete.
13016 * minibuffer.el (completion-in-region-function): New hook.
13017 (completion-in-region): Use it.
13018 (completion-in-region-functions): Mark obsolete.
13019 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
13020 * abbrev.el (abbrev-expand-function): New hook.
13021 (expand-abbrev): Use it.
13022 (abbrev-expand-functions): Mark obsolete.
13023 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
13024 and :filter-return.
13026 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13028 * progmodes/python.el (python-nav--syntactically): Fix cornercases
13029 and do not care about match data.
13031 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13033 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
13034 completion tables when completing error conditions and
13035 `declare' arguments.
13036 (lisp-complete-symbol, field-complete): Mark as obsolete.
13037 (check-parens): Unmatched parens are user errors.
13038 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
13040 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
13042 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
13043 command changed buffer (ie. `flyspell-pre-buffer' is not current
13044 buffer), which prevents making decisions based on invalid value of
13045 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
13046 cause an error when `flyspell-pre-point' was nil after switching
13048 (flyspell-post-command-hook): No longer needs to change buffers when
13049 checking pre-word. While at it remove unnecessary progn.
13051 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
13053 * textmodes/ispell.el (ispell-add-per-file-word-list):
13054 Fix `flyspell-correct-word-before-point' error when accepting
13055 words and `coment-padding' is an integer by using
13056 `comment-normalize-vars' (Bug #14214).
13058 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13060 New defun movement commands.
13061 * progmodes/python.el (python-nav--syntactically)
13062 (python-nav--forward-defun, python-nav-backward-defun)
13063 (python-nav-forward-defun): New functions.
13065 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
13067 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
13068 (python-syntax-context): Use named compiler-macro for backwards
13069 compatibility with Emacs 24.x.
13071 2013-04-17 Leo Liu <sdl.web@gmail.com>
13073 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
13074 octave-hide-process-buffer.
13076 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
13078 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
13081 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
13083 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
13084 Fix adjustment of offset when receiving incomplete responses from GDB
13087 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13089 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
13090 python-mode-abbrev-table.
13091 (python-skeleton-define): Adjust accordingly.
13092 (python-mode-abbrev-table): New table that inherits from it so that
13093 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
13095 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
13096 (abbrev-symbol): Use it.
13097 (abbrev--before-point): Use it since we already handle inheritance.
13099 2013-04-16 Leo Liu <sdl.web@gmail.com>
13101 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
13102 binding to info-lookup-symbol.
13104 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
13106 * minibuffer.el (completion--twq-all):
13107 * term/ns-win.el (ns-initialize-window-system):
13108 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
13110 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
13112 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
13115 * doc-view.el (doc-view-start-process): Handle url-handler directories.
13117 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
13119 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
13120 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
13122 (ruby-end-of-defun): Remove the unused arg, change the docstring
13123 to reflect that this function is only used as the value of
13124 `end-of-defun-function'.
13125 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
13126 to reflect an earlier change that beginning/end-of-defun functions
13127 jump between methods in a class definition, as well as top-level
13130 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13132 * minibuffer.el (minibuffer-complete): Don't just scroll
13133 a *Completions* that's been iconified.
13134 (minibuffer-force-complete): Make sure repetitions do cycle when going
13135 through completion-in-region -> minibuffer-complete.
13137 2013-04-15 Alan Mackenzie <acm@muc.de>
13139 Correct the placement of c-cpp-delimiters when there're #s not at
13142 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13143 place a submatch around the #.
13144 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13145 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13148 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13150 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13151 (advice--member-p): New arg `name'.
13152 (advice--add-function, advice-member-p): Use it (bug#14202).
13154 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13156 Reformulate java imenu-generic-expression.
13157 The old expression contained ill formed regexps.
13159 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13160 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13161 (cc-imenu-java-method-arg-regexp): New defconsts.
13162 (cc-imenu-java-build-type-args-regex): New defun.
13163 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13164 handling of spaces in the regexp.
13166 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13168 * textmodes/ispell.el (ispell-command-loop): Remove
13169 flyspell highlight of a word when ispell accepts it (bug #14178).
13171 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13173 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13174 uses code from the previous `ange-ftp-run-real-handler'.
13175 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13176 only in case that function exist. This is needed for proper
13177 unloading of Tramp.
13179 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13181 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13183 * textmodes/reftex.el (reftex-compile-variables): Use it.
13185 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13187 * files.el (normal-mode): Only use default major-mode if no other mode
13190 * emacs-lisp/trace.el (trace-values): New function.
13192 * files.el: Allow : in local variables (bug#14089).
13193 (hack-local-variable-regexp): New var.
13194 (hack-local-variables-prop-line, hack-local-variables): Use it.
13196 2013-04-13 Roland Winkler <winkler@gnu.org>
13198 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13199 data before it gets modified by bibtex-beginning-of-entry.
13201 2013-04-13 Roland Winkler <winkler@gnu.org>
13203 * textmodes/bibtex.el (bibtex-url): Doc fix.
13205 2013-04-13 Roland Winkler <winkler@gnu.org>
13207 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13208 does not visit a BibTeX file, exclude it from the list of buffers
13209 returned by bibtex-initialize.
13211 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13213 * window.el (split-window): Remove interactive form, since as a
13214 command this function is a special case of split-window-below.
13215 Correct doc string.
13217 2013-04-12 Roland Winkler <winkler@gnu.org>
13219 * faces.el (read-face-name): Do not override value of arg default.
13220 Allow single faces and strings as default values. Remove those
13221 elements from return value that are not faces.
13222 (describe-face): Simplify.
13223 (face-at-point): New optional args thing and multiple so that this
13224 function can provide the same functionality previously provided by
13226 (make-face-bold, make-face-unbold, make-face-italic)
13227 (make-face-unitalic, make-face-bold-italic, invert-face)
13228 (modify-face, read-face-and-attribute): Use face-at-point.
13230 * cus-edit.el (customize-face, customize-face-other-window)
13231 * cus-theme.el (custom-theme-add-face)
13232 * face-remap.el (buffer-face-set)
13233 * facemenu.el (facemenu-set-face): Use face-at-point.
13235 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13237 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13239 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13241 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13242 off leading { and trailing } from field values.
13244 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13246 * emacs-lisp/timer.el (timer--check): New function.
13247 (timer--time, timer-set-function, timer-event-handler): Use it.
13248 (timer-set-idle-time): Simplify.
13249 (timer--activate): CSE.
13250 (timer-event-handler): Give more info in error message.
13251 (internal-timer-start-idle): New function, moved from C.
13253 * mpc.el (mpc-proc): Add `restart' argument.
13254 (mpc-proc-cmd): Use it.
13255 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13256 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13259 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13261 * progmodes/sh-script.el: Implement `sh-mode' own
13262 `add-log-current-defun-function' (bug#14112).
13263 (sh-current-defun-name): New function.
13264 (sh-mode): Use the function.
13266 2013-04-09 Bastien Guerry <bzg@gnu.org>
13268 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13270 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13272 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13274 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13277 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13279 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13282 2013-04-07 Leo Liu <sdl.web@gmail.com>
13284 * pcmpl-x.el: New file.
13286 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13288 Do not set x-display-name until X connection is established.
13289 This is needed to prevent from weird situation described at
13290 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13291 * frame.el (make-frame): Set x-display-name after call to
13292 window system initialization function, not before.
13293 * term/x-win.el (x-initialize-window-system): Add optional
13294 display argument and use it.
13295 * term/w32-win.el (w32-initialize-window-system):
13296 * term/ns-win.el (ns-initialize-window-system):
13297 * term/pc-win.el (msdos-initialize-window-system):
13298 Add compatible optional display argument.
13300 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13302 * files.el (normal-backup-enable-predicate): On MS-Windows and
13303 MS-DOS compare truenames of temporary-file-directory and of the
13304 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13305 don't fail comparison by compare-strings. Also, compare file
13306 names case-insensitively on MS-Windows and MS-DOS.
13308 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13310 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13311 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13313 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13315 * whitespace.el (whitespace-color-on, whitespace-color-off):
13316 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13318 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13320 * ispell.el (ispell-set-spellchecker-params):
13321 Really set `ispell-args' for all equivs.
13323 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13325 * ido.el (ido-completions): Use extra elements of ido-decorations
13327 (ido-decorations): Update docstring.
13329 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13331 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13332 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13333 nil during initialization, in order not to miss changes since the
13334 file was opened. (Bug#14140)
13336 2013-04-05 Leo Liu <sdl.web@gmail.com>
13338 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13340 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13342 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13344 2013-04-04 Glenn Morris <rgm@gnu.org>
13346 * electric.el (electric-pair-inhibit-predicate): Add :version.
13348 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13350 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13351 when a package is required several times (bug#14082).
13353 2013-04-04 Roland Winkler <winkler@gnu.org>
13355 * faces.el (read-face-name): Behave as promised by the docstring.
13356 Assume that arg default is a list of faces.
13357 (describe-face): Call read-face-name with list of default faces.
13359 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13361 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13362 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13363 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13365 (bookmark-exit-hook-internal): Save even if list is empty.
13367 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13369 * emacs-lisp/package.el (package-pinned-packages): New var.
13370 (package--add-to-archive-contents): Obey it (bug#14118).
13372 2013-04-03 Alan Mackenzie <acm@muc.de>
13374 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13375 Also adapt to the new values of element 7 of a parse state.
13377 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13378 parameter `not-in-delimiter'. Handle being inside comment opener.
13379 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13380 character in case we're typing a '*' after a '/'.
13381 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13382 instead by passing the parameter to c-state-pp-to-literal.
13384 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13385 for elt. 7 of a parse state.
13387 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13389 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13390 * international/latin1-disp.el, international/mule-util.el:
13391 * language/cyril-util.el, language/european.el, language/ind-util.el:
13392 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13393 * language/tibetan.el, language/viet-util.el:
13394 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13396 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13398 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13399 (electric-pair-post-self-insert-function): Use it.
13400 (electric-pair-default-inhibit): New function, extracted from
13401 electric-pair-post-self-insert-function.
13403 2013-03-31 Roland Winkler <winkler@gnu.org>
13405 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13407 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13409 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13411 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13413 Un-indent after "pass" and "return" statements (Bug#13888)
13414 * progmodes/python.el (python-indent-block-enders): New var.
13415 (python-indent-calculate-indentation): Use it.
13417 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13419 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13420 defun. Defining it as defalias could introduce too eager
13421 byte-compiler optimization. (Bug#14030)
13423 2013-03-30 Chong Yidong <cyd@gnu.org>
13425 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13427 2013-03-30 Leo Liu <sdl.web@gmail.com>
13429 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13430 (kmacro-execute-from-register): Pass the keyboard macro to
13431 kmacro-call-macro or repeating won't work correctly.
13433 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13435 * progmodes/subword.el: Back to using `forward-symbol'.
13437 * subr.el (forward-whitespace, forward-symbol)
13438 (forward-same-syntax): Move from thingatpt.el.
13440 2013-03-29 Leo Liu <sdl.web@gmail.com>
13442 * kmacro.el (kmacro-to-register): New command.
13443 (kmacro-execute-from-register): New function.
13444 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13446 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13448 * mpc.el: Use defvar-local and setq-local.
13449 (mpc--proc-connect): Connection failures are not bugs.
13450 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13451 (mpc-volume-map): Bind to the up-events.
13453 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13455 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13456 instead of `forward-symbol'.
13458 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13460 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13461 (edebug--recursive-edit): Use it.
13462 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13463 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13465 2013-03-28 Leo Liu <sdl.web@gmail.com>
13467 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13469 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13471 * facemenu.el (list-colors-callback): New defvar.
13472 (list-colors-redisplay): New function.
13473 (list-colors-display): Install list-colors-redisplay as the
13474 revert-buffer-function. (Bug#14063)
13476 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13478 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13479 and suffixes don't overlap (bug#14061).
13481 * case-table.el: Use lexical-binding.
13482 (case-table-get-table): New function.
13483 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13485 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13487 * progmodes/subword.el: Add `superword-mode' to do word motion
13488 over symbol_words (parallels and leverages `subword-mode' which
13489 does word motion inside MixedCaseWords).
13491 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13493 * eshell/em-unix.el: Move su and sudo to...
13494 * eshell/em-tramp.el: ...Eshell tramp module.
13496 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13498 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13499 Change return value to be a sexp. Delay `get-buffer' to after
13500 restoring the desktop (bug#13951).
13502 2013-03-26 Leo Liu <sdl.web@gmail.com>
13504 * register.el: Move semantic tag handling back to
13505 cedet/semantic/senator.el. (Bug#14052)
13507 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13509 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13510 into the prompt either (bug#13963).
13512 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13514 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13515 part of "(error-foo)".
13517 2013-03-24 Juri Linkov <juri@jurta.org>
13519 * replace.el (list-matching-lines-prefix-face): New defcustom.
13520 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13521 `occur-engine' if `face-differs-from-default-p' returns t.
13522 (occur-engine): Add `,' inside backquote construct to evaluate
13523 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13524 Pass `prefix-face' to the functions `occur-context-lines' and
13525 `occur-engine-add-prefix'.
13526 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13527 `prefix-face' and propertize the prefix with `prefix-face'.
13530 2013-03-24 Leo Liu <sdl.web@gmail.com>
13532 * nxml/rng-valid.el (rng-validate-while-idle)
13533 (rng-validate-quick-while-idle): Guard against deleted buffer.
13536 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13537 is the last entry in kill-buffer-hook.
13539 * files.el (kill-buffer-hook): Doc fix.
13541 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13543 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13544 Make it safe-local.
13546 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13548 2013-03-23 Leo Liu <sdl.web@gmail.com>
13550 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13553 * nxml/rng-valid.el (rng-validate-mode)
13554 (rng-after-change-function, rng-do-some-validation):
13555 * nxml/rng-maint.el (rng-validate-buffer):
13556 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13557 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13558 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13559 (nxml-extend-after-change-region): Use with-silent-modifications.
13561 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13564 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13565 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13566 timer-idle-list. (Bug#13999)
13568 2013-03-23 Juri Linkov <juri@jurta.org>
13570 * info.el (info-index-match): New face.
13571 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13572 main pattern and add text properties with the new face to matches
13573 in index entries relative to the beginning of the index entry.
13576 2013-03-21 Eric Ludlam <zappo@gnu.org>
13578 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13579 Inhibit read only while inserting objects.
13581 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13583 * progmodes/cfengine.el: Update docs to mention
13584 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13585 symbol motion. Remove "_" from the word syntax.
13587 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13589 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13590 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13592 2013-03-20 Juri Linkov <juri@jurta.org>
13594 * info.el (Info-next-reference-or-link)
13595 (Info-prev-reference-or-link): New functions.
13596 (Info-next-reference, Info-prev-reference): Use them.
13597 (Info-try-follow-nearest-node): Handle footnote navigation.
13598 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13600 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13602 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13603 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13605 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13607 Suppress unnecessary non-ASCII chatter during build process.
13608 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13609 (batch-skkdic-convert): Suppress most of the chatter.
13610 It's not needed so much now that machines are faster,
13611 and its non-ASCII component was confusing; see Dmitry Gutov in
13612 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13614 2013-03-20 Leo Liu <sdl.web@gmail.com>
13616 * ido.el (ido-chop): Fix bug#10994.
13618 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13620 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13622 (whitespace-color-on, whitespace-color-off):
13623 Use `font-lock-fontify-buffer' (Bug#13817).
13625 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13627 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13628 remapping in mode-line.
13629 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13631 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13633 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13634 value for `whitespace-line' face (Bug#13875).
13635 (whitespace-font-lock-keywords): Change description.
13636 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13637 the constructed keywords instead.
13638 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13640 2013-03-19 Leo Liu <sdl.web@gmail.com>
13642 * progmodes/compile.el (compilation-display-error): New command.
13643 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13646 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13648 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13650 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13652 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13654 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13656 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13658 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13659 * net/tramp-gvfs.el (top):
13660 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13661 (tramp-handle-shell-command): Use it.
13662 (tramp-dissect-file-name): Raise an error when hostname is a
13663 method name, and neither method nor user is specified.
13665 * net/trampver.el: Update release number.
13667 2013-03-18 Leo Liu <sdl.web@gmail.com>
13669 Make sure eldoc can be turned off properly.
13670 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13672 (eldoc-display-message-p): Revert last change.
13673 (eldoc-display-message-no-interference-p)
13674 (eldoc-print-current-symbol-info): Tweak.
13676 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13678 * doc-view.el (doc-view-new-window-function): Check the new window
13679 overlay's display property instead the char property of the
13680 buffer's first char. Use `with-selected-window' instead of
13681 `save-window-excursion' with `select-window'.
13682 (doc-view-document->bitmap): Check the current doc-view overlay's
13683 display property instead the char property of the buffer's first char.
13685 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13687 Automate the build of ja-dic.el (Bug#13984).
13688 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13689 from the input, rather than assume that it's been done for us by the
13690 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13691 the current date into a ja-dic.el comment, as that complicates
13692 regression testing.
13694 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13696 * whitespace.el: Fix double evaluation.
13697 (whitespace-space, whitespace-hspace, whitespace-tab)
13698 (whitespace-newline, whitespace-trailing, whitespace-line)
13699 (whitespace-space-before-tab, whitespace-indentation)
13700 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13702 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13703 (whitespace-color-on): Use a single font-lock-add-keywords call.
13704 Fix double-evaluation of face variables.
13706 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13708 * net/tramp-adb.el (tramp-adb-parse-device-names):
13709 Use `start-process' instead of `call-process'. Otherwise, the
13710 function might be blocked under MS Windows. (Bug#13299)
13712 2013-03-17 Leo Liu <sdl.web@gmail.com>
13714 Extend eldoc to display info in the mode-line. (Bug#13978)
13715 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13716 (eldoc-mode-line-string): New variable.
13717 (eldoc-minibuffer-message): New function.
13718 (eldoc-message-function): New variable.
13719 (eldoc-message): Use it.
13720 (eldoc-display-message-p)
13721 (eldoc-display-message-no-interference-p):
13722 Support eldoc-post-insert-mode.
13724 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13725 (eval-expression): Run it.
13727 2013-03-17 Roland Winkler <winkler@gnu.org>
13729 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13730 strings in the list of return values.
13732 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13734 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13735 radix before checking for HMS forms.
13737 2013-03-16 Leo Liu <sdl.web@gmail.com>
13739 * progmodes/scheme.el: Add indentation and font-locking for λ.
13742 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13744 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13745 token before point (bug#13942).
13747 2013-03-16 Leo Liu <sdl.web@gmail.com>
13749 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13751 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13753 * startup.el (command-line-normalize-file-name): Fix handling of
13754 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13755 <xfq.free@gmail.com> in
13756 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13758 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13760 Sync with Tramp 2.2.7.
13762 * net/trampver.el: Update release number.
13764 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13766 * doc-view.el: Fix bug#13887.
13767 (doc-view-insert-image): Don't modify overlay associated to
13768 non-live windows, and implement horizontal centering of image in
13769 case it's smaller than the window.
13770 (doc-view-new-window-function): Force redisplay of new windows on
13773 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13775 * saveplace.el (save-place-alist-to-file): Don't sort
13776 `save-place-alist', just pretty-print it (bug#13882).
13778 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13780 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13781 Check whether `default-file-name-coding-system' is bound.
13782 It isn't in XEmacs.
13784 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13786 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13787 backquotes for `obsolete' (bug#13929).
13789 * international/mule.el (find-auto-coding): Include file name in
13790 obsolescence warning (bug#13922).
13792 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13794 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13795 for CFEngine 3-specific indentation.
13796 (cfengine3-indent-line): Use it. Fix up category regex.
13797 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13799 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13801 * type-break.el (type-break-file-name):
13802 * textmodes/remember.el (remember-data-file):
13803 * strokes.el (strokes-file):
13804 * shadowfile.el (shadow-initialize):
13805 * saveplace.el (save-place-file):
13806 * ps-bdf.el (bdf-cache-file):
13807 * progmodes/idlwave.el (idlwave-config-directory):
13808 * net/quickurl.el (quickurl-url-file):
13809 * international/kkc.el (kkc-init-file-name):
13810 * ido.el (ido-save-directory-list-file):
13811 * emulation/viper.el (viper-custom-file-name):
13812 * emulation/vip.el (vip-startup-file):
13813 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13814 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13816 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13818 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13819 * language/thai-word.el: Switch to UTF-8.
13821 See ChangeLog.16 for earlier changes.
13823 ;; Local Variables:
13827 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13829 This file is part of GNU Emacs.
13831 GNU Emacs is free software: you can redistribute it and/or modify
13832 it under the terms of the GNU General Public License as published by
13833 the Free Software Foundation, either version 3 of the License, or
13834 (at your option) any later version.
13836 GNU Emacs is distributed in the hope that it will be useful,
13837 but WITHOUT ANY WARRANTY; without even the implied warranty of
13838 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13839 GNU General Public License for more details.
13841 You should have received a copy of the GNU General Public License
13842 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.