1 2014-03-04 Michal Nazarewicz <mina86@mina86.com>
3 * binding.el: Add comment describing why C-d binds to `delete-char'.
4 * simple.el (delete-forward-char): Mark as interactive-only.
6 2014-03-03 Juanma Barranquero <lekktu@gmail.com>
8 * icomplete.el (icomplete-completions):
9 Follow-up to 2014-03-01 change.
11 * icomplete.el: Miscellaneous doc fixes.
12 Use Icomplete everywhere instead of icomplete for consistency.
13 (icomplete-max-delay-chars): Fix typo.
14 (icomplete-mode): Use \[].
15 (icomplete-tidy, icomplete-exhibit): Reflow.
16 (icomplete-minibuffer-setup-hook, icomplete-completions):
17 Remove superfluous backlashes.
19 * ido.el: Miscellaneous doc fixes.
20 Use Ido everywhere instead of ido or `ido' for consistency.
21 (ido-record-ftp-work-directories, ido-merge-ftp-work-directories)
22 (ido-cache-ftp-work-directory-time, ido-slow-ftp-hosts)
23 (ido-slow-ftp-host-regexps, ido-reread-directory): Upcase "ftp".
24 (ido-separator): Extract obsolescence info from docstring and declare
25 with make-obsolete-variable.
26 (ido-minibuffer-setup-hook): Simplify example.
27 (ido-text, ido-text-init, ido-input-stack, ido-report-no-match)
28 (ido-wide-find-file, ido-wide-find-dir, ido-wide-find-dir-or-delete-dir)
29 (ido-completion-help, ido-completing-read): Fix typos in docstrings.
30 (ido-everywhere): Reflow docstring.
31 (ido-toggle-vc): Doc fix.
32 (ido-switch-buffer, ido-find-file): Use tabs to improve legibility
33 of long list of keybindings.
35 2014-03-03 Glenn Morris <rgm@gnu.org>
37 * frame.el (display-pixel-height, display-pixel-width)
38 (display-mm-dimensions-alist, display-mm-height)
39 (display-mm-width): Doc tweaks.
41 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
43 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
44 case of undo in region.
46 2014-03-02 Martin Rudalics <rudalics@gmx.at>
48 * window.el (fit-window-to-buffer): Fix argument in window-size
49 call when window is horizontally combined.
51 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
53 * icomplete.el (icomplete-completions): Use string-width.
54 Suggested by Stefan Monnier <monnier@iro.umontreal.ca>.
56 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
58 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
59 Highlight regexp options. (Bug#16914)
61 2014-03-01 Martin Rudalics <rudalics@gmx.at>
63 * window.el (window--max-delta-1): Round down when calculating
64 how many lines/columns we can get from a window.
66 2014-03-01 Glenn Morris <rgm@gnu.org>
68 * isearch.el (search-invisible): Doc fix.
70 * minibuffer.el (completion-hilit-commonality):
71 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
72 * comint.el (comint-dynamic-list-completions): Doc fix.
73 * comint.el (comint-dynamic-list-completions):
74 * filecache.el (file-cache-minibuffer-complete):
75 * tempo.el (tempo-display-completions):
76 * eshell/em-hist.el (eshell-list-history):
77 Replace use of obsolete argument of display-completion-list.
79 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
81 * icomplete.el (icomplete-completions):
82 Revert back to using "..." when ?… cannot be displayed.
84 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
86 * finder.el (finder-unload-function): New function.
88 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
90 * dframe.el (dframe-detach):
91 * find-dired.el (find-dired, find-name-dired):
92 * finder.el (finder-mode-map, finder-mode-syntax-table)
93 (finder-headmark, finder-select, finder-mouse-select):
96 2014-02-28 Martin Rudalics <rudalics@gmx.at>
98 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
99 * window.el (with-temp-buffer-window): Revert change from
100 2014-02-21. Suggested by Thierry Volpiatto.
101 <thierry.volpiatto@gmail.com>. Fix doc-string based on a
102 suggestion by Nicolas Richard <theonewiththeevillook@yahoo.fr>.
103 * help.el (with-help-window): Fix doc-string.
105 2014-02-28 Ivan Kanis <ivan@kanis.fr>
107 * net/shr.el (shr-image-animate): New option.
108 (shr-put-image): Respect shr-image-animate.
110 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
112 * net/tramp-adb.el (tramp-adb-parse-device-names):
113 Use `accept-process-output'.
114 (tramp-adb-handle-file-truename): Cache the localname only.
115 (tramp-adb-handle-make-directory)
116 (tramp-adb-handle-delete-directory): Flush file properties correctly.
117 (tramp-adb-handle-set-file-modes): Do not raise an error when file
118 modes cannot be changed.
120 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
121 file properties of symlinks.
123 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
125 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
126 required/optional fields to match development biblatex. (Bug#16781)
128 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
130 * saveplace.el (toggle-save-place):
131 Fix argument handling. (Bug#16673)
133 2014-02-28 Glenn Morris <rgm@gnu.org>
135 * minibuffer.el (completions-first-difference)
136 (completions-common-part, completion-hilit-commonality): Doc fixes.
138 2014-02-28 Karl Berry <karl@gnu.org>
140 * info.el (Info-mode-map): Add H for describe-mode,
141 to synchronize with standalone Info.
143 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
145 * progmodes/sql.el (sql-interactive-mode):
146 Avoid setting global comint-input-ring-separator. (Bug#16814)
148 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
150 * net/dbus.el (dbus--init-bus): Declare function.
151 (dbus-path-local, dbus-interface-local): New defconst.
152 (dbus-init-bus): Use them.
153 (dbus-return-values-table): Extend doc.
154 (dbus-handle-bus-disconnect): Extend error message.
156 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
158 * subr.el (y-or-n-p): Fix double space issue in message.
160 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
162 * net/tramp.el (tramp-call-process): Improve trace message.
163 (tramp-handle-insert-file-contents): Trace error case.
165 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
166 <insert-directory>: Use `tramp-handle-insert-directory'.
167 (tramp-adb-handle-insert-directory): Remove function.
168 (tramp-adb-send-command-and-check): New defun, replacing
169 `tramp-adb-command-exit-status'. Change all callees.
170 (tramp-adb-handle-file-attributes)
171 (tramp-adb-handle-directory-files-and-attributes): Use it.
172 (tramp-adb-ls-output-name-less-p):
173 Use `directory-listing-before-filename-regexp'.
174 (tramp-adb-handle-delete-directory): Flush also file properties of
175 the truename of directory.
176 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
177 (tramp-adb-handle-file-local-copy): Make the local copy readable.
178 (tramp-adb-handle-write-region): Implement APPEND.
179 (tramp-adb-handle-rename-file): Make it more robust. Flush file
180 properties correctly.
181 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
182 variables. Check for connected devices only when needed.
184 2014-02-27 Glenn Morris <rgm@gnu.org>
186 * minibuffer.el (completion-table-dynamic)
187 (completion-table-with-cache): Doc fixes.
189 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
190 (completing-read-multiple): Doc fixes.
192 2014-02-27 Daniel Colascione <dancol@dancol.org>
194 * minibuffer.el (completion--nth-completion): Fix indentation.
196 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
197 explicit tramp path is empty.
199 2014-02-27 Glenn Morris <rgm@gnu.org>
201 * emacs-lisp/crm.el (completing-read-multiple):
202 Empower help-enable-auto-load.
204 2014-02-26 Glenn Morris <rgm@gnu.org>
206 * startup.el (command-line): Don't init the tty in daemon mode.
208 Avoid calling tty-setup-hook twice, eg if a term file
209 explicitly calls tty-run-terminal-initialization. (Bug#16859)
210 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
211 (tty-create-frame-with-faces): Use it.
212 * startup.el (command-line): Pass run-hook argument
213 to tty-run-terminal-initialization.
215 * dired.el (dired-restore-desktop-buffer): Demote errors;
216 eg in case a glob match fails. (Bug#16884)
218 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
220 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
221 error from `read-from-string'. (Bug#16850)
223 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
224 result of `completing-read' in the interactive form. (Bug#16854)
226 2014-02-25 Glenn Morris <rgm@gnu.org>
228 * image.el (image-animate, image-animate-timeout):
229 Stop animating images in dead buffers. (Bug#16878)
231 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
233 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
235 * startup.el (term-setup-hook): Doc fix. Make obsolete.
236 * term/sun.el (sun-raw-prefix-hooks):
237 Use tty-setup-hook instead of term-setup-hook.
238 (terminal-init-sun): Construct message from bytecomp plist.
239 * term/wyse50.el (enable-arrow-keys): Doc fix.
241 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
243 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
246 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
248 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
250 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
252 * minibuffer.el (completion--try-word-completion):
253 Fix error when completing M-x commands (bug#16808).
255 2014-02-24 Leo Liu <sdl.web@gmail.com>
257 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
259 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
261 * apropos.el (apropos-print): Avoid formatting error when
262 apropos-do-all and apropos-compact-layout are both t.
264 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
266 * apropos.el (apropos-property, apropos-all-words-regexp)
267 (apropos-true-hit, apropos-variable, apropos-print):
268 Fix docstring typos, and remove obsolete comment.
270 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
272 * net/tramp-sh.el (tramp-sh-handle-file-truename):
273 Preserve trailing "/". (Bug#16851)
275 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
277 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
278 after `=>' (bug#16811).
279 (ruby-smie-rules): Handle the inconsistent second element of the
280 list returned by `smie-indent--parent'.
281 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
284 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
286 * elec-pair.el (electric-pair-text-syntax-table)
287 (electric-pair-syntax-info, electric-pair--syntax-ppss)
288 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
289 (electric-pair--looking-at-unterminated-string-p): Doc fix.
290 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
292 2014-02-22 Glenn Morris <rgm@gnu.org>
294 * imenu.el (imenu--generic-function): Doc fix.
296 * register.el (frame-configuration-to-register): Make obsolete.
298 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
300 * desktop.el (desktop-save-buffer-p): Do not fail when
301 desktop-files-not-to-save is nil. Return t for true result
304 2014-02-22 Daniel Colascione <dancol@dancol.org>
306 * net/secrets.el (secrets-create-item,secrets-search-items):
307 Check that attribute values are strings, avoiding the construction
308 of invalid dbus messages.
310 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
312 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
313 defun-declarations-alist.
315 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
317 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
320 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
322 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
323 (whitespace-newline, whitespace-trailing, whitespace-line)
324 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
325 (whitespace-space-after-tab): Fix typo in docstrings.
327 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
329 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
331 * electric.el (electric-indent-functions-without-reindent):
332 Add `yaml-indent-line'.
334 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
336 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
337 It has done nothing for years; should be removed after the release.
339 * simple.el (choose-completion): Fix docstring typo.
340 (read-quoted-char-radix): Remove unneeded * in docstring.
341 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
342 Don't escape parentheses unnecessarily in docstrings.
344 2014-02-21 Martin Rudalics <rudalics@gmx.at>
346 Fix handling of window-min-height/-width (Bug#16738).
347 * window.el (window--dump-window, window--dump-frame):
349 (window--min-size-1): Account for window dividers.
350 When window-resize-pixelwise is nil, delay rounding till after the
351 sum of the window components has been calculated.
352 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
353 nil make sure at least one text line and two text columns remain
355 (window-resize): Signal an error when window-resize-apply fails.
356 (window--resize-child-windows): Fix calculation of by how many
357 pixels a window can still be shrunk via window-new-normal.
358 (adjust-window-trailing-edge): Call window--resizable with
359 correct TRAIL argument.
361 (with-temp-buffer-window): Don't evaluate BODY within
362 with-current-buffer (Bug#16816).
364 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
366 * net/tramp.el (tramp-check-cached-permissions):
367 Call `file-attributes' with `suffix' being a symbol but a string.
369 2014-02-21 Daniel Colascione <dancol@dancol.org>
371 * net/dbus.el (dbus-init-bus-1): Declare new subr.
372 (dbus-init-bus): New function: call into dbus-init-bus-1
373 and installs a handler for the disconnect signal.
374 (dbus-call-method): Rewrite to look for result in cons.
375 (dbus-call-method-handler): Store result in cons.
376 (dbus-check-event): Recognize events with nil sender as valid.
377 (dbus-handle-bus-disconnect): New function. React to bus
378 disconnection signal by synthesizing dbus error for each
379 pending synchronous or asynchronous call.
380 (dbus-notice-synchronous-call-errors): New function.
381 (dbus-handle-event): Raise errors directly only when `dbus-debug'
382 is true, not all the time.
384 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
386 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
387 Remove obsolescence declarations, these variables do not exist anymore.
389 * savehist.el (savehist-save-minibuffer-history)
390 (savehist-additional-variables, savehist-file, savehist-mode-hook)
391 (savehist-save-hook, savehist-coding-system, savehist-loaded)
392 (savehist-load, savehist-install, savehist-autosave): Fix typos;
393 mostly, refer to "Savehist mode" when talking about the mode,
394 and not the function.
396 * saveplace.el (save-place): Remove redundant info in docstring.
397 (save-place-forget-unreadable-files, toggle-save-place)
398 (save-place-forget-unreadable-files, save-place-dired-hook):
399 Fix typos and remove unneeded backslashes.
401 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
403 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
404 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
406 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
407 <insert-directory>: Use `tramp-handle-insert-directory'.
408 (tramp-gvfs-handle-insert-directory): Remove function.
410 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
411 Call `tramp-handle-insert-directory'.
413 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
415 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
416 before the start of buffer/region (bug#16799).
418 2014-02-20 Glenn Morris <rgm@gnu.org>
420 * isearch.el (search-invisible): Doc fix.
422 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
424 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
427 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
429 * frameset.el (frameset-restore): Delay removing an old frame's
430 duplicate id until the new frame has been correctly created.
432 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
434 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
435 (tramp-check-cached-permissions): Call `file-attributes' if the
438 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
439 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
441 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
442 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
443 (tramp-gvfs-maybe-open-connection): Set always connection
444 properties, even if target is mounted already.
446 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
447 Set tramp-autoload cookie.
448 (tramp-get-remote-touch): New defun.
449 (tramp-sh-handle-set-file-times): Use it.
450 (tramp-sh-handle-directory-files-and-attributes):
451 Use `tramp-handle-directory-files-and-attributes' if neither stat
452 nor perl are available on the remote host.
454 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
455 "/". Write long listing only when "l" belongs to the switches.
457 * net/trampver.el: Update release number.
459 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
461 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
463 2014-02-19 Martin Rudalics <rudalics@gmx.at>
465 * window.el (window-state-put): Allow WINDOW to refer to an
466 internal window (Bug#16793).
468 2014-02-19 Glenn Morris <rgm@gnu.org>
470 * textmodes/remember.el: Move provide statement to end.
471 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
472 (remember-notes): Doc fixes.
474 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
476 * delsel.el (delete-char): Restore incorrectly erased property
479 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
481 * frameset.el (frameset--restore-frame): When a frame is being reused
482 and its root window is not alive, delete all the frame's windows before
483 restoring the window state. This works around the issue in bug#16793.
485 2014-02-18 Glenn Morris <rgm@gnu.org>
487 * textmodes/remember.el (remember-data-directory)
488 (remember-directory-file-name-format, remember-store-in-files)
489 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
490 (remember-notes-save-and-bury-buffer)
491 (remember-notes--kill-buffer-query): Doc fixes.
493 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
495 2014-02-17 Alan Mackenzie <acm@muc.de>
497 Connect electric-indent-mode up with CC Mode. Bug #15478.
498 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
499 to electric-indent-{,local-}-mode.
500 (c-basic-common-init): Set electric-indent-inhibit.
501 Initialise c-electric-flag from electric-indent-mode.
502 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
503 New hook functions which propagate electric-indent-mode to CC mode.
505 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
506 hit, toggle electric-indent-local-mode.
508 * electric.el (electric-indent-mode-has-been-called):
511 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
513 * frameset.el (frameset-cfg-id): New function.
514 (frameset--reuse-frame, frameset-restore): Use it.
515 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
517 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
519 * ido.el (ido-file-internal): Remove unused var `d'.
520 Use \` for to match BoS. Fit within 80n columns.
522 2014-02-17 Daniel Colascione <dancol@dancol.org>
524 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
525 dbus-call-method check for completion using a busy-wait loop with
528 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
530 Sync with Tramp 2.2.9.
532 * net/trampver.el: Update release number.
534 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
536 * ido.el (ido-file-internal): Don't add the name of an existing
537 directory twice. (Bug#16747)
539 2014-02-16 Glenn Morris <rgm@gnu.org>
541 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
542 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
544 2014-02-15 Michael R. Mauger <michael@mauger.com>
546 * progmodes/sql.el: Version 3.4
547 (sql-oracle-options): New default value ("-L").
548 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
549 (sql-placeholders-filter): Correct placeholder pattern.
550 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
551 (sql-login-delay): New variable.
552 (sql-product-interactive): Use it.
554 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
556 * frameset.el (frameset--jump-to-register): Check that buffer is live
559 2014-02-15 Glenn Morris <rgm@gnu.org>
561 * info.el (info-initialize): Revert 2014-01-10 change.
563 2014-02-14 Glenn Morris <rgm@gnu.org>
565 * replace.el (map-query-replace-regexp)
566 (read-regexp-defaults-function, read-regexp): Doc fixes.
568 * dired.el (dired-read-regexp):
569 * faces.el (list-faces-display):
570 * misearch.el (multi-isearch-read-matching-buffers)
571 (multi-isearch-read-matching-files):
572 * play/cookie1.el (cookie-apropos):
573 * progmodes/grep.el (grep-read-regexp): Doc fixes.
575 * textmodes/remember.el (remember): Use frameset-to-register
576 rather than frame-configuration-to-register.
578 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
580 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
581 incorrect keybinding.
583 2014-02-13 Daniel Colascione <dancol@dancol.org>
585 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
586 when adding overlays so that line numbers from compiler match line
589 2014-02-13 Glenn Morris <rgm@gnu.org>
591 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
593 * jit-lock.el (jit-lock-mode): Doc fix.
595 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
597 * apropos.el (apropos-read-pattern): When the user passes an empty
598 string, give a more helpful error message than "Wrong type
599 argument: stringp, nil".
601 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
603 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
605 2014-02-13 Glenn Morris <rgm@gnu.org>
607 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
609 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
611 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
612 shift-select commands.
614 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
616 * progmodes/js.el (js-indent-line): Don't widen.
617 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
619 2014-02-12 Glenn Morris <rgm@gnu.org>
621 * icomplete.el (icomplete): Add info-link to defgroup.
622 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
623 (icomplete-minibuffer-map, icomplete-mode)
624 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
626 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
627 (package-menu-filter): Rename from package-menu-filter-interactive.
630 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
632 * frameset.el (frameset--jump-to-register): Select the required
633 window and buffer before restoring position (bug#16696).
635 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
637 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
639 2014-02-10 Glenn Morris <rgm@gnu.org>
641 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
643 2014-02-10 Eli Zaretskii <eliz@gnu.org>
645 * w32-common-fns.el (x-get-selection): Doc fix.
646 * select.el (x-get-selection): Doc fix. (Bug#15109)
648 * face-remap.el (face-remap-add-relative)
649 (face-remap-remove-relative, face-remap-reset-base)
650 (face-remap-set-base): Call force-mode-line-update to redisplay
651 the current buffer due to potential change in faces. (Bug#16709)
653 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
655 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
656 script more robustly.
658 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
660 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
662 * simple.el (choose-completion): Doc fix (bug#14160).
664 * subr.el (event-start): Say what a nil EVENT value means.
666 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
669 * progmodes/grep.el (find-program): Doc fix (bug#14289).
671 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
673 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
675 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
676 predicate function (bug#15455).
678 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
680 * ielm.el (inferior-emacs-lisp-mode): Instead of
681 `comment-use-global-state', set `comment-use-syntax'.
683 2014-02-10 Glenn Morris <rgm@gnu.org>
685 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
687 2014-02-09 Alan Mackenzie <acm@muc.de>
689 Fix c-invalidate-state-cache on narrowed buffers.
690 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
691 Widen when setting and clearing the CPP delimiter properties.
693 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
695 * help.el (describe-bindings): Doc fix (bug#9888).
697 * files.el (save-buffer): Use ARG as the parameter name for
698 consistency (bug#10346).
699 (save-buffer): Clarify the 0 argument (bug#10346).
701 * cus-edit.el (customize-apropos): Fix error string.
702 (custom-buffer-create): Doc fix (bug#11122).
703 (custom-sort-items): Doc fix (bug#11121).
705 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
707 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
708 (icomplete-simple-completing-p): Mention the previous variable.
710 * font-lock.el (font-lock-value-in-major-mode): Clarify the
711 meaning of the parameter (bug#12282).
713 * files.el (find-file-noselect): Clarify prompt when changing
714 readedness (bug#13261).
715 (locate-file): Suffixes aren't returned, so don't say that they
717 (backup-inhibited): Doc clarification (bug#12525).
719 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
720 before we actually start to delete things (bug#16331).
722 * subr.el (event-start): Doc fix (bug#14228).
725 2014-02-09 Glenn Morris <rgm@gnu.org>
727 * emacs-lisp/warnings.el (lwarn):
728 Empower help-enable-auto-load. (Bug#15940)
730 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
732 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
735 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
737 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
738 Insert output at end of buffer. (Bug#16120)
740 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
742 * simple.el (choose-completion-string-functions): Document new
743 calling convention (bug#14153).
744 (execute-extended-command): Clarify doc string (bug#13373).
746 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
748 * find-dired.el (find-name-dired): Doc fix (bug#14290).
749 (find-grep-dired): Doc fix (bug#14288).
751 2014-02-08 Juri Linkov <juri@jurta.org>
753 * isearch.el (isearch-quote-char): Check character validity
754 like in `quoted-insert' (bug#16677).
756 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
758 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
760 * isearch.el (isearch-hide-immediately): Doc clarification
763 * simple.el (line-move): Document utility function used many
764 places in the Emacs sources (bug#14843).
766 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
767 (dired-prev-marked-file): Doc fix (bug#14855).
768 (dired-up-directory): Doc fix (bug#14848).
770 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
772 * files.el (file-relative-name): Doc fix (bug#15159).
774 * fringe.el (fringe-styles): Doc fix (bug#15239).
776 * isearch.el (isearch-filter-predicate): Documentation typo fix
779 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
781 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
783 * replace.el (replace-match-maybe-edit): Doc clarification
786 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
788 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
790 2014-02-08 Glenn Morris <rgm@gnu.org>
792 * help-fns.el (describe-variable):
793 Check {file,dir}-local-variables-alist, and buffer-file-name,
794 in the correct buffer.
796 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
798 * help-fns.el (describe-variable): Fix the case where
799 a value is directory-local with no dir-locals file. (Bug#16635)
801 2014-02-08 Glenn Morris <rgm@gnu.org>
803 * abbrev.el (edit-abbrevs-mode):
804 Derive from fundamental-mode. (Bug#16682)
806 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
808 * simple.el (quoted-insert): Check character validity (bug#16677).
810 2014-02-07 Juri Linkov <juri@jurta.org>
812 * desktop.el (desktop-read): Claim the lock when the owner is not
813 the current process. (Bug#16157)
815 2014-02-07 Juri Linkov <juri@jurta.org>
817 * desktop.el (desktop-buffers-not-to-save): Change default from nil
818 to "\\` ". (Bug#16651)
820 2014-02-07 Juri Linkov <juri@jurta.org>
822 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
823 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
824 (desktop-auto-save-cancel-timer): New function with some code from
825 `desktop-auto-save-set-timer'.
826 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
827 Instead of setting `desktop-save-mode' to nil, call
828 `desktop-save-mode' with arg 0. (Bug#16630)
830 2014-02-07 Glenn Morris <rgm@gnu.org>
832 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
833 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
834 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
836 * obsolete/iswitchb.el: Move to obsolete/.
837 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
838 since obsolete/ is not scanned for autoloads.
839 * emacs-lisp/authors.el (authors-valid-file-names):
842 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
843 Disable now non-functional find-file-hook.
845 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
847 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
848 instead of ";" in order to avoid additional prompts. Let heredoc
849 scripts read from tty. (Bug#16582)
850 (tramp-send-command): No special handling of heredocs, it isn't
853 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
855 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
856 with a space (bug#16664). Limit the symbols considered to the ones
857 that are bound or fbound (bug#16646).
859 2014-02-06 Glenn Morris <rgm@gnu.org>
861 * epa.el (epa-mail-aliases): Doc fix.
863 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
865 * emacs-lisp/lisp.el (lisp-completion-at-point):
866 Use `completion-table-merge' instead of `completion-table-in-turn'
869 * minibuffer.el (completion-table-merge): New function.
871 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
873 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
874 (tramp-sh-handle-set-file-acl)
875 (tramp-sh-handle-start-file-process)
876 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
877 (tramp-find-executable, tramp-send-command): Use it.
879 2014-02-05 Glenn Morris <rgm@gnu.org>
881 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
883 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
885 * progmodes/python.el (python-shell-send-string)
886 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
888 2014-02-04 Anders Lindgren <andlind@gmail.com>
890 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
891 the names (bug#16620).
893 2014-02-03 Martin Rudalics <rudalics@gmx.at>
895 * faces.el (window-divider): New default value. Rewrite doc-string.
896 (window-divider-first-pixel, window-divider-last-pixel): New faces.
898 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
900 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
901 `protected' and `public' can also be called without arguments.
903 2014-02-03 Glenn Morris <rgm@gnu.org>
905 * register.el (window-configuration-to-register)
906 (frame-configuration-to-register): Unadvertise unused argument.
907 * frameset.el (frameset-to-register): Remove unused argument.
909 * frameset.el (frameset-to-register):
910 * kmacro.el (kmacro-to-register):
911 * register.el (increment-register):
912 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
913 (calc-append-to-register, calc-prepend-to-register):
914 * play/gametree.el (gametree-layout-to-register)
915 (gametree-apply-register-layout):
916 * textmodes/picture.el (picture-clear-rectangle-to-register)
917 (picture-yank-rectangle-from-register):
918 * vc/emerge.el (emerge-combine-versions-register):
919 Use register-read-with-preview to read registers.
921 2014-02-03 João Távora <joaotavora@gmail.com>
923 * elec-pair.el (electric-pair-backward-delete-char): Don't error
924 when at beginning of (possibly narrowed) buffer.
926 2014-02-02 Daniel Colascione <dancol@dancol.org>
928 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
929 Also try to display local help from just before point.
931 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
933 c-parse-state. Don't "append-lower-brace-pair" in certain
934 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
935 recognised as a comment.
937 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
938 as well as normal comment starter.
939 (c-parse-state-get-strategy): Extra return possibility
941 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
942 return value list to indicate replacement of a brace-pair cons
944 (c-parse-state-1): With 'back-and-forward, only call
945 c-append-lower-brace-pair-to state-cache when cons-separated.
947 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
949 * term/ns-win.el (ns-suspend-error): New function.
950 (ns-initialize-window-system): Add ns-suspend-error to
951 suspend-hook (Bug#16612).
953 2014-02-02 Daniel Colascione <dancol@dancol.org>
955 * progmodes/cc-defs.el (c-find-assignment-for-mode):
956 Make loading cc-mode silent.
958 2014-02-02 Daniel Colascione <dancol@dancol.org>
960 * comint.el (comint-prompt-read-only): Change doc to suggest
963 2014-02-02 Glenn Morris <rgm@gnu.org>
965 * register.el (register-read-with-preview, point-to-register)
966 (window-configuration-to-register, frame-configuration-to-register)
967 (jump-to-register, number-to-register, view-register, insert-register)
968 (copy-to-register, append-to-register, prepend-to-register)
969 (copy-rectangle-to-register): Doc fixes.
971 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
973 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
974 * emacs-lisp/find-func.el (find-function-C-source): Idem.
975 * emacs-lisp/nadvice.el (advice--cd*r): New function.
976 * help-fns.el (describe-function-1): Use it.
978 2014-02-02 Glenn Morris <rgm@gnu.org>
980 * register.el (register-preview-default): New function,
981 split from register-preview.
982 (register-preview-function): Rename from register-preview-functions,
984 (register-preview): Use register-preview-function.
985 (register-read-with-preview): Error on non-character event. (Bug#16595)
987 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
989 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
990 `:' before binary operators (bug#16609). Don't check for `:'
991 before `[' and `(', or their syntax status. A percent literal
992 can't end with either.
993 (ruby-font-lock-keywords): For built-ins that require arguments,
994 check that they're followed by something that looks like argument
997 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
999 * subr.el (butlast): Document what an omitted N means (bug#13437).
1002 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
1004 * net/shr.el (shr-generic): Make into a defsubst to make the stack
1005 depth shallower (bug#16587).
1006 (shr-tag-svg): Respect `shr-inhibit-images'.
1007 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
1009 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
1011 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
1012 (ruby-smie-grammar): Make "." right-associative. Make its priority
1013 lower than the ternary and all binary operators.
1014 (ruby-smie-rules): Indent "(" relative to the first non-"."
1015 parent, or the first "." parent at indentation.
1016 Use `ruby-align-chained-calls' for indentation of "." tokens.
1019 2014-01-31 Juri Linkov <juri@jurta.org>
1021 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
1022 from `make-hash-table'.
1024 * textmodes/ispell.el (ispell-init-process): Change message format
1025 to be consistent with other messages.
1027 2014-01-31 Glenn Morris <rgm@gnu.org>
1029 * delsel.el (delete-selection-mode): Doc fix.
1031 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
1032 (trace-function-background): Doc fixes.
1034 * ido.el (ido-use-virtual-buffers): Doc fix.
1035 Reset :version, since the default value has not changed.
1037 * register.el (register-preview-delay, register-read-with-preview):
1040 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1041 do not mess with mail-buffer position (fixes 2009-11-03 change).
1042 * progmodes/cc-mode.el (c-submit-bug-report):
1043 Check auto-fill-mode is bound. (Bug#16592)
1045 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1047 * startup.el (fancy-splash-image-file): New function,
1048 split from fancy-splash-head.
1049 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1050 so that we are both using the same image. (Bug#16574)
1052 2014-01-30 Glenn Morris <rgm@gnu.org>
1054 * simple.el (eval-expression): Doc fix.
1056 * hexl.el (hexl-mode-hook):
1057 * ielm.el (ielm-mode-hook):
1058 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1059 (lisp-interaction-mode-hook):
1060 * progmodes/cfengine.e (cfengine3-documentation-function):
1061 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1063 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1065 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1066 is a symbol (bug#16584).
1068 2014-01-30 Glenn Morris <rgm@gnu.org>
1070 * help.el (help-for-help-internal): Add "P" to text.
1072 2014-01-29 Glenn Morris <rgm@gnu.org>
1074 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1076 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1078 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1081 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1083 * progmodes/hideif.el: Extend to full CPP expression syntax.
1084 (hif-token-alist): Add missing tokens.
1085 (hif-token-regexp): Add support for float/octal/hex immediates.
1086 (hif-string-literal-regexp): New const.
1087 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1088 (hif-exprlist): New function.
1089 (hif-parse-if-exp): Use it.
1090 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1091 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1092 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1093 (hif-logxor, hif-comma): New functions.
1095 2014-01-28 Glenn Morris <rgm@gnu.org>
1097 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1099 * indent.el (tab-stop-list): Doc fix. Add :version.
1101 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1102 (cvs-append-to-ignore): Add compatibility alias.
1104 2014-01-27 Glenn Morris <rgm@gnu.org>
1106 * dired.el (dired-hide-details-mode): Don't autoload it,
1107 since it cannot be used outside Dired buffers anyway.
1109 * emulation/cua-base.el (cua-mode): Doc fix.
1111 * dired.el (dired-hide-details-hide-symlink-targets)
1112 (dired-hide-details-hide-information-lines)
1113 (dired-hide-details-mode): Doc fixes.
1115 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1116 * strokes.el (strokes-file): Doc fix. Bump :version.
1117 (strokes-help): Doc fix.
1118 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1119 * emulation/viper.el (viper): Doc fix for custom group.
1120 (top-level): Remove oh-so-no-longer-relevant text about vip.
1121 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1123 * ido.el (ido-save-directory-list-file):
1124 * saveplace.el (save-place-file):
1125 * calendar/timeclock.el (timeclock-file):
1126 * net/quickurl.el (quickurl-url-file):
1127 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1128 * progmodes/idlwave.el (idlwave-config-directory):
1129 * textmodes/remember.el (remember-data-file):
1132 2014-01-26 Glenn Morris <rgm@gnu.org>
1134 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1135 Doc fix. Make obsolete.
1136 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1138 * sort.el (delete-duplicate-lines): Doc fix.
1140 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1142 * progmodes/ada-mode.el (ada):
1143 * woman.el (woman): Link to info manual and Commentary section.
1145 * progmodes/flymake.el (flymake):
1146 * nxml/nxml-mode.el (nxml):
1148 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1149 * htmlfontify.el (htmlfontify):
1152 * ido.el (ido): Link to info manual.
1154 2014-01-25 Leo Liu <sdl.web@gmail.com>
1156 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1158 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1160 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1163 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1165 * net/eww.el (eww-download-callback):
1166 Fix reference to eww-download-directory.
1168 * emacs-lisp/bytecomp.el (byte-compile-file):
1169 Remove unused local variable `file-name'.
1171 2014-01-24 Glenn Morris <rgm@gnu.org>
1173 * woman.el (woman-default-faces, woman-monochrome-faces):
1174 Fix obsolescence specification.
1176 * subr.el (with-demoted-errors): Doc fix.
1178 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1180 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1181 (cl--macroexp-fboundp): New function.
1182 (cl--make-type-test): Use it.
1184 2014-01-23 Glenn Morris <rgm@gnu.org>
1186 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1187 * simple.el (eval-expression): Doc fixes.
1189 2014-01-22 Glenn Morris <rgm@gnu.org>
1191 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1193 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1195 * emacs-lisp/package.el: Write files silently.
1196 (package-autoload-ensure-default-file, package--write-file-no-coding)
1197 (package-generate-description-file, package--download-one-archive)
1198 (package-install-from-archive): Tell `write-region' to stay quiet.
1199 (package-menu-mode, package-menu--print-info): Omit the Archive column
1200 if there's only one archive.
1201 (package-all-keywords, package--has-keyword-p): Remove dead code.
1203 2014-01-22 Glenn Morris <rgm@gnu.org>
1205 * version.el (emacs-bzr-version-bzr): Fix typo.
1207 * version.el (emacs-repository-get-version):
1208 Check either .bzr or .git, but not both.
1209 Make the git case actually use the DIR argument, and return nil
1210 rather than the empty string.
1211 Avoid error if .git exists but the git executable is not found.
1213 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1215 Fixes in window size functions around Bug#16430 and Bug#16470.
1216 * window.el (window-total-size, window-size): New argument ROUND.
1217 (window--min-delta-1, window-min-delta, window--max-delta-1):
1218 Be more conservative when calculating the numbers of lines or
1219 columns a window can shrink (Bug#16430).
1220 (fit-window-to-buffer): Simplify code.
1221 * term.el (term-window-width): Call window-body-width again.
1223 2014-01-22 Glenn Morris <rgm@gnu.org>
1225 * image.el (image-format-suffixes): Doc fix.
1227 * international/quail.el (quail-define-package): Doc fix.
1229 * emacs-lisp/authors.el (authors-valid-file-names)
1230 (authors-renamed-files-alist): Additions.
1232 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1233 reverts 2014-01-09 change. (Bug#16422)
1235 * calc/calc-embed.el (thing-at-point-looking-at):
1236 * emacs-lisp/map-ynp.el (x-popup-dialog):
1237 * obsolete/lmenu.el (x-popup-dialog):
1238 * emacs-lisp/package.el (url-recreate-url):
1239 * mail/mailclient.el (clipboard-kill-ring-save):
1240 * subr.el (x-popup-dialog): Update declaration.
1241 * mail/rmail.el (rmail-mime-message-p):
1242 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1244 2014-01-21 Daniel Colascione <dancol@dancol.org>
1246 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1247 Correctly detect when we're inside an arithmetic expansion form
1248 containing nested parenthesis.
1249 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1250 to detect cases where we shouldn't expand "<<" to a heredoc
1253 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1255 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1256 (eldoc--message-command-p): New function.
1257 (eldoc-display-message-p): Use it.
1258 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1259 message is not automatically erased for us.
1260 (eldoc-print-current-symbol-info): Erase previous message, if any.
1262 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1264 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1265 specify it's an interactive function.
1267 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1268 Fix regex used for scanning for citation keys which failed for
1269 citations with optional arguments.
1271 2014-01-21 Leo Liu <sdl.web@gmail.com>
1273 * simple.el (read--expression): Don't enable eldoc-mode.
1275 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1277 * simple.el (move-beginning-of-line): Make sure we don't move forward
1280 2014-01-20 Juri Linkov <juri@jurta.org>
1282 * saveplace.el (toggle-save-place, save-place-to-alist)
1283 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1284 'dired-mode) before checking for dired-directory. (Bug#16477)
1286 2014-01-20 Juri Linkov <juri@jurta.org>
1288 * indent.el (indent-line-to): Use backward-to-indentation
1289 instead of back-to-indentation. (Bug#16461)
1291 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1293 Revert some of the CANNOT_DUMP fix (Bug#16494).
1294 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1295 but fixing this can wait until after the next release.
1296 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1298 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1300 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1301 Use `password-word-equivalents'.
1302 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1303 to t. (Bug#5664, Bug#13124)
1305 2014-01-19 Alan Mackenzie <acm@muc.de>
1307 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1309 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1310 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1311 * progmodes/cc-mode.el (c-before-change, c-after-change)
1312 (c-font-lock-fontify-region): Bind it here.
1314 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1316 * term.el (term-window-width): Call window-text-width instead of
1317 window-width (Bug#16470).
1319 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1321 * simple.el (password-word-equivalents): Remove duplicates.
1322 Sort, to make this easier next time.
1323 Downcase. Omit ": " after "jelszó".
1325 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1327 * term/common-win.el (saved-region-selection): Defvar it.
1328 (x-select-text): Set saved-region-selection (Bug#16382).
1330 2014-01-18 Glenn Morris <rgm@gnu.org>
1332 * emacs-lisp/authors.el (authors-aliases)
1333 (authors-renamed-files-alist): Add some entries.
1335 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1337 * net/tramp.el (tramp-password-prompt-regexp):
1338 Use `password-word-equivalents' if available.
1339 (tramp-action-password, tramp-process-one-action)
1340 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1342 2014-01-17 Chong Yidong <cyd@gnu.org>
1344 * simple.el (password-word-equivalents): New defcustom.
1345 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1347 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1350 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1352 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1353 (ruby-align-to-stmt-keywords): Change the default value.
1354 Use `ruby-alignable-keywords' to generate the possible customization
1356 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1357 keywords, check against the value of `ruby-alignable-keywords'
1358 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1360 2014-01-17 Glenn Morris <rgm@gnu.org>
1362 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1364 Make M-x authors return zero *Authors Errors* from current logs.
1365 * emacs-lisp/authors.el (authors-obsolete-files-regexps)
1366 (authors-ignored-files): Add some entries, remove others.
1367 (authors-ambiguous-files, authors-valid-file-names):
1369 (authors-renamed-files-alist): Add, remove, and adjust entries.
1370 (authors-renamed-files-regexps): Add some entries.
1371 Remove some very broad ones. Make some entries `lax'.
1372 (authors-lax-changelogs): New constant.
1373 (authors-disambiguate-file-name): Treat top-level specially.
1374 (authors-lax-changelog-p): New function.
1375 (authors-canonical-file-name): Check file as written against
1376 authors-valid-file-names. Do not special-case etc/.
1377 Handle `lax' logs and authors-renamed-files-regexps elements.
1379 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1381 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1382 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1385 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1387 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1388 Assume we're already in the proper buffer.
1389 Inspired by Anders Lindgren <andlind@gmail.com>.
1390 (follow-post-command-hook): Call it from the right buffer.
1391 (follow-comint-scroll-to-bottom): Adjust call.
1392 (follow-all-followers): Use get-buffer-window-list.
1394 2014-01-15 Daniel Colascione <dancol@dancol.org>
1396 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1397 `buffer-file-name' in interactive-form so that we don't leave
1398 pathless file names in `file-name-history'.
1400 2014-01-15 Juri Linkov <juri@jurta.org>
1402 * indent.el (indent-rigidly): Set deactivate-mark to nil
1403 in transient indentation mode. (Bug#16438)
1405 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1407 * emacs-lisp/package.el (package-desc-keywords): New function
1409 (describe-package-1, package-all-keywords)
1410 (package--has-keyword-p): Use it.
1412 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1414 * simple.el (define-alternatives): When creating the
1415 COMMAND-alternatives variable, assign COMMAND as its definition
1416 name so that `describe-variable' can relocate it.
1418 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1420 * font-lock.el (font-lock-keywords): Fix typo in docstring
1423 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1425 * ispell.el (ispell-region): Reset `in-comment' for new line
1426 instead of wrongly reset `add-coment' (bug#13577).
1428 2014-01-14 Daiki Ueno <ueno@gnu.org>
1430 * epa-file.el (epa-file-write-region): Encode the region according
1431 to `buffer-file-format'. Problem reported at:
1432 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1434 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1436 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1437 so it applies in the right buffer (bug#16410).
1439 2014-01-13 Daniel Colascione <dancol@dancol.org>
1441 * textmodes/rst.el (rst-define-key): Provide deprecated
1442 keybindings through named functions instead of anonymous ones so
1443 that "??" doesn't appear in describe-mode output.
1445 2014-01-13 Bastien Guerry <bzg@gnu.org>
1447 * simple.el (define-alternatives): Call the selected command
1448 interactively. When setting `COMMAND--implementation' for the
1449 first time, tell the user how to chose another implementation.
1450 Enhance the docstring.
1452 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1454 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1455 (log-edit--match-first-line): New function.
1456 (log-edit-font-lock-keywords): Use it.
1457 (log-edit-mode): Make jit-lock-defer-multiline work.
1459 2014-01-13 Bastien Guerry <bzg@gnu.org>
1461 * rect.el (rectangle-mark-mode): When the region is not active,
1462 display a message saying that the mark as been set and that
1463 rectangle mode is in use.
1464 (rectangle--highlight-for-redisplay): Only put an overlay with a
1465 visible vertical bar when (display-graphic-p) is non-nil.
1466 This partially fixes Bug#16403.
1468 2014-01-13 Juri Linkov <juri@jurta.org>
1470 * info.el (Info-find-file): Go to DIR before displaying the error
1471 about a nonexistent file if no previous Info file is visited.
1472 Use `user-error' instead of `error' for "Info file %s does not exist".
1473 (Info-find-node-2): In case of a nonexistent node in unwind forms
1474 go to the Top node if there is no previous node to revert to.
1477 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1479 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1480 * window.el (fit-frame-to-buffer): Fix doc-string.
1481 Respect window-min-height/-width. Fit pixelwise when
1482 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1483 when avoiding that frame goes partially off-screen.
1484 (fit-window-to-buffer): Respect window-min-height/-width
1487 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1489 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1490 after an empty line.
1492 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1494 * net/shr.el (shr-render-region): Autoload.
1496 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1498 * net/eww.el (eww-download-directory): Rename from
1499 `eww-download-path' (Bug#16419).
1501 2014-01-12 Leo Liu <sdl.web@gmail.com>
1503 * dired-x.el (dired-mode-map): Fix last change.
1505 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1507 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1510 * emacs-lisp/generic.el (generic--normalize-comments):
1511 Rename from generic--normalise-comments. All uses changed.
1512 * play/bubbles.el (bubbles--neighborhood-score)
1513 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1514 (bubbles--neighborhood-available)
1515 (bubbles--update-neighborhood-score):
1516 Rename from names with 'neighbourhood'. All uses changed.
1518 2014-01-12 Leo Liu <sdl.web@gmail.com>
1520 Re-implement the feature of showing eldoc info after editing.
1521 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1522 (eldoc-edit-message-commands): New function.
1523 (eldoc-print-after-edit): New variable.
1524 (eldoc-pre-command-refresh-echo-area): Emit message only by
1525 eldoc-message-commands.
1526 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1527 if eldoc-print-after-edit is set. (Bug#16346)
1528 * simple.el (read--expression): Enable eldoc-mode.
1529 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1531 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1532 Eric S. Raymond <esr@thyrsus.com>
1534 * version.el (emacs-repository-get-version): Enhance so the
1535 function works correctly in either a Bazaar or Git repo.
1537 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1539 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1540 Goes with removal of the joke manpages from /etc.
1542 2014-01-10 Kenichi Handa <handa@gnu.org>
1544 * mail/rmail.el (rmail-get-coding-system):
1545 Check rmail-get-coding-function before "funcall"ing it.
1547 2014-01-10 Glenn Morris <rgm@gnu.org>
1549 * emacs-lisp/authors.el (authors-fixed-entries):
1550 Update for files that no longer exist.
1552 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1554 * version.el (emacs-bzr-get-version): Restore compatibilty with
1557 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1559 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1562 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1564 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1566 2014-01-10 Chong Yidong <cyd@gnu.org>
1568 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1570 2014-01-10 Anders Lindgren <andlind@gmail.com>
1572 * follow.el (follow-cache-command-list): Include right-char and
1575 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1578 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1579 * woman.el (woman-mark-horizontal-position):
1580 Rename from woman-mark-horizonal-position. Use changed.
1582 2014-01-10 Glenn Morris <rgm@gnu.org>
1584 * info.el (info-initialize): If running uninstalled, ensure our
1585 own info files are always found first, even if INFOPATH is set.
1587 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1589 2014-01-09 David Engster <deng@randomsample.de>
1591 * emacs-lisp/eieio-custom.el:
1592 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1593 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1594 * emacs-lisp/eieio.el: Regenerate autoloads.
1596 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1598 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1599 following renames. (Bug#8756)
1601 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1603 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1605 (activate-mark): Add `no-tmm' argument.
1606 (set-mark, push-mark-command): Use it instead of running
1607 activate-mark-hook by hand.
1609 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1611 In preparation for the move to git, sanitize out some
1612 Bazaar-specific names.
1614 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1616 * version.el (emacs-bzr-version): Name changed to
1617 emacs-repository-version. Obsolete-variable alias made.
1618 * loadup.el: Follow through on this name change.
1619 * mail/emacsbug.el (report-emacs-bug): Factor out any
1620 assumption about the version control system in use.
1622 2014-01-08 David Engster <deng@randomsample.de>
1624 * help-fns.el (help-fns-describe-function-functions):
1625 New variable to call functions for augmenting help buffers.
1626 (describe-function-1): Remove explicit calls to
1627 `help-fns--compiler-macro', `help-fns--parent-mode' and
1628 `help-fns--obsolete'. Put them in above new variable instead, and
1629 call them through `run-hook-with-args'.
1630 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1631 `eieio-describe-class'. Not meant for interactive use anymore,
1632 but to augment existing help buffers. Remove optional second
1633 argument. Create proper button for file location.
1634 Rewrite function to use `insert' instead of `princ' and `prin1' where
1636 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1637 (eieio-method-def, eieio-class-def): Move further up.
1638 (describe-method, describe-generic, eieio-describe-method):
1640 (eieio-help-constructor, eieio-help-generic): Rename from
1641 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1642 Rewrite to use `insert' in the current buffer and use proper help
1644 (eieio-help-find-method-definition)
1645 (eieio-help-find-class-definition): Also accept symbols as
1647 (eieio-help-mode-augmentation-maybee): Remove.
1648 (eieio-describe-class-sb): Use `describe-function'.
1649 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1650 Add `eieio-help-generic' and `eieio-help-constructor'.
1652 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1655 * language/china-util.el (hz-ascii-designation):
1656 Rename from hz-ascii-designnation.
1657 (hz-ascii-designation): Rename from hz-ascii-designnation.
1660 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1662 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1665 2014-01-08 Bastien Guerry <bzg@gnu.org>
1667 * emacs-lisp/package.el (package-delete):
1668 Correctly delete the package from package-alist.
1670 2014-01-08 Daiki Ueno <ueno@gnu.org>
1672 * emacs-lisp/package.el (url-recreate-url): Declare.
1673 (url-http-target-url): Declare.
1674 (package-handle-response): Include requested URL in the error message.
1675 (package--check-signature): Don't re-signal errors from
1676 package--with-work-buffer. Suggested by Stefan Monnier.
1678 2014-01-07 Bastien Guerry <bzg@gnu.org>
1680 * minibuffer.el (completion--try-word-completion): When both a
1681 hyphen and a space are possible candidates for the character
1682 following a word, display both candidates. (Bug#15980)
1684 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1686 * window.el (balance-windows-2): While rounding don't give a
1687 window more than the remainder. Bug#16351, bug#16383.
1689 2014-01-07 Glenn Morris <rgm@gnu.org>
1691 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1692 (menu-bar-help-menu): Use view-external-packages instead.
1694 2014-01-07 Bastien Guerry <bzg@gnu.org>
1696 * emacs-lisp/package.el (package-delete): Also delete the package
1697 name from `package-alist', not its description only.
1699 2014-01-07 Glenn Morris <rgm@gnu.org>
1701 * help.el (view-external-packages):
1702 * menu-bar.el (menu-bar-help-extra-packages):
1703 Visit efaq.info rather than etc/MORE.STUFF.
1705 2014-01-07 Juri Linkov <juri@jurta.org>
1707 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1708 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1710 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1711 that shadows RET. (Bug#16342)
1713 2014-01-07 Chong Yidong <cyd@gnu.org>
1715 * isearch.el (isearch-yank-char, isearch-yank-word)
1716 (isearch-yank-line): Doc fix.
1718 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1720 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1721 * emacs-lisp/elint.el (elint-find-builtins):
1722 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1723 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1724 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1725 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1726 * apropos.el (apropos-safe-documentation):
1727 * subr.el (symbol-file): Remove redundant fboundp.
1728 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1730 2014-01-06 Bastien Guerry <bzg@gnu.org>
1732 * hl-line.el (global-hl-line-overlay): Make a local variable.
1733 (global-hl-line-overlays): New variable to store all overlays.
1734 (global-hl-line-mode): Don't delete overlays from the current
1735 buffer when `global-hl-line-sticky-flag' is non-nil.
1736 (global-hl-line-highlight): Add new overlays to
1737 `global-hl-line-overlays'.
1738 (global-hl-line-unhighlight-all): New function to delete all
1739 overlays when turning off `global-hl-line-mode'.
1740 This fixes Bug#16183.
1742 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1744 * subr.el (set-transient-map): Fix nested case and docstring.
1746 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1748 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1751 2014-01-06 Daniel Colascione <dancol@dancol.org>
1753 Fix defun navigation in vc log view.
1755 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1756 like `beginning-of-defun'.
1757 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1758 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1759 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1760 (log-view-extract-comment): Call `log-view-current-entry' directly
1761 instead of relying on broken `log-view-beginning-of-defun' behavior.
1763 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1766 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1767 * emacs-lisp/debug.el (cancel-debug-on-entry):
1768 * epg.el (epg-error-to-string):
1769 * files.el (recover-file):
1770 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1771 * mail/emacsbug.el (report-emacs-bug-hook):
1772 * mail/sendmail.el (mail-recover):
1773 * ses.el (ses-yank-resize):
1774 * term/ns-win.el (ns-print-buffer):
1775 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1776 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1778 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1780 2014-01-06 Leo Liu <sdl.web@gmail.com>
1782 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1783 to avoid shadowing global key. (Bug#16354)
1785 2014-01-06 Daniel Colascione <dancol@dancol.org>
1787 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1790 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1792 * window.el (balance-windows): Add mising t to fix Bug#16351.
1794 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1796 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1798 (shr-insert): If we have a word that's longer than `shr-width',
1799 break after it anyway. Otherwise we'll do no breaking once we get
1802 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1804 * net/eww.el (eww): Support single/double quote for search.
1805 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1806 (eww-history-quit): Delete and use quit-window.
1807 (eww-history-kill): Delete, because it doesn't work well and
1809 (eww-history-mode-map): Delete some keys and add easy-menu.
1811 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1813 Fix misspelling of 'chinese' in rx (Bug#16237).
1814 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1817 Change subword regexps back to vars (Bug#16296).
1818 * progmodes/subword.el (subword-forward-regexp)
1819 (subword-backward-regexp): Change these back to variables.
1821 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1823 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1824 syntax-begin-function (bug#16247).
1826 2014-01-03 Chong Yidong <cyd@gnu.org>
1828 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1829 (advice--docstring): Delete variable.
1830 (advice--make-1): Leave the docstring empty.
1831 (advice-add): Use function-documentation for advised docstring.
1833 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1834 Ignore function-documentation property when getting documentation.
1835 (ad-activate-advised-definition): Use function-documentation
1836 generate the docstring.
1837 (ad-make-advised-definition): Don't call
1838 ad-make-advised-definition-docstring.
1839 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1842 * progmodes/sql.el (sql-help): Use function-documentation instead
1843 of dynamic-docstring-function property. No need to autoload now.
1844 (sql--help-docstring): New variable.
1845 (sql--make-help-docstring): Use it.
1847 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1849 * ielm.el (ielm-tab): Retarget.
1850 (ielm-map): Use ielm-tab for tab.
1851 (ielm-complete-filename): Use comint-filename-completion.
1852 (ielm-complete-symbol): Remove.
1853 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1854 remove ielm-tab from completion-at-point-functions (bug#16224).
1856 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1857 Beware signals raised by predicates (bug#16201).
1859 2014-01-02 Richard Stallman <rms@gnu.org>
1861 * dired-aux.el (dired-do-print): Handle printer-name.
1863 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1864 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1865 (rmail-epa-decrypt): Turn off mime processing.
1867 * mail/rmail.el (rmail-make-in-reply-to-field):
1868 Add parens in message-id.
1870 * mail/rmail.el (rmail-get-coding-function): Variable.
1871 (rmail-get-coding-system): Use it.
1873 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1875 * international/mule-conf.el: Unify the charset indian-is13194.
1876 (indian-is13194): Specify unify-map.
1878 2013-12-31 Leo Liu <sdl.web@gmail.com>
1880 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1882 2013-12-30 Daniel Colascione <dancol@dancol.org>
1884 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1885 of printing a useless when we resume from sleep.
1887 * progmodes/sh-script.el
1888 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
1889 in indentation code. (Bug#16233)
1891 2013-12-28 João Távora <joaotavora@gmail.com>
1893 * elec-pair.el (electric-pair-post-self-insert-function):
1894 Don't open extra newlines at beginning of buffer. (Bug#16272)
1896 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1898 * frame.el (window-system-for-display): Don't allow to create a
1899 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1901 2013-12-28 Glenn Morris <rgm@gnu.org>
1903 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1906 * apropos.el (apropos-match-face):
1907 * calculator.el (calculator-displayer):
1908 * dabbrev.el (dabbrev-search-these-buffers-only):
1909 * face-remap.el (buffer-face-mode-face):
1910 * simple.el (yank-handled-properties):
1911 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1912 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1913 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1914 (hashcash-double-spend-database):
1915 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1916 (ruby-deep-indent-paren-style):
1917 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1918 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1919 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1920 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1921 Specify custom types.
1923 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1924 * bookmark.el (bookmark-bmenu-use-header-line):
1925 * doc-view.el (doc-view-scale-internally):
1926 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1927 * register.el (register-preview-delay):
1928 * net/shr.el (shr-bullet):
1929 * progmodes/cfengine.el (cfengine-cf-promises)
1930 (cfengine-parameters-indent):
1931 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1932 * textmodes/reftex-vars.el (reftex-label-regexps):
1933 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1935 * net/tls.el (tls-certtool-program): Fix default value.
1937 * desktop.el (desktop-restore-in-current-display):
1938 * newcomment.el (comment-empty-lines):
1939 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1940 (idlwave-pad-keyword):
1941 * progmodes/tcl.el (tcl-tab-always-indent):
1942 * textmodes/reftex-vars.el (reftex-index-default-tag):
1943 * elec-pair.el (electric-pair-skip-whitespace):
1944 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1946 * emacs-lisp/authors.el (authors-ignored-files)
1947 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1949 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1951 * shell.el (shell-dynamic-complete-command): Doc fix.
1952 (shell--command-completion-data): Shell completion now matches
1953 executable filenames from the current buffer's directory, on
1954 systems in which this behavior is the default (windows-nt, ms-dos).
1956 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1958 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1960 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1962 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1965 * electric.el: Move all electric-pair-* to elec-pair.el.
1966 * elec-pair.el: New file, split from electric.el.
1968 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1970 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1971 indentation level is larger than the width, because that will
1973 (shr-insert): Fill repeatedly long texts, so that Japanese is
1974 formatted correctly (bug#16263).
1975 (shr-find-fill-point): Off by one error in comparison with the
1978 2013-12-26 João Távora <joaotavora@gmail.com>
1980 * electric.el (electric-pair-mode): More flexible engine for skip-
1981 and inhibit predicates, new options for pairing-related functionality.
1982 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1983 if that keeps or improves their balance in buffers.
1984 (electric-pair-delete-adjacent-pairs): Delete the pair when
1985 backspacing over adjacent matched delimiters.
1986 (electric-pair-open-extra-newline): Open extra newline when
1987 inserting newlines between adjacent matched delimiters.
1988 (electric--sort-post-self-insertion-hook):
1989 Sort post-self-insert-hook according to priority values when
1990 minor-modes are activated.
1991 * simple.el (newline-and-indent): Call newline with interactive
1993 (blink-paren-post-self-insert-function): Set priority to 100.
1994 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1995 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1996 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1997 electric-pair-open-newline-between-pairs to nil.
1999 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
2001 * progmodes/python.el: Use lexical-binding.
2002 (python-nav-beginning-of-defun): Stop searching ASAP.
2004 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
2006 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
2007 Fix interactive spec. Doc fix. (Bug#15754)
2009 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
2011 * emacs-lisp/byte-run.el (eval-when-compile):
2012 * progmodes/cc-defs.el (cc-eval-when-compile):
2013 Fix edebug spec (bug#16184).
2015 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2017 * net/shr.el (shr-visit-file): Remove debugging function.
2018 (shr-insert): Don't infloop if we can't find a good place to break
2019 the line (bug#16256).
2021 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
2023 * progmodes/python.el (python-nav--lisp-forward-sexp): New function.
2024 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
2025 python-nav-lisp-forward-sexp-safe.
2026 (python-nav--forward-sexp): New argument SAFE allows switching
2027 forward sexp movement behavior for parens.
2028 (python-nav-forward-sexp): Throw errors on unterminated parens
2030 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
2031 (python-nav-backward-sexp-safe): New functions.
2032 (python-shell-buffer-substring):
2033 Use `python-nav-forward-sexp-safe'.
2035 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2037 * net/shr.el (shr-find-fill-point): Don't break lines before a
2039 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2040 (shr-find-fill-point): Remove the special checks for the quotation
2041 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2043 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2045 * net/eww.el (eww-form-textarea): Use a different face for
2046 textareas than text input since they have different keymaps
2049 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2051 * progmodes/python.el (python-nav-beginning-of-statement):
2052 Speed up (Bug#15295).
2054 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2056 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2057 the window configuration.
2059 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2061 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2062 we run on MS-Windows or MS-DOS.
2064 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2066 * window.el (balance-windows-area): Call window-size instead of
2067 window-height and window-width. Bug#16241.
2069 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2071 * net/eww.el (eww-bookmark-quit): Remove.
2072 (eww-bookmark-browse): Restore the window configuration when you
2073 choose a bookmark (bug#16144).
2075 2013-12-24 Daniel Colascione <dancol@dancol.org>
2077 * icomplete.el: Remove redundant :group arguments to `defcustom'
2079 (icomplete-show-matches-on-no-input): New customizable variable.
2080 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2081 we have something to show.
2082 (icomplete-exhibit): Compute completions even if we have no user input.
2084 2013-12-23 Daniel Colascione <dancol@dancol.org>
2086 * icomplete.el: Move `provide' to end of file.
2088 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2090 * net/gnutls.el (gnutls-verify-error): Add version tag.
2092 2013-12-23 Chong Yidong <cyd@gnu.org>
2094 * subr.el (set-transient-map): Rename from
2095 set-temporary-overlay-map. Doc fix.
2097 * face-remap.el (text-scale-adjust):
2098 * indent.el (indent-rigidly):
2099 * kmacro.el (kmacro-call-macro):
2100 * minibuffer.el (minibuffer-force-complete):
2101 * repeat.el (repeat):
2102 * simple.el (universal-argument--mode):
2103 * calendar/todo-mode.el (todo-insert-item--next-param):
2104 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2106 * indent.el (indent-rigidly): Use substitute-command-keys.
2108 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2110 * net/eww.el (eww-tag-select): Add text-property to jump to next
2112 (eww): Add non-supported ftp error.
2114 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2116 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2117 comments. Handle electric indent after typing `?' and `!'.
2119 2013-12-22 Chong Yidong <cyd@gnu.org>
2121 * faces.el (face-spec-recalc): If the theme specs are not
2122 applicable to a frame, fall back on the defface spec.
2123 This prevents themes from obliterating faces on low-color terminals.
2125 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2127 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2128 after `{'. We need it after block openers, and it doesn't seem
2129 to hurt after hash openers.
2131 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2133 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2134 extracted from `ruby-smie-rules'.
2135 (ruby--electric-indent-chars): New variable.
2136 (ruby--electric-indent-p): New function.
2137 (ruby-mode): Use `electric-indent-functions' instead of
2138 `electric-indent-chars'.
2140 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2142 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2144 (ruby-smie-rules): Indent plus one level after `=>'.
2146 2013-12-21 Richard Stallman <rms@gnu.org>
2148 * simple.el (newline): Doc fix.
2150 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2152 * net/eww.el (eww-list-histories, eww-list-histories)
2153 (eww-history-browse, eww-history-quit, eww-history-kill)
2154 (eww-history-mode-map, eww-history-mode): New command and
2155 functions to list browser histories.
2156 (eww-form-text): Support text form with disabled
2157 and readonly attributes.
2158 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2160 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2162 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2163 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2164 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2165 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2167 (eww-bookmark-mode-map): Add menu.
2168 (eww-render, eww-mode): Use `setq-local'.
2169 (eww-tool-bar-map): New variable.
2170 (eww-mode): Set `tool-bar-map'.
2171 (eww-view-source): Check for `html-mode' with `fboundp'.
2173 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2175 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2176 elements with text inside. Also remove debugging.
2178 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2180 * cus-start.el (all): Add ns-use-srgb-colorspace.
2182 2013-12-21 Chong Yidong <cyd@gnu.org>
2184 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2185 undefined. Thus, theme settings for undefined faces do not take
2186 effect until the faces are defined with defface, the same as with
2189 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2190 (face-spec-reset-face): Don't assign extra properties in temacs.
2191 (face-spec-recalc): Apply X resources too.
2193 2013-12-21 Chong Yidong <cyd@gnu.org>
2195 * faces.el (face-spec-set):
2196 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2197 * custom.el (defface): Doc fixes (Bug#16203).
2199 * indent.el (indent-rigidly-map): Add docstring, and move commands
2200 into named functions.
2201 (indent-rigidly-left, indent-rigidly-right)
2202 (indent-rigidly-left-to-tab-stop)
2203 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2204 indentation direction based on bidi direction, and accumulate
2205 sequential commands in a single undo boundary.
2206 (indent-rigidly--pop-undo): New utility function.
2208 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2210 * faces.el (read-face-name): Require crm.el when using crm-separator.
2212 2013-12-20 Daniel Colascione <dancol@dancol.org>
2214 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2215 so that we don't reflow comments into the shebang line.
2217 2013-12-20 Juri Linkov <juri@jurta.org>
2219 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2220 a position when `dired-directory' is non-nil. Check integer
2221 positions with `integerp'.
2222 (toggle-save-place, save-places-to-alist): Add check for
2224 (save-place-find-file-hook): Check integer positions with
2226 (save-place-dired-hook): Use `dired-goto-file' when
2227 `dired-filename' is found in the assoc list. Check integer
2228 positions with `integerp'.
2229 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2231 * dired.el (dired-initial-position-hook): Rename back from
2232 `dired-initial-point-hook'.
2233 (dired-initial-position): Rename `dired-initial-point-hook' to
2234 `dired-initial-position-hook'.
2235 (dired-file-name-at-point): Doc fix. (Bug#15329)
2237 2013-12-20 Juri Linkov <juri@jurta.org>
2239 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2240 (read-regexp-suggestions): New function.
2241 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2242 Use `read-regexp-suggestions'. Add non-empty default to history
2244 (occur-read-regexp-defaults-function): Remove function.
2245 (occur-read-primary-args): Use `regexp-history-last' instead of
2246 `occur-read-regexp-defaults-function'.
2248 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2249 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2250 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2251 `hi-lock-read-regexp-defaults-function'. Doc fix.
2252 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2253 with `find-tag-default-as-symbol-regexp'. Doc fix.
2254 (hi-lock-read-regexp-defaults): Remove function.
2255 (hi-lock-regexp-okay): Add check for null.
2257 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2258 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2260 * subr.el (find-tag-default-as-symbol-regexp): New function.
2261 (find-tag-default-as-regexp): Move symbol regexp formatting to
2262 `find-tag-default-as-symbol-regexp'.
2264 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2266 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2269 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2271 * calendar/todo-mode.el: New implementation of item insertion
2272 commands and key bindings.
2273 (todo-key-prompt): New face.
2274 (todo-insert-item): New command.
2275 (todo-insert-item--parameters): New defconst, replacing defvar
2276 todo-insertion-commands-args-genlist.
2277 (todo-insert-item--param-key-alist): New defconst, replacing
2278 defvar todo-insertion-commands-arg-key-list.
2279 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2280 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2281 (todo-insert-item--next-param): New functions.
2282 (todo-insert-item--args, todo-insert-item--argleft)
2283 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2285 (todo-key-bindings-t): Change binding of "i" from
2286 todo-insertion-map to todo-insert-item.
2287 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2288 (todo-insertion-command-name, todo-insertion-commands-names)
2289 (todo-define-insertion-command, todo-insertion-commands)
2290 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2292 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2294 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2295 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2297 (todo-move-category): Allow choosing a non-existing todo file to
2298 move the category to, and create that file.
2299 (todo-default-priority): New user option.
2300 (todo-set-item-priority): Use it.
2301 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2302 (desktop-restore-file-buffer): Declare.
2303 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2304 (todo-modes-set-2): Locally set desktop-save-buffer to
2305 todo-desktop-save-buffer.
2306 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2307 (auto-mode-alist): Add autoload cookie.
2309 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2311 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2312 helpers.el was a poor choice of name.
2313 (string-remove-prefix): New function.
2314 (string-remove-suffix): New function.
2316 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2318 Fix assignment for new window total sizes.
2319 * window.el (window--pixel-to-size): Remove function.
2320 (window--pixel-to-total-1, window--pixel-to-total):
2321 Fix calculation of new total sizes.
2323 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2325 * comint.el (comint-output-filter): Fix rear-nonsticky property
2326 placement (Bug#16010).
2328 2013-12-20 Chong Yidong <cyd@gnu.org>
2330 * faces.el (read-color): Minor fix for completion function.
2332 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2334 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2335 New option. (Bug#16182)
2336 (ruby-smie--indent-to-stmt-p): Use it.
2337 (ruby-smie-rules): Revert the logic in the handling of `when'.
2338 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2339 (ruby-deep-arglist, ruby-deep-indent-paren)
2340 (ruby-deep-indent-paren-style): Update docstrings to note that the
2341 vars don't have any effect with SMIE.
2343 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2345 * calc/calc.el (calc-enter, calc-pop): Use the variable
2346 `calc-context-sensitive-enter'.
2348 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2350 * net/shr.el (shr-insert): Protect against infloops in degenerate
2353 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2355 * progmodes/octave.el (octave): Add link to manual and octave
2357 (octave-mode-menu): Link to octave-mode manual.
2359 2013-12-20 Leo Liu <sdl.web@gmail.com>
2361 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2362 insertion using skeleton-end-newline. (Bug#16138)
2364 2013-12-20 Juri Linkov <juri@jurta.org>
2366 * replace.el (occur-engine): Use `add-face-text-property'
2367 to add the face property to matches and titles. (Bug#14645)
2369 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2370 the palette of other hi-lock colors.
2371 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2373 2013-12-19 Juri Linkov <juri@jurta.org>
2375 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2376 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2377 (minibuffer-history-symbol): Move variable declaration closer to
2380 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2383 2013-12-19 Juri Linkov <juri@jurta.org>
2385 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2387 (log-edit-hook): Add it to :options. (Bug#16170)
2389 2013-12-19 Juri Linkov <juri@jurta.org>
2391 * simple.el (eval-expression-print-format): Don't check for
2392 command names and the last command. Always display additional
2393 formats of the integer result in the echo area, and insert them
2394 to the current buffer only with a zero prefix arg.
2395 Display character when char-displayable-p is non-nil.
2396 (eval-expression): With a zero prefix arg, set `print-length' and
2397 `print-level' to nil, and insert the integer values from
2398 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2400 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2401 `eval-last-sexp-arg-internal'. Doc fix.
2402 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2403 `eval-last-sexp-print-value'. Doc fix.
2404 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2405 Set `print-length' and `print-level' to nil when arg is zero.
2406 (eval-last-sexp): Doc fix.
2407 (eval-defun-2): Print the integer values from
2408 `eval-expression-print-format' at the end.
2410 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2411 values from `eval-expression-print-format' at the end.
2413 * ielm.el (ielm-eval-input): Print the integer
2414 values from `eval-expression-print-format' at the end.
2416 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2418 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2419 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2421 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2423 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2424 (hl-line-highlight, global-hl-line-highlight): Use it.
2425 (hl-line-overlay): Use defvar-local.
2427 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2429 * term/ns-win.el: Require dnd.
2430 (global-map): Remove drag items.
2431 (ns-insert-text, ns-set-foreground-at-mouse)
2432 (ns-set-background-at-mouse):
2433 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2434 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2437 2013-12-19 Glenn Morris <rgm@gnu.org>
2439 * emacs-lisp/ert.el (ert-select-tests):
2440 Fix string/symbol mixup. (Bug#16121)
2442 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2444 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2445 keywords to their parent.
2447 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2449 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2450 first arg to be a string (fixed dead code), or an operator symbol.
2451 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2453 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2454 did nothing. Don't respond to `(:after ".")', it will be called
2455 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2456 change anything. Only return indentation for binary operators
2457 when they are hanging. De-dent opening paren when its parent is
2458 `.', otherwise it looks bad when the dot is not at bol or eol
2461 2013-12-19 Juri Linkov <juri@jurta.org>
2463 * replace.el (query-replace-read-args): Split a non-negative arg
2464 and a negative arg into separate elements.
2465 (query-replace, query-replace-regexp, replace-string)
2466 (replace-regexp): Add arg `backward'. Doc fix.
2467 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2468 move point to the beginning of the match.
2469 (replace-search, replace-highlight): Use new arg `backward'
2470 to set the value of `isearch-forward'.
2471 (perform-replace): Add arg `backward' and use it to perform
2472 replacement backward. (Bug#14979)
2474 * isearch.el (isearch-query-replace): Use a negative prefix arg
2475 to call `perform-replace' with a non-nil arg `backward'.
2477 2013-12-18 Juri Linkov <juri@jurta.org>
2479 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2480 to the default list. Move `log-edit-show-files' to the end.
2481 Add more available functions to options.
2482 (log-edit): Move default specific settings to
2483 `log-edit-insert-message-template'. Don't move point.
2484 (log-edit-insert-message-template): New function.
2485 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2488 2013-12-18 Juri Linkov <juri@jurta.org>
2490 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2491 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2493 2013-12-18 Leo Liu <sdl.web@gmail.com>
2495 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2498 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2500 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2501 formats for displaying file sizes when the -s switch is given.
2502 Instead, compute a separate format for displaying the size in
2503 blocks, which is displayed in addition to the "regular" size.
2504 When -h is given in addition to -s, produce size in blocks in
2505 human-readable form as well. (Bug#16179)
2507 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2509 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2510 Reference tables with ~\ref{...} instead of only \ref{...}.
2512 2013-12-18 Chong Yidong <cyd@gnu.org>
2514 * cus-edit.el (custom-magic-alist): Fix "themed" description
2517 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2518 is non-nil, do not create a new entry in the symbol's theme-value
2519 or theme-face property; update theme-settings only (Bug#14664).
2520 (custom-available-themes): Doc fix.
2522 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2525 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2527 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2529 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2532 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2534 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2536 2013-12-18 Glenn Morris <rgm@gnu.org>
2538 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2539 * cus-start.el (load-prefer-newer): New option.
2541 2013-12-18 Le Wang <l26wang@gmail.com>
2543 * comint.el (comint-previous-matching-input-from-input):
2544 Retain point (Bug#13404).
2546 2013-12-18 Chong Yidong <cyd@gnu.org>
2548 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2550 2013-12-18 Glenn Morris <rgm@gnu.org>
2552 * mail/emacsbug.el (report-emacs-bug):
2553 Only mention enable-multibyte-characters if non-standard.
2555 2013-12-17 Juri Linkov <juri@jurta.org>
2557 * arc-mode.el (archive-extract-by-file): Check if directory exists
2558 before deletion to not show irrelevant errors if it doesn't exist.
2560 2013-12-17 Juri Linkov <juri@jurta.org>
2562 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2565 * net/eww.el (browse-web): Add alias to `eww'.
2566 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2567 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2569 * net/browse-url.el (browse-url-browser-function): Move `eww'
2570 closer to similar functions.
2572 * startup.el (fancy-startup-screen, fancy-about-screen):
2573 Set browse-url-browser-function to eww-browse-url locally.
2576 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2578 * window.el (window--pixel-to-total): Remove unused `mini' var.
2579 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2580 (split-window): Remove unused `new' var.
2581 (window--display-buffer): Remove unused `frame' and `delta' vars.
2582 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2585 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2587 * dired.el (dired-mark-pop-up):
2588 * register.el (register-preview): Don't bind
2589 split-height-threshold here since it's now done in
2590 display-buffer-below-selected.
2592 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2594 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2595 xterm-rgb-convert-to-16bit.
2596 (rxvt-register-default-colors): Standardize with
2597 xterm-register-default-colors (Bug#14078).
2599 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2601 * simple.el (kill-region): Pass mark first, then point, so that
2602 kill-append works right (Bug#12819).
2603 (copy-region-as-kill, kill-ring-save): Likewise.
2605 2013-12-17 Leo Liu <sdl.web@gmail.com>
2607 * net/rcirc.el (rcirc-add-face):
2608 * eshell/em-prompt.el (eshell-emit-prompt):
2609 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2612 2013-12-17 Chong Yidong <cyd@gnu.org>
2614 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2615 Suggested by Xue Fuqiao.
2617 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2619 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2621 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2623 * net/shr.el (shr-insert-document): Remove unused var
2624 `shr-preliminary-table-render'.
2625 (shr-rescale-image): Remove unused arg `force'.
2626 (shr-put-image): Update calls accordingly.
2627 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2629 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2631 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2632 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2633 :close-all, to see which indentation method to use (Bug#16116).
2634 (smie-rules-function): Document the method :close-all.
2636 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2638 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2640 * net/eww.el (eww-display-html): If we can't find the anchor we're
2641 looking for, then go to point-min.
2643 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2645 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2646 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2647 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2648 Expand dir too, in case it's relative.
2650 2013-12-16 Juri Linkov <juri@jurta.org>
2652 * desktop.el (desktop-auto-save-timeout): Change default to
2653 `auto-save-timeout'. Doc fix.
2654 (desktop-save): Skip the timestamp in desktop-saved-frameset
2655 when checking for auto-save changes.
2656 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2657 `desktop-auto-save' is called repeatedly by the idle timer.
2658 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2659 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2662 2013-12-16 Juri Linkov <juri@jurta.org>
2664 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2666 (isearch-pre-command-hook): Check `this-command' for symbolp.
2668 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2670 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2672 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2674 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2675 (cfengine3--current-function): Bring in the current-function
2676 functionality from `cfengine3--current-word'.
2677 (cfengine3-completion-function): Bring in the
2678 bounds-of-current-word functionality from
2679 `cfengine3--current-word'.
2681 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2683 * window.el (display-buffer-below-selected):
2684 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2686 2013-12-16 Leo Liu <sdl.web@gmail.com>
2688 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2689 Remove NOMSG arg and all uses changed.
2691 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2693 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2694 (cua--deactivate-rectangle): Don't deactivate the mark.
2695 (cua-set-rectangle-mark): Don't set mark-active since
2696 cua--activate-rectangle already does it for us.
2697 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2698 non-rectangular region.
2700 * emulation/cua-base.el (cua-repeat-replace-region):
2701 Use with-current-buffer.
2703 * net/gnutls.el: Use cl-lib.
2704 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2706 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2708 * emacs-lisp/package.el (package-built-in-p): Support both
2709 built-in and the package.el converted package descriptions.
2710 (package-show-package-list): Allow keywords.
2711 (package-keyword-button-action): Use it instead of
2712 `finder-list-matches'.
2713 (package-menu-filter-interactive): Interactive filtering (by
2715 (package-menu--generate): Support keywords and change keymappings
2716 and headers when they are given.
2717 (package--has-keyword-p): Helper function.
2718 (package-menu--refresh): Use it.
2719 (package--mapc): Helper function.
2720 (package-all-keywords): Use it.
2721 (package-menu-mode-map): Set up menu items and keybindings to
2722 provide a filtering UI.
2724 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2726 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2727 the behavior when a certificate fails validation. Defaults to
2728 old behavior: never abort, just warn.
2729 (gnutls-negotiate): Use it.
2731 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2733 * window.el (display-buffer-below-selected): Never split window
2734 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2736 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2738 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2739 (package-buffer-info): Use it (bug#15108).
2741 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2743 * icomplete.el (icomplete-completions): Make sure the prefix is already
2744 displayed elsewhere before hiding it (bug#16219).
2746 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2748 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2749 open-paren tokens when preceded by a open-paren, too.
2750 (ruby-smie-rules): Handle virtual indentation after open-paren
2751 tokens specially. If there is code between it and eol, return the
2752 column where is starts (Bug#16118).
2754 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2756 * progmodes/cfengine.el: Fix `add-hook' doc.
2757 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2758 (cfengine3--current-word): Fix parameters.
2759 (cfengine3-make-syntax-cache): Simplify further.
2760 (cfengine3-completion-function, cfengine3--current-function):
2761 Use `assq' for symbols.
2762 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2764 2013-12-13 Glenn Morris <rgm@gnu.org>
2766 * loadup.el (load-path): Warn if site-load or site-init changes it.
2767 No more need to reset it when bootstrapping.
2769 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2771 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2772 locations for cf-promises.
2773 (cfengine-mode-syntax-functions-regex): New caching variable.
2774 (cfengine3-fallback-syntax): Fallback syntax for cases where
2775 cf-promises doesn't run.
2776 (cfengine3--current-word): Reimplement using
2777 `cfengine-mode-syntax-functions-regex'.
2778 (cfengine3-completion-function, cfengine3--current-function):
2779 Use `cfengine3-make-syntax-cache' directly.
2780 (cfengine3-clear-syntax-cache): New function.
2781 (cfengine3-make-syntax-cache): Simplify and create
2782 `cfengine-mode-syntax-functions-regex' on demand.
2783 (cfengine3-format-function-docstring): Don't call
2784 `cfengine3-make-syntax-cache' explicitly.
2786 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2788 Fix windmove-find-other-window broken after pixelwise resizing
2790 * windmove.el (windmove-other-window-loc): Revert change from
2792 (windmove-find-other-window): Call window-in-direction.
2793 * window.el (window-in-direction): New arguments SIGN, WRAP and
2794 MINI to emulate original windmove-find-other-window behavior.
2796 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2798 * simple.el (blink-matching--overlay): New variable.
2799 (blink-matching-open): Instead of moving point, highlight the
2800 matching paren with an overlay
2801 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2803 * faces.el (paren-showing-faces, show-paren-match)
2804 (show-paren-mismatch): Move from paren.el.
2806 2013-12-13 Leo Liu <sdl.web@gmail.com>
2808 * indent.el (indent-region): Disable progress reporter in
2809 minibuffer. (Bug#16108)
2811 * bindings.el (visual-order-cursor-movement): Fix version.
2813 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2815 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2816 Also match after beginning of line.
2817 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2818 files. Thanks to Russell Sim. (Bug#15378)
2820 2013-12-13 Juri Linkov <juri@jurta.org>
2822 * simple.el <Keypad support>: Remove key bindings duplicated
2823 with bindings.el. (Bug#14397)
2825 2013-12-13 Juri Linkov <juri@jurta.org>
2827 * comint.el (comint-mode-map): Replace `delete-char' with
2828 `delete-forward-char'. (Bug#16109)
2830 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2832 * progmodes/python.el (python-indent-calculate-indentation):
2833 Fix de-denters cornercase. (Bug#15731)
2835 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2837 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2838 (advice--make): Pay attention to `depth'.
2839 (advice--make-1): Don't autoload commands eagerly.
2840 * emacs-lisp/elp.el (elp-instrument-function):
2841 * emacs-lisp/trace.el (trace-function-internal):
2842 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2844 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2846 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2848 * term/w32-win.el (w32-handle-dropped-file):
2849 * startup.el (normal-top-level):
2850 * net/browse-url.el (browse-url-file-url):
2851 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2852 decode file names using 'utf-8' rather than
2853 file-name-coding-system.
2855 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2857 * progmodes/python.el (python-indent-context)
2858 (python-indent-calculate-indentation): Fix auto-identation
2859 behavior for comment blocks. (Bug#15916)
2861 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2863 * progmodes/python.el (python-indent-calculate-indentation):
2864 When determining indentation, don't treat "return", "pass", etc., as
2865 operators when they are just string constituents. (Bug#15812)
2867 2013-12-12 Juri Linkov <juri@jurta.org>
2869 * uniquify.el (uniquify-buffer-name-style): Change default to
2870 `post-forward-angle-brackets'.
2872 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2873 `uniquify'. Change default to `post-forward-angle-brackets'.
2875 2013-12-11 Glenn Morris <rgm@gnu.org>
2877 * emacs-lisp/package.el (finder-list-matches):
2878 Autoload rather than falsely declaring.
2880 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2882 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2883 (eww-mode-map): Use them.
2885 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2887 * window.el (display-buffer-in-side-window): Fix doc-string
2890 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2892 * vc/vc-git.el: Silence byte-compiler warnings.
2893 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2894 (log-edit-set-header): Declare.
2896 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2898 * Makefile.in (custom-deps, finder-data): Run output file names
2899 through unmsys--file-name. (Bug#16099)
2901 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2903 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2904 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2906 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2907 instead of deleting the selection "by hand" (bug#16098).
2908 Rely on insert-for-yank to yank rectangles.
2909 (cua-highlight-region-shift-only): Mark obsolete.
2910 (cua-mode): Don't enable/disable transient-mark-mode,
2911 shift-select-mode (cua-mode works both with and without them), and
2912 pc-selection-mode (obsolete).
2913 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2914 (cua--deactivate-rectangle): Deactivate it.
2916 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2917 (delete-selection-helper): Make sure yank starts at the top of the
2919 (minibuffer-keyboard-quit): Use region-active-p.
2921 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2923 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2924 to `delete' (bug#16109).
2926 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2928 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2929 info manual and show keybindings and set `:group' keyword.
2931 2013-12-11 Juri Linkov <juri@jurta.org>
2933 * delsel.el (delete-active-region): Let-bind `this-command'
2934 to prevent `kill-region' from changing its original value.
2935 (delete-selection-helper): Handle `overwrite-mode' for the type
2936 `kill' exactly the same way as for the type `t'.
2937 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2938 Support more commands. (Bug#13312)
2940 2013-12-11 Juri Linkov <juri@jurta.org>
2942 * bindings.el: Map kp keys to non-kp keys systematically
2943 with basic modifiers control, meta and shift. (Bug#14397)
2945 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2947 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2948 "Close browser" menu items. Fix wrong function of "List
2951 2013-12-11 Juri Linkov <juri@jurta.org>
2953 * misearch.el (multi-isearch-buffers): Set the value of
2954 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2955 arg of isearch-forward to t.
2956 (multi-isearch-buffers-regexp): Set the value of
2957 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2958 arg of isearch-forward-regexp to t.
2959 (multi-isearch-files): Set the value of
2960 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2961 arg of isearch-forward to t.
2962 (multi-isearch-files-regexp): Set the value of
2963 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2964 arg of isearch-forward-regexp to t. (Bug#16035)
2966 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2967 arg of isearch-forward to t.
2968 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2969 arg of isearch-forward-regexp to t.
2970 (dired-isearch-filter-filenames): Remove unnecessary check for
2971 `dired-isearch-filenames'.
2973 * comint.el (comint-history-isearch-backward):
2974 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2975 (comint-history-isearch-backward-regexp):
2976 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2978 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2980 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2981 unmsys--file-name. (Bug#16099)
2983 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2985 * emacs-lisp/package.el (package-keyword-button-action):
2986 Remove finder.el require dependency.
2988 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2990 * emacs-lisp/package.el: Require finder.el.
2991 (describe-package-1): Add keyword buttons.
2992 (package-make-button): New convenience function.
2993 (package-keyword-button-action): Keyword button action using
2994 `finder-list-matches'.
2996 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2998 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
3001 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
3003 * autorevert.el (auto-revert-notify-add-watch): Do not handle
3006 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3008 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
3009 after the end of a percent literal.
3011 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
3013 * progmodes/ruby-mode.el (ruby-forward-string): Document.
3014 Handle caret-delimited strings (Bug#16079).
3016 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
3018 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
3019 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
3020 `ruby-parse-partial' (Bug#16078).
3022 2013-12-09 Leo Liu <sdl.web@gmail.com>
3024 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
3026 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
3028 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
3029 (js-switch-indent-offset): New option.
3030 (js--proper-indentation): Use it. And handle the case when
3031 "default" is actually a key in an object literal.
3032 (js--same-line): New function.
3033 (js--multi-line-declaration-indentation): Use it.
3034 (js--indent-in-array-comp, js--array-comp-indentation):
3036 (js--proper-indentation): Use them, to handle array comprehension
3039 2013-12-08 Leo Liu <sdl.web@gmail.com>
3041 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3042 (flymake-make-overlay): Remove arg MOUSE-FACE.
3043 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3045 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3047 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3049 (redisplay-highlight-region-function): Use it.
3051 * emulation/cua-base.el (cua--explicit-region-start)
3052 (cua--last-region-shifted): Remove.
3053 (cua--deactivate): Use deactivate-mark.
3054 (cua--pre-command-handler-1): Don't handle shift-selection.
3055 (cua--post-command-handler-1): Don't change transient-mark-mode.
3056 (cua--select-keymaps): Use region-active-p rather than
3057 cua--explicit-region-start or cua--last-region-shifted.
3058 (cua-mode): Enable shift-select-mode.
3060 2013-12-08 Leo Liu <sdl.web@gmail.com>
3062 * progmodes/flymake.el (flymake-popup-current-error-menu):
3063 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3064 (flymake-posn-at-point-as-event, flymake-popup-menu)
3065 (flymake-make-emacs-menu): Remove. (Bug#16077)
3067 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3069 * rect.el (rectangle-mark-mode): Activate mark even if
3070 transient-mark-mode is off (bug#16066).
3071 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3072 is > mark and at bolp.
3074 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3075 (region-extract-function): Use it.
3076 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3077 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3079 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3080 kill-ring-save, kill-region, delete-char, delete-forward-char.
3081 Ignore self-insert-iso.
3083 * emulation/cua-gmrk.el (cua--init-global-mark):
3084 Ignore `self-insert-iso'.
3086 * emulation/cua-base.el (cua--prefix-copy-handler)
3087 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3088 checking cua--rectangle.
3089 (cua-delete-region): Use region-extract-function.
3090 (cua-replace-region): Delete function.
3091 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3092 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3093 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3094 (cua--init-keymaps): Don't remap delete-selection commands.
3095 (cua-mode): Use delete-selection-mode instead of rolling our own
3098 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3099 Obey region-extract-function.
3101 Make registers and delete-selection-mode work on rectangles.
3102 * register.el (describe-register-1): Don't modify the register's value.
3103 (copy-to-register): Obey region-extract-function.
3104 * delsel.el (delete-active-region): Obey region-extract-function.
3106 2013-12-08 Leo Liu <sdl.web@gmail.com>
3108 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3109 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3110 (flymake-compilation-prevents-syntax-check)
3111 (flymake-start-syntax-check-on-newline)
3112 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3113 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3114 (flymake-xml-program, flymake-master-file-dirs)
3115 (flymake-master-file-count-limit)
3116 (flymake-allowed-file-name-masks): Relocate.
3117 (flymake-makehash, flymake-float-time)
3118 (flymake-replace-regexp-in-string, flymake-split-string)
3119 (flymake-get-temp-dir): Remove.
3120 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3121 (flymake-current-row, flymake-selected-frame)
3122 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3123 related functions. (Bug#16077)
3125 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3127 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3129 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3131 * help-fns.el (describe-function-1): Use new advice-* functions
3132 rather than old ad-* functions. Fix function type description and
3133 source links for advised functions and subrs.
3135 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3137 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3139 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3141 * progmodes/compile.el (compilation-start):
3142 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3144 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3145 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3147 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3149 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3150 Touch up the last change.
3152 2013-12-06 Leo Liu <sdl.web@gmail.com>
3154 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3155 (inferior-octave-startup): Always use "octave> " for prompt.
3156 (octave-goto-function-definition)
3157 (octave-sync-function-file-names)
3158 (octave-find-definition-default-filename): Remove redundant backquotes.
3160 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3162 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3164 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3165 where appropriate already.
3166 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3167 end of method names (Bug#15874).
3169 2013-12-06 Juri Linkov <juri@jurta.org>
3171 * isearch.el (isearch--saved-overriding-local-map):
3172 New internal variable.
3173 (isearch-mode): Set it to the initial value of
3174 `overriding-terminal-local-map'.
3175 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3176 with `isearch--saved-overriding-local-map'. (Bug#16035)
3178 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3180 * progmodes/octave.el (inferior-octave-completion-table):
3181 Turn back into function, use `completion-table-with-cache'
3182 (Bug#11906). Update all references.
3184 * minibuffer.el (completion-table-with-cache): New function.
3186 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3188 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3190 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3192 * net/eww.el (eww-current-source): New variable to store page
3194 (eww-display-html, eww-mode, eww-save-history)
3195 (eww-restore-history): Use it.
3196 (eww-view-source): New command to view page source.
3197 Opportunistically uses `html-mode' to highlight the buffer.
3198 (eww-mode-map): Install it.
3200 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3202 * net/dbus.el (dbus-unregister-service)
3203 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3205 (dbus-unregister-service): Skip :serial entries in
3206 `dbus-registered-objects-table'.
3207 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3209 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3211 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3212 around keywords with extra `split-string' argument.
3214 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3216 * windmove.el (windmove-other-window-loc): Handle navigation
3217 between windows (excluding the minibuffer window - Bug#16017).
3219 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3221 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3222 in D-Bus type syntax.
3223 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3224 preserve unibyte strings. (Bug#16048)
3226 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3228 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3229 Call force-mode-line-update is the proper buffer (bug#16042).
3231 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3233 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3234 `log-edit-remember-comment', make argument optional. Adjust all
3236 (log-edit-mode): Add `log-edit-remember-comment' to
3237 `kill-buffer-hook' locally.
3238 (log-edit-kill-buffer): Don't remember comment explicitly since
3239 the buffer is killed anyway.
3241 2013-12-04 Juri Linkov <juri@jurta.org>
3243 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3244 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3246 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3248 * notifications.el (notifications-close-notification): Call the
3249 D-Bus method with ID being a `:uint32'. (Bug#16030)
3251 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3253 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3255 2013-12-03 Juri Linkov <juri@jurta.org>
3257 * progmodes/compile.el (compilation-start): Rename window alist
3258 entry `no-display-ok' to `allow-no-window'.
3260 * simple.el (shell-command): Add window alist entry
3261 `allow-no-window' to `display-buffer'.
3262 (async-shell-command): Doc fix.
3264 * window.el (display-buffer-no-window): New action function.
3265 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3267 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3269 * vc/log-edit.el (log-edit-set-header): Extract from
3270 `log-edit-toggle-header'.
3271 (log-edit-extract-headers): Separate the summary, when extracted
3272 from header, from the rest of the message with an empty line.
3274 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3275 line, if present, to the Summary header.
3277 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3279 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3280 in current-buffer (bug#16029).
3282 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3284 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3285 (debugger-mode-map): Bind it.
3286 (debugger--backtrace-base): New function.
3287 (debugger-eval-expression): Use it.
3288 (debugger-frame-number): Skip local vars when present.
3289 (debugger--locals-visible-p, debugger--insert-locals)
3290 (debugger--show-locals, debugger--hide-locals): New functions.
3292 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3294 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3296 (tramp-get-remote-locale): New defun.
3297 (tramp-open-connection-setup-interactive-shell): Use it.
3299 2013-12-02 Leo Liu <sdl.web@gmail.com>
3301 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3303 * progmodes/sh-script.el (sh-shell-process):
3304 * progmodes/octave.el (inferior-octave-process-live-p):
3305 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3306 (gdb-inferior-io-sentinel):
3307 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3309 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3311 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3312 `save-selected-window' to `log-edit-hide-buf'. This makes
3313 `log-edit-show-files' idempotent.
3314 (log-edit-show-files): Mark the new window as dedicated.
3316 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3318 * vc/log-edit.el (log-edit-mode-map): Add binding for
3319 `log-edit-kill-biffer'.
3320 (log-edit-hide-buf): Add a FIXME comment.
3321 (log-edit-add-new-comment): New function, extracted from
3323 (log-edit-done, log-edit-add-to-changelog): Use it.
3324 (log-edit-kill-buffer): New command.
3326 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3328 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3329 instead of killing the buffer.
3331 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3333 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3335 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3337 * net/eww.el (eww-form-checkbox-selected-symbol)
3338 (eww-form-checkbox-symbol): New customizable variable.
3339 (eww-form-checkbox, eww-toggle-checkbox):
3340 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3342 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3343 (shr--get-media-pref, shr--extract-best-source): New function.
3344 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3345 no :src tag was specified.
3347 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3348 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3349 Use \\` to match beginning of string instead of ^.
3350 (eww-browse-with-external-browser): Provide optional URL parameter.
3351 (eww-render): Set `eww-current-title' back to "".
3353 * net/shr.el (shr-tag-video): Display content for video if no
3354 poster is available.
3355 (shr-tag-audio): Add support for <audio> tag.
3357 * net/eww.el (eww-text-input-types): New const.
3358 (eww-process-text-input): Treat input types in
3359 `eww-text-input-types' as text.
3361 * net/shr.el (shr-tag-table): Fix comment typo.
3363 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3365 * net/eww.el (eww-follow-link): New command to avoid reloading
3366 pages when we follow #target links (bug#15243).
3367 (eww-quit): Special mode buffers shouldn't query before exiting.
3369 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3371 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3374 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3376 * net/eww.el (eww-restore-history): Update the window title after
3377 moving in the history.
3378 (eww-current-dom): New variable used to save the current DOM.
3380 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3382 * vc/log-edit.el (log-edit-mode-map): Add binding for
3383 `log-edit-beginning-of-line'.
3384 (log-edit-setup-add-author): New user option.
3385 (log-edit-beginning-of-line): New command.
3386 (log-edit): Move major mode call above the contents setup so that
3387 the local variable values are already applied.
3388 (log-edit): Only insert "Author: " when
3389 `log-edit-setup-add-author' is non-nil.
3390 (log-edit): When SETUP is non-nil, position point after ": "
3391 instead of point-min.
3393 2013-12-01 Glenn Morris <rgm@gnu.org>
3395 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3397 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3399 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3400 redisplay to make sure the initial frame gets a chance to become
3401 visible. (Bug#16014)
3403 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3405 Support resizing frames and windows pixelwise.
3406 * cus-start.el (frame-resize-pixelwise)
3407 (window-resize-pixelwise): New entries.
3408 * emacs-lisp/debug.el (debug): Use window-total-height instead
3409 of window-total-size.
3410 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3411 * help.el (describe-bindings-internal): Use help-buffer as
3412 argument for with-help-window.
3413 (temp-buffer-max-width): New option.
3414 (resize-temp-buffer-window, help-window-setup)
3415 (with-help-window): Rewrite.
3416 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3418 * window.el (frame-char-size, window-min-pixel-height)
3419 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3420 (window-min-pixel-width, window-safe-min-pixel-size)
3421 (window-combination-p, window-safe-min-size)
3422 (window-resizable-p, window--size-to-pixel)
3423 (window--pixel-to-size, window--resize-apply-p): New functions.
3424 (window-safe-min-height): Fix doc-string.
3425 (window-size, window-min-size, window--min-size-1)
3426 (window-sizable, window-sizable-p, window--min-delta-1)
3427 (window-min-delta, window--max-delta-1, window-max-delta)
3428 (window--resizable, window--resizable-p, window-resizable)
3429 (window-full-height-p, window-full-width-p, window-at-side-p)
3430 (window--in-direction-2, window-in-direction)
3431 (window--resize-reset-1, window--resize-mini-window)
3432 (window-resize, window-resize-no-error)
3433 (window--resize-child-windows-normal)
3434 (window--resize-child-windows, window--resize-siblings)
3435 (window--resize-this-window, window--resize-root-window)
3436 (window--resize-root-window-vertically)
3437 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3438 (maximize-window, minimize-window, delete-window)
3439 (quit-restore-window, window-split-min-size, split-window)
3440 (balance-windows-2, balance-windows)
3441 (balance-windows-area-adjust, balance-windows-area)
3442 (window--state-get-1, window-state-get, window--state-put-1)
3443 (window--state-put-2, window-state-put)
3444 (display-buffer-record-window, window--display-buffer):
3445 Make functions handle pixelwise sizing of windows.
3446 (display-buffer--action-function-custom-type)
3447 (display-buffer-fallback-action):
3448 Add display-buffer-in-previous-window.
3449 (display-buffer-use-some-window): Resize window to height it had
3451 (fit-window-to-buffer-horizontally): New option.
3452 (fit-frame-to-buffer): Describe new values.
3453 (fit-frame-to-buffer-bottom-margin): Replace with
3454 fit-frame-to-buffer-margins.
3455 (window--sanitize-margin): New function.
3456 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3457 using window-text-pixel-size.
3459 2013-11-30 Glenn Morris <rgm@gnu.org>
3461 * emacs-lisp/bytecomp.el (byte-compile-form):
3462 Make the `interactive-only' warning like the `obsolete' one.
3463 * comint.el (comint-run):
3464 * files.el (insert-file-literally, insert-file):
3465 * replace.el (replace-string, replace-regexp):
3466 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3467 (goto-line, insert-buffer, next-line, previous-line):
3468 Tweak `interactive-only' spec.
3470 Stop keeping (most) generated cedet grammar files in the repository.
3471 * Makefile.in (semantic): New.
3472 (compile-main): Depend on semantic.
3474 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3476 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3477 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3479 * uniquify.el (uniquify-buffer-name-style): Change default.
3481 * loadup.el: Preload "uniquify".
3483 * time.el (display-time-update): Update all mode lines (bug#15999).
3485 * electric.el (electric-indent-mode): Enable by default.
3486 * loadup.el: Preload "electric".
3488 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3490 * emacs-lisp/helpers.el (string-empty-p): New function.
3491 (string-blank-p): New function.
3493 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3495 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3498 2013-11-29 Andreas Politz <politza@fh-trier.de>
3499 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3500 allow non-lambda lists as functions.
3501 (imenu--in-alist): Don't recurse into non-subalists.
3502 (imenu): Don't pass function itself as an argument (Bug#14029).
3504 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3506 * progmodes/python.el (python-mode-map): Remove binding for ":".
3507 (python-indent-electric-colon): Remove command.
3508 (python-indent-post-self-insert-function): Integrate the previous code
3509 of python-indent-electric-colon. Make it conditional on
3510 electric-indent-mode.
3511 (python-mode): Add ?: to electric-indent-chars.
3512 Move python-indent-post-self-insert-function to the end of
3513 post-self-insert-hook.
3515 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3517 * doc-view.el (doc-view-goto-page): Update mode-line.
3519 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3521 2013-11-27 Glenn Morris <rgm@gnu.org>
3523 * international/charprop.el, international/uni-bidi.el:
3524 * international/uni-category.el, international/uni-combining.el:
3525 * international/uni-comment.el, international/uni-decimal.el:
3526 * international/uni-decomposition.el, international/uni-digit.el:
3527 * international/uni-lowercase.el, international/uni-mirrored.el:
3528 * international/uni-name.el, international/uni-numeric.el:
3529 * international/uni-old-name.el, international/uni-titlecase.el:
3530 * international/uni-uppercase.el:
3531 Remove generated files from VCS repository.
3533 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3535 * filenotify.el (file-notify-add-watch): Don't special-case
3536 w32notify when computing the directory to watch.
3538 2013-11-27 Glenn Morris <rgm@gnu.org>
3540 Make bootstrap without generated uni-*.el files possible again.
3541 * loadup.el: Update command-line-args checking for unidata-gen.
3542 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3543 * composite.el, international/characters.el:
3544 Handle unicode tables being undefined.
3546 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3547 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3548 (compile-main): Depend on leim rule.
3550 * loadup.el: Move leim-list.el to leim/ subdirectory.
3551 * startup.el (normal-top-level): No more leim directory.
3552 * international/ja-dic-cnv.el (skkdic-convert):
3553 Disable version-control and autoloads in output files.
3554 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3555 Disable version-control and autoloads in output files.
3556 * leim/quail: Move here from ../leim.
3557 * leim/quail/hangul.el (hangul-input-method-activate):
3558 Add autoload cookie.
3559 (generated-autoload-load-name): Set file-local value.
3560 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3561 (generated-autoload-load-name): Set file-local value.
3563 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3565 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3566 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3567 (eww-quit): Ask confirmation before quitting eww.
3569 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3571 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3572 reading output from Diff on MS-Windows and MS-DOS.
3574 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3576 * emacs-lisp/helpers.el (string-reverse): New function.
3578 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3580 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3581 names on MS Windows, like "/[::1]:".
3583 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3586 2013-11-26 Glenn Morris <rgm@gnu.org>
3588 * progmodes/python.el (python-indent-guess-indent-offset):
3589 Avoid corner-case error. (Bug#15975)
3591 Preload leim-list.el. (Bug#4789)
3592 * loadup.el: Load leim-list.el when found.
3593 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3595 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3597 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3599 * emacs-lisp/helpers.el (string-join): New function.
3601 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3603 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3604 Mark as obsolete and replace it with a symbol property.
3605 (byte-compile-form): Use new 'interactive-only property.
3606 * comint.el, files.el, replace.el, simple.el:
3607 Apply new 'interactive-only properly.
3609 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3611 * window.el (display-buffer-at-bottom): Make sure that
3612 split-window-sensibly creates the new window on bottom
3615 2013-11-23 David Kastrup <dak@gnu.org>
3617 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3618 on the conflict markers when available.
3619 (smerge--get-marker): New function.
3620 (smerge-end-re, smerge-base-re): Add subgroup.
3622 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3624 * frame.el (handle-focus-in, handle-focus-out): Add missing
3627 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3629 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3630 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3632 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3634 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3635 (gomoku--last-pos): New var.
3636 (gomoku--intangible-chars): New const.
3637 (gomoku--intangible): New function.
3638 (gomoku-mode): Use it. Derive from special-mode.
3639 (gomoku-move-up): Adjust line count.
3640 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3641 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3642 Simplify accordingly.
3644 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3645 Remove blink-cursor code.
3646 (blink-cursor-timer-function, blink-cursor-suspend):
3647 Don't special-case GUIs.
3648 (blink-cursor-mode): Use focus-in/out-hook.
3650 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3652 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3653 work when annotation is invisible (Bug#13886).
3655 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3657 * json.el (json-alist-p): Only return non-nil if the alist has
3658 simple keys (Bug#13518).
3660 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3662 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3663 when control-statement is the first statement in a buffer (Bug#15956).
3665 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3667 * imenu.el (imenu-generic-skip-comments-and-strings):
3668 New option (Bug#15560).
3669 (imenu--generic-function): Use it.
3671 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3673 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3676 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3678 * emacs-lisp/helpers.el: Add some string helpers.
3679 (string-trim-left): Removes leading whitespace.
3680 (string-trim-right): Removes trailing whitespace.
3681 (string-trim): Removes leading and trailing whitespace.
3683 * subr.el (string-suffix-p): New function.
3685 2013-11-23 Glenn Morris <rgm@gnu.org>
3687 * progmodes/python.el (python-shell-send-file):
3688 Add option to delete file when done. (Bug#15647)
3689 (python-shell-send-string, python-shell-send-region): Use it.
3691 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3693 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3694 to set buffer-read-only to t, never to nil. (Bug#15938)
3696 * textmodes/tex-mode.el (latex-noindent-environments):
3697 Add safe-local-variable property. (Bug#15936)
3699 2013-11-23 Glenn Morris <rgm@gnu.org>
3701 * textmodes/enriched.el (enriched-mode): Doc fix.
3702 * emacs-lisp/authors.el (authors-renamed-files-alist):
3703 Add enriched.doc -> enriched.txt.
3705 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3707 2013-11-22 Leo Liu <sdl.web@gmail.com>
3709 * progmodes/octave.el (inferior-octave-startup): Spit out error
3712 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3714 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3717 (ruby-encoding-magic-comment-style): Add :version.
3719 2013-11-22 Leo Liu <sdl.web@gmail.com>
3721 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3723 (octave-help-mode): Adapt to change to help-mode-finish to use
3724 derived-mode-p on 2013-09-17.
3725 (inferior-octave-prompt): Also match octave-gui.
3726 (octave-kill-process): Don't ask twice. (Bug#10564)
3728 2013-11-22 Leo Liu <sdl.web@gmail.com>
3730 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3731 (inferior-octave-startup, inferior-octave-check-process)
3732 (inferior-octave-track-window-width-change)
3733 (octave-completion-at-point, octave-eldoc-function): Use it.
3734 (octave-kill-process): Provide confirmation. (Bug#10564)
3736 2013-11-21 Leo Liu <sdl.web@gmail.com>
3738 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3739 Fix obsolete variable comment-use-global-state.
3741 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3743 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3744 Add `octave-source-file'.
3745 (octave-source-file): New function. (Bug#15935)
3747 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3749 * net/eww.el (eww-local-regex): New variable.
3750 (eww): Use it to detect localhost and similar.
3752 2013-11-21 Leo Liu <sdl.web@gmail.com>
3754 Add completion for command `ag'.
3755 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3756 (pcomplete/ag): New function.
3757 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3759 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3761 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3763 (make-obsolete): Remove interactive spec.
3765 2013-11-21 Glenn Morris <rgm@gnu.org>
3767 * startup.el (command-line-1): Use path-separator with -L.
3769 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3771 * emacs-lisp/package.el (describe-package-1): Add package archive
3774 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3776 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3777 Change default to "# encoding: %s" to differentiate it from the
3778 default Ruby encoding comment template.
3780 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3782 * ses.el (ses-mode): Doc fix. (Bug#14748)
3784 2013-11-20 Leo Liu <sdl.web@gmail.com>
3786 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3788 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3790 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3791 when rebase or bisect are in progress.
3793 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3795 * filenotify.el (file-notify-add-watch): Doc fix.
3797 2013-11-19 Leo Liu <sdl.web@gmail.com>
3799 * obsolete/rcompile.el: Mark obsolete.
3801 * progmodes/compile.el (compilation-start)
3802 (compilation-goto-locus, compilation-find-file):
3803 Pass no-display-ok and handle nil value from display-buffer.
3806 * window.el (display-buffer-alist, display-buffer): Document the
3807 new parameter no-display-ok. Return either a window or nil
3808 but never a non-window value.
3810 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3812 * electric.el (electric-indent-mode-map): Remove.
3813 (electric-indent-mode): Change the global-map instead (bug#15915).
3815 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3818 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3820 * emacs-lisp/nadvice.el (remove-function): Align with
3821 add-function's behavior.
3823 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3824 (gdb--string-regexp): New constant.
3825 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3826 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3827 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3829 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3830 Adjust use accordingly.
3831 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3833 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3835 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3836 interpolation curlies (Bug#15914).
3838 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3840 * calc/calc.el (calc-context-sensitive-enter): New variable.
3841 (calc-enter): Use `calc-context-sensitive-enter'.
3843 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3845 * progmodes/cfengine.el: Version bump.
3846 (cfengine-cf-promises): New defcustom to locate cf-promises.
3847 (cfengine3-vartypes): Add new "data" type.
3848 (cfengine3--current-word): New function to get current name-like
3850 (cfengine3--current-function): New function to look up a CFEngine
3851 function's definition.
3852 (cfengine3-format-function-docstring): New function.
3853 (cfengine3-make-syntax-cache): New function.
3854 (cfengine3-documentation-function): New function: ElDoc glue.
3855 (cfengine3-completion-function): New function: completion glue.
3856 (cfengine3-mode): Set `compile-command',
3857 `eldoc-documentation-function', and add to
3858 `completion-at-point-functions'.
3860 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3862 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3863 `tramp-current-connection'.
3865 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3867 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3868 nil/self/true/false with "end of symbol".
3870 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3872 * subr.el (version-regexp-alist): Fix a typo.
3874 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3876 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3877 "en_US.utf8" and "LC_CTYPE" to "".
3878 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3879 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3881 2013-11-15 Leo Liu <sdl.web@gmail.com>
3883 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3885 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3887 * progmodes/gud.el (ctl-x-map):
3888 Remove C-x SPC binding. (Bug#12342)
3889 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3891 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3893 * subr.el (version-regexp-alist):
3894 Recognize hg, svn and darcs versions as snapshot versions.
3896 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3897 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3898 (ruby--encoding-comment-required-p): Extract from
3899 `ruby-mode-set-encoding'.
3900 (ruby-mode-set-encoding): Add the ability to always insert an
3901 utf-8 encoding comment. Fix and simplify coding comment update
3904 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3906 * net/tramp-gvfs.el (top): Run init code only when
3907 `tramp-gvfs-enabled' is not nil.
3908 (tramp-gvfs-enabled): Check also :system bus.
3910 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3912 Sync with upstream verilog-mode revision 78e66ba.
3913 * progmodes/verilog-mode.el (verilog-end-of-defun)
3914 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3915 (verilog-get-end-of-defun): Remove unused argument.
3916 (verilog-comment-depth): Remove unused local `e'.
3917 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3918 Don't pass arg to verilog-get-end-of-defun.
3920 2013-11-14 Glenn Morris <rgm@gnu.org>
3922 * obsolete/assoc.el (aget): Prefix dynamic variable.
3924 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3926 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3928 * widget.el, hfy-cmap.el: Remove bogus package version number.
3930 2013-11-13 Glenn Morris <rgm@gnu.org>
3932 * replace.el (replace-eval-replacement):
3933 Try to give more helpful error message. (Bug#15836)
3935 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3936 (archive-7z-update): Avoid custom type mismatches.
3938 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3940 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3942 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3943 address can be empty.
3945 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3946 Accept nil SWITCHES.
3947 (tramp-gvfs-handle-write-region): Implement APPEND.
3949 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3951 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3952 binary "|" operator and closing block args delimiter.
3953 Remove FIXME comment referring to Ruby 1.8-only syntax.
3954 (ruby-smie--implicit-semi-p): Not after "|" operator.
3955 (ruby-smie--closing-pipe-p): New function.
3956 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3957 (ruby-smie-rules): Indent after "|".
3959 2013-11-12 Glenn Morris <rgm@gnu.org>
3961 * ps-print.el (ps-face-attribute-list):
3962 Handle anonymous faces. (Bug#15827)
3964 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3966 * window.el (display-buffer-other-frame): Fix doc-string.
3969 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3971 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3973 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3975 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3976 (tramp-sh-handle-file-local-copy): Don't write a message when
3977 saving temporary files.
3979 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3980 both directories are remote.
3981 (tramp-smb-handle-directory-files): Do not return double entries.
3982 Do not expand full file names.
3983 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3984 (tramp-smb-handle-write-region): Implement APPEND.
3985 (tramp-smb-get-stat-capability): Fix a stupid bug.
3987 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3989 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3991 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3993 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3994 throwing error over malformed let/let* (bug#15814).
3996 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3998 * iswitchb.el (iswitchb-mode): Mark obsolete.
4000 2013-11-11 Glenn Morris <rgm@gnu.org>
4002 * international/uni-bidi.el, international/uni-category.el:
4003 * international/uni-name.el, international/uni-numeric.el:
4004 Regenerate for Unicode 6.3.0.
4006 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
4008 * net/tramp.el (tramp-methods):
4009 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
4010 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
4012 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
4014 * progmodes/sh-script.el (sh-font-lock-keywords-var):
4015 Force highlighting text after Summary keyword in doc face for rpm.
4017 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
4019 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
4020 available and the word has no wildcards, append one to the grep pattern.
4021 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
4022 (ispell-complete-word): Call `ispell-lookup-words' with the value
4023 independent of `ispell-look-p'.
4025 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4027 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
4029 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
4032 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4034 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4035 (ruby-font-lock-keywords): Use backquote.
4037 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4039 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4040 (ruby-smie--backward-token): Only consider full-string matches.
4042 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4044 * faces.el (describe-face): Add distant-foreground.
4046 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4048 * progmodes/ruby-mode.el: Improve encoding comment handling.
4049 (ruby-encoding-magic-comment-style): New option.
4050 (ruby-custom-encoding-magic-comment-template): New option.
4051 (ruby--insert-coding-comment, ruby--detect-encoding):
4052 New functions extracted from `ruby-mode-set-encoding'.
4053 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4054 to control the style of the auto-inserted encoding comment.
4056 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4058 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4059 Use `smie-backward-sexp' with token argument.
4061 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4063 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4064 Remove instrumentation code.
4066 2013-11-08 Glenn Morris <rgm@gnu.org>
4068 * progmodes/autoconf.el (autoconf-mode):
4069 Tweak comment-start-skip. (Bug#15822)
4071 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4073 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4074 at bobp (bug#15826).
4075 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4077 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4079 * man.el (Man-start-calling): New macro, extracted from
4080 Man-getpage-in-background.
4081 (Man-getpage-in-background): Use it.
4082 (Man-update-manpage): New command.
4083 (Man-mode-map): Bind it.
4085 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4087 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4088 of "and", "or", "&&" and "||".
4089 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4090 argument. Prohibit opening curly brace because it could only be a
4091 block opener in that position.
4092 (ruby-smie--forward-token, ruby-smie--backward-token):
4093 Separate "|" from "&" or "*" going after it. That can happen in block
4095 (ruby-smie--indent-to-stmt): New function, seeks the end of
4096 previous statement or beginning of buffer.
4097 (ruby-smie-rules): Use it.
4098 (ruby-smie-rules): Check if there's a ":" before a curly block
4099 opener candidate; if there is, it's a hash.
4101 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4103 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4104 (cl--block-wrapper): Fix last accidental change.
4106 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4108 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4109 Instrument, in order to hunt failure on hydra.
4111 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4113 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4114 malformed bindings form (bug#15814).
4116 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4118 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4119 "." compared to " @ ". This incidentally fixes some indentation
4121 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4122 (ruby-smie-grammar): New tokens: "and" and "or".
4123 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4124 Exclude "and" and "or". Remove "do" in order to work around token
4126 (ruby-smie-rules): Add all infix tokens. Handle the case of
4127 beginning-of-buffer.
4129 2013-11-06 Glenn Morris <rgm@gnu.org>
4131 * Makefile.in (setwins_almost, setwins_for_subdirs):
4132 Avoid accidental matches.
4134 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4136 * menu-bar.el (popup-menu): Use key-binding.
4138 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4140 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4141 menus, support also the menus produced by minor modes.
4144 2013-11-06 Leo Liu <sdl.web@gmail.com>
4146 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4147 DISTANCE to bound the search. All uses changed. (Bug#15808)
4149 2013-11-06 Glenn Morris <rgm@gnu.org>
4151 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4152 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4153 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4155 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4157 * electric.el (electric-indent-just-newline): New command.
4158 (electric-indent-mode-map): New keymap.
4159 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4160 Re-add :group which weren't redundant.
4162 * electric.el (electric-indent-local-mode): New minor mode.
4163 (electric-indent-functions-without-reindent): New var.
4164 (electric-indent-post-self-insert-function): Use it.
4165 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4167 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4169 * international/quail.el (quail-help): Be more explicit about the
4170 meaning of the labels shown on the keys. (Bug#15800)
4172 * startup.el (normal-top-level): Load the subdirs.el files before
4173 setting the locale environment. (Bug#15805)
4175 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4177 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4178 via arguments so as to get the right ones (bug#15418).
4180 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4182 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4184 Fix problems found while writing a test suite.
4186 * net/tramp-compat.el (tramp-compat-load): New defun.
4187 * net/tramp.el (tramp-handle-load): Use it.
4189 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4190 "(numberp ok-if-already-exists)" correctly.
4192 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4194 * international/characters.el (glyphless-char-display-control):
4197 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4199 * progmodes/python.el (python-mode):
4200 * progmodes/scheme.el (scheme-mode):
4201 * progmodes/prolog.el (prolog-mode):
4202 * progmodes/ruby-mode.el (ruby-mode):
4203 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4204 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4206 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4208 * rect.el (rectangle--highlight-for-redisplay):
4209 * emacs-lisp/smie.el (smie--next-indent-change):
4210 Use buffer-chars-modified-tick.
4212 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4214 * electric.el (electric-indent-post-self-insert-function):
4215 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4217 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4219 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4221 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4223 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4226 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4228 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4230 * progmodes/python.el: Fix up last change.
4231 (python-shell--save-temp-file): New function.
4232 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4233 `string' comes from the current buffer.
4234 (python-shell-send-string-no-output): Remove `msg' arg.
4235 (python--use-fake-loc): New var.
4236 (python-shell-buffer-substring): Obey it. Try to compensate for the
4237 extra coding line added by python-shell--save-temp-file.
4238 (python-shell-send-region): Use python-shell--save-temp-file and
4239 python-shell-send-file directly. Add `nomain' argument.
4240 (python-shell-send-buffer): Use python-shell-send-region.
4241 (python-electric-pair-string-delimiter): New function.
4242 (python-mode): Use it.
4244 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4246 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4247 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4248 environment and decoding all of the default-directory's to here
4250 (command-line): Decode also argv[0].
4252 * loadup.el: Error out if default-directory is a multibyte string
4253 when we are dumping.
4255 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4257 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4259 * emacs-lisp/package.el (package-menu-mode)
4260 (package-menu--print-info, package-menu--archive-predicate):
4261 Add Archive column to package list.
4263 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4265 Fix problems found while writing a test suite.
4267 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4268 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4269 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4270 to nil when running original file name handler. Otherwise,
4271 there are problems with constructs like "$$FOO".
4273 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4276 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4278 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4280 * subr.el (version<, version<=, version=):
4281 Update docstrings with information for snapshot versions.
4283 * helpers.el: New library for misc helper functions.
4284 (hash-table-keys): New function returning a list of hash keys.
4285 (hash-table-values): New function returning a list of hash values.
4287 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4289 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4290 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4292 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4294 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4295 checking whether point is after a 1-letter word.
4297 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4299 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4300 Don't infloop when expanding region over `multiline' syntax-type that
4301 begins a line (bug#15778).
4303 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4305 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4306 Make it into a proper minor mode.
4307 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4308 (rectangle-mark-mode-map): New keymap.
4309 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4311 2013-11-04 Glenn Morris <rgm@gnu.org>
4313 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4315 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4317 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4318 (ruby-smie-rules): Use smie-rule-parent instead.
4320 * emacs-lisp/smie.el (smie-rule-parent): Always call
4321 smie-indent-virtual rather than only for hanging tokens.
4322 (smie--next-indent-change): New helper command.
4324 2013-11-03 Glenn Morris <rgm@gnu.org>
4326 * Makefile.in (abs_srcdir): Remove.
4327 (emacs): Unset EMACSLOADPATH.
4329 2013-11-02 Glenn Morris <rgm@gnu.org>
4331 * Makefile.in (EMACS): Use a relative filename.
4332 (abs_top_builddir): Remove.
4333 (custom-deps, finder-data, autoloads): Use --chdir.
4335 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4337 Use relative filenames in TAGS files.
4338 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4339 (lisptagsfiles4, TAGS): Use relative file names.
4340 (TAGS-LISP): Remove.
4341 (maintainer-clean): No more TAGS-LISP file.
4343 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4344 (lisptagsfiles4): Use absolute filenames again.
4345 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4346 Remove all *loaddefs files, not just the first. Remove esh-groups.
4347 (maintainer-clean): Delete TAGS, TAGS-LISP.
4349 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4351 * emacs-lisp/package.el (package-version-join):
4352 Recognize snapshot versions.
4354 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4356 * subr.el (version-regexp-alist): Add support for snapshot versions.
4358 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4360 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4361 New function, replacement for `smie-rule-parent' for when we want to
4362 skip over our direct parent if it's an assignment token..
4363 (ruby-smie-rules): Use it.
4365 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4367 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4368 unconditionally. Remove now unnecessary forward declarations.
4369 Remove XEmacs-specific setup.
4370 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4371 (ruby-font-lock-syntactic-keywords)
4372 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4373 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4374 (ruby-here-doc-end-syntax): Remove.
4375 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4376 defined as function.
4378 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4380 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4382 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4384 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4385 table and abbrev table, `define-derived-mode' does that for us
4388 2013-11-01 Glenn Morris <rgm@gnu.org>
4390 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4391 files is atomic for some time, so no parallel compilation issues).
4393 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4395 * faces.el (face-x-resources): Add :distant-foreground.
4396 (region): Use :distant-foreground for gtk and ns.
4398 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4400 Allow multiple bibliographies when BibLaTeX is used rather than
4402 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4403 (reftex-locate-bibliography-files): Us it.
4405 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4407 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4408 allow comments in pbm files.
4410 * term/w32-win.el (dynamic-library-alist): Support newer versions
4411 of libjpeg starting with v7: look only for the DLL from the
4412 version against which Emacs was built.
4413 Support versions of libpng beyond 1.4.x.
4414 Support libtiff v4.x.
4416 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4418 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4419 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4421 (ruby-deep-arglist): Add property :type.
4423 2013-10-31 Glenn Morris <rgm@gnu.org>
4425 * Makefile.in (custom-deps, finder-data): No need to setq the target
4426 variables, we are in the right directory and the defaults work fine.
4428 2013-10-30 Glenn Morris <rgm@gnu.org>
4430 * Makefile.in (autoloads): Do not use abs_lisp.
4432 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4433 `newline' does not respect `standard-output', so use `princ'.
4435 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4437 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4438 * buff-menu.el (Buffer-menu--unmark): New function.
4439 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4441 2013-10-30 Glenn Morris <rgm@gnu.org>
4443 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4445 * emacs-lisp/package.el (lm-homepage): Declare.
4447 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4450 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4452 * Makefile.in (finder-data, autoloads, update-subdirs)
4453 (compile-main, compile-clean, compile-always, bootstrap-clean):
4454 Check return value of cd.
4455 (compile-calc): Remove.
4457 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4459 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4461 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4462 (byte-compile-and-folded): New function.
4463 (=, <, >, <=, >=): Use it.
4465 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4466 (path-separator, null-device, buffer-file-coding-system)
4467 (lpr-headers-switches): Check system-type before modifying them.
4468 (find-buffer-file-type-coding-system): Mark obsolete.
4469 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4470 find-file-not-found-set-buffer-file-coding-system.
4471 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name)
4472 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4473 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p)
4474 (w32-direct-print-region-helper, w32-direct-print-region-function)
4475 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4476 * startup.el (normal-top-level-add-subdirs-to-load-path):
4477 * ps-print.el (ps-print-region-function):
4478 * lpr.el (print-region-function): Use new name.
4480 * subr.el (custom-declare-variable-early): Remove function.
4481 (custom-declare-variable-list): Remove var.
4482 (error, user-error): Remove `while' loop.
4483 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4484 (user-emacs-directory-warning, locate-user-emacs-file):
4486 * simple.el (read-quoted-char-radix, read-quoted-char):
4487 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4489 * custom.el (custom-declare-variable-list): Don't process
4490 custom-declare-variable-list.
4492 * progmodes/python.el (python-shell-get-buffer): New function.
4493 (python-shell-get-process): Use it.
4494 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4495 Python which encoding was used. Don't split-string since we only care
4496 about the first line. Return the temp-file, if applicable.
4497 (python-shell-send-region): Tell compile.el how to turn locations in
4498 the temp-file into locations in the source buffer.
4500 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4502 * subr.el (undefined): Add missing behavior from the C code for
4505 * rect.el: Use lexical-binding. Add new rectangular region support.
4506 (rectangle-mark): New command.
4507 (rectangle--region): New var.
4508 (deactivate-mark-hook): Reset rectangle--region.
4509 (rectangle--extract-region, rectangle--insert-for-yank)
4510 (rectangle--highlight-for-redisplay)
4511 (rectangle--unhighlight-for-redisplay): New functions.
4512 (region-extract-function, redisplay-unhighlight-region-function)
4513 (redisplay-highlight-region-function): Use them to handle
4515 * simple.el (region-extract-function): New var.
4516 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4517 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4518 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4519 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4520 (redisplay-unhighlight-region-function)
4521 (redisplay-highlight-region-function): New vars.
4522 (redisplay--update-region-highlight): New function.
4523 (pre-redisplay-function): Use it.
4524 (exchange-point-and-mark): Don't deactivate the mark before
4525 reactivate-it anyway.
4526 * comint.el (comint-kill-region): Remove yank-handler argument.
4527 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4528 (delete-char): Remove property, since it's now part of their
4530 (self-insert-iso): Remove property since this command doesn't exist.
4532 * emacs-lisp/package.el (package--download-one-archive)
4533 (describe-package-1): Don't query the user about final newline.
4535 2013-10-29 Daniel Colascione <dancol@dancol.org>
4537 * net/tramp.el (tramp-methods): Document new functionality.
4538 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4539 tramp-hostname-checker if method provides one instead of scanning
4540 argument list for "%h" to decide hostname acceptability.
4542 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4544 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4545 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4546 Handle COPY-CONTENTS. (Bug#15737)
4548 2013-10-28 Daiki Ueno <ueno@gnu.org>
4551 (epa-file-cache-passphrase-for-symmetric-encryption):
4552 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4554 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4556 * image.el (defimage, image-load-path): Doc fixes.
4558 2013-10-27 Alan Mackenzie <acm@muc.de>
4560 Indent statements in macros following "##" correctly.
4561 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4562 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4564 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4566 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4568 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4570 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4571 after `=' is probably a new expression.
4573 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4575 * man.el (man-imenu-title): New option.
4576 (Man-mode-map): Add menu. (Bug#15722)
4577 (Man-mode): Add imenu to menu.
4579 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4581 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4582 specific in what the first arg can be: a non-keyword word,
4583 string/regexp/percent literal opener, opening paren, or unary
4584 operator followed directly by word.
4586 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4588 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4589 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4590 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4591 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4592 Remove vars, they do not apply any more.
4593 (prolog-mode-abbrev-table): Remove redundant declaration.
4594 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4595 (prolog-use-smie): Remove.
4596 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4597 supported by prolog-electric-if-then-else-flag.
4598 (prolog-mode-variables, prolog-menu): Use setq-local.
4599 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4600 Remove binding to `Backspace' since this key doesn't exist anyway.
4601 Remove bindings for electric self-inserting keys.
4602 (prog-mode): Assume it's defined.
4603 (prolog-post-self-insert): New function.
4604 (prolog-mode): Use it.
4605 (prolog-indent-line, prolog-indent-level)
4606 (prolog-find-indent-of-matching-paren)
4607 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4608 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4609 (prolog-goto-next-paren, prolog-in-string-or-comment)
4610 (prolog-tokenize, prolog-inside-mline-comment)
4611 (prolog-find-start-of-mline-comment): Remove functions.
4612 (prolog-find-unmatched-paren, prolog-clause-end)
4613 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4614 (prolog-electric--if-then-else): Rename from
4615 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4616 (prolog-tokenize-searchkey): Remove const.
4617 (prolog-clause-info): Use forward-sexp.
4618 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4619 (prolog-electric-if-then-else): Remove commands.
4620 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4621 for use in post-self-insert-hook.
4622 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4623 for use in post-self-insert-hook.
4624 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4625 for use in post-self-insert-hook.
4626 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4627 adapt it for use in post-self-insert-hook.
4629 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4631 * emacs-lisp/ert.el (ert-run-tests-interactively):
4632 Use `completing-read'. (Bug#9756)
4634 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4636 * simple.el (line-move): Call line-move-1 instead of
4637 line-move-visual when the current window hscroll is zero, but
4638 temporary-goal-column indicates we will need to hscroll as result
4639 of the movement. (Bug#15712)
4641 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4643 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4644 capitalization. Use :visible instead of :active.
4645 Fix `ruby-indent-exp' reference. Add menu items for the generic
4646 commands that are used with SMIE.
4647 (ruby-do-end-to-brace): Insert space after `{'.
4649 2013-10-25 John Anthony <john@jo.hnanthony.com>
4651 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4653 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4655 2013-10-25 Glenn Morris <rgm@gnu.org>
4657 * vc/vc.el (vc-print-log): Don't use a working revision unless
4658 one was explicitly specified. (Bug#15322)
4660 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4662 * subr.el (add-to-list): Preserve return value in compiler-macro
4665 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4667 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4668 result. Ask user to retry using '-all' flag. (Bug#15701)
4670 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4672 * emacs-lisp/smie.el: New smie-config system.
4673 (smie-config): New defcustom.
4674 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4675 (smie-config-guess, smie-config-save): New commands.
4676 (smie-config--mode-local, smie-config--buffer-local)
4677 (smie-config--trace, smie-config--modefuns): New vars.
4678 (smie-config--advice, smie-config--mode-hook)
4679 (smie-config--setter, smie-config-local, smie-config--get-trace)
4680 (smie-config--guess-value, smie-config--guess): New functions.
4681 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4682 text properties. Treat "string fence" syntax like string syntax.
4684 * progmodes/sh-script.el (sh-use-smie): Change default.
4685 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4686 (sh-var-value): Simplify by CSE.
4687 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4688 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4690 (sh-guess-basic-offset): Use cl-incf.
4691 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4693 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4695 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4698 2013-10-24 Glenn Morris <rgm@gnu.org>
4700 * Makefile.in (abs_top_srcdir): Remove.
4701 (update-subdirs): Use relative path to update-subdirs.
4703 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4705 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4706 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4707 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4708 Call unmsys--file-name before expand-file-name, not after it.
4710 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4712 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4713 (ert-test-skipped): New error.
4714 (ert-skip, ert-stats-skipped): New defuns.
4715 (ert--skip-unless): New macro.
4716 (ert-test-skipped): New struct.
4717 (ert--run-test-debugger, ert-test-result-type-p)
4718 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4719 (ert--stats-set-test-and-result, ert-char-for-test-result)
4720 (ert-string-for-test-result, ert-run-tests-batch)
4721 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4722 Handle skipped tests. (Bug#9803)
4724 2013-10-24 Glenn Morris <rgm@gnu.org>
4726 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4728 * Makefile.in (abs_top_srcdir): New, set by configure.
4729 (update-subdirs): Correct build-aux location.
4731 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4733 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4734 value, whether we could auto-deduce `backend', or not.
4736 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4737 with parameters" example. Simplify the "is it block or is it
4738 hash" check, but also make it more thorough.
4740 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4742 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4744 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4746 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4749 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4752 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4754 * progmodes/compile.el (compilation-directory-matcher)
4755 (compilation-page-delimiter):
4756 Support GNU Make-4.0 directory quoting. (Bug#15678)
4758 2013-10-23 Leo Liu <sdl.web@gmail.com>
4760 * ido.el (ido-tidy): Handle read-only text.
4762 2013-10-23 Glenn Morris <rgm@gnu.org>
4764 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4765 (emacs, compile, compile-always):
4766 Quote entities that might contain whitespace.
4767 (custom-deps, finder-data, autoloads): Use abs_lisp.
4768 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4769 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4770 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4772 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4774 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4775 Use `following-char'.
4777 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4779 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4780 * progmodes/ruby-mode.el (ruby-smie-rules):
4781 Remove corresponding workaround. Fix indentation rule of ";" so it
4782 also applies when ";" is the parent.
4784 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4786 * frame.el (display-screens, display-pixel-height)
4787 (display-pixel-width, display-mm-width, display-backing-store)
4788 (display-save-under, display-planes, display-color-cells)
4789 (display-visual-class, display-monitor-attributes-list):
4790 Mention the optional ‘display’ argument in doc strings.
4792 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4794 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4795 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4797 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4799 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4800 TODO. Add "." after " @ ".
4801 (ruby-smie--at-dot-call): New function. Checks if point at method
4802 call with explicit target.
4803 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4804 to the method name tokens when it precedes them.
4805 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4806 (ruby-smie-rules): Add rule for indentation before and after "."
4809 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4811 * textmodes/remember.el (remember-diary-extract-entries):
4814 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4817 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4819 * progmodes/ruby-mode.el (ruby-smie-grammar):
4820 Add (almost) all infix operators.
4821 (ruby-smie--implicit-semi-p): Add new operator chars.
4823 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4825 (ruby-smie--args-separator-p): Check that there's no newline
4826 between method call and its arguments.
4828 2013-10-20 Alan Mackenzie <acm@muc.de>
4830 Allow comma separated lists after Java "implements".
4832 * progmodes/cc-engine.el (c-backward-over-enum-header):
4834 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4835 from a "disallowed" list in enum fontification.
4837 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4839 * startup.el (default-frame-background-mode): Remove unused defvar.
4841 * progmodes/verilog-mode.el (verilog-mode): Don't set
4842 comment-indent-function globally.
4844 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4846 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4847 Move Info menu item creation to ns-win.el.
4849 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4852 * menu-bar.el: Move GNUstep specific menus...
4854 * term/ns-win.el (ns-initialize-window-system): ... to here.
4856 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4858 * simple.el (newline): Only run post-self-insert-hook when
4859 called interactively.
4861 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4863 * icomplete.el (icomplete-with-completion-tables): Add :version.
4865 2013-10-19 Alan Mackenzie <acm@muc.de>
4867 Fix fontification bugs with constructors and const.
4869 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4870 CASE 2) Remove the check for the absence of a suffix construct
4871 after a function declaration with only types (no identifiers) in
4872 the parentheses. Also, accept a function declaration with just a
4873 type inside the parentheses, if this type can be positively
4874 recognised as such, or if a prefix keyword like "explicit" nails
4875 down the construct as a declaration.
4877 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4879 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4880 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4881 the problem whereby selecting a menu item that leads to a
4882 minibuffer prompt moves the cursor out of the minibuffer window,
4883 making it hard to type at the prompt. Suggested by Stefan Monnier
4884 <monnier@iro.umontreal.ca>.
4886 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4888 * menu-bar.el: Don't make Services menu.
4890 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4892 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4893 (ffap-alist): Use ffap-c++-mode for c++-mode.
4894 (ffap-c++-path): New variable.
4895 (ffap-c++-mode): New function.
4897 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4899 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4901 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4903 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4904 introduced on 2013-09-08, which results in an infinite loop
4905 requesting a password.
4907 2013-10-18 Glenn Morris <rgm@gnu.org>
4909 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4911 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4913 Sync with upstream verilog-mode revision 1a6ecec7.
4914 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4915 (verilog-mode-release-date): Remove.
4916 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4917 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4918 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4919 (verilog-auto-tieoff-ignore-regexp)
4920 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4921 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4922 (verilog-signals-with, verilog-dir-cache-preserving)
4923 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4925 (verilog-case-fold): New option, to control case folding in
4926 regexp searches, bug597.
4927 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4928 (verilog-string-match-fold, verilog-in-paren-count)
4929 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4930 (verilog-at-close-struct-p): New functions.
4931 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4932 (verilog-forward-sexp, verilog-set-auto-endcomments)
4933 (verilog-leap-to-case-head): Handle "unique0" case.
4934 (verilog-in-constraint-re): New constant.
4935 (verilog-keywords, verilog-type-font-keywords):
4936 Add some SystemVerilog 1800-2012 keywords.
4937 (verilog-label-be): Remove unimplemented argument, bug669.
4938 (verilog-batch-execute-func): When batch expanding clear
4939 create-lockfiles to prevent spurious user locks when a file ends
4941 (verilog-calculate-indent, verilog-calc-1)
4942 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4943 (verilog-do-indent): Fix indentation of nested constraints
4945 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4946 (verilog-auto-inst-param): Use verilog-string-match-fold.
4947 (verilog-read-inst-module-matcher):
4948 Fix AUTOINST on gate primitives with #1.
4949 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4950 Reads all user-defined typed variables.
4951 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4952 (verilog-signals-matching-regexp)
4953 (verilog-signals-not-matching-regexp, verilog-auto):
4954 Respect verilog-case-fold.
4955 (verilog-diff-report): Fix line count.
4956 (verilog-auto-assign-modport): Remove unused local `modi'.
4957 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4958 better handle multidimensional arrays.
4959 Fix packed array ports misadding bit index in AUTOINST, bug637.
4960 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4961 to not double-declare existing outputs and inputs, respectively.
4962 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4963 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4964 (verilog-sk-uvm-component): New skeleton.
4965 (verilog-submit-bug-report): Add verilog-case-fold,
4966 remove verilog-mode-release-date.
4968 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4970 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4973 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4975 * textmodes/remember.el (remember): Set buffer-offer-save in
4976 remember buffers (bug#13566).
4978 2013-10-18 Daniel Colascione <dancol@dancol.org>
4980 When evaluating forms in ielm, direct standard output to ielm
4981 buffer. Add new ielm-return-for-effect command. Remove trailing
4982 whitespace throughout.
4984 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4985 (ielm-return-for-effect): New command.
4986 (ielm-send-input): Accept optional `for-effect' parameter.
4987 (ielm-eval-input): Accept optional `for-effect' parameter.
4988 Bind `standard-output' to stream we create using
4989 `ielm-standard-output-impl'. Suppress printing result when
4991 (ielm-standard-output-impl): New function.
4992 (inferior-emacs-lisp-mode): Explain new features in documentation.
4994 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4998 * net/tramp.el (tramp-debug-message): Do not check for connection
5000 (tramp-message): Use "vector" connection property.
5002 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
5003 (tramp-equal-remote, tramp-eshell-directory-change)
5004 * net/tramp-adb.el (tramp-adb-handle-copy-file)
5005 (tramp-adb-handle-rename-file)
5006 * net/tramp-cmds.el (tramp-list-remote-buffers)
5007 (tramp-cleanup-connection, tramp-cleanup-this-connection)
5008 * net/tramp-compat.el (tramp-compat-process-running-p)
5009 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
5010 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
5011 (tramp-gvfs-handle-rename-file)
5012 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
5013 (tramp-set-file-uid-gid)
5014 * net/tramp-smb.el (tramp-smb-handle-copy-file)
5015 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
5018 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
5019 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
5020 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
5021 (tramp-gw-open-network-stream): Suppress unrelated traces.
5023 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
5024 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
5025 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
5026 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
5027 connection property.
5029 * net/tramp-cache.el (top): Suppress traces when reading
5032 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
5033 Refactor common code. Improve debug message.
5034 (tramp-maybe-open-connection)
5035 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5036 connection buffer too early.
5038 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5039 from `tramp-smb-actions-with-acl'.
5040 (tramp-smb-actions-set-acl): New defconst.
5041 (tramp-smb-handle-copy-directory)
5042 (tramp-smb-action-get-acl): New defun, renamed from
5043 `tramp-smb-action-with-acl'.
5044 (tramp-smb-action-set-acl): New defun.
5045 (tramp-smb-handle-set-file-acl): Rewrite.
5047 2013-10-17 Glenn Morris <rgm@gnu.org>
5049 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5051 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5053 * skeleton.el (skeleton-newline): Remove.
5054 (skeleton-internal-1): Use (insert "\n") instead.
5056 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5059 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5060 forward-sexp-function while we redo its job (bug#15613).
5062 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5064 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5065 represented by lists.
5067 2013-10-16 Glenn Morris <rgm@gnu.org>
5069 * tmm.el (tmm--history): New dynamic variable.
5070 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5072 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5074 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5075 (tramp-smb-errors): Add error messages.
5076 (tramp-smb-actions-with-acl): New defconst.
5077 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5078 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5079 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5080 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5081 (tramp-smb-get-stat-capability): Fix tests.
5083 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5085 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5088 2013-10-16 Glenn Morris <rgm@gnu.org>
5090 * ansi-color.el (ansi-color-drop-regexp):
5091 Add 1J, 1K, 2K. (Bug#15617)
5093 * files.el (hack-local-variables--warned-lexical): New.
5094 (hack-local-variables):
5095 Warn about misplaced lexical-binding. (Bug#15616)
5097 * net/eww.el (eww-render): Always set eww-current-url,
5098 and update header line. (Bug#15622)
5099 (eww-display-html): ... Rather than just doing it here.
5101 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5103 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5104 menu navigations commands.
5106 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5108 * progmodes/subword.el (subword-capitalize): Be careful when
5109 the search for [[:alpha:]] fails (bug#15580).
5111 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5113 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5114 to commands that scroll the menu.
5116 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5118 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5119 Handle methods ending with `?' and `!'.
5121 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5123 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5124 `japanese-cp932' to `cp932' to fix the problem where saving a
5125 source file written in Shift_JIS twice would end up having
5126 `coding: japanese-cp932' which Ruby could not recognize.
5127 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5128 in `ruby-encoding-map'.
5129 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5130 doesn't need to be explicitly declared in magic comment.
5131 (ruby-encoding-map): Add type declaration for better customize UI.
5133 2013-10-13 Glenn Morris <rgm@gnu.org>
5135 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5136 Occur buffers are read-only. http://bugs.debian.org/720775
5138 * emacs-lisp/authors.el (authors-fixed-entries):
5139 Comment out old alpha stuff.
5141 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5143 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5144 to `after-save-hook' instead of `before-save-hook'.
5145 (ruby-mode-set-encoding): Use the value of coding system used to
5146 write the file. Call `basic-save-buffer-1' after modifying the
5149 2013-10-13 Alan Mackenzie <acm@muc.de>
5151 Fix indentation/fontification of Java enum with
5152 "implements"/generic.
5154 * progmodes/cc-engine.el (c-backward-over-enum-header):
5155 Extracted from the three other places and enhanced to handle generics.
5156 (c-inside-bracelist-p): Uses new function above.
5157 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5159 (c-font-lock-enum-tail): Uses new function above.
5161 2013-10-13 Kenichi Handa <handa@gnu.org>
5163 * international/mule-cmds.el (select-safe-coding-system): Remove a
5164 superfluous condition in chekcing whether a coding system is safe
5167 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5169 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5171 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5173 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5175 2013-10-13 Glenn Morris <rgm@gnu.org>
5177 * menu-bar.el (menu-bar-update-buffers):
5178 Unify Buffers menu prompt string. (Bug#15576)
5180 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5182 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5184 (authors-fixed-entries): Use accented form of name.
5186 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5188 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5189 method calls (bug#15594).
5190 (ruby-smie--args-separator-p): New function.
5191 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5192 recognize paren-free method calls.
5194 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5195 internals of universal-argument.
5197 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5199 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5200 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5201 dropped menu on second mouse click on the menu bar.
5203 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5205 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5206 (explicit-shell-file-name): Declare.
5207 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5208 (sh-completion-at-point-function): New function.
5210 (sh-smie--keyword-p): Remove unused argument.
5211 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5213 (sh-set-shell): Always setup SMIE, even if we use the
5214 old indentation code.
5216 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5218 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5220 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5221 predicate would return nil are almost non-existent.
5222 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5224 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5225 cache also after commands that modify the buffer but don't move
5228 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5230 * env.el (substitute-env-in-file-name): New function.
5231 (substitute-env-vars): Extend the meaning of the optional arg.
5233 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5235 * term/w32-win.el (dynamic-library-alist): Define separate lists
5236 of GIF DLLs for versions before and after 5.0.0 of giflib.
5239 2013-10-10 João Távora <joaotavora@gmail.com>
5241 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5242 not locked, use last revision and current source as
5243 defaults. (Bug#15569)
5245 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5247 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5250 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5252 * window.el (pop-to-buffer-same-window): Fix doc-string.
5255 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5257 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5259 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5261 * calendar/icalendar.el (icalendar-import-file):
5262 Fix interactive spec. (Bug#15482)
5264 2013-10-10 Glenn Morris <rgm@gnu.org>
5266 * desktop.el (desktop-save): Default to saving in .emacs.d,
5267 since PWD is no longer in desktop-path by default. (Bug#15319)
5269 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5270 now that text mode has a menu with the same entry.
5271 (menu-bar-text-mode-auto-fill): Remove now unused func.
5272 * textmodes/text-mode.el (text-mode-map):
5273 Use auto-fill help text from menu-bar.el.
5275 2013-10-10 John Anthony <john@jo.hnanthony.com>
5277 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5279 2013-10-09 Juri Linkov <juri@jurta.org>
5281 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5282 instead of this-command-keys. Add universal-argument-more and
5283 universal-argument-minus to the list of prefix commands. (Bug#15568)
5285 2013-10-09 Glenn Morris <rgm@gnu.org>
5287 * vc/vc-svn.el (vc-svn-create-repo):
5288 Expand paths in file://... url. (Bug#15446)
5290 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5292 (authors): Remove unused local variables.
5294 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5296 * profiler.el: Create a more coherent calltree from partial backtraces.
5297 (profiler-format): Hide the tail with `invisible' so that C-s can still
5298 find the hidden elements.
5299 (profiler-calltree-depth): Don't recurse so enthusiastically.
5300 (profiler-function-equal): New hash-table-test.
5301 (profiler-calltree-build-unified): New function.
5302 (profiler-calltree-build): Use it.
5303 (profiler-report-make-name-part): Indent the calltree less.
5304 (profiler-report-mode): Add visibility specs for profiler-format.
5305 (profiler-report-expand-entry, profiler-report-toggle-entry):
5306 Expand the whole subtree when provided with a prefix arg.
5308 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5310 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5312 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5313 hanging iuwu-mod token.
5314 (ruby-smie--forward-token): Do not include a dot after a token in
5316 (ruby-smie--backward-token): Likewise.
5318 2013-10-08 Juri Linkov <juri@jurta.org>
5320 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5321 to isearch-other-control-char.
5322 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5323 and isearch-post-command-hook to post-command-hook.
5324 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5325 and isearch-post-command-hook from post-command-hook.
5326 (isearch-unread-key-sequence)
5327 (isearch-reread-key-sequence-naturally)
5328 (isearch-lookup-scroll-key, isearch-other-control-char)
5329 (isearch-other-meta-char): Remove functions.
5330 (isearch-pre-command-hook, isearch-post-command-hook):
5331 New functions based on isearch-other-meta-char rewritten
5332 relying on the new behavior of overriding-terminal-local-map
5333 that does not replace the local keymaps any more. (Bug#15200)
5335 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5337 Support menus on text-mode terminals.
5338 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5341 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5343 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5344 Move here from mouse.el.
5345 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5347 (tty-menu-navigation-map): New map for TTY menu navigation.
5349 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5351 * frame.el (display-mouse-p): Report text-mode mouse as available
5353 (display-popup-menus-p): Report availability if mouse is
5354 available; don't condition on window-system.
5356 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5357 (tty-menu-selected-face): New faces.
5359 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5361 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5362 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5363 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5364 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5366 (lisp-mode-variables): New `elisp' argument.
5367 (emacs-lisp-mode): Use it.
5368 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5369 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5371 * indent.el: Use lexical-binding.
5372 (indent-region): Add progress reporter.
5373 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5375 (indent--next-tab-stop): New function to implement this behavior.
5376 (tab-to-tab-stop, move-to-tab-stop): Use it.
5378 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5380 * indent.el (indent-rigidly--current-indentation): New function.
5381 (indent-rigidly-map): New var.
5382 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5384 2013-10-08 Bastien Guerry <bzg@gnu.org>
5386 * register.el (insert-register): Fix 2013-10-07 change.
5388 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5390 * progmodes/perl-mode.el: Use lexical-binding.
5391 Remove redundant :group args.
5392 (perl-nochange): Change default to be closer to other major modes's
5394 (perl-indent-line): Don't consider text on current line as a
5395 valid beginning of function from which to indent.
5397 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5398 with more than one argument (bug#15538).
5400 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5402 * vc/pcvs.el: Use lexical-binding.
5403 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5404 environment of `eval'.
5405 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5406 than a list of expressions. Adjust callers.
5407 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5409 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5411 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5412 case of the dot in a chained method call being on the following line.
5414 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5416 * electric.el (electric-indent-inhibit): New var.
5417 (electric-indent-post-self-insert-function): Use it.
5418 * progmodes/python.el (python-mode): Set it.
5420 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5423 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5425 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5426 (css-mode): Use electric-indent-chars.
5428 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5429 (font-lock-beg, font-lock-end): Move before first use.
5430 (nxml-mode): Use syntax-propertize-function.
5431 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5432 (nxml-extend-after-change-region): Remove.
5433 * nxml/xmltok.el: Use lexical-binding.
5434 (xmltok-save): Use `declare'.
5435 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5436 * nxml/nxml-util.el: Use lexical-binding.
5437 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5439 * nxml/nxml-ns.el: Use lexical-binding.
5440 (nxml-ns-save): Use `declare'.
5441 (nxml-ns-prefixes-for): Avoid add-to-list.
5442 * nxml/rng-match.el: Use lexical-binding.
5443 (rng--ipattern): Use cl-defstruct.
5444 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5445 (rng-cons-group-after, rng-subst-group-after)
5446 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5447 Use closures instead of `(lambda...).
5449 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5451 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5454 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5455 Use `tramp-handle-insert-file-contents'.
5456 (tramp-gvfs-handle-insert-file-contents): Remove function.
5458 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5459 Use `save-restriction' in order to keep markers.
5461 * net/trampver.el: Update release number.
5463 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5465 * progmodes/compile.el (compilation-parse-errors):
5466 Use compilation--put-prop.
5467 (compilation--ensure-parse): Check compilation-multiline.
5469 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5471 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5474 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5476 * progmodes/ruby-mode.el: Fix recently added tests.
5477 (ruby-smie-grammar): Add - and +.
5478 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5479 (ruby-smie--backward-id): New functions.
5480 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5481 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5484 2013-10-07 Leo Liu <sdl.web@gmail.com>
5486 * register.el (register-preview-delay)
5487 (register-preview-functions): New variables.
5488 (register-read-with-preview, register-preview)
5489 (register-describe-oneline): New functions.
5490 (point-to-register, window-configuration-to-register)
5491 (frame-configuration-to-register, jump-to-register)
5492 (number-to-register, view-register, insert-register)
5493 (copy-to-register, append-to-register, prepend-to-register)
5494 (copy-rectangle-to-register): Use register-read-with-preview to
5495 read register. (Bug#15525)
5497 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5499 * net/network-stream.el (network-stream-open-starttls): Don't add
5500 --insecure if it's already present, because that gnutls-cli
5501 rejects getting that parameter twice.
5503 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5505 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5508 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5510 * newcomment.el (comment-use-global-state): Change default value
5511 to t, mark obsolete (Bug#15251).
5512 (comment-beginning): In addition to `comment-to-syntax', check the
5513 value of `comment-use-global-state'.
5515 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5517 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5518 (ruby-comment-column): Follow the global default, by default.
5519 (ruby-smie-grammar): Add assignment syntax.
5520 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5521 open-paren, a comma, or a \.
5522 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5523 and line continuations.
5524 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5525 followed by implicit semi-colons. Add rule for string concatenation
5526 and for indentation at BOB.
5527 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5529 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5530 calling next-sexp, since next-token may have skipped chars which
5531 next-sexp doesn't know should be skipped!
5533 2013-10-05 Leo Liu <sdl.web@gmail.com>
5535 * progmodes/octave.el (octave-send-region):
5536 Call compilation-forget-errors.
5538 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5540 * vc/vc-svn.el (vc-svn-find-admin-dir):
5541 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5542 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5543 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5544 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5546 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5548 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5550 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5552 * subr.el (read-passwd): Hide chars even when called within a context
5553 where after-change-functions is disabled (bug#15501).
5554 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5555 until we removed ourself from overriding-terminal-local-map.
5557 2013-10-04 Leo Liu <sdl.web@gmail.com>
5559 * progmodes/octave.el (inferior-octave-mode):
5560 Call compilation-forget-errors.
5562 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5564 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5566 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5568 * net/secrets.el (secrets-create-collection): Add optional
5569 argument ALIAS. Use proper Label keyword. Append ALIAS as
5570 dbus-call-method argument. (Bug#15516)
5572 2013-10-04 Leo Liu <sdl.web@gmail.com>
5574 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5575 (inferior-octave-compilation-font-lock-keywords): New variables.
5576 (compilation-error-regexp-alist)
5577 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5578 (inferior-octave-mode): Use compilation-shell-minor-mode.
5580 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5582 * minibuffer.el (completion--replace): Be careful that `end' might be
5585 2013-10-03 Daiki Ueno <ueno@gnu.org>
5587 Add support for package signature checking.
5588 * emacs-lisp/package.el (url-http-file-exists-p)
5589 (epg-make-context, epg-context-set-home-directory)
5590 (epg-verify-string, epg-context-result-for)
5591 (epg-signature-status, epg-signature-to-string)
5592 (epg-check-configuration, epg-configuration)
5593 (epg-import-keys-from-file): Declare.
5594 (package-check-signature): New user option.
5595 (package-unsigned-archives): New user option.
5596 (package-desc): Add `signed' field.
5597 (package-load-descriptor): Set `signed' field if .signed file exists.
5598 (package--archive-file-exists-p): New function.
5599 (package--check-signature): New function.
5600 (package-install-from-archive): Check package signature.
5601 (package--download-one-archive): Check archive signature.
5602 (package-delete): Remove .signed file.
5603 (package-import-keyring): New command.
5604 (package-refresh-contents): Import default keyring.
5605 (package-desc-status): Add "unsigned" status.
5606 (describe-package-1, package-menu--print-info)
5607 (package-menu-mark-delete, package-menu--find-upgrades)
5608 (package-menu--status-predicate): Support "unsigned" status.
5610 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5612 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5613 the new compilation scheme using the new byte-codes.
5615 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5616 (byte-pophandler): New byte codes.
5617 (byte-goto-ops): Adjust accordingly.
5618 (byte-compile--use-old-handlers): New var.
5619 (byte-compile-catch): Use new byte codes depending on
5620 byte-compile--use-old-handlers.
5621 (byte-compile-condition-case--old): Rename from
5622 byte-compile-condition-case.
5623 (byte-compile-condition-case--new): New function.
5624 (byte-compile-condition-case): New function that dispatches depending
5625 on byte-compile--use-old-handlers.
5626 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5629 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5630 Optimize under `condition-case' and `catch' if
5631 byte-compile--use-old-handlers is nil.
5632 (disassemble-offset): Handle new bytecodes.
5634 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5636 * subr.el (error): Use `declare'.
5637 (decode-char, encode-char): Use advertised-calling-convention instead
5638 of the docstring to discourage use of the `restriction' arg.
5640 2013-10-03 Daiki Ueno <ueno@gnu.org>
5642 * epg.el (epg-verify-file): Add a comment saying that it does not
5643 notify verification error as a return value nor a signal.
5644 (epg-verify-string): Ditto.
5646 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5648 * progmodes/compile.el (compilation-start): Try globbing the arg to
5651 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5653 Sync with Tramp 2.2.8.
5655 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5656 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5657 * net/trampver.el: Update release number.
5659 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5661 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5662 and default-process-coding-system for darwin only.
5664 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5666 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5668 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5670 * vc/vc-git.el (vc-git-grep): Disable pager.
5672 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5674 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5675 Use :url instead of :homepage, as per
5676 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5678 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5679 non-nil, use `syntax-ppss' (Bug#15251).
5681 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5683 * progmodes/octave.el (inferior-octave-startup-file):
5684 Prefer ~/.emacs.d/init_octave.m.
5686 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5688 * emacs-lisp/package.el (package-desc-from-define):
5689 Accept additional arguments as plist, convert them to an alist and store
5690 them in the `extras' slot.
5691 (package-generate-description-file): Convert extras alist back to
5692 plist and append to the `define-package' form arguments.
5693 (package--alist-to-plist): New function.
5694 (package--ac-desc): Add `extras' slot.
5695 (package--add-to-archive-contents): Check if the archive-contents
5696 vector is long enough, and if it is, pass its `extras' slot value
5697 to `package-desc-create'.
5698 (package-buffer-info): Call `lm-homepage', pass the returned value
5699 to `package-desc-from-define'.
5700 (describe-package-1): Render the homepage button (Bug#13291).
5702 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5703 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5705 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5707 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5708 and default-process-coding-system to utf-8-unix (Bug#15402).
5710 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5712 * subr.el (looking-back): Do not recommend using looking-back.
5714 2013-09-28 Alan Mackenzie <acm@muc.de>
5716 Fix indentation/fontification of Java enum with "implements".
5718 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5719 regexp which matches "implements", etc., in Java.
5720 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5721 specifier clauses coming after "enum".
5722 * progmodes/cc-fonts.el (c-font-lock-declarations)
5723 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5726 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5728 * faces.el (region): Change ns_selection_color to
5729 ns_selection_fg_color, add ns_selection_bg_color.
5731 2013-09-28 Leo Liu <sdl.web@gmail.com>
5733 * progmodes/octave.el (inferior-octave-completion-table)
5734 (inferior-octave-completion-at-point): Minor tweaks.
5736 * textmodes/ispell.el (ispell-lookup-words): Rename from
5737 lookup-words. (Bug#15460)
5738 (lookup-words): Obsolete.
5739 (ispell-complete-word, ispell-command-loop): All uses changed.
5741 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5743 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5744 (octave-mode-menu): Add octave-send-buffer.
5745 (octave-send-buffer): New function.
5747 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5749 * progmodes/octave.el (octave-mode-map): Add key binding for
5751 (octave-mode-menu): Add octave-lookfor.
5752 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5754 (octave-lookfor): New function.
5756 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5758 * emacs-lisp/cl-macs.el (cl--loop-destr-temps): Remove.
5759 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5761 (cl--loop-set-iterator-function): New function.
5762 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5763 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5764 Bind `it' with `let' instead of substituting it with `cl-subst'.
5765 (cl--unused-var-p): New function.
5766 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5767 Eliminate some unused variable warnings (bug#15326).
5769 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5771 * doc-view.el (doc-view-scale-reset): Rename from
5772 `doc-view-reset-zoom-level'.
5773 (doc-view-scale-adjust): New command.
5774 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5775 `doc-view-scale-adjust'.
5777 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5779 * doc-view.el (doc-view-reset-zoom-level): New command.
5780 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5781 zoom commands (bug#15466).
5783 2013-09-26 Kenichi Handa <handa@gnu.org>
5785 * international/quail.el (quail-help): Make it not a command.
5787 2013-09-26 Leo Liu <sdl.web@gmail.com>
5789 * minibuffer.el (completion-all-sorted-completions): Make args
5790 optional as they are.
5792 2013-09-25 Daniel Colascione <dancol@dancol.org>
5794 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5795 specs are and that they're not evaluated.
5797 2013-09-24 Sam Steingold <sds@gnu.org>
5799 * midnight.el (clean-buffer-list-kill-regexps)
5800 (clean-buffer-list-kill-buffer-names): Update for the new Man
5801 buffer naming which includes the object name.
5803 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5805 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5806 (eshell-parse-command, eshell-parse-pipeline): Use it since
5807 eshell-separate-commands requires a dynamic scoped var.
5808 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5810 2013-09-23 Leo Liu <sdl.web@gmail.com>
5812 * autoinsert.el (auto-insert-alist): Make the value of
5813 lexical-binding match its file setting.
5815 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5817 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5819 * autoarg.el (autoarg-kp-digit-argument):
5820 * electric.el (Electric-command-loop):
5821 * kmacro.el (kmacro-step-edit-insert):
5822 Do not set universal-argument-num-events.
5824 2013-09-22 Leo Liu <sdl.web@gmail.com>
5826 * files.el (interpreter-mode-alist): Add octave.
5828 2013-09-21 Alan Mackenzie <acm@muc.de>
5830 C++: fontify identifier in declaration following "public:" correctly.
5831 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5832 to match "public", etc.
5833 (c-decl-prefix-re): Add ":" into the C++ value.
5834 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5835 bit. Add a check for a ":" preceded by "public", etc.
5837 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5839 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5840 recognized by GDB 7.5 and later.
5842 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5844 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5846 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5848 * subr.el (internal--call-interactively): New const.
5849 (called-interactively-p): Use it (bug#3984).
5851 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5853 * vc/pcvs.el (cvs-mode-ignore):
5854 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5855 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5857 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5859 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5860 (eshell-ls-orig-insert-directory): Remove.
5861 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5862 (eshell-ls-use-in-dired): Use advice-add/remove.
5863 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5864 Add `orig-fun' arg for use in :around advice.
5865 Make it check (redundantly) eshell-ls-use-in-dired.
5867 2013-09-19 Glenn Morris <rgm@gnu.org>
5869 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5871 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5873 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5875 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5877 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5878 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5879 (tramp-get-remote-python): New defuns.
5880 (tramp-get-remote-uid-with-perl)
5881 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5882 contributed by yary <not.com@gmail.com> (tiny change).
5883 (tramp-get-remote-uid-with-python)
5884 (tramp-get-remote-gid-with-python): New defuns. Python code
5885 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5886 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5888 2013-09-19 Glenn Morris <rgm@gnu.org>
5890 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5892 * eshell/em-unix.el (eshell-remove-entries):
5893 Rename argument to avoid name-clash with global `top-level'.
5895 * eshell/esh-proc.el (eshell-kill-process-function):
5896 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5897 (eshell-reset-after-proc): Remove unused arg `proc'.
5899 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5900 (directory-files-and-attributes): Mark unused arg.
5902 * eshell/em-unix.el (eshell-remove-entries):
5903 Remove unused arg `path'. Update callers.
5905 * eshell/em-hist.el (eshell-hist-parse-arguments):
5906 Remove unused arg `silent'. Update callers.
5908 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5909 Fix (f)boundp mix-up.
5911 * eshell/em-smart.el (eshell-smart-scroll-window)
5912 (eshell-disable-after-change):
5913 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5915 2013-09-18 Alan Mackenzie <acm@muc.de>
5917 Fix fontification of type when followed by "const".
5918 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5919 "known" types from fontification.
5921 2013-09-18 Glenn Morris <rgm@gnu.org>
5923 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5924 (chart-face-list): Drop Emacsen without display-color-p.
5926 * net/eww.el (libxml-parse-html-region): Declare.
5927 (eww-display-html): Explicit error if no libxml2 support.
5929 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5931 * image.el (image-type-from-buffer, image-multi-frame-p):
5932 Remove --without-x warning/error.
5934 * mouse.el (mouse-yank-primary):
5935 * term.el (term-mouse-paste):
5936 Reorder to silence --without-x compilation.
5938 * mpc.el (doc-view-mode): Silence --without-x compilation.
5940 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5941 Silence --without-x compilation.
5943 * progmodes/gud.el (gud-find-file, gud-mode):
5944 Silence --without-x compilation.
5945 (tooltip-mode): Declare.
5947 * wdired.el (dired-backup-overwrite): Remove declaration.
5948 (wdired-mode-map): Add doc string.
5950 * custom.el (x-get-resource): Declare.
5952 * eshell/em-glob.el (ange-cache):
5953 * eshell/em-unix.el (ange-cache): Declare.
5955 * faces.el (x-display-list, x-open-connection, x-get-resource):
5958 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5959 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5962 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5964 * net/gnutls.el (gnutls-log-level): Declare.
5966 * net/shr.el (image-size, image-animate): Declare.
5968 * simple.el (font-info): Declare.
5970 * subr.el (x-popup-dialog): Declare.
5972 * term/common-win.el (x-select-enable-primary)
5973 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5976 * term/ns-win.el (x-handle-args): Declare.
5978 * term/x-win.el (x-select-enable-clipboard): Declare.
5980 * term/w32-win.el (create-default-fontset): Declare.
5982 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5985 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5986 (fit-frame-to-buffer): Explicit error if --without-x.
5987 (mouse-autoselect-window-select): Silence compiler.
5989 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5991 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5992 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5993 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5994 * eshell/esh-util.el (eshell-sublist):
5995 Remove unused local variables.
5997 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5999 * textmodes/two-column.el: Make 2C-split work for --without-x.
6000 (scroll-bar-columns): Autoload.
6001 (top-level): Require fringe when compiling.
6003 2013-09-18 Leo Liu <sdl.web@gmail.com>
6005 * subr.el (add-hook): Robustify to handle closure as well.
6007 2013-09-17 Glenn Morris <rgm@gnu.org>
6009 * simple.el (messages-buffer-mode-map): Unbind "g".
6011 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6013 * help-mode.el (help-mode-finish): Use derived-mode-p.
6014 Remove obsolete highlighting.
6016 * play/life.el (life-mode): Use define-derived-mode. Derive from
6018 (life): Let-bind inhibit-read-only.
6019 (life-setup): Avoid `setq'. Use `life-mode'.
6021 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
6022 which should not be needed any more.
6023 (package-menu-refresh, package-menu-describe-package): Use user-error.
6025 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
6026 (eshell-post-rewrite-command-hook): Make obsolete.
6027 (eshell-parse-command): Simplify.
6028 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
6029 (eshell--cmd): Declare.
6030 (eshell-parse-pipeline): Remove unused var `final-p'.
6031 Pass a dynvar to eshell-post-rewrite-command-hook.
6032 Implement the new eshell-post-rewrite-command-function.
6033 (eshell-invoke-directly): Remove unused arg `input'.
6034 * eshell/esh-io.el (eshell-io-initialize):
6035 Use eshell-post-rewrite-command-function (bug#15399).
6036 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6037 adjust to new calling convention.
6038 (eshell-create-handles): Rename args to avoid clashing with dynvar
6041 2013-09-17 Glenn Morris <rgm@gnu.org>
6043 * simple.el (messages-buffer-mode): New major mode.
6044 (messages-buffer): New function.
6045 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6046 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6047 (ert-run-test): Use `messages-buffer' function.
6048 (ert--force-message-log-buffer-truncation): Ignore read-only.
6049 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6050 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6052 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6054 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6056 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6058 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6060 * icomplete.el (icomplete-in-buffer): New var.
6061 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6062 vars and replace them with functions.
6063 (icomplete-minibuffer-setup): Adjust accordingly.
6064 (icomplete--completion-table, icomplete--completion-predicate)
6065 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6067 (icomplete-forward-completions, icomplete-backward-completions)
6068 (icomplete-simple-completing-p, icomplete-exhibit)
6069 (icomplete-completions): Use them.
6070 (icomplete--in-region-buffer): New var.
6071 (icomplete--in-region-setup): New function.
6072 (icomplete-mode): Use it.
6074 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6076 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6077 return args and options.
6078 (eshell-eval-using-options): Use the new return value of
6079 eshell--do-opts to set the options's vars in their scope.
6080 (eshell--set-option): Rename from eshell-set-option.
6082 (eshell--process-option): Rename from eshell-process-option.
6084 (eshell--process-args): Use an `opt-vals' alist to store the options's
6085 values during their processing and return them additionally to the
6088 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6090 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6091 continuation character an operator, as far as indentation is
6092 concerned (Bug#15369).
6094 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6096 * window.el (window--state-put-2): Don't process buffer state
6097 when buffer doesn't exist any more (Bug#15382).
6099 2013-09-15 Glenn Morris <rgm@gnu.org>
6101 * eshell/em-unix.el (eshell/rm):
6102 Make -f ignore missing files. (Bug#15373)
6104 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6105 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6106 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6108 2013-09-14 Glenn Morris <rgm@gnu.org>
6110 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6112 2013-09-13 Glenn Morris <rgm@gnu.org>
6114 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6115 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6117 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6119 * frame.el (x-focus-frame): Mark as declared in frame.c.
6121 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6123 * ls-lisp.el: Use advice-add.
6124 (original-insert-directory): Remove.
6125 (ls-lisp--insert-directory): Rename from insert-directory; add
6126 `orig-fun' argument.
6127 (insert-directory): Advise.
6129 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6131 * term.el (term-emulate-terminal): Decode the command string
6132 before passing it to term-command-hook. (Bug#15337)
6134 2013-09-13 Glenn Morris <rgm@gnu.org>
6136 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6138 * eshell/esh-ext.el (eshell-search-path): Declare.
6140 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6141 Otherwise an error occurs if eshell-dirs module not loaded.
6143 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6145 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6147 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6148 `tramp-check-proper-host'. Check for a valid method name.
6150 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6151 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6152 * net/tramp-sh.el (tramp-maybe-open-connection):
6153 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6155 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6156 also for hash values.
6158 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6160 * term/ns-win.el (parameters): Don't declare as dynamic.
6161 (before-make-frame-hook): Don't add ineffective function.
6163 * eshell/*.el: Use lexical-binding (bug#15231).
6165 2013-09-12 Kenichi Handa <handa@gnu.org>
6167 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6169 2013-09-12 Glenn Morris <rgm@gnu.org>
6171 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6172 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6174 * subr.el (do-after-load-evaluation): Also give compiler warnings
6175 when obsolete files are used (except by obsolete files).
6177 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6178 in the status output, assume `filename' is the first. (Bug#15322)
6180 * vc/vc.el (vc-deduce-fileset): Doc fix.
6182 * calc/calc-help.el (Info-goto-node):
6183 * progmodes/cperl-mode.el (Info-find-node):
6184 * vc/ediff.el (Info-goto-node): Update declarations.
6186 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6188 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6189 (vc-bzr-pull): Require vc-dispatcher.
6190 * vc/vc-git.el (vc-compilation-mode): Declare.
6191 (vc-git-pull): Require vc-dispatcher.
6193 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6195 * progmodes/octave.el (help-button-action): Declare.
6197 * shell.el (shell-directory-tracker): Output error as a message
6198 rather than just returning it as a string.
6199 (shell-process-pushd): Remove useless use of message.
6201 * dframe.el (dframe-timer-fn):
6202 * files.el (dir-locals-read-from-file):
6203 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6205 * reveal.el (reveal-post-command):
6206 * saveplace.el (load-save-place-alist-from-file):
6207 * shell.el (shell-resync-dirs):
6208 * w32-common-fns.el (x-get-selection-value):
6209 * emacs-lisp/copyright.el (copyright-find-copyright):
6210 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6211 * emulation/tpu-edt.el (tpu-copy-keyfile):
6212 * play/bubbles.el (bubbles--mark-neighbourhood):
6213 * progmodes/executable.el
6214 (executable-make-buffer-file-executable-if-script-p):
6215 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6217 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6219 Cleanup Eshell to rely less on dynamic scoping.
6220 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6221 last-value, and ext-command here. Bind `args' closer to `body'.
6222 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6223 (eshell--args): Declare new dynamic var.
6224 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6225 last-value, and ext-command. Pass `args' to `body'.
6226 (eshell-process-args): Bind eshell--args.
6227 (eshell-set-option): Use eshell--args.
6228 * eshell/eshell.el (eshell): Use derived-mode-p.
6229 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6230 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6231 (eshell-glob-function): Declare.
6232 * eshell/esh-util.el: Require cl-lib.
6233 (eshell-read-hosts-file): Avoid add-to-list.
6234 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6236 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6238 (eshell/diff): Remove unused var `err'.
6239 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6241 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6242 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6244 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6245 Move declaration before first use.
6246 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6247 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6250 2013-09-12 Glenn Morris <rgm@gnu.org>
6252 * term/ns-win.el (global-map): Remove binding for ispell-next,
6253 deleted 1999-05-29. (Bug#15357)
6255 2013-09-11 Glenn Morris <rgm@gnu.org>
6257 * echistory.el (electric-command-history): Remove call to deleted func.
6259 * play/landmark.el (landmark-mode): Fix typos.
6261 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6262 Check cvs-sort-ignore-file is bound.
6264 * savehist.el: No need for cl when compiling on Emacs.
6266 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6268 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6270 (eshell-self-insert-command, eshell-send-invisible):
6271 Remove unused argument.
6272 (eshell-handle-control-codes): Remove unused var `orig'.
6273 Avoid delete-backward-char.
6275 * files.el (set-auto-mode): Simplify a bit further.
6277 2013-09-11 Glenn Morris <rgm@gnu.org>
6279 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6280 (set-auto-mode): Don't regexp-quote elements.
6281 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6282 * progmodes/cc-mode.el (interpreter-mode-alist):
6283 * progmodes/ruby-mode.el (interpreter-mode-alist):
6284 Revert previous change.
6286 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6288 * play/snake.el (snake-mode):
6289 * play/mpuz.el (mpuz-mode):
6290 * play/landmark.el (lm-mode):
6291 * play/blackbox.el (blackbox-mode):
6292 * play/5x5.el (5x5-mode):
6293 * obsolete/options.el (Edit-options-mode):
6294 * net/quickurl.el (quickurl-list-mode):
6295 * net/newst-treeview.el (newsticker-treeview-mode):
6296 * mail/rmailsum.el (rmail-summary-mode):
6297 * mail/mspools.el (mspools-mode):
6298 * locate.el (locate-mode):
6299 * ibuffer.el (ibuffer-mode):
6300 * emulation/ws-mode.el (wordstar-mode):
6301 * emacs-lisp/debug.el (debugger-mode):
6302 * array.el (array-mode):
6303 * net/eudc.el (eudc-mode): Use define-derived-mode.
6304 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6305 Move initialization into declaration.
6306 (mairix-searches-mode): Use define-derived-mode.
6307 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6308 (eudc-edit-hotlist): Use dolist.
6309 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6310 (Man-mode): Use define-derived-mode.
6311 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6312 (Info-edit-mode): Use define-derived-mode.
6313 (Info-cease-edit): Use Info-mode.
6314 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6316 (eshell-mode): Use define-derived-mode.
6317 * chistory.el (command-history-mode-map): Rename from
6318 command-history-map.
6319 (command-history-mode): Use define-derived-mode.
6320 (Command-history-setup): Remove function.
6321 * calc/calc.el (calc-trail-mode-map): New var.
6322 (calc-trail-mode): Use define-derived-mode.
6323 (calc-trail-buffer): Set calc-main-buffer manually.
6324 * bookmark.el (bookmark-insert-annotation): New function.
6325 (bookmark-edit-annotation): Use it.
6326 (bookmark-edit-annotation-mode): Make it a proper major mode.
6327 (bookmark-send-edited-annotation): Use derived-mode-p.
6328 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6329 closer to its ideal place. Use \' to match EOS.
6331 * profiler.el (profiler-calltree-find): Use function-equal.
6333 2013-09-10 Glenn Morris <rgm@gnu.org>
6335 * files.el (interpreter-mode-alist): Convert to regexps.
6336 (set-auto-mode): Adapt for this. (Bug#15306)
6337 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6338 Comment out unused variable.
6339 * progmodes/cc-mode.el (interpreter-mode-alist):
6340 * progmodes/python.el (interpreter-mode-alist):
6341 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6342 * progmodes/sh-script.el (sh-set-shell):
6343 No longer use interpreter-mode-alist to get list of shells.
6345 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6347 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6349 * simple.el: Use set-temporary-overlay-map for universal-argument.
6350 (universal-argument-map): Don't use default-bindings (bug#15317).
6351 Bind switch-frame explicitly. Replace universal-argument-minus with
6352 a conditional binding.
6353 (universal-argument-num-events, saved-overriding-map): Remove.
6354 (restore-overriding-map): Remove.
6355 (universal-argument--mode): Rename from save&set-overriding-map,
6357 (universal-argument, universal-argument-more, negative-argument)
6358 (digit-argument): Adjust accordingly.
6359 (universal-argument-minus): Remove.
6360 (universal-argument-other-key): Remove.
6362 * subr.el (with-demoted-errors): Add `format' argument.
6364 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6366 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6367 `tramp-cleanup-connection'.
6369 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6370 parameters KEEP-DEBUG and KEEP-PASSWORD.
6372 * net/tramp.el (tramp-file-name-handler):
6373 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6374 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6375 (tramp-maybe-open-connection):
6376 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6377 Use `tramp-cleanup-connection'.
6379 * net/tramp-sh.el (tramp-maybe-open-connection):
6380 Catch 'uname-changed inside the progress reporter.
6382 2013-09-10 Glenn Morris <rgm@gnu.org>
6384 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6386 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6387 returns "alternate access method" in mode (eg "-rw-r--r--.").
6389 2013-09-08 Glenn Morris <rgm@gnu.org>
6391 * saveplace.el (load-save-place-alist-from-file):
6392 Demote errors. (Bug#15305)
6394 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6396 Improve compatibility with older Emacsen, and XEmacs.
6398 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6399 only if it is bound. It isn't for XEmacs.
6400 (with-tramp-progress-reporter): Do not let-bind `result'.
6401 This yields to scoping errors in XEmacs.
6402 (tramp-handle-make-auto-save-file-name): New function, moved from
6405 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6406 for `make-auto-save-file-name'.
6407 (tramp-adb--gnu-switches-to-ash):
6408 Use `tramp-compat-replace-regexp-in-string'.
6410 * net/tramp-cache.el (tramp-cache-print): Call
6411 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6413 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6414 bound. It isn't for XEmacs.
6416 * net/tramp-compat.el (tramp-compat-copy-file):
6417 Catch `wrong-number-of-arguments' error.
6418 (tramp-compat-replace-regexp-in-string): New defun.
6420 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6421 for `make-auto-save-file-name'.
6422 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6424 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6425 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6426 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6428 * net/tramp-gw.el (tramp-gw-open-network-stream):
6429 Use `tramp-compat-replace-regexp-in-string'.
6431 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6432 Call `tramp-handle-make-auto-save-file-name'.
6433 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6434 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6435 (tramp-sh-file-inotifywait-process-filter):
6436 Use `tramp-compat-replace-regexp-in-string'.
6437 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6439 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6440 for `make-auto-save-file-name'.
6441 (tramp-smb-handle-copy-directory):
6442 Call `tramp-compat-replace-regexp-in-string'.
6443 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6444 (tramp-smb-handle-copy-file): Improve error message.
6445 (tramp-smb-handle-rename-file): Rename directly only in case
6446 `newname' does not exist yet. This is a restriction of smbclient.
6447 (tramp-smb-maybe-open-connection): Rerun the function only when
6448 `auth-sources' is non-nil.
6450 2013-09-08 Kenichi Handa <handa@gnu.org>
6452 * international/characters.el: Set category "^" (Combining) for
6455 2013-09-07 Alan Mackenzie <acm@muc.de>
6457 Correctly fontify Java class constructors.
6458 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6460 (c-recognize-typeless-decls): Set the Java value to t.
6461 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6462 While handling a "(", add a check for, effectively, Java, and handle a
6463 "typeless" declaration there.
6465 2013-09-07 Roland Winkler <winkler@gnu.org>
6467 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6468 field subtitle for entry type book.
6470 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6472 * minibuffer.el: Make minibuffer-complete call completion-in-region
6473 rather than other way around.
6474 (completion--some, completion-pcm--find-all-completions):
6475 Don't delay signals when debugging.
6476 (minibuffer-completion-contents): Beware fields within the
6477 minibuffer contents.
6478 (completion-all-sorted-completions): Use defvar-local.
6479 (completion--do-completion, completion--cache-all-sorted-completions)
6480 (completion-all-sorted-completions, minibuffer-force-complete):
6481 Add args `beg' and `end'.
6482 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6483 (minibuffer-complete): Use completion-in-region.
6484 (completion-complete-and-exit): New fun, extracted from
6485 minibuffer-complete-and-exit.
6486 (minibuffer-complete-and-exit): Use it.
6487 (completion--complete-and-exit): Rename from
6488 minibuffer--complete-and-exit.
6489 (completion-in-region--single-word): New function, extracted from
6490 minibuffer-complete-word.
6491 (minibuffer-complete-word): Use it.
6492 (display-completion-list): Make `common-substring' argument obsolete.
6493 (completion--in-region): Call completion--in-region-1 instead of
6494 minibuffer-complete.
6495 (completion-help-at-point): Pass boundaries to
6496 minibuffer-completion-help as args rather than via an overlay.
6497 (completion-pcm--string->pattern): Use `any-delim'.
6498 (completion-pcm--optimize-pattern): New function.
6499 (completion-pcm--pattern->regex): Handle `any-delim'.
6500 * icomplete.el (icomplete-forward-completions)
6501 (icomplete-backward-completions, icomplete-completions):
6502 Adjust calls to completion-all-sorted-completions and
6503 completion--cache-all-sorted-completions.
6504 (icomplete-with-completion-tables): Default to t.
6505 * emacs-lisp/crm.el (crm--current-element): Rename from
6506 crm--select-current-element. Don't put an overlay but return the
6508 (crm--completion-command): Take two new args to bind to the boundaries.
6509 (crm-completion-help): Adjust accordingly.
6510 (crm-complete): Use completion-in-region.
6511 (crm-complete-word): Use completion-in-region--single-word.
6512 (crm-complete-and-exit): Use completion-complete-and-exit.
6514 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6516 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6519 2013-09-06 Juri Linkov <juri@jurta.org>
6521 * info.el (Info-display-images-node): When image file doesn't exist
6522 display text version of the image if it's provided in the Info file.
6523 Otherwise, display the location of missing image from SRC attribute.
6524 Add help-echo text property from ALT attribute. (Bug#15279)
6526 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6528 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6529 (edit-abbrevs-mode): Use define-derived-mode.
6531 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6532 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6534 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6535 Use define-derived-mode.
6537 * epg.el (epg-start-encrypt): Minor CSE simplification.
6539 2013-09-06 William Xu <william.xwl@gmail.com>
6541 * arc-mode.el: Add support for 7za (bug#15264).
6542 (archive-7z-program): New var.
6543 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6544 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6545 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6547 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6551 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6552 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6553 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6554 (tramp-postfix-host-format, tramp-file-name-regexp)
6555 (tramp-completion-file-name-regexp)
6556 (tramp-completion-dissect-file-name)
6557 (tramp-handle-substitute-in-file-name): Remove 'url case.
6558 (tramp-file-name-regexp-url)
6559 (tramp-completion-file-name-regexp-url): Remove constants.
6561 2013-09-06 Glenn Morris <rgm@gnu.org>
6563 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6565 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6567 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6568 keywords" below "here-doc beginnings" (Bug#15270).
6570 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6572 * subr.el (pop): Use `car-safe'.
6573 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6574 to detect unused `pop' return value.
6576 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6578 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6579 (python-fill-string): Remove unused var `marker'.
6580 (python-skeleton-add-menu-items): Remove unused var `items'.
6582 * international/mule-cmds.el: Require CL.
6583 (find-coding-systems-for-charsets): Avoid add-to-list.
6584 (sanitize-coding-system-list): New function, extracted from
6585 select-safe-coding-system-interactively.
6586 (select-safe-coding-system-interactively): Use it.
6587 (read-input-method-name): Accept symbols for `default'.
6589 * emacs-lisp/advice.el (defadvice): Add indent rule.
6591 2013-09-05 Daniel Hackney <dan@haxney.org>
6595 * net/browse-url.el:
6598 * net/eudcb-ldap.el:
6611 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6612 byte compiler. Remove some unused let-bound variables.
6614 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6616 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6617 a "ref-cell", since it gets better optimized (bug#14883).
6619 2013-09-05 Glenn Morris <rgm@gnu.org>
6621 * progmodes/cc-awk.el (c-forward-sws): Declare.
6623 2013-09-04 Glenn Morris <rgm@gnu.org>
6625 * generic-x.el [rul-generic-mode]: Require cc-mode.
6626 (c++-mode-syntax-table): Declare.
6627 (rul-generic-mode-syntax-table): Init in the defvar.
6629 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6631 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6632 (vc-do-command, vc-set-async-update):
6633 * vc/vc-mtn.el (vc-mtn-dir-status):
6634 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6635 (vc-hg-pull, vc-hg-merge-branch):
6636 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6637 (vc-git-merge-branch):
6638 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6639 (vc-cvs-dir-status-files):
6640 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6641 (vc-bzr-dir-status-files):
6642 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6643 * vc/vc-annotate.el: Use lexical-binding.
6644 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6645 (vc-sentinel-movepoint): Declare.
6646 (vc-annotate): Don't use `goto-line'.
6647 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6648 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6649 (vc-sentinel-movepoint): Declare.
6650 * vc/vc-svn.el: Use lexical-binding.
6651 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6653 * vc/vc-rcs.el: Use lexical-binding.
6655 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6656 `deleted'. Don't drop errors silently.
6658 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6660 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6662 * vc/vc.el (vc-ignore): Rewrite.
6663 (vc-default-ignore): New function.
6664 (vc-default-ignore-completion-table): Use find-ignore-file.
6666 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6667 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6668 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6669 Remove. Most code moved to vc.el.
6671 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6673 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6674 * net/tramp-smb.el (tramp-smb-get-file-entries):
6675 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6676 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6678 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6680 (eww-change-select): Remove unused var `properties'.
6681 (eww-make-unique-file-name): Remove unused var `base'.
6683 * finder.el (finder-compile-keywords): Don't mess with windows.
6685 * calculator.el (calculator-funcall): Fix typo in last change.
6687 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6689 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6690 <pkg>-autoloads.el file stop us.
6692 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6693 warnings, and factor out common code.
6695 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6697 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6698 two-character operators and whether the character preceding them
6699 changes their meaning (Bug#15208).
6701 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6703 Format code sent to Python shell for robustness.
6704 * progmodes/python.el (python-shell-buffer-substring):
6706 (python-shell-send-region, python-shell-send-buffer): Use it.
6708 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6710 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6711 * net/tramp.el (tramp-user-error): ... here.
6712 (tramp-find-method, tramp-check-proper-host)
6713 (tramp-dissect-file-name, tramp-debug-message)
6714 (tramp-handle-shell-command):
6715 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6716 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6718 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6720 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6722 * avoid.el (mouse-avoidance-point-position)
6723 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6726 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6728 * progmodes/python.el (python-shell-completion-get-completions):
6729 Drop use of deleted `comint-last-prompt-overlay'.
6730 (python-nav-if-name-main): New command.
6732 2013-09-01 Glenn Morris <rgm@gnu.org>
6734 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6735 Avoid leading space in $wins. Otherwise the sed command used by
6736 eg compile-main ends up containing "/*.el". (Bug#15170)
6738 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6740 2013-08-30 Glenn Morris <rgm@gnu.org>
6742 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6743 Fix is-this-a-directory logic. (Bug#15220)
6745 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6747 * textmodes/css-mode.el: Use SMIE.
6748 (css-smie-grammar): New var.
6749 (css-smie--forward-token, css-smie--backward-token)
6750 (css-smie-rules): New functions.
6751 (css-mode): Use them.
6752 (css-navigation-syntax-table): Remove var.
6753 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6754 (css-indent-calculate, css-indent-line): Remove functions.
6756 Misc changes to reduce use of `(lambda...); and other cleanups.
6757 * cus-edit.el: Use lexical-binding.
6758 (customize-push-and-save, customize-apropos)
6759 (custom-buffer-create-internal): Use closures.
6760 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6761 * progmodes/ada-xref.el: Use setq.
6762 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6763 * dframe.el: Use lexical-binding.
6764 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6765 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6766 * descr-text.el: Use lexical-binding.
6767 (describe-text-widget, describe-text-sexp, describe-property-list):
6769 * comint.el (comint-history-isearch-push-state): Use a closure.
6770 * calculator.el: Use lexical-binding.
6771 (calculator-number-to-string): Make it work with lexical-binding.
6772 (calculator-funcall): Same and use cl-letf.
6774 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6775 (lisp--company-doc-string, lisp--company-location): New functions.
6776 (lisp-completion-at-point): Use them to improve Company support.
6778 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6779 params of lambda expressions.
6780 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6781 (ruby-smie--opening-pipe-p): New function.
6782 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6783 symbols and matched |...| for formal params.
6784 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6785 from being treated as hanging. Handle "rescue".
6787 2013-08-29 Glenn Morris <rgm@gnu.org>
6789 * progmodes/cc-engine.el (c-pull-open-brace):
6790 Move definition before use.
6792 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6794 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6795 are immutable. Don't use `unsafe' any more.
6796 (cl--defsubst-expand): Don't substitute at the same time as keeping
6797 a residual unused let-binding. Don't use `unsafe' any more.
6799 2013-08-29 Glenn Morris <rgm@gnu.org>
6801 * calendar/cal-china.el (calendar-chinese-year-cache):
6804 * nxml/nxml-util.el (nxml-debug-clear-inside):
6805 Use cl-loop rather than loop.
6807 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6809 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6811 2013-08-28 Glenn Morris <rgm@gnu.org>
6813 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6815 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6817 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6819 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6821 * simple.el (repeat-complex-command--called-interactively-skip):
6823 (repeat-complex-command): Use it (bug#14136).
6825 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6826 (c-define-abbrev-table): Add `doc' argument.
6827 (c-mode-abbrev-table, c++-mode-abbrev-table)
6828 (objc-mode-abbrev-table, java-mode-abbrev-table)
6829 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6830 (awk-mode-abbrev-table): Use it.
6831 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6832 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6833 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6834 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6835 Move initialization into the declaration; and remove any
6838 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6839 and dynamic let binding.
6841 * vc/smerge-mode.el: Remove redundant :group args.
6843 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6846 2013-08-28 Juri Linkov <juri@jurta.org>
6848 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6849 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6850 (isearch-other-meta-char): Handle an undefined shifted printing
6851 character by downshifting it. (Bug#15200)
6853 2013-08-28 Juri Linkov <juri@jurta.org>
6855 * isearch.el (isearch-search): Change regexp error message for
6856 non-regexp searches. (Bug#15166)
6858 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6860 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6861 for portability to hosts where /bin/sh has problems.
6863 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6865 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6867 2013-08-27 Juri Linkov <juri@jurta.org>
6869 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6870 in the keyboard macro. (Bug#15126)
6872 2013-08-27 Juri Linkov <juri@jurta.org>
6874 * isearch.el (isearch-quote-char): Comment out converting unibyte
6875 to multibyte, thus syncing with its `quoted-insert' counterpart.
6878 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6880 * window.el (display-buffer-use-some-window): Add missing
6881 argument in call of get-largest-window (Bug#15185).
6882 Reported by Stephen Leake.
6884 2013-08-27 Glenn Morris <rgm@gnu.org>
6886 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6888 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6890 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6891 from a matcher-function unless there's no more matches (bug#15161).
6893 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6895 * minibuffer.el: Revert change from 2013-08-20.
6897 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6898 with text property `tramp-default', if appropriate.
6899 (tramp-check-proper-host): New defun.
6900 (tramp-dissect-file-name): Do not check hostname. Revert change
6902 (tramp-backtrace): Make VEC-OR-PROC optional.
6904 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6905 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6906 * net/tramp-sh.el (tramp-maybe-open-connection):
6907 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6908 Apply `tramp-check-proper-host'.
6910 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6912 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6913 lambda expression in order to have `describe-variable' display it.
6915 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6917 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6918 BUF can be optional. (Bug#15186)
6920 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6922 * progmodes/flymake.el (flymake-get-real-file-name-function):
6923 Fix broken customization. (Bug#15184)
6925 2013-08-25 Alan Mackenzie <acm@muc.de>
6927 Improve indentation of bracelists defined by macros (without "=").
6929 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6930 expansion begins with "{", regard it as bracelist when it doesn't
6933 Parse C++ inher-intro when there's a template split over 2 lines.
6935 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6936 rigorously the search for "class" etc. followed by ":".
6938 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6939 random languages a regexp which never matches rather than nil.
6941 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6943 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6944 (c-awk-regexp-one-line-possibly-open-char-list-re)
6945 (c-awk-one-line-possibly-open-regexp-re)
6946 (c-awk-one-line-non-syn-ws*-re): Remove.
6947 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6948 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6949 (c-awk-space*-unclosed-regexp-/-re): New constants.
6950 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6951 aren't regexp delimiters.
6953 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6954 handling for a rare situation in AWK Mode involving unterminated
6957 2013-08-23 Glenn Morris <rgm@gnu.org>
6959 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6961 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6963 * files.el (create-file-buffer): If the result would begin with
6964 spaces, prepend a "|" instead of removing them. (Bug#15162)
6966 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6968 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6969 text-properties (bug#15155).
6971 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6973 (calc-keypad-redraw): Remove unused var `pad'.
6974 (calc-keypad-press): Remove unused var `menu'.
6976 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6978 * window.el (display-buffer-pop-up-frame):
6979 Call pop-up-frame-function with BUFFER current so `make-frame' will
6980 use it as the new frame's buffer (Bug#15133).
6982 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6984 * calendar/timeclock.el: Minor cleanups.
6985 (timeclock-ask-before-exiting, timeclock-use-display-time):
6987 (timeclock-modeline-display): Define as alias before the
6989 (timeclock-mode-line-display): Use define-minor-mode.
6990 (timeclock-day-list-template): Make it a function, add an argument.
6991 (timeclock-day-list-required, timeclock-day-list-length)
6992 (timeclock-day-list-debt, timeclock-day-list-span)
6993 (timeclock-day-list-break): Adjust calls accordingly.
6995 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6997 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6998 Use read--expression so that completion works again.
7000 2013-08-21 Sam Steingold <sds@gnu.org>
7002 Add rudimentary inferior shell interaction
7003 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
7004 (sh-set-shell): Reset it.
7005 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
7006 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
7008 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
7010 * align.el: Use lexical-binding.
7011 (align-region): Simplify accordingly.
7013 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
7015 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
7017 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
7020 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
7024 * net/tramp-cmds.el:
7026 * net/tramp-gvfs.el:
7028 * net/tramp-sh.el: Don't wrap external variable declarations by
7029 `eval-when-compile'.
7031 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7033 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7034 now that Emacs supports ImageMagick animations.
7036 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7038 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7039 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7041 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7043 * window.el (mouse-autoselect-window-select): Do autoselect when
7044 mouse pointer is on margin.
7046 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7048 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7050 2013-08-16 Glenn Morris <rgm@gnu.org>
7052 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7053 Handle "Remote Directory" response of some clients. (Bug#15058)
7055 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7056 Tweak warning. (Bug#14926)
7058 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7059 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7061 * image-mode.el (image-mode-map): Add menu items to reverse,
7062 increase, decrease, reset animation speed.
7063 (image--set-speed, image-increase-speed, image-decrease-speed)
7064 (image-reverse-speed, image-reset-speed): New functions.
7065 (image-mode-map): Add bindings for speed commands.
7067 * image.el (image-animate-get-speed, image-animate-set-speed):
7069 (image-animate-timeout): Respect image :speed property.
7071 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7073 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7074 previous line (bug#15101).
7075 (debugger-eval-expression, debugger-record-expression):
7076 Use read--expression (bug#15102).
7078 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7080 Remove byte compiler warnings, visible when compiling with
7081 `byte-compile-force-lexical-warnings' set to t.
7083 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7084 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7085 (tramp-handle-unhandled-file-name-directory)
7086 (tramp-handle-file-notify-add-watch, tramp-action-login)
7087 (tramp-action-succeed, tramp-action-permission-denied)
7088 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7091 * net/tramp-adb.el (tramp-adb-parse-device-names)
7092 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7093 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7094 (tramp-adb-handle-file-truename): Remove unused arguments.
7096 * net/tramp-cache.el (tramp-flush-directory-property)
7097 (tramp-flush-connection-property, tramp-list-connections)
7098 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7100 * net/tramp-compat.el (tramp-compat-make-temp-file):
7101 Rename FILENAME to F.
7103 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7104 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7105 (tramp-zeroconf-parse-workstation-device-names)
7106 (tramp-zeroconf-parse-webdav-device-names)
7107 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7109 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7110 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7112 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7114 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7115 (tramp-sh-handle-insert-file-contents-literally)
7116 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7118 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7119 Remove unused variables.
7121 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7122 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7123 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7125 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7126 Make them a defconst.
7127 (tramp-uuencode-region): Remove unused variable.
7129 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7131 * frameset.el (frameset--prop-setter): New function.
7132 (frameset-prop): Add gv-setter declaration.
7133 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7134 parameter was already set in FILTERED. Doc fix.
7135 (frameset--record-minibuffer-relationships): Allow saving a
7136 minibufferless frame without its corresponding minibuffer frame.
7137 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7138 frame, if the frame id matches.
7139 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7140 frames before orphaned ones.
7141 (frameset-restore): Warn about orphaned windows, instead of error out.
7143 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7145 * window.el (window-make-atom): Don't overwrite parameter
7147 (display-buffer-in-atom-window): Handle special case where we
7148 split an already atomic window.
7149 (window--major-non-side-window, display-buffer-in-side-window)
7150 (window--side-check): Ignore minibuffer window when walking
7152 (window-deletable-p): Return 'frame only if no other frame uses
7153 our minibuffer window.
7154 (record-window-buffer): Run buffer-list-update-hook.
7155 (split-window): Make sure window--check-frame won't destroy an
7156 existing atomic window in case the new window gets nested
7158 (display-buffer-at-bottom): Ignore minibuffer window when
7159 walking window tree. Don't split a side window.
7160 (pop-to-buffer): Don't set-buffer here, the select-window call
7162 (mouse-autoselect-window-select): Autoselect only if we are in the
7163 text portion of the window.
7165 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7167 * net/shr.el (shr-parse-image-data): New function to grab both the
7168 data itself and the Content-Type.
7169 (shr-put-image): Use it.
7171 * net/eww.el (eww-display-image): Ditto.
7173 * image.el (image-content-type-suffixes): New variable.
7175 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7177 * progmodes/python.el (python-imenu--build-tree)
7178 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7180 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7182 * simple.el (backward-word): Mention the optional argument.
7184 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7186 * frameset.el (frameset--make): Rename constructor from make-frameset.
7187 (frameset-p, frameset-valid-p): Don't autoload.
7188 (frameset-valid-p): Use normal accessors.
7190 2013-08-13 Glenn Morris <rgm@gnu.org>
7192 * progmodes/compile.el (compile-command): Tweak example in doc.
7193 * obsolete/scribe.el (scribe-mode):
7194 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7196 * mail/feedmail.el (feedmail-confirm-outgoing)
7197 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7199 * cus-start.el (truncate-partial-width-windows): Fix type.
7201 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7203 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7205 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7207 * emacs-lisp/timer.el (timer--time-setter): New function.
7208 (timer--time): Use it as gv-setter.
7210 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7211 setter is not a symbol.
7213 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7215 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7216 if sending fails. This makes debugging easier.
7218 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7220 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7221 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7222 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7224 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7226 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7228 2013-08-12 Glenn Morris <rgm@gnu.org>
7230 * format.el (format-annotate-function):
7231 Handle read-only text properties in the source. (Bug#14887)
7233 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7235 * net/eww.el (eww-display-html): Ignore coding system errors.
7236 One web site uses "utf-8lias" as the coding system.
7238 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7240 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7242 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7244 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7245 (tutorial--detailed-help): Remove unused local variables.
7246 (tutorial--save-tutorial-to): Use ignore-errors.
7247 (help-with-tutorial): Use looking-at-p.
7249 * view.el (view-buffer-other-window, view-buffer-other-frame):
7250 Mark unused arguments.
7252 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7253 (woman-select-symbol-fonts, woman, woman-find-file)
7254 (woman-insert-file-contents, woman-non-underline-faces):
7256 (woman1-unquote): Move declaration.
7258 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7259 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7260 argument. Remove unused local variable.
7261 (xml-parse-elem-type): Use string-match-p.
7262 (xml-substitute-numeric-entities): Use ignore-errors.
7264 * calculator.el (calculator): Mark unused argument.
7265 (calculator-paste, calculator-quit, calculator-integer-p):
7267 (calculator-string-to-number, calculator-decimal, calculator-exp)
7268 (calculator-op-or-exp): Use string-match-p.
7270 * dired.el (dired-buffer-more-recently-used-p): Declare.
7271 (dired-insert-set-properties, dired-insert-old-subdirs):
7274 * dired-aux.el (dired-compress): Use ignore-errors.
7275 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7276 (dired-do-async-shell-command, dired-do-shell-command)
7277 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7278 (dired-insert-subdir-validate): Use string-match-p.
7279 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7280 (dired-add-entry): Use string-match-p, looking-at-p.
7281 (dired-insert-subdir-newpos): Remove unused local variable.
7283 * filenotify.el (file-notify-callback): Remove unused local variable.
7285 * filesets.el (filesets-error): Mark unused argument.
7286 (filesets-which-command-p, filesets-filter-dir-names)
7287 (filesets-directory-files, filesets-get-external-viewer)
7288 (filesets-ingroup-get-data): Use string-match-p.
7290 * find-file.el (ff-other-file-name, ff-other-file-name)
7291 (ff-find-the-other-file, ff-cc-hh-converter):
7292 Remove unused local variables.
7293 (ff-get-file-name): Use string-match-p.
7294 (ff-all-dirs-under): Use ignore-errors.
7296 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7297 (follow-select-if-visible): Remove unused local variable.
7299 * forms.el (read-file-filter): Move declaration.
7300 (forms--make-format, forms--make-parser, forms-insert-record):
7301 Quote function with #'.
7302 (forms--update): Use string-match-p. Quote function with #'.
7304 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7305 (help-make-xrefs): Use looking-at-p.
7306 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7308 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7309 (ibuffer-confirm-operation-on): Use string-match-p.
7311 * msb.el (msb-item-handler, msb-dired-item-handler):
7312 Mark unused arguments.
7314 * ses.el (ses-decode-cell-symbol)
7315 (ses-kill-override): Remove unused local variable.
7316 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7317 (ses-load): Use ignore-errors, looking-at-p.
7318 (ses-jump-safe): Use ignore-errors.
7319 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7321 * tabify.el (untabify, tabify): Mark unused arguments.
7323 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7324 Mark unused argument.
7325 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7326 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7328 * emacs-lisp/timer.el (timer--time): Define setter with
7329 gv-define-setter to avoid deprecation warning.
7331 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7332 (*record-cmpl-statistics-p*): Remove (was commented out).
7333 (cmpl-statistics-block): Remove (body was commented out).
7334 All callers changed.
7335 (add-completions-from-buffer, load-completions-from-file):
7336 Remove unused variables.
7338 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7340 * filecache.el (file-cache-delete-file-list):
7341 Print message only when told so.
7342 (file-cache-files-matching): Use #' in mapconcat argument.
7344 * ffap.el (ffap-url-at-point): Fix reference to variable
7345 thing-at-point-default-mail-uri-scheme.
7347 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7349 * subr.el (define-error): New function.
7350 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7351 error-file-not-found and define with define-error.
7352 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7353 and define with define-error.
7354 * userlock.el (file-locked, file-supersession):
7355 * simple.el (mark-inactive):
7356 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7357 * progmodes/ada-mode.el (ada-mode-errors):
7358 * play/life.el (life-extinct):
7359 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7360 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7361 * nxml/rng-util.el (rng-error):
7362 * nxml/rng-uri.el (rng-uri-error):
7363 * nxml/rng-match.el (rng-compile-error):
7364 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7365 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7366 * nxml/nxml-rap.el (nxml-scan-error):
7367 * nxml/nxml-outln.el (nxml-outline-error):
7368 * net/soap-client.el (soap-error):
7369 * net/gnutls.el (gnutls-error):
7370 * net/ange-ftp.el (ftp-error):
7371 * mpc.el (mpc-proc-error):
7372 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7373 (json-number-format, json-string-escape, json-string-format)
7374 (json-key-format, json-object-format):
7375 * jka-compr.el (compression-error):
7376 * international/quail.el (quail-error):
7377 * international/kkc.el (kkc-error):
7378 * emacs-lisp/ert.el (ert-test-failed):
7379 * calc/calc.el (calc-error, inexact-result, math-overflow)
7381 * bookmark.el (bookmark-error-no-filename):
7382 * epg.el (epg-error): Define with define-error.
7384 * time.el (display-time-event-handler)
7385 (display-time-next-load-average): Don't call sit-for since it seems
7386 unnecessary (bug#15045).
7388 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7389 Use #' instead of ' to quote functions.
7390 (checkdoc-output-mode): Use setq-local.
7391 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7392 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7393 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7394 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7395 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7396 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7397 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7398 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7400 * ido.el (ido-completion-help): Fix up compiler warning.
7402 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7404 * frameset.el (frameset-p): Add autoload cookie.
7405 (frameset--jump-to-register): New function, based on code moved from
7407 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7409 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7410 (frameset-restore, frameset-save, frameset-session-filter-alist):
7411 Remove declarations.
7412 (register-alist): Doc fix.
7413 (frameset-to-register): Move to frameset.el.
7414 (jump-to-register, describe-register-1): Remove frameset-specific code.
7416 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7418 * allout-widgets.el (allout-widgets-pre-command-business)
7419 (allout-widgets-post-command-business)
7420 (allout-widgets-after-change-handler)
7421 (allout-decorate-item-and-context, allout-set-boundary-marker)
7422 (allout-body-modification-handler)
7423 (allout-graphics-modification-handler): Mark ignored arguments.
7424 (allout-widgets-post-command-business)
7425 (allout-widgets-exposure-change-processor)
7426 (allout-widgets-exposure-undo-processor)
7427 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7428 (allout-parse-item-at-point, allout-decorate-item-guides)
7429 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7430 * allout.el (epa-passphrase-callback-function): Declare.
7431 (allout-overlay-insert-in-front-handler)
7432 (allout-overlay-interior-modification-handler)
7433 (allout-isearch-end-handler, allout-chart-siblings)
7434 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7435 (allout-yank-processing, allout-process-exposed)
7436 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7437 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7438 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7439 (lisp-indent-defform): Mark ignored arguments.
7440 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7441 (calculate-lisp-indent): Remove unused variables.
7442 * international/characters.el (indian-2-column, arabic-2-column)
7443 (tibetan): Mark ignored arguments.
7444 (use-cjk-char-width-table): Mark ignored arguments.
7445 Remove unused variables.
7446 * international/fontset.el (build-default-fontset-data)
7447 (x-compose-font-name, create-fontset-from-fontset-spec):
7448 Mark ignored arguments.
7449 (fontset-plain-name): Remove unused variables.
7450 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7451 (keyboard-coding-system): Mark ignored arguments.
7452 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7453 * help.el (resize-temp-buffer-window):
7454 * window.el (display-buffer-in-major-side-window)
7455 (display-buffer-in-side-window, display-buffer-in-previous-window):
7456 Remove unused variables.
7457 * isearch.el (isearch-forward-symbol):
7458 * version.el (emacs-bzr-version-bzr):
7459 * international/mule-cmds.el (current-language-environment):
7460 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7462 * term/pc-win.el (x-list-fonts, x-display-planes)
7463 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7464 (x-server-version, x-display-screens, x-display-mm-height)
7465 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7466 (x-selection-owner-p, x-own-selection-internal)
7467 (x-disown-selection-internal, x-get-selection-internal)
7468 (msdos-initialize-window-system):
7469 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7470 * term/x-win.el (x-handle-no-bitmap-icon):
7471 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7472 (vc-default-find-file-hook, vc-default-extra-menu):
7473 Mark ignored arguments.
7475 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7477 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7478 break-condition in the context of the debugged code (bug#12685).
7480 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7483 Do not use an overlay to highlight the last prompt. (Bug#14744)
7484 (comint-mode): Make comint-last-prompt buffer local.
7485 (comint-last-prompt): New variable.
7486 (comint-last-prompt-overlay): Remove. Superseded by
7488 (comint-snapshot-last-prompt, comint-output-filter):
7489 Use comint-last-prompt.
7491 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7493 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7494 (frameset-save): Check validity of the resulting frameset.
7496 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7498 * ido.el (ido-record-command): Add doc string.
7500 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7502 * frameset.el (frameset): Do not disable creation of the default
7503 frameset-p predicate. Doc fix.
7504 (frameset-valid-p): New function, copied from the old predicate-p.
7505 Add additional checks.
7506 (frameset-restore): Check with frameset-valid-p.
7507 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7508 (frameset-name, frameset-description, frameset-properties)
7509 (frameset-states): Add docstring.
7510 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7511 (frameset-filter-alist): Doc fixes.
7513 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7515 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7517 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7519 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7520 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7521 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7522 (byte-compile-normal-call): Remove obsolescence check.
7524 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7526 * frameset.el (frameset-restore): Doc fix.
7528 * register.el (frameset-frame-id, frameset-frame-with-id)
7529 (frameset-p, frameset-restore, frameset-save): Declare.
7530 (register-alist): Document framesets.
7531 (frameset-session-filter-alist): Declare.
7532 (frameset-to-register): New function.
7533 (jump-to-register): Implement jumping to framesets. Doc fix.
7534 (describe-register-1): Describe framesets.
7536 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7538 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7540 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7541 Use lexical-binding.
7543 * frameset.el (frameset): Use type vector, not list (incompatible
7544 change). Do not declare a new constructor, use the default one.
7545 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7546 `name' and `description', respectively, and add read-only slot
7547 `timestamp'. Doc fixes.
7548 (frameset-copy, frameset-persistent-filter-alist)
7549 (frameset-filter-alist, frameset-switch-to-gui-p)
7550 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7551 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7552 (frameset-filter-iconified, frameset-keep-original-display-p):
7554 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7555 Rename from frameset-filter-(save|restore)-param. All callers changed.
7557 (frameset-p): Adapt to change to vector and be more thorough.
7558 Change arg name to OBJECT. Doc fix.
7559 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7560 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7561 All callers changed.
7562 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7563 All callers changed.
7564 (frameset--record-minibuffer-relationships): Rename from
7565 frameset--process-minibuffer-frames. All callers changed.
7566 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7567 Use new default constructor (again). Doc fix.
7568 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7569 All callers changed.
7570 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7571 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7573 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7574 PARAMETERS and WINDOW-STATE, respectively.
7575 (frameset-restore): Add new keyword argument PREDICATE.
7576 Reset frameset--target-display to nil. Doc fix.
7578 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7580 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7582 (bat-mode-syntax-table): Mark \n as end-of-comment.
7583 (bat-font-lock-keywords): Remove comment rule.
7585 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7586 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7588 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7589 (byte-compile-callargs-warn): Use `push'.
7590 (byte-compile-arglist-warn): Ignore higher-order "calls".
7591 (byte-compile-file-form-autoload): Use `pcase'.
7592 (byte-compile-function-form): If quoting a symbol, check that it exists.
7594 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7596 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7597 and add a few popular commands found in batch files.
7598 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7599 (dos-mode): Doc fixes.
7601 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7603 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7604 (dos-mode): Use setq-local. Add space after "rem".
7605 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7606 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7608 2013-08-07 Arni Magnusson <arnima@hafro.is>
7610 * progmodes/dos.el: New file.
7611 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7614 2013-08-06 Glenn Morris <rgm@gnu.org>
7616 * calendar/calendar.el: Add new faces, and day-header-array.
7617 (calendar-weekday-header, calendar-weekend-header)
7618 (calendar-month-header): New faces.
7619 (calendar-day-header-construct): New function.
7620 (calendar-day-header-width): Also :set calendar-day-header-array.
7621 (calendar-american-month-header, calendar-european-month-header)
7622 (calendar-iso-month-header): Use calendar- faces.
7623 (calendar-generate-month):
7624 Use calendar-day-header-array for day headers; apply faces to them.
7625 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7626 (calendar-abbrev-construct): Add optional maxlen argument.
7627 (calendar-day-name-array): Doc fix.
7628 (calendar-day-name-array, calendar-abbrev-length)
7629 (calendar-day-abbrev-array):
7630 Also :set calendar-day-header-array, and maybe redraw.
7631 (calendar-day-header-array): New option. (Bug#15007)
7632 (calendar-font-lock-keywords): Set to nil and make obsolete.
7633 (calendar-day-name): Add option to use header array.
7635 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7637 * net/shr.el (shr-render-td): Remove debugging.
7638 (shr-render-td): Make width computation consistent by defaulting
7639 all zero-width columns to 10 characters. This may not be optimal,
7640 but it's at least consistent.
7641 (shr-make-table-1): Redo last change to fix the real problem in
7644 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7646 * files.el (cache-long-line-scans):
7647 Make obsolete alias to `cache-long-scans'.
7649 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7651 * frameset.el (frameset, frameset-filter-alist)
7652 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7653 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7654 (frameset-compute-pos): Rename from frameset--compute-pos,
7656 (frameset-move-onscreen): Use frameset-compute-pos.
7657 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7659 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7660 Fix typos in docstrings.
7662 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7664 * frame.el (get-other-frame): Tiny cleanup.
7666 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7668 * vc/vc.el (vc-default-ignore-completion-table):
7669 Silence byte-compiler warning.
7671 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7672 slot, which can indeed be nil.
7673 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7674 Move entry for `left' from persistent to live filter alist.
7675 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7677 (frameset-filter-params): When restoring a frame, copy items added to
7678 `filtered', to avoid unwittingly modifying the original parameters.
7679 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7680 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7682 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7683 to use looking-at-p instead of looking-at. (Bug#15028)
7685 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7687 Revert introduction of isearch-filter-predicates (bug#14714).
7688 Rely on add-function instead.
7689 * isearch.el (isearch-filter-predicates): Rename it back to
7690 isearch-filter-predicate.
7691 (isearch-message-prefix): Use advice-function-mapc and advice
7692 properties to get the isearch-message-prefix.
7693 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7694 instead of run-hook-with-args-until-failure.
7695 (isearch-filter-visible): Not obsolete any more.
7696 * loadup.el: Preload nadvice.
7697 * replace.el (perform-replace): Revert to funcall
7698 instead of run-hook-with-args-until-failure.
7699 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7700 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7701 dired-isearch-filenames-toggle; make it into a proper minor mode.
7702 Use add/remove-function.
7703 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7704 Call the minor-mode rather than add/remove-hook.
7705 (dired-isearch-filter-filenames):
7706 Remove isearch-message-prefix property.
7707 * info.el (Info--search-loop): New function, extracted from Info-search.
7708 Funcall isearch-filter-predicate instead of
7709 run-hook-with-args-until-failure isearch-filter-predicates.
7710 (Info-search): Use it.
7711 (Info-mode): Use isearch-filter-predicate instead of
7712 isearch-filter-predicates.
7714 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7716 Do not call to `selected-window' where it is assumed by default.
7717 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7718 `window-hscroll', `window-width', `window-height', `window-buffer',
7719 `window-frame', `window-start', `window-point', `next-window'
7720 and `window-display-table'.
7721 * abbrev.el (abbrev--default-expand):
7722 * bs.el (bs--show-with-configuration):
7723 * buff-menu.el (Buffer-menu-mouse-select):
7724 * calc/calc.el (calc):
7725 * calendar/calendar.el (calendar-generate-window):
7726 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7728 * comint.el (send-invisible, comint-dynamic-complete-filename)
7729 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7730 * completion.el (complete):
7731 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7732 * disp-table.el (describe-current-display-table):
7733 * doc-view.el (doc-view-insert-image):
7734 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7735 * ehelp.el (with-electric-help):
7736 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7737 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7738 * emacs-lisp/helper.el (Helper-help-scroller):
7739 * emulation/cua-base.el (cua--post-command-handler-1):
7740 * eshell/esh-mode.el (eshell-output-filter):
7741 * ffap.el (ffap-gnus-wrapper):
7742 * help-macro.el (make-help-screen):
7743 * hilit-chg.el (highlight-compare-buffers):
7744 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7745 * hl-line.el (global-hl-line-highlight):
7746 * icomplete.el (icomplete-simple-completing-p):
7747 * isearch.el (isearch-done):
7748 * jit-lock.el (jit-lock-stealth-fontify):
7749 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7750 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7751 * mpc.el (mpc-tagbrowser, mpc):
7752 * net/rcirc.el (rcirc-any-buffer):
7753 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7754 * play/landmark.el (landmark-max-width, landmark-max-height):
7755 * play/zone.el (zone):
7756 * progmodes/compile.el (compilation-goto-locus):
7757 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7758 * progmodes/etags.el (find-tag-other-window):
7759 * progmodes/fortran.el (fortran-column-ruler):
7760 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7761 * progmodes/verilog-mode.el (verilog-point-text):
7762 * reposition.el (reposition-window):
7763 * rot13.el (toggle-rot13-mode):
7764 * server.el (server-switch-buffer):
7765 * shell.el (shell-dynamic-complete-command)
7766 (shell-dynamic-complete-environment-variable):
7767 * simple.el (insert-buffer, set-selective-display)
7768 (delete-completion-window):
7769 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7770 (speedbar-recenter):
7771 * startup.el (fancy-splash-head):
7772 * textmodes/ispell.el (ispell-command-loop):
7773 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7774 * tutorial.el (help-with-tutorial):
7775 * vc/add-log.el (add-change-log-entry):
7776 * vc/compare-w.el (compare-windows):
7777 * vc/ediff-help.el (ediff-indent-help-message):
7778 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7779 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7780 (ediff-setup-control-frame):
7781 * vc/emerge.el (emerge-position-region):
7782 * vc/pcvs-util.el (cvs-bury-buffer):
7783 * window.el (walk-windows, mouse-autoselect-window-select):
7784 * winner.el (winner-set-conf, winner-undo): Related users changed.
7786 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7788 * frameset.el (frameset--set-id): Doc fix.
7789 (frameset-frame-id, frameset-frame-id-equal-p)
7790 (frameset-locate-frame-id): New functions.
7791 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7792 (frameset-restore): Use them.
7794 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7796 Do not call to `selected-frame' where it is assumed by default.
7797 Affected functions are `raise-frame', `redraw-frame',
7798 `frame-first-window', `frame-terminal' and `delete-frame'.
7799 * calendar/appt.el (appt-disp-window):
7800 * epg.el (epg-wait-for-completion):
7801 * follow.el (follow-delete-other-windows-and-split)
7802 (follow-avoid-tail-recenter):
7803 * international/mule.el (set-terminal-coding-system):
7804 * mail/rmail.el (rmail-mail-return):
7805 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7806 * progmodes/f90.el (f90-add-imenu-menu):
7807 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7808 * server.el (server-switch-buffer):
7809 * simple.el (delete-completion-window):
7811 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7812 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7813 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7814 * vc/ediff.el (ediff-documentation): Related users changed.
7815 * frame.el (selected-terminal): Remove the leftover.
7817 2013-08-05 Glenn Morris <rgm@gnu.org>
7819 * calendar/calendar.el (calendar-generate-month):
7820 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7821 (calendar-generate-month, calendar-font-lock-keywords):
7822 Fix for calendar-day-header-width > length of any day name.
7824 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7826 * desktop.el (desktop-clear): Use new name of sort predicate.
7828 * frameset.el (frameset): Add docstring. Move :version property to its
7830 (frameset-copy): Rename from copy-frameset.
7831 (frameset-p): Check more thoroughly.
7832 (frameset-prop): Do not check for :version, which is no longer a prop.
7833 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7834 Use new :never value instead of t.
7835 (frameset-filter-alist): Expand and clarify docstring.
7836 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7837 (frameset-filter-minibuffer, frameset-filter-save-param)
7838 (frameset-filter-restore-param, frameset-filter-iconified):
7839 Add pointer to docstring of frameset-filter-alist.
7840 (frameset-filter-params): Rename filter values to be more meaningful:
7841 :never instead of t, and reverse the meanings of :save and :restore.
7842 (frameset--process-minibuffer-frames): Clarify error message.
7843 (frameset-save): Avoid unnecessary and confusing call to framep.
7844 Use new BOA constructor for framesets.
7845 (frameset--reuse-list): Doc fix.
7846 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7847 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7848 (frameset-minibufferless-first-p): Doc fix.
7849 Rename from frameset-sort-frames-for-deletion.
7850 (frameset-restore): Doc fixes. Use new function names.
7851 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7853 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7855 * desktop.el (desktop-restore-forces-onscreen)
7856 (desktop-restore-reuses-frames): Document :keyword constant values.
7857 (desktop-filter-parameters-alist): Remove, now identical to
7858 frameset-filter-alist.
7859 (desktop--filter-tty*): Remove, moved to frameset.el.
7860 (desktop-save-frameset, desktop-restore-frameset):
7861 Do not pass :filters argument.
7863 * frameset.el (frameset-live-filter-alist)
7864 (frameset-persistent-filter-alist): New variables.
7865 (frameset-filter-alist): Use them. Add autoload cookie.
7866 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7867 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7868 `frameset--id' (it's supposed to be internal to frameset.el).
7869 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7870 (frameset--initial-params): New function.
7871 (frameset--get-frame): Use it. Doc fix.
7872 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7873 Accept :all, not 'all.
7874 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7875 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7876 with fbound symbols. Fix frame id matching, and remove matching ids if
7877 the frame being restored is deleted. Obey :delete.
7879 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7881 * subr.el (macrop): New function.
7882 (text-clone--maintaining): New var.
7883 (text-clone--maintain): Rename from text-clone-maintain. Use it
7884 instead of inhibit-modification-hooks.
7886 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7887 a proxy, so as handle autoloads and redefinitions of the target.
7888 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7890 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7891 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7892 (pcase--mutually-exclusive-p): New function.
7893 (pcase--split-consp): Use it.
7894 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7895 mutually exclusive with the current predicate.
7897 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7898 (edebug-macrop): Remove. Use `macrop' instead.
7899 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7901 * eshell/esh-cmd.el (eshell-macrop):
7902 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7904 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7906 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7907 (advice-mapc): New function, using it.
7908 (advice-function-member-p): New function.
7909 (advice--normalize): Store the cdr in advice--saved-rewrite since
7910 that's the part that will be changed.
7911 (advice--symbol-function): New function.
7912 (advice-remove): Handle removal before the function is defined.
7913 Adjust to new advice--saved-rewrite.
7914 (advice-member-p): Use advice-function-member-p and
7915 advice--symbol-function.
7917 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7919 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7920 (frameset-filter-minibuffer): Doc fix.
7921 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7922 (frameset--set-id, frameset--process-minibuffer-frames)
7923 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7924 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7926 * desktop.el (desktop-clear): Only delete frames when called
7927 interactively and desktop-restore-frames is non-nil. Doc fix.
7928 (desktop-read): Set desktop-saved-frameset to nil.
7930 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7932 * vc/vc.el (vc-ignore): Rewrite.
7933 (vc-default-ignore-completion-table, vc--read-lines)
7934 (vc--add-line, vc--remove-regexp): New functions.
7936 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7937 (vc-svn-ignore-completion-table): New function.
7939 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7940 (vc-hg-ignore-completion-table)
7941 (vc-hg-find-ignore-file): New functions.
7943 * vc/vc-git.el (vc-git-ignore): Rewrite.
7944 (vc-git-ignore-completion-table)
7945 (vc-git-find-ignore-file): New functions.
7947 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7949 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7950 (vc-bzr-ignore-completion-table)
7951 (vc-bzr-find-ignore-file): New functions.
7953 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7955 * frameset.el (frameset-prop): New function and setter.
7956 (frameset-save): Do not modify frame list passed by the caller.
7958 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7960 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7962 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7964 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7965 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7967 * custom.el (custom-initialize-default, custom-initialize-set)
7968 (custom-initialize-reset, custom-initialize-changed): Affect the
7969 toplevel-default-value (bug#6275, bug#14586).
7970 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7973 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7975 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7976 Add cl-def* expressions.
7978 * frameset.el (frameset-filter-params): Fix order of arguments.
7980 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7982 Move code related to saving frames to frameset.el.
7983 * desktop.el: Require frameset.
7984 (desktop-restore-frames): Doc fix.
7985 (desktop-restore-reuses-frames): Rename from
7986 desktop-restoring-reuses-frames.
7987 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7988 (desktop-clear): Clear frames too.
7989 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7990 (desktop--filter-tty*, desktop-save, desktop-read):
7991 Use frameset functions.
7992 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7993 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7994 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7995 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7996 (desktop--process-minibuffer-frames, desktop-save-frames)
7997 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7998 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7999 (desktop--sort-states, desktop-restoring-frames-p)
8000 (desktop-restore-frames): Remove. Most code moved to frameset.el.
8001 (desktop-restoring-frameset-p, desktop-restore-frameset)
8002 (desktop--check-dont-save, desktop-save-frameset): New functions.
8003 (desktop--app-id): New constant.
8004 (desktop-first-buffer, desktop-buffer-ok-count)
8005 (desktop-buffer-fail-count): Move before first use.
8006 * frameset.el: New file.
8008 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
8010 * files.el: Use lexical-binding.
8011 (dir-locals-read-from-file): Remove unused `err' variable.
8012 (hack-dir-local-variables--warned-coding): New var.
8013 (hack-dir-local-variables): Use it to avoid repeated warnings.
8014 (make-backup-file-name--default-function): New function.
8015 (make-backup-file-name-function): Use it as default.
8016 (buffer-stale--default-function): New function.
8017 (buffer-stale-function): Use it as default.
8018 (revert-buffer-insert-file-contents--default-function): New function.
8019 (revert-buffer-insert-file-contents-function): Use it as default.
8020 (insert-directory): Avoid add-to-list.
8022 * autorevert.el (auto-revert-handler): Simplify.
8023 Use buffer-stale--default-function.
8025 2013-08-01 Tassilo Horn <tsdh@gnu.org>
8027 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
8029 * whitespace.el (whitespace-ensure-local-variables): New function.
8030 (whitespace-cleanup-region): Call it.
8031 (whitespace-turn-on): Call it.
8033 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8035 Complete file name handlers.
8037 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8038 (tramp-handle-verify-visited-file-modtime)
8039 (tramp-handle-file-notify-rm-watch): New functions.
8040 (tramp-call-process): Do not bind `default-directory'.
8042 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8043 Order alphabetically.
8044 <access-file, add-name-to-file, dired-call-process>:
8045 <dired-compress-file, file-acl, file-notify-rm-watch>:
8046 <file-ownership-preserved-p, file-selinux-context>:
8047 <make-directory-internal, make-symbolic-link, set-file-acl>:
8048 <set-file-selinux-context, set-visited-file-modtime>:
8049 <verify-visited-file-modtime>: Add handler.
8050 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8052 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8053 <file-notify-add-watch, file-notify-rm-watch>:
8054 <set-file-times, set-visited-file-modtime>:
8055 <verify-visited-file-modtime>: Add handler.
8056 (with-tramp-gvfs-error-message)
8057 (tramp-gvfs-handle-set-visited-file-modtime)
8058 (tramp-gvfs-fuse-file-name): Remove.
8059 (tramp-gvfs-handle-file-notify-add-watch)
8060 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8061 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8063 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8064 Order alphabetically.
8065 <file-notify-rm-watch>: Use default Tramp handler.
8066 <executable-find>: Remove private handler.
8067 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8068 `default-directory'.
8069 (tramp-sh-handle-executable-find)
8070 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8071 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8072 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8073 Do not use `format' in `tramp-message'.
8075 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8076 <file-notify-rm-watch, set-visited-file-modtime>:
8077 <verify-visited-file-modtime>: Add handler.
8078 (tramp-smb-call-winexe): Do not bind `default-directory'.
8080 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8082 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8084 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8086 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8088 (log-view-diff-changeset): Same.
8089 (log-view-diff-common): Call backend command `previous-revision'
8090 to find out the previous revision, in both cases. Swap the
8091 variables `to' and `fr', so that `fr' usually refers to the
8092 earlier revision (Bug#14989).
8094 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8096 * ibuf-ext.el (ibuffer-filter-by-filename):
8097 Make it work with dired buffers too.
8099 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8101 * emacs-lisp/re-builder.el (reb-color-display-p):
8102 * files.el (save-buffers-kill-terminal):
8103 * net/browse-url.el (browse-url):
8104 * server.el (server-save-buffers-kill-terminal):
8105 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8106 Prefer nil to selected-frame for the first arg of frame-parameter.
8108 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8110 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8112 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8114 * minibuffer.el (completion--twq-all): Try and preserve each
8115 completion's case choice (bug#14907).
8117 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8119 * net/network-stream.el (open-network-stream): Mention the new
8120 :nogreeting parameter.
8121 (network-stream-open-starttls): Use the :nogreeting parameter
8124 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8126 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8127 more natural than popping.
8129 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8130 (shr-urlify): Highlight under mouse.
8132 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8134 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8136 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8138 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8141 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8142 point-min==1. Fix search string. Fix parentheses missing.
8144 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8145 assume point-min==1. Fix search string. Fix parentheses missing.
8147 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8149 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8152 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8154 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8155 initial frame is minibuffer-less. (Bug#14841)
8157 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8159 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8162 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8163 (tramp-maybe-open-connection): Use it.
8165 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8167 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8168 minimal set of parameters passed when creating a frame, because
8169 the minibuffer status of a frame cannot be changed later.
8171 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8173 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8174 replace-regexp-in-string and inadvertent omissions in previous change.
8175 (todo-filter-items): Ensure only file names are comma-separated in
8176 name of filtered items buffer.
8178 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8180 * desktop.el: Optionally force offscreen frames back onscreen.
8181 (desktop-restoring-reuses-frames): New option.
8182 (desktop--compute-pos, desktop--move-onscreen): New functions.
8183 (desktop--make-frame): Use desktop--move-onscreen.
8185 2013-07-27 Alan Mackenzie <acm@muc.de>
8187 Fontify a Java generic method as a function.
8188 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8191 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8193 * calendar/todo-mode.el: Add command to rename todo files.
8194 (todo-rename-file): New command.
8195 (todo-key-bindings-t): Add key binding for it. Change the
8196 bindings of todo-filter-regexp-items(-multifile) to use `x'
8197 instead of `r', since the latter is better suited to the new
8200 2013-07-27 Alan Mackenzie <acm@muc.de>
8202 Make Java try-with-resources statement parse properly.
8203 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8204 (c-block-stmt-1-2-key): New language constants/variables.
8205 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8206 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8207 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8208 with c-block-stmt-1-2-key.
8210 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8212 * desktop.el (desktop--make-frame): Apply most frame parameters after
8213 creating the frame to force (partially or totally) offscreen frames to
8214 be restored as such.
8216 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8218 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8221 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8223 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8224 `base' arg of backtrace-frame.
8226 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8228 * simple.el (list-processes): Doc fix.
8230 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8232 * desktop.el (desktop--select-frame):
8233 Try harder to reuse existing frames.
8235 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8237 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8238 (edebug-eval): Use backtrace-eval.
8239 (edebug--display, edebug--recursive-edit): Don't let-bind the
8240 edebug-outer-* vars that keep track of variables we locally let-bind.
8241 (edebug-outside-excursion): Don't restore outside values of locally
8243 (edebug--display): Use user-error.
8244 (cl-lexical-debug, cl-debug-env): Remove.
8246 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8248 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8249 are restored to be sure that they are visible before deleting any
8252 2013-07-26 Matthias Meulien <orontee@gmail.com>
8254 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8255 vc-print-root-log. (Bug#14948)
8257 2013-07-26 Richard Stallman <rms@gnu.org>
8259 Add aliases for encrypting mail.
8260 * epa.el (epa-mail-aliases): New option.
8261 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8262 Bind inhibit-read-only so read-only text doesn't ruin everything.
8263 (epa-mail-default-recipients): New subroutine broken out.
8264 Handle epa-mail-aliases.
8266 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8268 Add support for lexical variables to the debugger's `e' command.
8269 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8270 vars, except for debugger-outer-match-data.
8271 (debugger-frame-number): Move check for "on a function call" from
8272 callers into it. Add `skip-base' argument.
8273 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8274 (debugger-env-macro): Only reset the state stored in non-variables,
8275 i.e. current-buffer and match-data.
8276 (debugger-eval-expression): Rewrite using backtrace-eval.
8277 * subr.el (internal--called-interactively-p--get-frame): Remove.
8278 (called-interactively-p):
8279 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8280 `base' arg of backtrace-frame instead.
8282 2013-07-26 Glenn Morris <rgm@gnu.org>
8284 * align.el (align-regexp): Doc fix. (Bug#14857)
8285 (align-region): Explicit error if subexpression missing/does not match.
8287 * simple.el (global-visual-line-mode):
8288 Do not duplicate the mode lighter. (Bug#14858)
8290 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8292 * window.el (display-buffer): In display-buffer bind
8293 split-window-keep-point to t, bug#14829.
8295 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8297 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8298 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8299 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8300 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8302 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8303 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8305 2013-07-25 Glenn Morris <rgm@gnu.org>
8307 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8309 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8311 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8312 parameter to modify-frame-parameters if the value has not changed;
8313 this is a workaround for bug#14949.
8314 (desktop--make-frame): On cl-delete-if call, check parameter name,
8317 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8319 * vc/vc.el (vc-ignore): New function.
8321 * vc/vc-svn.el (vc-svn-ignore): New function.
8323 * vc/vc-hg.el (vc-hg-ignore): New function.
8325 * vc/vc-git.el (vc-git-ignore): New function.
8327 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8328 (vc-dir-ignore): New function.
8330 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8331 (cvs-append-to-ignore): Move here from pcvs.el.
8333 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8335 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8337 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8339 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8340 (desktop-restore-frames): Warn when deleting an existing frame failed.
8342 2013-07-24 Glenn Morris <rgm@gnu.org>
8344 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8346 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8348 * filenotify.el (file-notify-supported-p):
8349 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8352 * autorevert.el (auto-revert-use-notify)
8353 (auto-revert-notify-add-watch):
8354 * net/tramp.el (tramp-file-name-for-operation):
8355 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8356 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8357 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8358 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8359 Remove `file-notify-supported-p' entry.
8361 2013-07-24 Glenn Morris <rgm@gnu.org>
8363 * printing.el: Replace all uses of deleted ps-windows-system,
8364 ps-lp-system, ps-flatten-list with lpr- versions.
8366 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8368 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8369 checked with memq (bug#14935).
8371 * files.el (revert-buffer-function): Use a non-nil default.
8372 (revert-buffer-preserve-modes): Declare var to
8373 provide access to the `preserve-modes' argument.
8374 (revert-buffer): Let-bind it.
8375 (revert-buffer--default): New function, extracted from revert-buffer.
8377 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8379 * lpr.el: Signal print errors more prominently.
8380 (print-region-function): Don't default to nil.
8381 (lpr-print-region): New function, extracted from print-region-1.
8382 Check lpr's return value and signal an error in case of problem.
8383 (print-region-1): Use it.
8384 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8386 (ps-printer-name): Default to nil.
8387 (ps-printer-name-option): Default to lpr-printer-switch.
8388 (ps-print-region-function): Don't default to nil.
8389 (ps-postscript-code-directory): Simplify default.
8390 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8391 (ps-string-list, ps-eval-switch, ps-flatten-list)
8392 (ps-flatten-list-1): Remove.
8393 (ps-multibyte-buffer): Avoid setq.
8394 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8395 (print-region-function, ps-print-region-function): Don't set them here.
8397 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8399 * ido.el (ido-fractionp, ido-cache-ftp-work-directory-time)
8400 (ido-max-prospects, ido-mode, ido-max-file-prompt-width)
8401 (ido-unc-hosts-cache, ido-max-directory-size, ido-max-dir-file-cache)
8402 (ido-decorations): Doc fix.
8404 * ansi-color.el: Fix old URL.
8406 2013-07-23 Michael R. Mauger <michael@mauger.com>
8408 * progmodes/sql.el: Version 3.3
8409 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8410 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8411 (sql-interactive-remove-continuation-prompt): Rewrite, use
8412 functions above. Fix continuation prompt and complete output line
8414 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8415 redirected output buffer.
8416 (sql-mode): Restore deleted code (Bug#13591).
8418 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8420 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8422 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8424 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8426 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8427 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8428 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8430 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8432 * desktop.el (desktop-clear): Simplify; remove useless checks
8433 against invalid buffer names.
8434 (desktop-list*): Use cl-list*.
8435 (desktop-buffer-info, desktop-create-buffer): Simplify.
8437 2013-07-23 Leo Liu <sdl.web@gmail.com>
8439 * bookmark.el (bookmark-make-record): Restore NAME as a default
8442 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8444 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8445 extracted from autoload--insert-text.
8446 (autoload--insert-text): Remove.
8447 (autoload--print-cookie-text): New function, extracted from
8448 autoload--insert-cookie-text.
8449 (autoload--insert-cookie-text): Remove.
8450 (autoload-generate-file-autoloads): Adjust calls accordingly.
8452 * winner.el (winner-hook-installed-p): Remove.
8453 (winner-mode): Simplify accordingly.
8455 * subr.el (add-to-list): Fix compiler-macro when `append' is
8456 not constant. Don't use `cl-member' for the base case.
8458 * progmodes/subword.el: Fix boundary case (bug#13758).
8459 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8461 (subword-backward-regexp): Make it a constant.
8462 (subword-forward-internal): Don't treat a trailing capital as the
8463 beginning of a word.
8465 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8467 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8468 global value of tabulated-list-revert-hook (bug#14930).
8470 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8472 * desktop.el: Require 'cl-lib.
8473 (desktop-before-saving-frames-functions): New hook.
8474 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8475 for frames being saved. Rename from desktop--save-minibuffer-frames.
8476 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8477 Do not save frames with non-nil `desktop-dont-save' parameter.
8478 Filter out deleted frames.
8479 (desktop--find-frame): Use cl-find-if.
8480 (desktop--select-frame): Use cl-(first|second|third) to access values
8482 (desktop--make-frame): Use cl-delete-if.
8483 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8484 (desktop-restore-frames): Use cl-(first|second|third) to access values
8485 of desktop-mini. Look for visible frame at the end, not while
8488 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8489 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8490 Use string-match-p, looking-at-p (bug#14927).
8492 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8494 * desktop.el (desktop-saved-frame-states):
8495 Rename from desktop--saved-states; all users changed.
8496 (desktop-save-frames): Rename from desktop--save-frames.
8497 Do not save state to desktop file.
8498 (desktop-save): Save desktop-saved-frame-states to desktop file
8500 (desktop-restoring-frames-p): New function.
8501 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8502 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8503 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8505 * desktop.el: Correctly restore iconified frames.
8506 (desktop--filter-iconified-position): New function.
8507 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8509 2013-07-20 Glenn Morris <rgm@gnu.org>
8511 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8512 Let `message' do the formatting.
8513 (def-gdb-preempt-display-buffer): Add explicit format.
8515 * image-dired.el (image-dired-track-original-file):
8516 Use with-current-buffer.
8517 (image-dired-track-thumbnail): Use with-current-buffer.
8518 Avoid changing point of wrong window.
8520 * image-dired.el (image-dired-track-original-file):
8521 Avoid changing point of wrong window. (Bug#14909)
8523 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8525 * progmodes/gdb-mi.el (gdb-done-or-error):
8526 Guard against "%" in gdb output. (Bug#14127)
8528 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8530 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8533 * international/mule.el (coding-system-iso-2022-flags): Fix last
8536 2013-07-20 Kenichi Handa <handa@gnu.org>
8538 * international/mule.el (coding-system-iso-2022-flags):
8539 Add `8-bit-level-4'. (Bug#8522)
8541 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8543 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8546 * net/eww.el (eww-process-text-input): Allow inputting when the
8547 point is at the start of the line, as the properties aren't
8550 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8553 2013-07-19 Richard Stallman <rms@gnu.org>
8555 * epa.el (epa-popup-info-window): Doc fix.
8557 * subr.el (split-string): New arg TRIM.
8559 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8561 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8562 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8564 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8566 * filenotify.el (file-notify--library): Rename from
8567 `file-notify-support'. Do not autoload. Adapt all uses.
8568 (file-notify-supported-p): New defun.
8570 * autorevert.el (auto-revert-use-notify):
8571 Use `file-notify-supported-p' instead of `file-notify-support'.
8573 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8575 * net/tramp.el (tramp-file-name-for-operation):
8576 Add `file-notify-supported-p'.
8578 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8580 (tramp-sh-file-name-handler-alist): Add it as handler for
8581 `file-notify-supported-p '.
8583 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8584 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8585 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8586 Add `ignore' as handler for `file-notify-*' functions.
8588 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8590 * simple.el (line-move-partial, line-move): Don't start vscroll or
8591 scroll-up if the current line is not taller than the window.
8594 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8596 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8597 highlight question marks in the method names as strings.
8598 (ruby-block-beg-keywords): Inline.
8599 (ruby-font-lock-keyword-beg-re): Extract from
8600 `ruby-font-lock-keywords'.
8602 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8604 * frame.el (blink-cursor-blinks): New defcustom.
8605 (blink-cursor-blinks-done): New defvar.
8606 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8607 (blink-cursor-timer-function): Check if number of blinks has been
8609 (blink-cursor-suspend, blink-cursor-check): New defuns.
8611 2013-07-15 Glenn Morris <rgm@gnu.org>
8613 * edmacro.el (edmacro-format-keys): Fix previous change.
8615 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8617 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8618 The hack didn't work outside English locales anyway.
8620 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8622 * simple.el (define-alternatives): Rename from alternatives-define,
8623 per RMS' suggestion.
8625 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8627 * desktop.el (desktop-restore-frames): Change default to t.
8628 (desktop-restore-in-current-display): Now offer more options.
8629 (desktop-restoring-reuses-frames): New customization option.
8630 (desktop--saved-states): Doc fix.
8631 (desktop-filter-parameters-alist): New variable, renamed and expanded
8632 from desktop--excluded-frame-parameters.
8633 (desktop--target-display): New variable.
8634 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8635 (desktop--filter-tty*, desktop--filter-*-color)
8636 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8637 (desktop--filter-save-desktop-parm)
8638 (desktop-restore-in-original-display-p): New functions.
8639 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8640 (desktop--save-minibuffer-frames): New function, inspired by a similar
8641 function from Martin Rudalics.
8642 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8643 (desktop--restore-in-this-display-p): Remove.
8644 (desktop--find-frame): Rename from desktop--find-frame-in-display
8645 and add predicate argument.
8646 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8647 (desktop--reuse-list): New variable.
8648 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8650 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8652 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8654 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8656 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8658 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8659 Highlight conversion methods on Kernel.
8661 2013-07-13 Alan Mackenzie <acm@muc.de>
8663 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8664 and comment it out. This out-commenting enables certain C++
8665 declarations to be parsed correctly.
8667 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8669 * international/mule.el (define-coding-system): Doc fix.
8671 * simple.el (default-font-height): Don't call font-info if the
8672 frame's default font didn't change since the frame was created.
8675 2013-07-13 Leo Liu <sdl.web@gmail.com>
8677 * ido.el (ido-read-file-name): Guard against non-symbol value.
8679 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8681 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8684 2013-07-13 Leo Liu <sdl.web@gmail.com>
8686 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8687 ido-set-matches call. (Bug#6852)
8689 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8691 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re)
8692 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8694 (ruby-font-lock-keywords): Distinguish calls to functions with
8695 module-like names from module references. Highlight character
8698 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8700 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8701 (gdb-send): Handle continued commands. (Bug#14847)
8703 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8705 * desktop.el (desktop--v2s): Remove unused local variable.
8706 (desktop-save-buffer): Make defvar-local; adjust docstring.
8707 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8708 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8710 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8712 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8714 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8716 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8719 2013-07-12 Glenn Morris <rgm@gnu.org>
8721 * doc-view.el: Require cl-lib at runtime too.
8722 (doc-view-remove-if): Remove.
8723 (doc-view-search-next-match, doc-view-search-previous-match):
8726 * edmacro.el: Require cl-lib at runtime too.
8727 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8728 (edmacro-mismatch, edmacro-subseq): Remove.
8730 * shadowfile.el: Require cl-lib.
8731 (shadow-remove-if): Remove.
8732 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8735 * wid-edit.el: Require cl-lib.
8736 (widget-choose): Use cl-remove-if.
8737 (widget-remove-if): Remove.
8739 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8740 (ebrowse-delete-if-not): Remove.
8741 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8742 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8743 Use cl-delete-if-not.
8745 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8747 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8748 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8750 2013-07-12 Leo Liu <sdl.web@gmail.com>
8752 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8754 2013-07-11 Glenn Morris <rgm@gnu.org>
8756 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8757 (edebug-gensym-index, edebug-gensym):
8758 Remove reimplementation of cl-gensym.
8759 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8761 * thumbs.el: Require cl-lib at run-time too.
8762 (thumbs-gensym-counter, thumbs-gensym):
8763 Remove reimplementation of cl-gensym.
8764 (thumbs-temp-file): Use cl-gensym.
8766 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8767 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8768 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8769 (ert--union, ert--gensym-counter, ert--gensym-counter)
8770 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8771 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8772 (ert-make-test-unbound, ert--expand-should-1)
8773 (ert--expand-should, ert--should-error-handle-error)
8774 (should-error, ert--explain-equal-rec)
8775 (ert--plist-difference-explanation, ert-select-tests)
8776 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8777 Use cl-lib functions rather than reimplementations.
8779 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8781 * net/tramp.el (tramp-methods): Extend docstring.
8782 (tramp-connection-timeout): New defcustom.
8783 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8784 (with-tramp-progress-reporter): Simplify.
8785 (tramp-process-actions): Improve messages.
8787 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8788 * net/tramp-sh.el (tramp-maybe-open-connection):
8789 Use `tramp-connection-timeout'.
8790 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
8793 2013-07-11 Leo Liu <sdl.web@gmail.com>
8795 * ido.el (ido-read-file-name): Conform to the requirements of
8796 read-file-name. (Bug#11861)
8797 (ido-read-directory-name): Conform to the requirements of
8798 read-directory-name.
8800 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8802 * subr.el (delay-warning): New function.
8804 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8806 * simple.el (default-line-height): New function.
8807 (line-move-partial, line-move): Use it instead of computing the
8809 (line-move-partial): Always compute ROWH. If the last line is
8810 partially-visible, but its text is completely visible, allow
8811 cursor to enter such a partially-visible line.
8813 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8815 Improve error messages. (Bug#14808)
8817 * net/tramp.el (tramp-current-connection): New defvar, moved from
8819 (tramp-message-show-progress-reporter-message): Remove, not
8821 (tramp-error-with-buffer): Show message in minibuffer.
8822 Discard input before waiting. Reset connection timestamp.
8823 (with-tramp-progress-reporter): Improve messages.
8824 (tramp-process-actions): Use progress reporter. Delete process in
8825 case of error. Improve messages.
8827 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8828 Call `tramp-error-with-buffer' with vector and buffer.
8829 (tramp-current-connection): Remove.
8830 (tramp-maybe-open-connection): The car of
8831 `tramp-current-connection' are the first 3 slots of the vector.
8833 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8835 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8836 inside continued strings.
8838 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8840 Timestamp fixes for undo (Bug#14824).
8841 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8843 2013-07-10 Leo Liu <sdl.web@gmail.com>
8845 * files.el (require-final-newline): Allow safe local value.
8848 2013-07-09 Leo Liu <sdl.web@gmail.com>
8850 * ido.el (ido-read-directory-name): Handle fallback.
8851 (ido-read-file-name): Update DIR to ido-current-directory.
8853 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8855 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8857 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8858 "autoload". Remove "warn lower camel case" section, previously
8859 commented out. Highlight negation char. Do not highlight the
8860 target in singleton method definitions.
8862 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8864 * faces.el (tty-setup-hook): Declare the hook.
8866 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8867 and detect when a guard/pred depends on local vars (bug#14773).
8868 (pcase--u1): Adjust caller.
8870 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8872 * simple.el (line-move-partial, line-move): Account for
8874 (line-move-partial): Avoid setting vscroll when the last
8875 partially-visible line in window is of default height.
8877 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8879 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8882 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8884 * subr.el (read-quoted-char): Remove unused local variable `char'.
8886 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8888 * ediff.el (ediff-version): Version update.
8889 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8890 (ediff-merge-with-ancestor-command, ediff-directories-command)
8891 (ediff-directories3-command, ediff-merge-directories-command)
8892 (ediff-merge-directories-with-ancestor-command): New functions.
8893 All are command-line interfaces to ediff: to facilitate calling
8894 Emacs with the appropriate ediff functions invoked.
8896 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8897 (viper-save-kill-buffer): Check if buffer is modified.
8899 * viper.el (viper-version): Version update.
8900 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8902 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8904 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8905 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8906 (viper-intercept-ESC-key): Simplify.
8907 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8908 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8909 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8910 (viper-setup-ESC-to-escape): New functions.
8911 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8912 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8914 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8916 * simple.el (default-font-height, window-screen-lines):
8918 (line-move, line-move-partial): Use them instead of
8919 frame-char-height and window-text-height. This makes scrolling
8920 text smoother when the buffer's default face uses a font that is
8921 different from the frame's default font.
8923 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8925 * files.el (write-file): Do not display confirm dialog for NS,
8926 it does its own dialog, which can't be canceled (Bug#14578).
8928 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8930 * simple.el (line-move-partial): Adjust the row returned by
8931 posn-at-point for the current window-vscroll. (Bug#14567)
8933 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8935 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter)
8936 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8939 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8941 * window.el (window-state-put-stale-windows): New variable.
8942 (window--state-put-2): Save list of windows without matching buffer.
8943 (window-state-put): Remove "bufferless" windows if possible.
8945 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8947 * simple.el (alternatives-define): Remove leftover :group keyword.
8950 2013-07-06 Leo Liu <sdl.web@gmail.com>
8952 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8953 (ido-enable-virtual-buffers): New variable.
8954 (ido-buffer-internal, ido-toggle-virtual-buffers)
8955 (ido-make-buffer-list): Use it.
8956 (ido-exhibit): Support turning on and off virtual buffers
8959 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8961 * simple.el (alternatives-define): New macro.
8963 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8965 * subr.el (read-quoted-char): Use read-key.
8966 (sit-for): Let read-event decode tty input (bug#14782).
8968 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8970 * calendar/todo-mode.el: Add handling of file deletion, both by
8971 mode command and externally. Fix various related bugs.
8972 Clarify Commentary and improve some documentation strings and code.
8973 (todo-delete-file): New command.
8974 (todo-check-file): New function.
8975 (todo-show): Handle external deletion of the file we're trying to
8976 show (bug#14688). Replace called-interactively-p by an optional
8977 prefix argument to avoid problematic interaction with catch form
8978 when byte compiled (bug#14702).
8979 (todo-quit): Handle external deletion of the archive's todo file.
8980 Make sure the buffer that was visiting the archive file is still
8981 live before trying to bury it.
8982 (todo-category-completions): Handle external deletion of any
8983 category completion files.
8984 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8985 of todo files, in case of external deletion.
8986 (todo-add-file): Replace unnecessary setq by let-binding.
8987 (todo-find-archive): Check whether there are any archives.
8988 Replace unnecessary setq by let-binding.
8989 (todo-archive-done-item): Use find-file-noselect to get the
8990 archive buffer whether or not the archive already exists.
8991 Remove superfluous code. Use file size instead of buffer-file-name to
8992 check if the archive is new; if it is, update list of archives.
8993 (todo-default-todo-file): Allow nil to be a valid value for when
8994 there are no todo files.
8995 (todo-reevaluate-default-file-defcustom): Use corrected definition
8996 of todo-default-todo-file.
8997 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8998 (todo-delete-category, todo-show-categories-table)
8999 (todo-category-number): Clarify comment.
9000 (todo-filter-items): Clarify documentation string.
9001 (todo-show-current-file, todo-display-as-todo-file)
9002 (todo-reset-and-enable-done-separator): Tweak documentation string.
9003 (todo-done-separator): Make separator length window-width, since
9004 bug#2749 is now fixed.
9006 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
9008 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
9009 Support both "gvfs-monitor-dir" and "inotifywait".
9010 (tramp-sh-file-inotifywait-process-filter): Rename from
9011 `tramp-sh-file-notify-process-filter'.
9012 (tramp-sh-file-gvfs-monitor-dir-process-filter)
9013 (tramp-get-remote-gvfs-monitor-dir): New defuns.
9015 2013-07-05 Leo Liu <sdl.web@gmail.com>
9017 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
9019 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
9021 * frame.el (display-pixel-height, display-pixel-width)
9022 (display-mm-height, display-mm-width): Mention behavior on
9023 multi-monitor setups in docstrings.
9024 (w32-display-monitor-attributes-list): Declare function.
9025 (display-monitor-attributes-list): Use it.
9027 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
9029 * filenotify.el: New package.
9031 * autorevert.el (top): Require filenotify.el.
9032 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9034 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9035 (auto-revert-notify-handler): Use `file-notify-*' functions.
9037 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9039 * net/tramp.el (tramp-file-name-for-operation):
9040 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9042 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9043 for `file-notify-add-watch' and `file-notify-rm-watch'.
9044 (tramp-process-sentinel): Improve trace.
9045 (tramp-sh-handle-file-notify-add-watch)
9046 (tramp-sh-file-notify-process-filter)
9047 (tramp-sh-handle-file-notify-rm-watch)
9048 (tramp-get-remote-inotifywait): New defuns.
9050 2013-07-03 Juri Linkov <juri@jurta.org>
9052 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9053 call of `occur-read-primary-args' to interactive spec.
9055 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9056 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9058 2013-07-03 Matthias Meulien <orontee@gmail.com>
9060 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9061 `Buffer-menu-multi-occur'. Add it to the menu.
9062 (Buffer-menu-mode): Document it in docstring.
9063 (Buffer-menu-multi-occur): New command. (Bug#14673)
9065 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9067 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9068 keywords and built-ins.
9070 2013-07-03 Glenn Morris <rgm@gnu.org>
9072 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9074 Make info-xref checks case-sensitive by default
9075 * info.el (Info-find-node, Info-find-in-tag-table)
9076 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9077 Add option for exact case matching of nodes.
9078 * info-xref.el (info-xref): New custom group.
9079 (info-xref-case-fold): New option.
9080 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9082 2013-07-03 Leo Liu <sdl.web@gmail.com>
9084 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9086 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9088 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9089 middle of block statement initially, lower the depth. Remove
9090 FIXME comment, not longer valid. Remove middle of block statement
9091 detection, no need to do that anymore since we've been using
9092 `ruby-parse-region' here.
9094 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9096 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9098 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9100 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9102 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9104 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9105 (desktop-restore-in-current-display): New customization option.
9106 (desktop--excluded-frame-parameters): Add `font'.
9107 (desktop--save-frames): Rename from desktop--save-windows.
9108 (desktop--restore-in-this-display-p): New function.
9109 (desktop--make-full-frame): Remove unwanted width/height from
9110 full(width|height) frames.
9111 (desktop--restore-frames): Rename from desktop--restore-windows.
9112 Obey desktop-restore-current-display. Do not delete old frames or
9113 select a new frame unless we were able to restore at least one frame.
9115 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9117 * files.el (find-file-noselect): Simplify conditional expression.
9119 * textmodes/remember.el (remember-append-to-file):
9120 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9122 Add `remember-notes' function to store random notes across Emacs
9124 * textmodes/remember.el (remember-data-file): Add :set callback to
9125 affect notes buffer (if any).
9126 (remember-notes): New command.
9127 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9128 New defcustoms for the `remember-notes' function.
9129 (remember-notes-save-and-bury-buffer): New command.
9130 (remember-notes-mode-map): New variable.
9131 (remember-mode): New minor mode.
9132 (remember-notes--kill-buffer-query): New function.
9133 * startup.el (initial-buffer-choice): Add notes to custom type.
9135 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9137 * bindings.el (right-char, left-char): Don't call sit-for, this is
9138 no longer needed. Use arithmetic comparison only for numerical
9141 * international/mule-cmds.el (select-safe-coding-system):
9142 Handle the case of FROM being a string correctly. (Bug#14755)
9144 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9146 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9147 progression on degenerate tables.
9148 (shr-rescale-image): ImageMagick animated images currently don't work.
9150 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9152 Some fixes and improvements for desktop frame restoration.
9153 It is still experimental and disabled by default.
9154 * desktop.el (desktop--save-windows): Put the selected frame at
9155 the head of the list.
9156 (desktop--make-full-frame): New function.
9157 (desktop--restore-windows): Try to re-select the frame that was
9158 selected upon saving. Do not abort if some frames fail to restore,
9159 just show an error message and continue. Set up maximized frames
9160 so they have default non-maximized dimensions.
9162 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9164 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9165 Don't start heredoc inside a string or comment.
9167 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9169 * bindings.el (visual-order-cursor-movement): New defcustom.
9170 (right-char, left-char): Provide visual-order cursor motion by
9171 calling move-point-visually. Update the doc strings.
9173 2013-06-28 Kenichi Handa <handa@gnu.org>
9175 * international/mule.el (define-coding-system): New coding system
9176 properties :inhibit-null-byte-detection,
9177 :inhibit-iso-escape-detection, and :prefer-utf-8.
9178 (set-buffer-file-coding-system): If :charset-list property of
9179 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9180 appropriate for setting.
9182 * international/mule-cmds.el (select-safe-coding-system):
9183 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9184 multibyte characters, return utf-8 (or one of its siblings).
9186 * international/mule-conf.el (prefer-utf-8): New coding system.
9187 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9190 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9192 * net/shr.el (shr-render-region): New function.
9194 * net/eww.el: Autoload `eww-browse-url'.
9196 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9198 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9199 Adapt to `package-desc-version' being a list.
9200 Use `package--ac-desc-version' to retrieve version from a package
9203 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9205 New experimental feature to save&restore window and frame setup.
9206 * desktop.el (desktop-save-windows): New defcustom.
9207 (desktop--saved-states): New var.
9208 (desktop--excluded-frame-parameters): New defconst.
9209 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9210 (desktop--restore-windows, desktop--save-windows): New functions.
9211 (desktop-save): Call `desktop--save-windows'.
9212 (desktop-read): Call `desktop--restore-windows'.
9214 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9216 * net/shr.el (add-face-text-property): Remove compat definition.
9218 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9220 * info.el (Info-try-follow-nearest-node): Move search for footnote
9221 above search for node name to prevent missing a footnote (bug#14717).
9223 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9225 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9227 2013-06-27 Leo Liu <sdl.web@gmail.com>
9229 * net/eww.el (eww-read-bookmarks): Check file size.
9231 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9233 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9234 advice--pending if newdef is nil or an autoload (bug#13820).
9235 (advice-mapc): New function.
9237 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9239 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9241 (eww-mode-map): Add a menu bar.
9242 (eww-add-bookmark): New command.
9243 (eww-bookmark-mode): New mode and commands.
9244 (eww-add-bookmark): Remove newlines from the title.
9245 (eww-bookmark-browse): Don't bug out if it's the only window.
9247 2013-06-26 Glenn Morris <rgm@gnu.org>
9249 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9250 (hfy-size): Handle ttys. (Bug#14668)
9252 * info-xref.el: Update for Texinfo 5 change in *note format.
9253 (info-xref-node-re, info-xref-note-re): New constants.
9254 (info-xref-check-buffer): Use info-xref-note-re.
9256 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9258 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9260 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9261 nil terminate the loop (bug#14718).
9263 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9265 * net/eww.el: Rework history traversal. When going forward/back,
9266 put these actions into the history, too, so that they can be
9268 (eww-render): Move the history reset to the correct buffer.
9270 2013-06-25 Juri Linkov <juri@jurta.org>
9272 * files-x.el (modify-dir-local-variable): Change the header comment
9273 in the file with directory local variables. (Bug#14692)
9275 * files-x.el (read-file-local-variable-value): Add `default'.
9278 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9280 * net/eww.el (eww-make-unique-file-name): Create a unique file
9281 name before saving to entering `y' accidentally asynchronously.
9283 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9285 * net/eww.el (eww-download): New command and keystroke.
9287 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9289 * net/eww.el (eww-copy-page-url): Change name of command.
9291 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9292 be more consistent with Info and dired.
9294 * net/eww.el (eww-mode-map): Ditto.
9296 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9298 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9299 packages from archives.
9300 (package-archive-contents): Change format; include obsolete packages.
9301 (package-desc): Use `dir' to mark builtin packages.
9302 (package--from-builtin): Set the `dir' field to `builtin'.
9303 (generated-autoload-file, version-control): Declare.
9304 (package-compute-transaction): Change first arg and return value to be
9305 lists of package-descs. Adjust to new package-archive-contents format.
9306 (package--add-to-archive-contents): Adjust to new
9307 package-archive-contents format.
9308 (package-download-transaction): Arg is now a list of package-descs.
9309 (package-install): If `pkg' is a package name, pass it as
9310 a requirement, so it is subject to the usual (e.g. disabled) checks.
9311 (describe-package): Accept package-desc as well.
9312 (describe-package-1): Describe a specific package-desc. Add links to
9313 other package-descs for the same package name.
9314 (package-menu-describe-package): Pass the actual package-desc.
9315 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9317 (package-desc-status): New function.
9318 (package-menu--refresh): New function, extracted
9319 from package-menu--generate.
9320 (package-menu--generate): Use it.
9321 (package-delete): Update package-alist.
9322 (package-menu-execute): Don't call package-initialize.
9324 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9325 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9326 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9327 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9328 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9329 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9331 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9333 * window.el (window--state-get-1): Workaround for bug#14527.
9334 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9336 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9338 * net/eww.el (eww-back-url): Implement the history by stashing all
9339 the data into a list.
9340 (eww-forward-url): Allow going forward in the history, too.
9342 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9344 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9345 for values and use read--expression for expressions (bug#14710).
9346 (read-file-local-variable): Avoid setq.
9347 (read-file-local-variable-mode): Use minor-mode-list.
9349 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9351 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9354 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9356 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9357 Update imenu-support when dialect changes.
9359 2013-06-25 Leo Liu <sdl.web@gmail.com>
9361 * ido.el (ido-read-internal): Allow forward slash on windows.
9363 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9365 * net/eww.el (eww): Start of strings is \\`, not ^.
9367 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9369 * net/shr.el (shr-browse-url): Fix interactive spec.
9371 * net/eww.el (eww): Add a trailing slash to domain names.
9373 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9375 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9377 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9379 * net/shr.el (shr-browse-url): Use an external browser if given a
9382 * net/eww.el (eww-external-browser): Move to shr.
9384 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9386 * net/eww.el (eww): Work more correctly for file: URLs.
9387 (eww-detect-charset): Allow quoted charsets.
9388 (eww-yank-page-url): New command and keystroke.
9390 2013-06-24 Daiki Ueno <ueno@gnu.org>
9392 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9393 file name of gpg executable.
9394 (epg-context-program): New function.
9395 (epg-context-home-directory): New function.
9396 (epg-context-set-program): New function.
9397 (epg-context-set-home-directory): New function.
9398 (epg--start): Use `epg-context-program' instead of
9400 (epg--list-keys-1): Likewise.
9402 2013-06-24 Leo Liu <sdl.web@gmail.com>
9404 * ido.el (ido-read-internal): Fix bug#14620.
9406 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9408 * faces.el (face-documentation): Simplify.
9409 (read-face-attribute, tty-find-type, x-resolve-font-name):
9410 Use `string-match-p'.
9411 (list-faces-display): Use `string-match-p'. Simplify.
9412 (face-spec-recalc): Check face to avoid face alias loops.
9413 (read-color): Use `string-match-p' and non-capturing parenthesis.
9415 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9417 * net/shr.el (shr-rescale-image): Use the new
9418 :max-width/:max-height functionality.
9420 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9422 * net/eww.el (eww-search-prefix): New variable.
9424 (eww-external-browser): New variable.
9425 (eww-mode-map): New keystroke.
9426 (eww-browse-with-external-browser): New command.
9428 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9430 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9432 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9433 Don't skip aligning the next header field when padding is 0;
9434 otherwise, field width is not respected unless the title is as
9437 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9439 * emacs-lisp/package.el (package-el-version): Remove.
9440 (package-process-define-package): Fix inf-loop.
9441 (package-install): Allow symbols as arguments again.
9443 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9445 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9446 add some more keyword-like methods.
9447 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9449 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9451 * bs.el (bs-buffer-show-mark): Make defvar-local.
9452 (bs-mode): Use setq-local.
9454 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9455 (emacs-lock--try-unlocking): Make defvar-local.
9457 2013-06-22 Glenn Morris <rgm@gnu.org>
9459 * play/cookie1.el (cookie-apropos): Minor simplification.
9461 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9463 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9465 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9466 `regexp-opt', it breaks the build during dumping.
9468 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9470 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9471 Highlight keyword-like methods on Kernel and Module with
9472 font-lock-builtin-face.
9473 (auto-mode-alist): Consolidate different entries into one regexp
9474 and add more *file-s.
9476 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9478 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9480 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9481 (diary-entry): Use it in the action of this button type instead of
9484 * calendar/todo-mode.el: New version.
9485 (todo-add-category): Append new category to end of file and give
9486 it the highest number, instead of putting it at the beginning and
9487 giving it 0. Incorporate noninteractive functionality.
9488 (todo-forward-category): Adapt to 1-based category numbering.
9489 Allow skipping over archived categories.
9490 (todo-backward-category): Derive from todo-forward-category.
9491 (todo-backward-item, todo-forward-item): Make noninteractive and
9492 delegate interactive part to new commands. Make sensitive to done items.
9493 (todo-categories): Make value an alist of category names and
9494 vectors of item counts.
9495 (todo-category-beg): Make a defconst.
9496 (todo-category-number): Use 1 instead of 0 as initial value.
9497 (todo-category-select): Make sensitive to overlays, optional item
9498 highlighting and done items.
9499 (todo-delete-item): Make sensitive to overlays and marked and done items.
9500 (todo-edit-item): Make sensitive to overlays and editing of
9501 date/time header optional. Add format checks.
9502 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9503 no-op if point is not on an item. Advertise using todo-edit-quit.
9504 (todo-edit-mode): Make sensitive to new format, font-locking, and
9505 multiple todo files.
9506 (todo-insert-item, todo-insert-item-here): Derive from
9507 todo-basic-insert-item and extend functionality.
9508 (todo-item-end, todo-item-start): Make sensitive to done items.
9509 (todo-item-string): Don't return text properties. Restore point.
9510 (todo-jump-to-category): Make sensitive to multiple todo files and
9511 todo archives. Use extended category completion.
9512 (todo-lower-item, todo-raise-item): Rename to *-priority and
9513 derive from todo-set-item-priority.
9514 (todo-mode): Derive from special-mode. Make sensitive to new
9515 format, font-locking and multiple todo files. Make read-only.
9516 (todo-mode-map): Don't suppress digit keys, so they can supply
9517 prefix arguments. Add many new key bindings.
9518 (todo-prefix): Insert as an overlay instead of file text.
9519 Change semantics from diary date expression to purely visual mark.
9520 (todo-print): Rename to todo-print-buffer. Make buffer display
9521 features printable. Remove option to restrict number of items
9522 printed. Add option to print to file.
9523 (todo-print-function): Rename to todo-print-buffer-function.
9524 (todo-quit): Extend to handle exiting new todo modes.
9525 (todo-remove-item): Make sensitive to overlays.
9526 (todo-save): Extend to buffers of filtered items.
9527 (todo-show): Make sensitive to done items, multiple todo files and
9528 new todo modes. Offer to convert legacy todo file before creating
9529 first new todo file.
9530 (todo-show-priorities): Rename to todo-top-priorities.
9531 Change semantics of value 0.
9532 (todo-top-priorities): Rename to todo-filter-top-priorities,
9533 derive from todo-filter-items and extend functionality.
9534 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9535 and extend functionality to other types of filtered items.
9536 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9537 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9538 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9539 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9540 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9541 (todo-edit-mode-hook, todo-entry-prefix-function)
9542 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9543 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9544 (todo-initials, todo-insert-threshold, todo-item-string-start)
9545 (todo-line-string, todo-menu, todo-mode-hook)
9546 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9547 (todo-print-priorities, todo-remove-separator)
9548 (todo-save-top-priorities-too, todo-string-count-lines)
9549 (todo-string-multiline-p, todo-time-string-format)
9550 (todo-tmp-buffer-name): Remove.
9551 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9552 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9553 (todo-edit-category-diary-inclusion)
9554 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9555 (todo-edit-file, todo-edit-item-date-day)
9556 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9557 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9558 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9559 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9560 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9561 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9562 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9563 (todo-filter-top-priorities-multifile, todo-find-archive)
9564 (todo-find-filtered-items-file, todo-go-to-source-item)
9565 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9566 (todo-jump-to-archive-category, todo-lower-category)
9567 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9568 (todo-move-category, todo-move-item, todo-next-button)
9569 (todo-next-item, todo-padded-string, todo-powerset)
9570 (todo-previous-button, todo-previous-item)
9571 (todo-print-buffer-to-file, todo-raise-category)
9572 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9573 (todo-set-category-number, todo-set-item-priority)
9574 (todo-set-top-priorities-in-category)
9575 (todo-set-top-priorities-in-file, todo-show-categories-table)
9576 (todo-sort-categories-alphabetically-or-numerically)
9577 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9578 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9579 (todo-toggle-item-header, todo-toggle-item-highlighting)
9580 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9581 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9582 (todo-unarchive-items, todo-unmark-category): New commands.
9583 (todo-absolute-file-name, todo-add-to-buffer-list)
9584 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9585 (todo-basic-insert-item, todo-category-completions)
9586 (todo-category-number, todo-category-string-matcher-1)
9587 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9588 (todo-check-format, todo-clear-matches)
9589 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9590 (todo-current-category, todo-date-string-matcher)
9591 (todo-define-insertion-command, todo-diary-expired-matcher)
9592 (todo-diary-goto-entry, todo-diary-item-p)
9593 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9594 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9595 (todo-done-item-section-p, todo-done-separator)
9596 (todo-done-string-matcher, todo-files, todo-filter-items)
9597 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9598 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9599 (todo-insert-category-line, todo-insert-item-from-calendar)
9600 (todo-insert-sort-button, todo-insert-with-overlays)
9601 (todo-insertion-command-name, todo-insertion-key-bindings)
9602 (todo-label-to-key, todo-longest-category-name-length)
9603 (todo-make-categories-list, todo-mode-external-set)
9604 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9605 (todo-modes-set-3, todo-multiple-filter-files)
9606 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9607 (todo-read-category, todo-read-date, todo-read-dayname)
9608 (todo-read-file-name, todo-read-time)
9609 (todo-reevaluate-category-completions-files-defcustom)
9610 (todo-reevaluate-default-file-defcustom)
9611 (todo-reevaluate-filelist-defcustoms)
9612 (todo-reevaluate-filter-files-defcustom)
9613 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9614 (todo-reset-done-separator, todo-reset-done-separator-string)
9615 (todo-reset-done-string, todo-reset-global-current-todo-file)
9616 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9617 (todo-reset-prefix, todo-set-categories)
9618 (todo-set-date-from-calendar, todo-set-show-current-file)
9619 (todo-set-top-priorities, todo-short-file-name)
9620 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9621 (todo-total-item-counts, todo-update-buffer-list)
9622 (todo-update-categories-display, todo-update-categories-sexp)
9623 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9625 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9627 (todo-categories, todo-display, todo-edit, todo-faces)
9628 (todo-filtered): New defgroups.
9629 (todo-archived-only, todo-button, todo-category-string, todo-date)
9630 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9631 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9632 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9633 (todo-add-item-if-new-category, todo-always-add-time-string)
9634 (todo-categories-align, todo-categories-archived-label)
9635 (todo-categories-category-label, todo-categories-diary-label)
9636 (todo-categories-done-label, todo-categories-number-separator)
9637 (todo-categories-todo-label, todo-categories-totals-label)
9638 (todo-category-completions-files, todo-completion-ignore-case)
9639 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9640 (todo-done-separator-string, todo-done-string)
9641 (todo-files-function, todo-filter-done-items, todo-filter-files)
9642 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9643 (todo-initial-category, todo-initial-file, todo-item-mark)
9644 (todo-legacy-date-time-regexp, todo-mode-line-function)
9645 (todo-nondiary-marker, todo-number-prefix)
9646 (todo-print-buffer-function, todo-show-current-file)
9647 (todo-show-done-only, todo-show-first, todo-show-with-done)
9648 (todo-skip-archived-categories, todo-top-priorities-overrides)
9649 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9650 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9652 (todo-category-done, todo-date-pattern, todo-date-string-start)
9653 (todo-diary-items-buffer, todo-done-string-start)
9654 (todo-filtered-items-buffer, todo-item-start)
9655 (todo-month-abbrev-array, todo-month-name-array)
9656 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9657 (todo-top-priorities-buffer): New defconsts.
9658 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9659 (todo-categories-with-marks, todo-category-string-face)
9660 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9661 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9662 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9663 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9664 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9665 (todo-font-lock-keywords, todo-global-current-todo-file)
9666 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9667 (todo-insertion-commands-args)
9668 (todo-insertion-commands-args-genlist)
9669 (todo-insertion-commands-names, todo-insertion-map)
9670 (todo-key-bindings-t, todo-key-bindings-t+a)
9671 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9672 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9673 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9674 (todo-visited): New variables.
9676 2013-06-21 Glenn Morris <rgm@gnu.org>
9678 * play/cookie1.el (cookie-apropos): Add optional display argument.
9679 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9680 (psychoanalyze-pinhead): Use cookie-doctor.
9682 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9684 * emacs-lisp/package.el (tar-get-file-descriptor)
9685 (tar--extract): Declare.
9687 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9689 Extend flymake's warning predicate to be a function (bug#14217).
9690 * progmodes/flymake.el (flymake-warning-predicate): New.
9691 (flymake-parse-line): Use it.
9692 (flymake-warning-re): Make obsolete alias to
9693 `flymake-warning-predicate'.
9695 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9697 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9698 (package-obsolete-list): Remove.
9699 (package-activate): Remove min-version argument. Add `force' argument.
9700 Adjust to new package-alist format.
9701 (package-mark-obsolete): Remove.
9702 (package-unpack): Force reload of the package's autoloads.
9703 (package-installed-p): Check builtins if the installed package is not
9705 (package-initialize): Don't reset package-obsolete-list.
9706 Don't specify which package version to activate.
9707 (package-process-define-package, describe-package-1)
9708 (package-menu--generate): Adjust to new package-alist format.
9710 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9712 * allout-widgets.el (allout-widgets-mode-off)
9713 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9714 (allout-widgets-post-command-business)
9715 (allout-widgets-after-copy-or-kill-function)
9716 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9717 (allout-decorate-item-and-context)
9718 (allout-graphics-modification-handler): Fix typos in docstrings.
9719 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9721 * cmuscheme.el (scheme-start-file): Doc fix.
9722 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9723 (scheme-input-filter): Use `string-match-p'.
9725 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9727 * dired-x.el: Use Dired consistently in docstrings.
9729 * dired.el: Use Dired consistently in docstrings.
9730 (dired-readin, dired-mode): Use `setq-local'.
9731 (dired-switches-alist): Make defvar-local.
9732 (dired-buffers-for-dir): Use `zerop'.
9733 (dired-safe-switches-p, dired-switches-escape-p)
9734 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9735 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9736 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check)
9737 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9738 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9739 (dired-toggle-marks, dired-mark-files-containing-regexp)
9740 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9741 (dired-flag-auto-save-files, dired-flag-backup-files):
9743 (dired-mark-files-regexp, dired-build-subdir-alist):
9744 Use `string-match-p', `looking-at-p'.
9746 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9747 (direct-print-region-helper): Use `string-match-p'.
9749 2013-06-21 Leo Liu <sdl.web@gmail.com>
9751 * comint.el (comint-redirect-results-list-from-process):
9754 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9756 * net/eww.el (eww-update-header-line-format): Quote % characters.
9758 2013-06-21 Glenn Morris <rgm@gnu.org>
9760 * play/cookie1.el (cookie): New custom group.
9761 (cookie-file): New option.
9762 (cookie-check-file): New function.
9763 (cookie): Make it interactive. Make start and end messages optional.
9764 Interactively, display the result. Default to cookie-file.
9765 (cookie-insert): Default to cookie-file.
9766 (cookie-snarf): Make start and end messages optional.
9767 Default to cookie-file. Use with-temp-buffer.
9768 (cookie-read): Rename from read-cookie.
9769 Make start and end messages optional. Default to cookie-file.
9770 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9772 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9773 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9775 2013-06-21 Leo Liu <sdl.web@gmail.com>
9777 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9779 2013-06-21 Glenn Morris <rgm@gnu.org>
9781 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9783 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9784 Daniel Hackney <dan@haxney.org>
9786 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9787 Consolidate the single-file vs tarball code.
9788 (package-desc-suffix): New function.
9789 (package-desc-full-name): Don't bother inlining it.
9790 (package-load-descriptor): Return the new package-desc.
9791 (package-mark-obsolete): Remove unused arg `package'.
9792 (package-unpack): Make it work for single files as well.
9793 Make it update package-alist.
9794 (package--make-autoloads-and-stuff): Rename from
9795 package--make-autoloads-and-compile. Don't compile any more.
9796 (package--compile): New function.
9797 (package-generate-description-file): New function, extracted from
9798 package-unpack-single.
9799 (package-unpack-single): Remove.
9800 (package--with-work-buffer): Add indentation and debugging info.
9801 (package-download-single): Remove.
9802 (package-install-from-archive): Rename from package-download-tar, make
9803 it take a pkg-desc, and make it work for single files as well.
9804 (package-download-transaction): Simplify.
9805 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9806 external tar program.
9807 (package-install-from-buffer): Remove `pkg-desc' argument.
9808 Use package-tar-file-info for tar-mode buffers.
9809 (package-install-file): Simplify accordingly.
9810 (package-archive-base): Change to take a pkg-desc.
9811 * tar-mode.el (tar--check-descriptor): New function, extracted from
9813 (tar-get-descriptor): Use it.
9814 (tar-get-file-descriptor): New function.
9815 (tar--extract): New function, extracted from tar-extract.
9816 (tar--extract): Use it.
9817 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9818 case the summary uses non-ascii. Adjust to new calling convention of
9819 package-tar-file-info.
9821 2013-06-21 Leo Liu <sdl.web@gmail.com>
9823 * comint.el (comint-redirect-results-list-from-process):
9824 Fix random delay. (Bug#14681)
9826 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9828 * profiler.el (profiler-format-number): Use log, not log10.
9830 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9832 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9834 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9836 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9837 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9839 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9840 (AUTOGENEL): ... here.
9841 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9842 (cl--defsubst-expand): Use it.
9844 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9846 * subr.el (log10): Move here from C code, and declare as obsolete.
9847 All uses of (log10 X) replaced with (log X 10).
9849 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9851 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9852 Declare with `defvar-local'.
9853 (tabulated-list-use-header-line, tabulated-list-entries)
9854 (tabulated-list-padding, tabulated-list-printer)
9855 (tabulated-list-sort-key): Declare with `defvar-local'.
9856 (tabulated-list-init-header, tabulated-list-print-fake-header):
9859 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9861 * arc-mode.el (archive-mode): Add `archive-write-file' to
9862 `write-contents-functions' also for remote files. (Bug#14652)
9864 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9866 * cus-edit.el (custom-commands): Fix typos.
9867 (custom-display): Fix tooltip text.
9868 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9869 Fix typos in docstrings.
9870 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9871 (custom-unlispify-menu-entry, custom-magic-value-create)
9872 (custom-add-see-also, custom-group-value-create): Use ?\s.
9873 (custom-guess-type, customize-apropos, editable-field)
9874 (custom-face-value-create): Use `string-match-p'.
9875 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9877 * custom.el (custom-load-symbol): Use `string-match-p'.
9879 * ansi-color.el: Convert to lexical binding.
9880 (ansi-colors): Fix URL.
9881 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9882 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9883 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9885 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9887 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9889 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9891 2013-06-19 Tom Tromey <tromey@redhat.com>
9893 * net/eww.el (eww-top-url): Remove.
9894 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9895 (eww-render): Set new variables. Don't set eww-top-url.
9896 (eww-handle-link): Handle "prev", "home", and "contents".
9897 Downcase the rel text.
9898 (eww-top-url): Choose best top URL.
9900 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9902 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9903 relying in widget.el. Using widget.el leads to too many
9904 user interface inconsistencies.
9905 (eww-self-insert): Implement entering commands in text fields.
9906 (eww-process-text-input): New function to make text input field editing
9908 (eww-submit): Rewrite to use the new-style form methods.
9909 (eww-select-display): Display the correct selected item.
9910 (eww-change-select): Implement changing the select value.
9911 (eww-toggle-checkbox): Implement radio/checkboxes.
9912 (eww-update-field): Fix compilation error.
9913 (eww-tag-textarea): Implement <textarea>.
9915 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9916 we don't shadow mode-specific bindings.
9918 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9921 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9923 2013-06-19 Glenn Morris <rgm@gnu.org>
9925 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9927 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9929 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9932 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9934 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9936 * net/browse-url.el (browse-url-browser-function):
9937 `eww-browse-url' has the right calling signature, `eww' does not.
9939 2013-06-19 Glenn Morris <rgm@gnu.org>
9941 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9942 Only eval autoloaded macros.
9943 (byte-compile-autoload): Only give the macro warning for macros.
9945 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9946 (ps-underlined-faces): Declare.
9948 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9949 (speedbar-add-supported-extension): Declare.
9951 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9952 Don't include a date stamp in the header of the generated file;
9953 it leads to needless differences between output files.
9955 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9957 * net/secrets.el (secrets-struct-secret-content-type):
9958 Replace check of introspection data by a test call of "CreateItem".
9959 Some servers do not offer introspection.
9961 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9963 * electric.el (electric-pair-mode): Improve interaction with
9964 electric-layout-mode.
9965 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9966 (electric-pair-syntax): Use text-mode-syntax-table in comments
9968 (electric-pair--insert): New function.
9969 (electric-pair-post-self-insert-function): Use it and
9970 electric--after-char-pos.
9972 2013-06-19 Leo Liu <sdl.web@gmail.com>
9974 * progmodes/octave.el (octave-help): Fix regexp.
9976 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9978 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9979 (shr-table-horizontal-line): Allow nil as a value, and change the
9981 (shr-insert-table-ruler): Respect the nil value.
9983 2013-06-18 Tom Tromey <tromey@barimba>
9985 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9987 (eww-open-file): New defun.
9988 (eww-render): Initialize new variables.
9989 (eww-display-html): Handle "link" and "a".
9990 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9991 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9992 (eww-back-url): Rename from eww-previous-url.
9993 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9996 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9998 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9999 Distinguish ternary operator tokens from slash symbol and slash
10002 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10004 Convert symbol prettification into minor mode and global minor mode.
10006 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
10007 `prog-prettify-symbols', and make a local defvar instead of defcustom.
10008 (prettify-symbols--keywords): Rename from
10009 `prog-prettify-symbols-alist' and make a local defvar.
10010 (prettify-symbols--compose-symbol): Rename from
10011 `prog--prettify-font-lock-compose-symbol'.
10012 (prettify-symbols--make-keywords): Rename from
10013 `prog-prettify-font-lock-symbols-keywords' and simplify.
10014 (prog-prettify-install): Remove.
10015 (prettify-symbols-mode): New minor mode, based on
10016 `prog-prettify-install'.
10017 (turn-on-prettify-symbols-mode): New function.
10018 (global-prettify-symbols-mode): New globalized minor mode.
10020 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10021 * progmodes/cfengine.el (cfengine3-mode):
10022 * progmodes/perl-mode.el (perl-mode): Don't call
10023 `prog-prettify-install'; set `prettify-symbols-alist' instead.
10025 2013-06-18 Juri Linkov <juri@jurta.org>
10027 * files-x.el (modify-file-local-variable-message): New function.
10028 (modify-file-local-variable)
10029 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
10030 and call `modify-file-local-variable-message' when it's non-nil.
10031 (add-file-local-variable, delete-file-local-variable)
10032 (add-file-local-variable-prop-line)
10033 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10034 and use it. (Bug#9820)
10036 2013-06-18 Juri Linkov <juri@jurta.org>
10038 * emulation/vi.el (vi-shell-op):
10039 * emulation/vip.el (vip-execute-com, ex-command):
10040 * emulation/viper-cmd.el (viper-exec-bang):
10041 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10042 the call of `shell-command-on-region'. (Bug#14637)
10044 * simple.el (shell-command-on-region): Doc fix.
10046 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10048 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10051 2013-06-18 Glenn Morris <rgm@gnu.org>
10053 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10055 * newcomment.el (comment-search-forward, comment-search-backward):
10056 Doc fix. (Bug#14376)
10058 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10060 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10061 (buffer-face-mode-invoke): Doc fix.
10063 2013-06-18 Matthias Meulien <orontee@gmail.com>
10065 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10066 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10068 2013-06-18 Glenn Morris <rgm@gnu.org>
10070 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10071 Replace obsolete function generic-make-keywords with its expansion.
10073 * progmodes/python.el (ffap-alist): Declare.
10075 * textmodes/reftex.el (bibtex-mode-map): Declare.
10077 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10079 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10080 (package-unpack, package-unpack-single): Return the pkg-dir.
10081 (package-download-transaction): Use it to update package-alist.
10083 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10085 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10088 2013-06-17 Juri Linkov <juri@jurta.org>
10090 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10092 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10094 * emacs-lisp/package.el (package-load-descriptor):
10095 Remove `with-syntax-table' call, `read' doesn't need it.
10096 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10098 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10100 * startup.el (command-line): Expand package name returned by
10101 `package--description-file' (bug#14639).
10103 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10105 * emacs-lisp/package.el (package-load-descriptor): Do not call
10106 `emacs-lisp-mode', just use its syntax table.
10108 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10110 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10111 `font-lock-extra-managed-props' if any prettifying keyword is added.
10112 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10113 (prog-mode): Use `setq-local'.
10115 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10117 * international/characters.el (standard-case-table): Set syntax of ?»
10118 and ?« to punctuation.
10120 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10122 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10123 Save relevant match data before calling `syntax-ppss' (bug#14595).
10125 2013-06-15 Juri Linkov <juri@jurta.org>
10127 * files-x.el (modify-file-local-variable-prop-line): Add local
10128 variables to the end of the existing comment on the first line.
10129 Use `file-auto-mode-skip' to skip interpreter magic line,
10130 and also skip XML declaration.
10132 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10134 * startup.el (package--builtin-versions): New var.
10135 (package-subdirectory-regexp): Remove.
10136 (package--description-file): Hard code its value instead.
10138 * emacs-lisp/package.el: Don't activate packages older than builtin.
10139 (package-obsolete-list): Rename from package-obsolete-alist, and make
10140 it into a simple list of package-desc.
10141 (package-strip-version): Remove.
10142 (package-built-in-p): Use package--builtin-versions.
10143 (package-mark-obsolete): Simplify.
10144 (package-process-define-package): Mark it obsolete if older than the
10146 (package-handle-response): Use line-end-position.
10147 (package-read-archive-contents, package--download-one-archive):
10149 (package--add-to-archive-contents): Skip if older than the builtin or
10151 (package-menu-describe-package): Fix last change.
10152 (package-list-unversioned): New var.
10153 (package-menu--generate): Use it.
10155 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10156 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10157 (autoload-builtin-package-versions): New variable.
10158 (autoload-generate-file-autoloads): Use them.
10159 Remove the list of autoloaded functions/macros from the
10160 (autoload...) comments.
10162 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10164 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10166 * simple.el (line-move-partial): Don't jump to the next screen
10167 line as soon as it becomes visible. Instead, continue enlarging
10168 the vscroll until the portion of a tall screen line that's left on
10169 display is about the height of the frame's default font.
10172 2013-06-15 Glenn Morris <rgm@gnu.org>
10174 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10175 compilation-error-regexp-alist void, or local while let-bound.
10177 * progmodes/make-mode.el (makefile-mode-syntax-table):
10178 Treat "=" as punctuation. (Bug#14614)
10180 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10182 * help-fns.el (describe-variable):
10183 Add extra line for permanent-local variables.
10185 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10187 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10188 Add export, import, library. (Bug#9164)
10189 (library): Set indent function.
10191 2013-06-14 Glenn Morris <rgm@gnu.org>
10193 * term/xterm.el (xterm--query):
10194 Stop after first matching handler. (Bug#14615)
10196 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10198 Add support for dired in saveplace.
10199 * dired.el (dired-initial-position-hook): New variable.
10200 (dired-initial-position): Call hook to place cursor position.
10201 * saveplace.el (save-place-to-alist): Add dired position.
10202 (save-place-dired-hook): New function.
10204 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10206 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10207 through a symbol rather than letrec.
10209 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10210 (package-desc): Add `dir' field.
10211 (package-desc-full-name): New function.
10212 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10213 (package-maybe-load-descriptor): Remove.
10214 (package-load-all-descriptors): Just call package-load-descriptor.
10215 (package--disabled-p): New function.
10216 (package-desc-vers, package-desc-doc): Remove aliases.
10217 (package--dir): Remove function.
10218 (package-activate): Check if a package is disabled.
10219 (package-process-define-package): New function, extracted from
10221 (define-package): Turn into a place holder.
10222 (package-unpack-single, package-tar-file-info):
10223 Use package--description-file.
10224 (package-compute-transaction): Use package--disabled-p.
10225 (package-download-transaction): Don't call
10226 package-maybe-load-descriptor since they're all loaded anyway.
10227 (package-install): Change argument to be a pkg-desc.
10228 (package-delete): Use a single pkg-desc argument.
10229 (describe-package-1): Use package-desc-dir instead of package--dir.
10230 Use package-desc property instead of package-symbol.
10231 (package-install-button-action): Adjust accordingly.
10232 (package--push): Rewrite.
10233 (package-menu--print-info): Adjust accordingly. Change the ID format
10235 (package-menu-describe-package, package-menu-get-status)
10236 (package-menu--find-upgrades, package-menu-mark-upgrades)
10237 (package-menu-execute, package-menu--name-predicate):
10238 Adjust accordingly.
10239 * startup.el (package--description-file): New function.
10240 (command-line): Use it.
10241 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10242 Use package-desc-version.
10244 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10245 (byte-compile-preprocess): Use it.
10246 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10247 can't quite recognize.
10248 (byte-compile-add-to-list): Remove.
10249 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10250 (cconv-closure-convert): Add assertion.
10252 * emacs-lisp/map-ynp.el: Use lexical-binding.
10253 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10254 Factor out some repeated code.
10256 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10258 * subr.el (with-eval-after-load): New macro.
10259 (eval-after-load): Allow form to be a function.
10260 take advantage of lexical-binding.
10261 (do-after-load-evaluation): Use dolist and adjust to new format.
10262 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10264 2013-06-13 Juri Linkov <juri@jurta.org>
10266 * replace.el (perform-replace): Display "symbol " and other search
10267 modes from `isearch-message-prefix' in the *Help* buffer.
10269 * isearch.el (isearch-query-replace): Add " symbol" and other
10270 possible search modes from `isearch-message-prefix' to the prompt.
10271 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10272 when reading a regexp to collect.
10274 2013-06-13 Juri Linkov <juri@jurta.org>
10276 * isearch.el (word-search-regexp): Match whitespace if the search
10277 string begins or ends in whitespace. The LAX arg is applied to
10278 both ends of the search string. Use `regexp-quote' and explicit
10279 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10280 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10281 boundaries are replaced with symbol boundaries, and characters
10282 between symbols match non-word non-symbol syntax. (Bug#14602)
10284 2013-06-13 Juri Linkov <juri@jurta.org>
10286 * isearch.el (isearch-del-char): Don't exceed the length of
10287 `isearch-string' by the prefix arg. (Bug#14563)
10289 2013-06-13 Juri Linkov <juri@jurta.org>
10291 * isearch.el (isearch-yank-word, isearch-yank-line)
10292 (isearch-char-by-name, isearch-quote-char)
10293 (isearch-printing-char, isearch-process-search-char):
10294 Add optional count prefix arg. (Bug#14563)
10296 * international/isearch-x.el
10297 (isearch-process-search-multibyte-characters):
10298 Add optional count prefix arg.
10300 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10302 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10303 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10306 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10308 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10310 2013-06-13 Glenn Morris <rgm@gnu.org>
10312 * startup.el (tty-handle-args):
10313 Don't just discard "--" and anything after. (Bug#14608)
10315 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10317 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10319 Implement changes in Secret Service API. Make it backward compatible.
10320 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10321 (secrets-create-item): Use it. Prefix properties with interface.
10323 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10325 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10326 (term-emulate-terminal): Respect term-suppress-hard-newline.
10328 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10330 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10331 Only remove a `thumb-file' overlay. (Bug#14548)
10333 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10335 * mail/reporter.el (reporter-submit-bug-report):
10336 Handle missing package-name. (Bug#14600)
10338 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10340 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10341 (reftex-citation-prompt, reftex-default-bibliography)
10342 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10343 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10344 (reftex-bib-sort-author, reftex-bib-sort-year)
10345 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10346 (reftex-extract-bib-entries-from-thebibliography)
10347 (reftex-get-bibkey-default, reftex-get-bib-names)
10348 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10349 (reftex-format-bib-entry, reftex-parse-bibitem)
10350 (reftex-format-bibitem, reftex-do-citation)
10351 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10352 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10353 (reftex-insert-bib-matches, reftex-format-citation)
10354 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10355 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10356 existing comments into docstrings.
10358 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10360 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10362 2013-06-12 Andreas Schwab <schwab@suse.de>
10364 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10365 for auto-save files.
10367 2013-06-12 Glenn Morris <rgm@gnu.org>
10369 * ido.el (ido-delete-ignored-files): Remove.
10370 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10371 Go back to calling ido-ignore-item-p directly.
10373 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10375 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10377 * ido.el (ido-delete-ignored-files): New function,
10378 split from ido-make-file-list-1.
10379 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10380 (ido-make-file-list-1): Use ido-delete-ignored-files.
10382 2013-06-12 Leo Liu <sdl.web@gmail.com>
10384 * progmodes/octave.el (inferior-octave-startup)
10385 (inferior-octave-completion-table)
10386 (inferior-octave-track-window-width-change)
10387 (octave-eldoc-function-signatures, octave-help)
10388 (octave-find-definition): Use single quoted strings.
10389 (inferior-octave-startup-args): Change default value.
10390 (inferior-octave-startup): Do not hard code "-i" and
10391 "--no-line-editing".
10392 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10393 (inferior-octave-directory-tracker): Use it.
10394 (octave-goto-function-definition): Robustify.
10395 (octave-help): Support highlighting operators in 'See also'.
10396 (octave-find-definition): Find subfunctions only in Octave mode.
10398 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10400 * help-fns.el (help-fns--compiler-macro): If the handler function is
10401 named, then put a link to it.
10402 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10403 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10404 (cl-typep): Use it.
10405 (cl-eval-when): Simplify debug spec.
10406 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10407 compiler-macro function instead of setting `compiler-macro-file'.
10409 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10411 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10412 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10414 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10415 Daniel Hackney <dan@haxney.org>
10417 First part of Daniel Hackney's patch to package.el.
10418 * emacs-lisp/package.el: Use defstruct.
10419 (package-desc): New, main struct.
10420 (package--bi-desc, package--ac-desc): New structs, used to describe the
10421 format in external files.
10422 (package-desc-vers): Replace with package-desc-version accessor.
10423 (package-desc-doc): Replace with package-desc-summary accessor.
10424 (package-activate-1): Remove `package' arg since the pkg-vec now
10426 (define-package): Use package-desc-from-define.
10427 (package-unpack-single): Change file-name arg to be a symbol.
10428 (package--add-to-archive-contents): Use package-desc-create and new
10429 accessor functions to package--ac-desc.
10430 (package-buffer-info, package-tar-file-info): Return a package-desc.
10431 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10432 arg to be a package-desc.
10433 (package-install-file): Adjust accordingly. Use \' to match EOS.
10434 (package--from-builtin): New function.
10435 (describe-package-1, package-menu--generate): Use it.
10436 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10437 (package-generate-autoloads): Idem and return the name of the file.
10438 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10439 Change pkg-info arg to be a package-desc.
10440 Use package-make-ac-desc.
10441 (package-upload-file): Use \' to match EOS.
10442 * finder.el (finder-compile-keywords): Use package-make-builtin.
10444 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10446 * vc/vc.el (vc-deduce-fileset): Change error message.
10447 (vc-read-backend): New function.
10448 (vc-next-action): Use it.
10450 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10452 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10453 (prolog-font-lock-keywords): Use regexp-opt instead.
10454 Don't manually highlight strings.
10455 (prolog-mode-variables): Simplify comment-start-skip.
10456 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10458 * emacs-lisp/generic.el (generic--normalise-comments)
10459 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10460 (generic-mode-set-comments): Use them.
10461 (generic-bracket-support): Use setq-local.
10462 (generic-make-keywords-list): Declare obsolete.
10464 2013-06-11 Glenn Morris <rgm@gnu.org>
10466 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10467 Prettify after setting font-lock-defaults. (Bug#14574)
10469 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10471 * replace.el (query-replace, occur-read-regexp-defaults-function)
10473 * subr.el (declare-function, number-sequence, local-set-key)
10474 (substitute-key-definition, locate-user-emacs-file)
10475 (with-silent-modifications, split-string, eval-after-load):
10476 Fix typos, remove unneeded backslashes and reflow some docstrings.
10478 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10480 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10481 default for Elisp files.
10483 2013-06-11 Glenn Morris <rgm@gnu.org>
10485 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10486 although define-derived-mode was doing this anyway. (Bug#14583)
10488 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10490 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10491 Fix make-variable-buffer-local call to refer to the correct variable.
10493 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10495 * eshell/em-term.el (eshell-visual-commands)
10496 (eshell-visual-subcommands, eshell-visual-options):
10497 Add summary line to docstrings. Add cross-references.
10499 2013-06-10 Glenn Morris <rgm@gnu.org>
10501 * epa.el (epa-read-file-name): New function. (Bug#14510)
10502 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10504 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10506 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10507 output redirection to be ignored with visual commands.
10509 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10511 * eshell/em-term.el (eshell-visual-command-p): New function.
10512 (eshell-term-initialize): Move long lambda to separate function
10513 eshell-visual-command-p.
10514 * eshell/em-dirs.el (eshell-dirs-initialise):
10515 * eshell/em-script.el (eshell-script-initialize):
10516 Add missing #' to lambda.
10518 2013-06-08 Leo Liu <sdl.web@gmail.com>
10520 * progmodes/octave.el (octave-add-log-current-defun): New function.
10521 (octave-mode): Set add-log-current-defun-function.
10522 (octave-goto-function-definition): Do not move point if not found.
10523 (octave-find-definition): Enhance to try subfunctions first.
10525 2013-06-08 Glenn Morris <rgm@gnu.org>
10527 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10528 (byte-compile-backward-char, byte-compile-backward-word):
10529 Improve previous change, to handle non-explicit nil.
10531 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10533 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10534 (smie--opener/closer-at-point): New function.
10535 (smie--matching-block-data): Use it. Don't match from right after an
10536 opener or right before a closer. Obey smie-blink-matching-inners.
10537 Don't signal a mismatch for repeated inners like "switch..case..case".
10539 2013-06-07 Leo Liu <sdl.web@gmail.com>
10541 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10543 (octave-function-header-regexp): Fix. (Bug#14570)
10544 (octave-help-mode-finish-hook, octave-help-mode-finish):
10545 Remove. Just use temp-buffer-show-hook.
10547 * newcomment.el (comment-search-backward): Revert last change.
10550 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10552 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10554 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10555 through xargs, to avoid failure due to MS-Windows limitations on
10556 command-line length.
10558 2013-06-06 Glenn Morris <rgm@gnu.org>
10560 * font-lock.el (lisp-font-lock-keywords-2):
10561 Treat user-error like error.
10563 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10564 (byte-compile-backward-char, byte-compile-backward-word):
10565 Handle explicit nil arguments. (Bug#14565)
10567 2013-06-05 Alan Mackenzie <acm@muc.de>
10569 * isearch.el (isearch-allow-prefix): New user option.
10570 (isearch-other-meta-char): Don't exit isearch when a prefix
10571 argument is typed whilst `isearch-allow-prefix' is non-nil.
10574 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10576 * autorevert.el (auto-revert-notify-handler): Use memq.
10577 Hide assertion failure.
10579 * skeleton.el: Use cl-lib.
10580 (skeleton-further-elements): Use defvar-local.
10581 (skeleton-insert): Use cl-progv.
10583 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10585 * progmodes/prog-mode.el (prog-prettify-symbols)
10586 (prog-prettify-install): Update docstrings.
10588 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10590 * simple.el: Move all the prog-mode code to prog-mode.el.
10591 * progmodes/prog-mode.el: New file.
10592 * loadup.el: Add prog-mode.el.
10594 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10596 * simple.el (prog-prettify-symbols): Add version.
10597 (prog-prettify-install): Add convenience function to prettify symbols.
10599 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10600 (perl--augmented-font-lock-keywords-1)
10601 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10602 variables and use it.
10604 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10605 (cfengine3-mode): Remove unneeded variable and use it.
10607 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10608 (lisp--augmented-font-lock-keywords-1)
10609 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10610 Remove unneeded variables and use it.
10612 2013-06-05 João Távora <joaotavora@gmail.com>
10614 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10615 to point when opening the connection. (Bug#14380)
10617 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10619 * subr.el (load-history-regexp, load-history-filename-element)
10620 (eval-after-load, after-load-functions, do-after-load-evaluation)
10621 (eval-next-after-load, display-delayed-warnings)
10622 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10623 definition of save-match-data.
10624 (overriding-local-map): Remove accidental obsolescence declaration.
10626 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10628 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10630 Generalize symbol prettify support to prog-mode and implement it
10631 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10632 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10633 (prog--prettify-font-lock-compose-symbol)
10634 (prog-prettify-font-lock-symbols-keywords): New variables and
10635 functions to support symbol prettification.
10636 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10637 (lisp--augmented-font-lock-keywords-1)
10638 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10639 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10640 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10641 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10642 Implement prettify of -> => :: strings.
10643 * progmodes/perl-mode.el (perl-prettify-symbols)
10644 (perl--font-lock-compose-symbol)
10645 (perl--font-lock-symbols-keywords): Move to prog-mode.
10646 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10647 (perl-font-lock-keywords-1)
10648 (perl-font-lock-keywords-2): Remove explicit prettify support.
10649 (perl--augmented-font-lock-keywords)
10650 (perl--augmented-font-lock-keywords-1)
10651 (perl--augmented-font-lock-keywords-2, perl-mode):
10652 Implement prettify support.
10654 2013-06-05 Leo Liu <sdl.web@gmail.com>
10656 Re-implement smie matching block highlight using
10657 show-paren-data-function. (Bug#14395)
10658 * emacs-lisp/smie.el (smie-matching-block-highlight)
10659 (smie--highlight-matching-block-overlay)
10660 (smie--highlight-matching-block-lastpos)
10661 (smie-highlight-matching-block)
10662 (smie-highlight-matching-block-mode): Remove.
10663 (smie--matching-block-data-cache): New variable.
10664 (smie--matching-block-data): New function.
10665 (smie-setup): Use smie--matching-block-data for
10666 show-paren-data-function.
10668 * progmodes/octave.el (octave-mode-menu): Fix.
10669 (octave-find-definition): Skip garbage lines.
10671 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10673 Fix compilation error with simultaneous dynamic+lexical scoping.
10674 Add warning when a defvar appears after the first let-binding.
10675 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10676 (byte-compile-close-variables): Initialize it.
10677 (byte-compile--declare-var): New function.
10678 (byte-compile-file-form-defvar)
10679 (byte-compile-file-form-define-abbrev-table)
10680 (byte-compile-file-form-custom-declare-variable): Use it.
10681 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10682 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10683 (byte-compile-bind): Handle dynamic bindings that shadow
10685 (byte-compile-unbind): Make arg non-optional.
10686 (byte-compile-let): Simplify.
10687 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10688 (cconv--analyse-function, cconv-analyse-form): Populate it.
10689 Protect byte-compile-bound-variables to limit the scope of defvars.
10690 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10691 Remove unneeded rule for `declare'.
10693 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10694 so as to avoid depending on cl-adjoin at run-time.
10695 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10697 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10698 (macroexp--warn-and-return): Use it.
10700 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10702 * subr.el: Convert to lexical binding.
10703 (overriding-local-map): Make obsolete.
10704 (add-to-list): Doc fix. Add compiler macro.
10705 (read-key): Swap values of local maps.
10707 2013-06-05 Leo Liu <sdl.web@gmail.com>
10709 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10711 2013-06-04 Leo Liu <sdl.web@gmail.com>
10713 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10714 (compilation-auto-jump): Suppress the "Mark set" message to give
10715 way to exit message.
10717 2013-06-04 Alan Mackenzie <acm@muc.de>
10719 Remove faulty optimisation from indentation calculation.
10720 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10721 search limit based on 2000 characters back from indent-point.
10723 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10725 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10727 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10729 * emacs-lisp/lisp.el: Use lexical-binding.
10730 (lisp--local-variables-1, lisp--local-variables): New functions.
10731 (lisp--local-variables-completion-table): New var.
10732 (lisp-completion-at-point): Use it complete let-bound vars.
10734 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10735 eagerly (bug#14422).
10737 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10739 * autorevert.el (auto-revert-notify-enabled)
10740 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10741 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10742 (auto-revert-notify-handler): Handle also gfilenotify.
10744 * subr.el (file-notify-handle-event): New defun. Replacing ...
10745 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10748 2013-06-03 Juri Linkov <juri@jurta.org>
10750 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10751 `M-s h .'. (Bug#14427)
10753 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10754 command `hi-lock-face-symbol-at-point'.
10755 (hi-lock-face-symbol-at-point): New command.
10756 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10757 (hi-lock-menu): Add `highlight-symbol-at-point'.
10758 (hi-lock-mode): Doc fix.
10760 * isearch.el (isearch-forward-symbol-at-point): New command.
10761 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10762 (isearch-highlight-regexp): Add a regexp which matches
10763 words/symbols for word/symbol mode.
10765 * subr.el (find-tag-default-bounds): New function with the body
10766 mostly moved from `find-tag-default'.
10767 (find-tag-default): Move most code to `find-tag-default-bounds',
10768 call it and apply `buffer-substring-no-properties' afterwards.
10770 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10772 * eshell/em-term.el (eshell-term-initialize):
10773 Use `cl-intersection' rather than `intersection'.
10775 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10777 * vc/log-view.el: Doc fix.
10778 (log-view-mode-map): Copy keymap from `special-mode-map'.
10780 2013-06-02 Eric Ludlam <zappo@gnu.org>
10782 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10783 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10784 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10785 (eieio-unbound, eieio-default-superclass)
10786 (eieio--define-field-accessors, method-static, method-before)
10787 (method-primary, method-after, method-num-lists)
10788 (method-generic-before, method-generic-primary)
10789 (method-generic-after, method-num-slots)
10790 (eieio-specialized-key-to-generic-key)
10791 (eieio--check-type, class-v, class-p)
10792 (eieio-class-name, define-obsolete-function-alias)
10793 (eieio-class-parents-fast, eieio-class-children-fast)
10794 (same-class-fast-p, class-constructor, generic-p)
10795 (generic-primary-only-p, generic-primary-only-one-p)
10796 (class-option-assoc, class-option, eieio-object-p)
10797 (class-abstract-p, class-method-invocation-order)
10798 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10799 (eieio-class-un-autoload, eieio-defclass)
10800 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10801 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10802 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10803 (eieio-defgeneric-reset-generic-form)
10804 (eieio-defgeneric-form-primary-only)
10805 (eieio-defgeneric-reset-generic-form-primary-only)
10806 (eieio-defgeneric-form-primary-only-one)
10807 (eieio-defgeneric-reset-generic-form-primary-only-one)
10808 (eieio-unbind-method-implementations)
10809 (eieio--defmethod, eieio--typep)
10810 (eieio-perform-slot-validation, eieio-validate-slot-value)
10811 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10812 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10813 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10814 (eieio-slot-name-index, eieio-class-slot-name-index)
10815 (eieio-set-defaults, eieio-initarg-to-attribute)
10816 (eieio-attribute-to-initarg, eieio-c3-candidate)
10817 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10818 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10819 (eieio-class-precedence-list, eieio-generic-call-methodname)
10820 (eieio-generic-call-arglst, eieio-generic-call-key)
10821 (eieio-generic-call-next-method-list)
10822 (eieio-pre-method-execution-functions, eieio-generic-call)
10823 (eieio-generic-call-primary-only, eieiomt-method-list)
10824 (eieiomt-optimizing-obarray, eieiomt-install)
10825 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10826 (eieio-generic-form, eieio-defmethod, make-obsolete)
10827 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10828 (defclass): Remove `eval-and-compile' from macro.
10829 (call-next-method, shared-initialize): Instead of using
10830 `scoped-class' variable, use new eieio--scoped-class, and
10831 eieio--with-scoped-class.
10832 (initialize-instance): Rename local variable 'scoped-class' to
10833 'this-class' to remove ambiguitity from old global.
10835 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10837 (eieio--scoped-class-stack): New variable.
10838 (eieio--scoped-class): New fcn.
10839 (eieio--with-scoped-class): New scoping macro.
10840 (eieio-defclass): Use pushnew instead of add-to-list.
10841 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10842 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10843 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10844 `scoped-class' variable, use new eieio--scoped-class, and
10845 eieio--with-scoped-class.
10847 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10849 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10851 * eshell/esh-ext.el (eshell-external-command): Pass args to
10852 `eshell-find-interpreter'.
10853 (eshell-find-interpreter): Add new second parameter ARGS.
10855 * eshell/em-script.el (eshell-script-initialize): Add second arg
10856 to the function added as MATCH to `eshell-interpreter-alist'.
10858 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10859 the function added as MATCH to `eshell-interpreter-alist'.
10861 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10862 (eshell-visual-options): New defcustom.
10863 (eshell-escape-control-x): Adapt docstring.
10864 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10865 `eshell-visual-options' in addition to `eshell-visual-commands'.
10866 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10868 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10870 * progmodes/python.el (python-indent-block-enders): Add break,
10871 continue and raise keywords.
10873 2013-06-01 Glenn Morris <rgm@gnu.org>
10875 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10877 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10878 * progmodes/cc-cmds.el (delete-forward-p):
10879 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10880 * progmodes/cc-engine.el (buffer-syntactic-context):
10881 * progmodes/cc-fonts.el (face-property-instance):
10882 * progmodes/cc-mode.el (set-keymap-parents):
10883 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10884 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10885 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10886 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10887 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10889 * progmodes/cc-vars.el (other): Emacs has this widget since
10890 at least 21.1, so don't (re)define it.
10892 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10893 Replace the obsolete alias pcomplete-arg-quote-list.
10895 2013-06-01 Leo Liu <sdl.web@gmail.com>
10897 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10898 punctuation syntax.
10899 (inferior-octave-minimal-columns)
10900 (inferior-octave-last-column-width): New variables.
10901 (inferior-octave-track-window-width-change): New function.
10902 (inferior-octave-mode): Adjust column width so that Octave output,
10903 for example from 'ls', can fit into the window nicely.
10905 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10907 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10908 Highlight expansions inside regexp literals.
10910 2013-05-31 Glenn Morris <rgm@gnu.org>
10912 * obsolete/sym-comp.el (symbol-complete):
10913 Replace obsolete completion-annotate-function.
10915 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10917 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10919 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10920 New function, checks if point is inside a literal that allows
10921 expression expansion.
10922 (ruby-syntax-propertize-expansion): Use it.
10923 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10926 2013-05-30 Juri Linkov <juri@jurta.org>
10928 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10930 (isearch-invisible): New variable.
10931 (isearch-forward): Doc fix.
10932 (isearch-mode): Set `isearch-invisible'
10933 to the value of `search-invisible'.
10934 (isearch-toggle-case-fold): Doc fix.
10935 (isearch-toggle-invisible): New command.
10936 (isearch-query-replace): Let-bind `search-invisible'
10937 to the value of `isearch-invisible'.
10938 (isearch-search): Use `isearch-invisible' instead of
10939 `search-invisible'. Let-bind `search-invisible'
10940 to the value of `isearch-invisible'. (Bug#11378)
10942 2013-05-30 Juri Linkov <juri@jurta.org>
10944 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10945 call when `query-flag' is nil and `search-invisible' is non-nil.
10948 2013-05-30 Glenn Morris <rgm@gnu.org>
10950 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10952 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10953 (cc-require): Suppress spurious "noruntime" warnings.
10954 (cc-require-when-compile): Use fboundp, for sake of compiler.
10956 * progmodes/cc-mode.el: Move load of cc-vars before that of
10957 cc-langs (which in turn loads cc-vars), to quieten compiler.
10959 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10961 * paren.el: Simplify the code.
10962 (show-paren-mode): Always start the timer.
10963 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10964 (show-paren--overlay, show-paren--overlay-1): Rename from
10965 show-paren-overlay and show-paren-overlay-1, and initialize to an
10966 overlay rather than to nil.
10967 (show-paren-function): Misc cleanup and simplifications.
10969 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10971 * paren.el (show-paren-data-function): New hook.
10972 (show-paren--default): New function, extracted from show-paren-function.
10973 (show-paren-function): Use show-paren-data-function.
10975 2013-05-30 Glenn Morris <rgm@gnu.org>
10977 * ielm.el (ielm-map, ielm-complete-symbol):
10978 Use completion-at-point rather than obsolete functions.
10979 (inferior-emacs-lisp-mode): Doc fix.
10980 Set completion-at-point-functions, rather than
10981 comint-dynamic-complete-functions.
10983 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10984 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10985 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10987 * image.el (image-animated-p): Tweak definition.
10989 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10990 (rlogin-process-connection-type): Tweak default. Add set-after.
10991 (rlogin-host): Doc fix.
10992 (rlogin): Tweak prompt.
10993 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10995 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10996 * progmodes/tcl.el (inferior-tcl-mode-map):
10997 Use completion-at-point rather than obsolete alias.
10999 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
11001 * minibuffer.el (read-file-name-completion-ignore-case):
11002 Move before completion--in-region, for eager macro expansion.
11004 2013-05-29 Juri Linkov <juri@jurta.org>
11006 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
11007 for total count of matching lines. Add `global-matches' for total
11008 count of matches. Rename `matches' to `lines' for count of
11009 matching lines. Add `matches' for count of matches.
11010 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
11011 to `prev-line' for line number of prev match endpt.
11012 Increment `matches' for every match. Print the number of
11013 matching lines in the header.
11014 (occur-context-lines): Rename `lines' to `curr-line'.
11015 Rename `prev-lines' to `prev-line'. (Bug#14017)
11017 2013-05-29 Juri Linkov <juri@jurta.org>
11019 * replace.el (perform-replace): Add `skip-read-only-count',
11020 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
11021 Increment them for corresponding conditions and report the number
11022 of skipped occurrences in the final message. (Bug#11746)
11023 (query-replace, query-replace-regexp, query-replace-regexp-eval)
11024 (replace-string, replace-regexp): Doc fix.
11026 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
11028 * emacs-lisp/trace.el (trace--read-args): Provide a default.
11030 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11031 prog-mode-map (bug#14504).
11033 2013-05-29 Leo Liu <sdl.web@gmail.com>
11035 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11036 (octave-help): Small simplification.
11038 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11039 off the highlight first.
11041 2013-05-29 Glenn Morris <rgm@gnu.org>
11043 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11044 Handle idlwave-last-system-routine-info-cons-cell being nil.
11046 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11047 (idlwave-write-paths): Simplify via with-temp-buffer.
11049 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11050 * emulation/cua-rect.el: Also load cua-base at run time.
11052 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11053 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11054 (cperl-imenu-on-info): Require imenu.
11056 2013-05-28 Alan Mackenzie <acm@muc.de>
11058 Handle "capitalised keywords" correctly.
11059 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11061 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11063 * eshell/em-unix.el: Add -r option to cp.
11065 2013-05-28 Glenn Morris <rgm@gnu.org>
11067 * vc/vc-arch.el (vc-exec-after): Declare.
11068 (vc-switches): Autoload.
11069 * vc/vc-bzr.el: No need to require vc when compiling.
11070 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11071 (vc-resynch-buffer, vc-dir-refresh): Declare.
11072 (vc-setup-buffer, vc-switches): Autoload.
11073 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11074 (vc-resynch-buffer): Declare.
11075 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11076 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11077 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11078 (grep-read-regexp, grep-read-files, grep-expand-template)
11079 (vc-dir-refresh): Declare.
11080 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11081 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11082 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11083 * vc/vc-mtn.el (vc-exec-after): Declare.
11084 (vc-switches): Autoload.
11085 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11086 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11087 (vc-file-tree-walk): Declare.
11088 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11089 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11090 (vc-tag-precondition, vc-rename-master): Autoload.
11091 * vc/vc-svn.el (vc-exec-after): Declare.
11092 (vc-switches, vc-setup-buffer): Autoload.
11093 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11095 (vc-resynch-buffer): Declare.
11097 * obsolete/fast-lock.el (byte-compile-warnings):
11098 Don't warn about obsolete features in this obsolete file.
11100 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11101 Move definition before use.
11103 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11104 (dun-unix-verbs): Remove dun-zippy.
11105 (dun-zippy): Remove function.
11107 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11109 2013-05-27 Juri Linkov <juri@jurta.org>
11111 * replace.el (replace-search): New function with code moved out
11112 from `perform-replace'.
11113 (replace-highlight, replace-dehighlight): Move function definitions
11114 up closer to `replace-search'. (Bug#11746)
11116 2013-05-27 Juri Linkov <juri@jurta.org>
11118 * replace.el (perform-replace): Ignore invisible matches.
11119 In addition to checking `query-replace-skip-read-only', also
11120 filter out matches by calling `run-hook-with-args-until-failure'
11121 on `isearch-filter-predicates', and also check `search-invisible'
11122 for t or call `isearch-range-invisible'.
11123 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11125 2013-05-27 Juri Linkov <juri@jurta.org>
11127 * isearch.el (isearch-filter-predicates): Rename from
11128 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11129 (isearch-message-prefix): Display text from the property
11130 `isearch-message-prefix' of the currently active filters.
11131 (isearch-search): Don't compare `isearch-filter-predicate' with
11132 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11133 on `isearch-filter-predicates'. Also check `search-invisible' for t
11134 or call `isearch-range-invisible'.
11135 (isearch-filter-visible): Make obsolete.
11136 (isearch-lazy-highlight-search):
11137 Call `run-hook-with-args-until-failure' on
11138 `isearch-filter-predicates' and use `isearch-range-invisible'.
11140 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11141 `isearch-filter-predicates' instead of `funcall'ing
11142 `isearch-filter-predicate'.
11143 (Info-mode): Set `Info-isearch-filter' to
11144 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11146 * dired-aux.el (dired-isearch-filter-predicate-orig):
11148 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11149 (dired-isearch-filenames-end): Add and remove
11150 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11151 instead of changing the value of `isearch-filter-predicate'.
11152 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11153 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11154 Put property `isearch-message-prefix' to "filename " on
11155 `dired-isearch-filter-filenames'.
11157 * wdired.el (wdired-change-to-wdired-mode):
11158 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11159 locally instead of changing `isearch-filter-predicate'.
11160 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11162 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11164 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11165 return the commit hash (Bug#14459). Also set the
11166 `vc-git-detached' property.
11167 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11168 (vc-git-mode-line-string): Use the same help-echo format whether
11169 in detached mode or not, because we know the actual revision now.
11170 When in detached mode, shorten the revision to 7 chars.
11172 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11174 * emacs-lisp/easy-mmode.el (define-minor-mode):
11175 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11176 mode hook and provide a docstring.
11178 2013-05-27 Alan Mackenzie <acm@muc.de>
11180 Remove spurious syntax-table text properties inserted by C-y.
11181 * progmodes/cc-mode.el (c-after-change): Also clear hard
11182 syntax-table property with value nil.
11184 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11186 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11187 when reading the events; the buffer layout shall not be changed.
11189 2013-05-27 Leo Liu <sdl.web@gmail.com>
11191 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11193 (inferior-octave-directory-tracker): Automatically re-sync
11195 (octave-help): Improve handling of 'See also'.
11197 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11199 * doc-view.el: Minor naming convention tweaks.
11200 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11202 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11203 even if there's no `display' property yet (bug#14435).
11205 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11207 * subr.el (unmsys--file-name): Rename from reveal-filename.
11209 * Makefile.in (custom-deps, finder-data, autoloads)
11210 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11211 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11212 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11214 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11216 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11217 error-completion on the first 2 args of condition-case (bug#14446).
11220 2013-05-25 Leo Liu <sdl.web@gmail.com>
11222 * comint.el (comint-previous-matching-input): Do not flood the
11223 *Messages* buffer with trivial messages.
11225 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11227 * progmodes/flymake.el (flymake-nop): Don't return a string.
11228 (flymake-set-at): Fix typo.
11230 * simple.el (read--expression): New function, extracted from
11231 eval-expression. Set completion-at-point-functions (bug#14465).
11232 (eval-expression, eval-minibuffer): Use it.
11234 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11236 * progmodes/flymake.el (flymake-save-buffer-in-file)
11237 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11238 (flymake-selected-frame, flymake-log, flymake-ins-after)
11239 (flymake-set-at, flymake-get-buildfile-from-cache)
11240 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11241 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11242 Refine the doc string.
11243 (flymake-get-file-name-mode-and-masks): Reformat.
11244 (flymake-get-real-file-name-function): Fix a minor bug.
11246 2013-05-24 Juri Linkov <juri@jurta.org>
11248 * progmodes/grep.el (grep-mode-font-lock-keywords):
11249 Support =linenumber= format used by git-grep for lines with
11250 function names. (Bug#13549)
11252 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11254 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11255 0 after a semi-colon; it works better for smie-auto-fill.
11256 (octave--indent-new-comment-line): New function.
11257 (octave-indent-new-comment-line): Use it (indirectly).
11258 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11259 modify comment-line-break-function.
11261 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11262 (smie-setup): Use add-function to set it.
11264 2013-05-24 Sam Steingold <sds@gnu.org>
11266 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11267 argument (before the `interactive' argument).
11269 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11271 * image-mode.el (image-mode-winprops): Add winprops to
11272 image-mode-winprops-alist before running
11273 image-mode-new-window-functions.
11274 * doc-view.el (doc-view-new-window-function): Don't delay
11275 doc-view-goto-page via timers (bug#14435).
11277 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11279 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11280 (doc-view-desktop-save-buffer): New function.
11281 (doc-view-restore-desktop-buffer): New function.
11282 (desktop-buffer-mode-handlers):
11283 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11285 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11286 `desktop-save-buffer' function.
11288 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11290 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11291 (tramp-gvfs-file-name-handler): Raise a user error when
11292 `tramp-gvfs-enabled' is nil.
11293 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11294 Do not raise a user error when loading package. (Bug#14447)
11296 * net/xesam.el: Move to obsolete/.
11298 2013-05-24 Glenn Morris <rgm@gnu.org>
11300 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11302 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11304 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11305 (Info-find-node, Man-getpage-in-background): Declare.
11307 * mail/unrmail.el (unrmail):
11308 Replace obsolete detect-coding-with-priority.
11310 * net/socks.el (socks-split-string): Use this rather than split-string.
11311 (socks-nslookup-host): Update for above change.
11312 (dynamic-choice, s5-dynamic-choice-match)
11313 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11314 Comment out unused code.
11316 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11317 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11318 (gud-tooltip-echo-area): Make obsolete.
11319 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11321 * progmodes/js.el (js--optimize-arglist): Declare.
11323 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11325 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11326 (ediff-window-C): Declare.
11328 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11329 Tweak requires to silence compiler.
11331 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11332 (he-search-string, he-tried-table, he-expand-list)
11333 (he-init-string, he-string-member, he-substitute-string)
11334 (he-reset-string): Declare.
11336 * obsolete/options.el (list-options): Use custom-variable-p,
11337 rather than obsolete alias.
11339 2013-05-23 Sam Steingold <sds@gnu.org>
11341 * simple.el (shell-command-on-region): Pass the `replace' argument
11342 down to `call-process-region' to comply with the doc as reported on
11343 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11345 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11347 * emacs-lisp/smie.el (smie-indent-forward-token)
11348 (smie-indent-backward-token): Handle string tokens (bug#14381).
11350 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11352 * ielm.el (ielm-menu): New menu.
11353 (inferior-emacs-lisp-mode): Set comment-start.
11355 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11357 * textmodes/reftex.el (reftex-ref-style-toggle):
11358 Fix deactivate action.
11360 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11361 Add cleveref macros.
11363 * textmodes/reftex-parse.el
11364 (reftex-locate-bibliography-files): Accept options for
11365 bibliography commands.
11366 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11367 Add addbibresource. Basic Biblatex support.
11369 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11371 * net/tramp-gvfs.el (top):
11372 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11373 when loading package. (Bug#14447)
11375 2013-05-23 Glenn Morris <rgm@gnu.org>
11377 * progmodes/js.el: No need to load comint when compiling.
11378 (ring-insert, comint-send-string, comint-send-input)
11379 (comint-last-input-end, ido-chop): Declare.
11381 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11382 * vc/ediff-mult.el: Adjust requires.
11383 (ediff-directories-internal, ediff-directory-revisions-internal)
11384 (ediff-patch-file-internal): Declare.
11385 * vc/ediff-ptch.el: Adjust requires.
11386 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11387 (ediff-find-file): Autoload.
11388 * vc/ediff-util.el: No need to load ediff when compiling.
11389 (ediff-regions-internal): Declare.
11390 * vc/ediff-wind.el: Adjust requires.
11391 (ediff-compute-toolbar-width): Define when compiling.
11392 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11393 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11394 (dired-get-filename, dired-get-marked-files)
11395 (ediff-last-dir-patch, ediff-patch-default-directory)
11396 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11397 (ediff-patch-buffer-internal): Declare.
11399 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11400 (ispell-process, ispell-buffer-local-words, lm-summary)
11401 (lm-section-start, lm-section-end): Declare.
11402 (checkdoc-ispell-init): Simplify.
11404 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11405 (he-string-member, he-reset-string, he-substitute-string): Declare.
11407 * eshell/em-ls.el: Adjust requires.
11408 (eshell-glob-regexp): Declare.
11409 * eshell/em-tramp.el: Adjust requires.
11410 (eshell-parse-command): Autoload.
11411 * eshell/em-xtra.el: Adjust requires.
11412 (eshell-parse-command): Autoload.
11413 * eshell/esh-ext.el: Adjust requires.
11414 (eshell-parse-command, eshell-close-handles): Autoload.
11415 * eshell/esh-io.el: Adjust requires.
11416 (eshell-output-filter): Autoload.
11417 * eshell/esh-util.el: No need to load tramp when compiling.
11418 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11420 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11421 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11422 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11423 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11424 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11425 * eshell/esh-opt.el, eshell/esh-proc.el:
11426 * eshell/esh-var.el: Adjust requires.
11427 * eshell/eshell.el: Do not require esh-util twice.
11428 (eshell-add-input-to-history): Declare.
11429 (eshell-command): Check history module is active before using it.
11431 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11433 2013-05-22 Leo Liu <sdl.web@gmail.com>
11435 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11437 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11439 * autorevert.el (auto-revert-notify-add-watch)
11440 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11441 it indicates changes in file modification time.
11443 2013-05-22 Glenn Morris <rgm@gnu.org>
11445 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11446 Always delete the autoloaded function from the noruntime and
11447 unresolved functions lists.
11449 * allout.el: No need to load epa, epg, overlay when compiling.
11450 (epg-context-set-passphrase-callback, epg-list-keys)
11451 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11452 (epg-key-user-id-list): Declare.
11454 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11455 (viper-set-parsing-style-toggling-macro)
11456 (viper-set-emacs-state-searchstyle-macros):
11457 Use called-interactively-p on Emacs.
11458 (viper-looking-back): Make it an obsolete alias. Update callers.
11459 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11460 Use looking-back rather than viper-looking-back.
11461 (viper-tmp-insert-at-eob, viper-enlarge-region)
11462 (viper-read-string-with-history, viper-register-to-point)
11463 (viper-append-to-register, viper-change-state-to-vi)
11464 (viper-backward-char-carefully, viper-forward-char-carefully)
11465 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11466 (viper-change-state-to-emacs): Declare.
11467 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11468 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11469 * emulation/viper-mous.el: Do not load viper-cmd.
11470 (viper-backward-char-carefully, viper-forward-char-carefully)
11471 (viper-forward-word, viper-adjust-window): Declare.
11473 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11475 * progmodes/idlw-help.el (idlwave-help-fontify):
11476 Use called-interactively-p.
11478 * term/w32console.el (w32-get-console-codepage)
11479 (w32-get-console-output-codepage): Declare.
11481 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11482 Remove unnecessary declarations.
11483 (dframe-message): Doc fix.
11485 * info.el (dframe-select-attached-frame, dframe-current-frame):
11488 * speedbar.el (speedbar-message): Make it an obsolete alias.
11489 Update all callers.
11490 (speedbar-with-attached-buffer)
11491 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11492 (speedbar-with-writable): Use backquote.
11493 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11494 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11495 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11496 rather than speedbar- aliases.
11497 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11498 (speedbar-make-specialized-keymap, speedbar-insert-button)
11499 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11500 (speedbar-do-function-pointer): Declare.
11501 (rmail-speedbar-button, rmail-speedbar-find-file)
11502 (rmail-speedbar-move-message):
11503 Use dframe-with-attached-buffer rather than speedbar- alias.
11504 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11505 (dframe-message, speedbar-make-specialized-keymap)
11506 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11507 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11508 (speedbar-insert-button, dframe-select-attached-frame)
11509 (dframe-maybee-jump-to-attached-frame)
11510 (speedbar-change-initial-expansion-list)
11511 (speedbar-previously-used-expansion-list-name): Declare.
11512 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11513 Use dframe-message, dframe-with-attached-buffer rather than
11515 (gud-sentinel): Silence compiler.
11516 * progmodes/vhdl-mode.el (speedbar-refresh)
11517 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11518 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11519 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11520 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11521 (speedbar-file-lists, speedbar-make-tag-line)
11522 (speedbar-line-directory, speedbar-goto-this-file)
11523 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11524 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11525 (speedbar-make-button, speedbar-reset-scanners)
11526 (speedbar-files-item-info, speedbar-line-text)
11527 (speedbar-find-file-in-frame, speedbar-set-timer)
11528 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11529 (speedbar-with-writable): Do not (re)define it.
11530 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11531 rather than speedbar- alias.
11533 2013-05-21 Leo Liu <sdl.web@gmail.com>
11535 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11537 (octave-mode): Tweak fill-nobreak-predicate.
11538 (inferior-octave-startup): Check process to avoid infinite loop.
11539 (inferior-octave): Pop to buffer first to show abornmal process
11542 2013-05-21 Glenn Morris <rgm@gnu.org>
11544 * printing.el (pr-menu-bar): Define when compiling.
11546 2013-05-21 Leo Liu <sdl.web@gmail.com>
11548 * progmodes/octave.el (octave-auto-fill): Remove.
11549 (octave-indent-new-comment-line): Improve.
11550 (octave-mode): Use auto fill mode through
11551 comment-line-break-function and fill-nobreak-predicate.
11552 (octave-goto-function-definition): Support DEFUN_DLD.
11553 (octave-beginning-of-defun): Small tweak.
11554 (octave-help): Show parent directory.
11556 2013-05-21 Glenn Morris <rgm@gnu.org>
11558 * files.el (dired-unmark):
11559 * progmodes/gud.el (gdb-input): Update declarations.
11561 * calculator.el (electric, ehelp): No need to load when compiling.
11562 (Electric-command-loop, electric-describe-mode): Declare.
11564 * doc-view.el (doc-view-current-converter-processes): Move before use.
11566 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11567 Move MODE-set-explicitly definition before use.
11569 * international/mule-diag.el (mule-diag):
11570 Don't use obsolete window-system-version.
11572 * mail/feedmail.el (smtpmail): No need to load when compiling.
11573 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11575 * mail/mail-utils.el (rfc822): No need to load when compiling.
11576 (rfc822-addresses): Autoload it.
11577 (mail-strip-quoted-names): Trivial simplification.
11579 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11580 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11582 * net/snmp-mode.el (tempo): Don't duplicate requires.
11584 * progmodes/prolog.el (info): No need to load when compiling.
11585 (comint): Require before shell requires it.
11586 (Info-goto-node): Autoload it.
11587 (Info-follow-nearest-node): Declare.
11588 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11590 * textmodes/artist.el (picture-mode-exit): Declare.
11592 * textmodes/reftex-parse.el (reftex-parse-from-file):
11593 Trivial rewrite so the compiler can parse it better.
11595 2013-05-20 Leo Liu <sdl.web@gmail.com>
11597 * progmodes/octave.el (octave-help-mode-map)
11598 (octave-help-mode-finish-hook): New variables.
11599 (octave-help-mode, octave-help-mode-finish): New functions.
11600 (octave-help): Use octave-help-mode.
11602 2013-05-20 Glenn Morris <rgm@gnu.org>
11604 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11606 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11608 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11609 start at point, so that expansion starting right after opening
11610 slash in a regexp is recognized.
11611 (ruby-syntax-before-regexp-re): New defvar, extracted from
11612 ruby-syntax-propertize-function. Since the value of this regexp
11613 is looked up at runtime now, we should be able to turn
11614 `ruby-syntax-methods-before-regexp' into a defcustom later.
11615 (ruby-syntax-propertize-function): Split regexp matching into two
11616 parts, for opening and closing slashes. That allows us to skip
11617 over string interpolations and support multiline regexps.
11618 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11619 for them, which calls `ruby-syntax-propertize-expansion'.
11620 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11621 call to `ruby-syntax-propertize-function'.
11622 (ruby-syntax-propertize-expansion): Extracted from
11623 `ruby-syntax-propertize-expansions'. Handles one expansion.
11624 (ruby-syntax-propertize-percent-literal): Leave point right after
11625 the percent symbol, so that the expression expansion rule can
11626 propertize the contents.
11627 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11629 (ruby-syntax-propertize-expansions): Remove.
11631 2013-05-18 Juri Linkov <juri@jurta.org>
11633 * man.el (Man-default-man-entry): Remove `-' from the end
11634 of the default value. (Bug#14400)
11636 2013-05-18 Glenn Morris <rgm@gnu.org>
11638 * comint.el (comint-password-prompt-regexp):
11639 Allow "password for XXX" where XXX contains colons (eg https://...).
11641 2013-05-18 Leo Liu <sdl.web@gmail.com>
11643 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11644 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11645 (octave-source-directories): Don't check process.
11646 (octave-source-directories, octave-find-definition): Doc fix.
11648 2013-05-18 Glenn Morris <rgm@gnu.org>
11650 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11651 Remove backspace/delete bindings. (Bug#14392)
11653 * cus-dep.el (custom-make-dependencies): Sort the output.
11654 (custom-versions-load-alist): Convert comment to doc.
11656 2013-05-17 Leo Liu <sdl.web@gmail.com>
11658 * newcomment.el (comment-search-backward): Stricter in finding
11659 comment start. (Bug#14303)
11661 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11662 (octave-comment-start-skip): Properly anchored.
11664 2013-05-17 Leo Liu <sdl.web@gmail.com>
11666 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11667 Clean up when turned off. (Bug#14395)
11668 (smie--highlight-matching-block-overlay): No longer buffer-local.
11669 (smie-highlight-matching-block): Adjust.
11671 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11673 Doc string fix for "nanoseconds" (Bug#14406).
11674 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11675 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11677 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11679 * calc/calc-units.el (math-extract-units): Preserve powers
11682 2013-05-17 Leo Liu <sdl.web@gmail.com>
11684 * subr.el (delete-consecutive-dups): New function.
11685 * ido.el (ido-set-matches-1): Use it.
11686 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11687 * ido.el (ido-remove-consecutive-dups): Remove.
11689 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11691 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11692 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11693 regexp-opt's `words'.
11695 2013-05-16 Leo Liu <sdl.web@gmail.com>
11697 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11698 (smie--highlight-matching-block-overlay)
11699 (smie--highlight-matching-block-lastpos)
11700 (smie--highlight-matching-block-timer): New variables.
11701 (smie-highlight-matching-block): New function.
11702 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11703 (smie-setup): Conditionally enable smie-blink-matching-open.
11705 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11707 Sync with upstream verilog-mode r840.
11708 * progmodes/verilog-mode.el (verilog-mode-version)
11709 (verilog-mode-release-date): Update.
11710 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11711 (verilog-sig-tieoff): Fix string error on
11712 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11713 (verilog-read-decls): Fix parameters confusing
11714 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11716 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11718 * subr.el (reveal-filename): New function.
11720 * loadup.el: Compute Emacs executable versions on MS-Windows,
11721 where executables have the .exe extension. Add a hard link
11722 emacs-XX.YY.ZZ.exe on MS-Windows.
11724 * Makefile.in (XARGS_LIMIT): New variable.
11725 (custom-deps, finder-data, autoloads)
11726 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11727 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11728 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11729 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11731 2013-05-16 Leo Liu <sdl.web@gmail.com>
11733 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11734 (octave-mode-menu, octave-mode-map): Remove its uses.
11736 2013-05-16 Reto Zimmermann <reto@gnu.org>
11738 Sync with upstream vhdl mode v3.34.2.
11739 * progmodes/vhdl-mode.el: Use `push' throughout.
11740 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11741 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11742 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11743 (vhdl-actual-generic-name): New option to derive actual generic name.
11744 (vhdl-port-paste-signals): Replace formal by actual generics.
11745 (vhdl-beautify): New name for old group vhdl-align. Update users.
11746 (vhdl-beautify-options): New option.
11747 (vhdl-last-input-event): New compat alias. Use throughout.
11748 (vhdl-goto-line): Replace user level function `goto-line'.
11749 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11750 vhdl-fix-statement-buffer.
11751 (vhdl-create-mode-menu): Add some entries.
11752 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11753 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11754 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11755 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11756 to force statements on one line.
11757 (vhdl-remove-trailing-spaces-region):
11758 New, split from vhdl-remove-trailing-spaces.
11759 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11760 Respect vhdl-beautify-options.
11761 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11762 (vhdl-update-sensitivity-list): Not add with index if exists without.
11763 Not include array index with signal. Ignore keywords in comments.
11764 (vhdl-get-visible-signals): Regexp tweaks.
11765 (vhdl-template-component-inst): Handle empty library.
11766 (vhdl-template-type): Add template for 'enum' type.
11767 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11768 Use vhdl-replace-string.
11769 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11770 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11771 (vhdl-speedbar-initialize): Update for above name change.
11772 (vhdl-compose-wire-components): Fix in handling of constants.
11773 (vhdl-error-regexp-emacs-alist): New variable.
11774 (vhdl-error-regexp-add-emacs): New function;
11775 adds support for new compile.el (Emacs 22+)
11776 (vhdl-generate-makefile-1): Change target order for single lib. units.
11777 Allow use of absolute file names.
11779 2013-05-16 Leo Liu <sdl.web@gmail.com>
11781 * simple.el (prog-indent-sexp): Indent enclosing defun.
11783 2013-05-15 Glenn Morris <rgm@gnu.org>
11785 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11786 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11787 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11788 (whitespace-highlight): Move to whitespace group.
11790 * comint.el (comint-source):
11791 * pcmpl-linux.el (pcmpl-linux):
11792 * shell.el (shell-faces):
11793 * eshell/esh-opt.el (eshell-opt):
11794 * international/ccl.el (ccl): Remove empty custom groups.
11796 * completion.el (dynamic-completion-mode):
11797 * jit-lock.el (jit-lock-debug-mode):
11798 * minibuffer.el (completion-in-region-mode):
11799 * type-break.el (type-break-mode-line-message-mode)
11800 (type-break-query-mode):
11801 * emulation/tpu-edt.el (tpu-edt-mode):
11802 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11803 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11804 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11806 * term/xterm.el (xterm): Change parent group to terminals.
11808 * master.el (master): Remove empty custom group.
11809 (master-mode): Remove unused :group argument.
11810 * textmodes/refill.el (refill): Remove empty custom group.
11811 (refill-mode): Remove unused :group argument.
11813 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11815 * cus-dep.el: Provide a feature.
11816 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11817 Don't mistakenly ignore files whose basenames match a basename
11818 from preloaded-file-list (eg cedet/ede/simple.el).
11819 Add a fallback method for getting :group.
11821 2013-05-15 Juri Linkov <juri@jurta.org>
11823 * isearch.el (isearch-char-by-name): Rename from
11824 `isearch-insert-char-by-name'. Doc fix.
11825 (isearch-forward): Mention `isearch-char-by-name' in
11826 the docstring. (Bug#13348)
11828 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11829 `exit-minibuffer' instead of
11830 `isearch-nonincremental-exit-minibuffer'.
11831 (isearch-edit-string): Remove mention of
11832 `isearch-nonincremental-exit-minibuffer' from docstring.
11833 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11834 (isearch-forward-exit-minibuffer)
11835 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11837 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11839 * loadup.el: Just use unversioned DOC.
11841 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11842 literals as extending to EOB.
11843 (nxml-last-fontify-end): Remove unused variable.
11844 (nxml-after-change1): Use with-silent-modifications.
11845 (nxml-extend-after-change-region): Simplify.
11846 (nxml-extend-after-change-region1): Remove function.
11847 (nxml-after-change1): Don't adjust for dependent regions.
11848 (nxml-fontify-matcher): Simplify.
11849 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11850 (xmltok-add-dependent): Remove function.
11851 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11852 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11853 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11854 unclosed <[[, <?, comment, and other literals as extending to EOB.
11855 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11856 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11858 (rng-do-some-validation-1): Don't mark dependent regions.
11859 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11860 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11861 (nxml-clear-dependent-regions): Remove functions.
11862 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11863 (nxml-ensure-scan-up-to-date):
11864 Don't clear&mark dependent regions.
11866 2013-05-15 Leo Liu <sdl.web@gmail.com>
11868 * progmodes/octave.el (octave-goto-function-definition):
11869 Improve and fix callers.
11871 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11873 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11874 the setter (bug#14387).
11876 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11877 surrounding group (bug#14402).
11879 2013-05-14 Juri Linkov <juri@jurta.org>
11881 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11884 2013-05-14 Glenn Morris <rgm@gnu.org>
11886 * progmodes/f90.el (f90-imenu-generic-expression):
11887 Fix typo in 2013-05-08 change. (Bug#14402)
11889 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11891 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11892 Remove signals for which replies are never received.
11894 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11896 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11897 (gdb-handler-alist, gdb-handler-number): Remove variables.
11898 (gdb-handler-list): New variable.
11899 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11900 (gdb-pending-handler-p, gdb-handle-reply)
11901 (gdb-remove-all-pending-triggers): New functions.
11902 (gdb-discard-unordered-replies): New defcustom.
11903 (gdb-handler): New defstruct.
11904 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11905 instead of gdb-pending-triggers. Update docstring.
11906 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11907 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11908 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11909 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11910 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11911 (gdb-frame-handler): Pending triggers are now automatically managed.
11912 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11914 (gdb-input): Automatically handles pending triggers. Update docstring.
11915 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11916 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11918 (gdb-done-or-error): Now use gdb-handle-reply.
11920 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11922 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11925 2013-05-14 Glenn Morris <rgm@gnu.org>
11927 * subr.el (user-emacs-directory-warning): New option.
11928 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11930 2013-05-14 Leo Liu <sdl.web@gmail.com>
11932 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11934 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11935 (octave-font-lock-texinfo-comment): Fix invalid search bound
11936 error: wrong side of point.
11938 2013-05-14 Glenn Morris <rgm@gnu.org>
11940 * progmodes/flymake.el (flymake-xml-program): New option.
11941 (flymake-xml-init): Use it.
11943 * term/xterm.el: Provide a feature.
11945 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11947 2013-05-13 Glenn Morris <rgm@gnu.org>
11949 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11950 Add compat aliases as a hack workaround. (Bug#14384)
11952 2013-05-13 Leo Liu <sdl.web@gmail.com>
11954 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11956 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11958 (octave-comment-start-skip): Include %!.
11959 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11961 2013-05-12 Leo Liu <sdl.web@gmail.com>
11963 * progmodes/octave.el (inferior-octave-startup): Store the value
11964 of __octave_srcdir__ for octave-source-directories.
11965 (inferior-octave-check-process): New function refactored out of
11966 inferior-octave-send-list-and-digest.
11967 (octave-source-directories)
11968 (octave-find-definition-filename-function): New variables.
11969 (octave-source-directories)
11970 (octave-find-definition-default-filename): New functions.
11971 (octave-find-definition): Improve to find functions implemented in C++.
11973 2013-05-12 Glenn Morris <rgm@gnu.org>
11975 * calendar/diary-lib.el (diary-outlook-format-1):
11976 Don't include dayname in the output. (Bug#14349)
11978 2013-05-11 Glenn Morris <rgm@gnu.org>
11980 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11982 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11983 Treat cc-provide like provide.
11985 2013-05-11 Kevin Ryde <user42@zip.com.au>
11987 * cus-dep.el (custom-make-dependencies):
11988 Use generated-autoload-load-name for the sake of files such
11989 such cedet/semantic/bovine/c.el, where the base file name
11990 is not in load-path. (Bug#5277)
11992 2013-05-11 Glenn Morris <rgm@gnu.org>
11994 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11997 2013-05-11 Leo Liu <sdl.web@gmail.com>
11999 * progmodes/octave.el (octave-indent-comment): Improve.
12000 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
12001 (octave-eldoc-function-signatures, octave-eldoc-function):
12003 (octave-mode, inferior-octave-mode): Add eldoc support.
12005 2013-05-11 Richard Stallman <rms@gnu.org>
12007 * epa.el (epa-decrypt-file): Take output file name as argument
12008 and read it using `interactive'.
12010 2013-05-11 Leo Liu <sdl.web@gmail.com>
12012 * progmodes/octave.el (octave-beginning-of-line)
12013 (octave-end-of-line): Check before using up-list because it jumps
12014 out of more syntactic contructs since moving to smie.
12015 (octave-indent-comment): New function.
12016 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
12017 (octave-begin-keywords, octave-end-keywords)
12018 (octave-reserved-words, octave-smie-bnf-table)
12019 (octave-smie-rules): Add new keywords from Octave 3.6.4.
12021 2013-05-11 Glenn Morris <rgm@gnu.org>
12023 * faces.el (internal-face-x-get-resource):
12024 * frame.el (ns-display-monitor-attributes-list):
12025 * calc/calc-aent.el (math-to-radians-2):
12026 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
12029 * calc/calc-menu.el: Make it loadable in isolation.
12031 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12032 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12033 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12034 (eudc-bbdb-query-internal): Require 'bbdb.
12036 * lpr.el (lpr-headers-switches):
12037 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12039 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12041 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12043 * term.el (term-set-escape-char): Make it idempotent.
12045 2013-05-10 Leo Liu <sdl.web@gmail.com>
12047 * progmodes/octave.el (inferior-octave-completion-table):
12048 No longer a function and all uses changed. Use cache to speed up
12049 completion due to bug#11906.
12050 (octave-beginning-of-defun): Re-write to be more general.
12052 2013-05-10 Glenn Morris <rgm@gnu.org>
12054 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12056 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12058 * comint.el (comint-redirect-send-command-to-process): Use :around
12059 rather than :override for comint-redirect-filter.
12060 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12061 Call it instead of comint-redirect-original-filter-function (which
12062 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12064 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12066 * frame.el (display-monitor-attributes-list): Add NS case.
12067 (ns-display-monitor-attributes-list): Declare.
12069 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12071 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12073 2013-05-09 Glenn Morris <rgm@gnu.org>
12075 * international/fontset.el (vertical-centering-font-regexp):
12076 Set standard-value.
12078 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12080 * bookmark.el (bookmark-search-delay):
12081 * cus-start.el (vertical-centering-font-regexp):
12082 * ps-mule.el (ps-mule-font-info-database-default):
12083 * ps-print.el (ps-default-fg, ps-default-bg):
12084 * type-break.el (type-break-good-break-interval):
12085 * whitespace.el (whitespace-indentation-regexp)
12086 (whitespace-space-after-tab-regexp):
12087 * emacs-lisp/testcover.el (testcover-1value-functions)
12088 (testcover-noreturn-functions, testcover-progn-functions)
12089 (testcover-prog1-functions):
12090 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12091 * eshell/em-glob.el (eshell-glob-translate-alist):
12092 * play/tetris.el (tetris-tty-colors):
12093 * progmodes/cpp.el (cpp-face-default-list):
12094 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12095 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12096 (idlwave-help-browser-generic-args):
12097 * progmodes/make-mode.el (makefile-special-targets-list):
12098 * progmodes/python.el (python-shell-virtualenv-path):
12099 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12100 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12101 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12102 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12103 * textmodes/reftex-vars.el (reftex-format-label-function):
12104 * textmodes/remember.el (remember-diary-file): Fix custom types.
12106 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12109 2013-05-09 Leo Liu <sdl.web@gmail.com>
12111 * progmodes/octave.el (inferior-octave-completion-at-point):
12112 Restore file completion. (Bug#14300)
12113 (inferior-octave-startup): Fix incorrect highlighting for the
12116 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12118 * progmodes/ruby-mode.el: First cut at SMIE support.
12119 (ruby-use-smie): New var.
12120 (ruby-smie-grammar): New constant.
12121 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12122 (ruby-smie--forward-token, ruby-smie--backward-token)
12123 (ruby-smie-rules): New functions.
12124 (ruby-mode-variables): Setup SMIE if applicable.
12126 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12128 * simple.el (line-move-visual): Signal beginning/end of buffer
12129 only if vertical-motion moved less than it was requested. Avoids
12130 silly incorrect error messages when there are display strings with
12131 multiple newlines at EOL.
12133 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12135 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12136 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12137 (prolog-char-quote-workaround):
12138 * progmodes/cperl-mode.el (cperl-under-as-char):
12139 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12141 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12143 (vhdl-mode-syntax-table-init): Remove.
12145 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12148 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12150 (ld-script-font-lock-keywords):
12151 Change regexps to use things like \_< and \_>.
12153 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12154 Change all regexps to use things like \_< and \_>.
12156 * progmodes/autoconf.el (autoconf-definition-regexp)
12157 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12158 Handle a _ with symbol syntax.
12159 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12161 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12162 Consolidate declaration.
12163 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12165 (ada-create-syntax-table): Remove.
12166 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12167 already has the right syntax nowadays.
12168 (ada-goto-next-word): Don't change the syntax of "_".
12170 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12173 2013-05-08 Sam Steingold <sds@gnu.org>
12175 * thingatpt.el (thing-at-point): Accept optional second argument
12176 NO-PROPERTIES to strip the text properties from the return value.
12177 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12178 to `thing-at-point' instead of stripping the properties ourselves.
12179 Also, when `thing-at-point' fails to find a url, prepend "http://"
12180 to the filename at point on the assumption that the user is
12181 pointing at something like gnu.org/gnu.
12183 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12185 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12186 * faces.el (crm-separator):
12187 Silence byte-compiler.
12189 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12190 (tool-bar-map): Remove unneeded defvars.
12192 2013-05-08 Leo Liu <sdl.web@gmail.com>
12194 Re-work a fix for bug#10994 based on Le Wang's patch.
12195 * ido.el (ido-remove-consecutive-dups): New helper.
12196 (ido-completing-read): Use it.
12197 (ido-chop): Revert fix for bug#10994.
12199 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12201 * cus-edit.el (custom-save-variables):
12202 Pretty-print long values. (Bug#14187)
12204 2013-05-08 Glenn Morris <rgm@gnu.org>
12206 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12207 (m4-mode-syntax-table): Init in the defvar.
12208 (m4-mode-abbrev-table): Let define-derived-mode define it.
12210 2013-05-08 Tom Tromey <tromey@redhat.com>
12212 * progmodes/m4-mode.el (m4-mode-syntax-table):
12213 Do not treat "_" as word constituent. (Bug#14167)
12215 2013-05-07 Glenn Morris <rgm@gnu.org>
12217 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12218 Remove explicit eshell-isearch-cancel-map.
12220 * progmodes/f90.el (f90-smart-end-names): New option.
12221 (f90-smart-end): Doc fix.
12222 (f90-end-block-optional-name): New constant.
12223 (f90-block-match): Respect f90-smart-end-names.
12225 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12227 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12228 about implicit semi-colons (bug#14218).
12230 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12232 * frame.el (display-monitor-attributes-list)
12233 (frame-monitor-attributes): New functions.
12235 2013-05-06 Leo Liu <sdl.web@gmail.com>
12237 * progmodes/octave.el (octave-syntax-propertize-function): Change
12238 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12239 (octave-font-lock-keywords): Use octave-operator-regexp.
12240 (octave-completion-at-point): Rename from
12241 octave-completion-at-point-function.
12242 (inferior-octave-directory-tracker): Robustify.
12243 (octave-text-functions): Remove and fix its uses. No such things
12246 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12248 * emacs-lisp/trace.el (trace--display-buffer): New function.
12249 (trace-make-advice): Use it.
12251 2013-05-06 Juri Linkov <juri@jurta.org>
12253 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12254 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12256 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12257 in the help string. (Bug#12985)
12259 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12261 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12263 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12265 * progmodes/perl-mode.el: Add support for here documents.
12266 (perl-syntax-propertize-function): Match here-doc markers.
12267 (perl-syntax-propertize-special-constructs): Find their end.
12268 (perl-imenu-generic-expression): Use [:alnum:].
12270 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12271 (advice--add-function): Refresh the advice if already present
12274 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12276 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12278 2013-05-06 Glenn Morris <rgm@gnu.org>
12280 * w32-fns.el (w32-charset-info-alist): Declare.
12282 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12283 of its defcustom properties.
12284 (eshell-cmpl-initialize): No need to load pcomplete.
12286 * generic-x.el: No need to require comint when compiling.
12288 * net/eudc-export.el: Make it loadable without bbdb.
12289 (top-level): Use require rather than load-library.
12290 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12291 (eudc-batch-export-records-to-bbdb)
12292 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12295 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12297 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12298 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12299 some tweaks, instead.
12301 2013-05-05 Leo Liu <sdl.web@gmail.com>
12303 * progmodes/octave.el (octave-font-lock-keywords)
12304 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12305 (inferior-octave-send-list-and-digest): Improve error message.
12306 (octave-mode, inferior-octave-mode): Use setq-local.
12307 (octave-help): Set info-lookup-mode.
12309 2013-05-05 Richard Stallman <rms@gnu.org>
12311 * vc/compare-w.el (compare-windows-whitespace):
12312 Treat no-break space as whitespace.
12314 * mail/rmailsum.el (rmail-summary-rmail-update):
12315 Detect empty summary and don't change selected message.
12316 (rmail-summary-goto-msg): Likewise.
12318 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12319 Doc fixes, rename args.
12321 2013-05-05 Alan Mackenzie <acm@muc.de>
12323 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12325 2013-05-05 Juri Linkov <juri@jurta.org>
12327 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12328 to not add the length of the summary segment to the return value.
12331 2013-05-05 Leo Liu <sdl.web@gmail.com>
12333 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12334 (inferior-octave-output-filter): Remove.
12335 (octave-send-region, inferior-octave-startup): Fix callers.
12336 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12337 (octave-binary-file-extensions): New user variable.
12338 (octave-find-definition): Confirm if opening binary files.
12339 (octave-help-file): Use octave-find-definition to get the binary
12341 (octave-help): Adjust for octave-help-file change.
12343 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12345 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12346 Merge the two entries that handle function definitions.
12347 (pascal--syntax-propertize): New const.
12348 (pascal-mode): Use it. Use setq-local.
12350 2013-05-04 Glenn Morris <rgm@gnu.org>
12352 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12353 (diary-from-outlook): Respect diary-from-outlook-function.
12355 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12357 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12358 Move the declaration from C.
12359 (read-minibuffer, eval-minibuffer): Move from C.
12360 (completion-setup-function): Avoid minibuffer-completion-contents.
12362 2013-05-03 Leo Liu <sdl.web@gmail.com>
12364 * progmodes/octave.el (octave-font-lock-keywords): Do not
12365 dehighlight 'end' in comments or strings.
12366 (octave-completing-read, octave-goto-function-definition):
12368 (octave-help-buffer): New user variable.
12369 (octave-help-file, octave-help-function): New button types.
12370 (octave-help): New command and bind it to C-h ;.
12371 (octave-find-definition): New command and bind it to M-.
12372 (user-error): Alias to error if not defined.
12374 2013-05-02 Leo Liu <sdl.web@gmail.com>
12376 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12378 (octave-font-lock-keywords): Include [ and {.
12380 2013-05-02 Leo Liu <sdl.web@gmail.com>
12382 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12383 (inferior-octave): Remove calling comint-mode and return the buffer.
12384 (inferior-octave-startup): Cosmetic changes.
12386 2013-05-02 Leo Liu <sdl.web@gmail.com>
12388 * progmodes/octave.el (octave-syntax-propertize-function):
12389 Include the case when ' is at line beginning. (Bug#14336)
12391 2013-05-02 Glenn Morris <rgm@gnu.org>
12393 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12394 * desktop.el (vc-dir-mode): Just autoload it here.
12396 2013-05-02 Alan Mackenzie <acm@muc.de>
12398 Eliminate variable c-standard-font-lock-fontify-region-function.
12399 * progmodes/cc-mode.el
12400 (c-standard-font-lock-fontify-region-function): Remove.
12401 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12403 2013-05-01 Leo Liu <sdl.web@gmail.com>
12405 * progmodes/octave.el: Compatible with older emacs-24 releases.
12406 (inferior-octave-has-built-in-variables): Remove. Built-in
12407 variables were removed from Octave in 2007.
12408 (inferior-octave-startup): Fix uses.
12409 (comint-line-beginning-position): Remove compatibility code for
12412 2013-05-01 Juri Linkov <juri@jurta.org>
12414 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12416 2013-05-01 Juri Linkov <juri@jurta.org>
12418 * comint.el (comint-previous-matching-input): Don't print message
12419 "History item: %d" when `isearch-mode' is active.
12420 (comint-history-isearch-message): Print message "History item: %d"
12421 when `comint-input-ring-index' is not empty and this function is
12422 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12424 2013-05-01 Leo Liu <sdl.web@gmail.com>
12426 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12427 definitions. Use completion-at-point to insert keywords.
12428 (octave-abbrev-start): Remove.
12429 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12431 2013-04-30 Leo Liu <sdl.web@gmail.com>
12433 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12436 2013-04-30 Alan Mackenzie <acm@muc.de>
12438 Handle arbitrarily long C++ member initialisation lists.
12439 * progmodes/cc-engine.el (c-back-over-member-initializers):
12441 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12442 (most) member init lists.
12444 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12446 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12449 2013-04-30 Leo Liu <sdl.web@gmail.com>
12451 * progmodes/octave.el (octave-variables): Remove. No builtin
12452 variables any more. All converted to functions.
12453 (octave-font-lock-keywords, octave-completion-at-point-function):
12455 (octave-font-lock-texinfo-comment): New user variable.
12456 (octave-texinfo-font-lock-keywords): New variable for texinfo
12458 (octave-function-comment-block): New face.
12459 (octave-font-lock-texinfo-comment): New function.
12460 (octave-mode): Font lock texinfo comment block.
12462 2013-04-29 Leo Liu <sdl.web@gmail.com>
12464 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12465 indexing expression.
12466 (octave-continuation-string): Do not use \.
12467 (inferior-octave-complete-impossible): Remove.
12468 (inferior-octave-completion-table)
12469 (inferior-octave-completion-at-point): Remove its uses.
12470 (inferior-octave-startup): completion_matches was introduced to
12471 Octave in 1996 so safe to assume it.
12472 (octave-function-file-comment): Improve to follow how Octave does it.
12473 (octave-update-function-file-comment): Tweak.
12475 2013-04-29 Leo Liu <sdl.web@gmail.com>
12477 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12478 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12479 (octave-function-file-comment): Fix typo.
12480 (octave-sync-function-file-names): Use read-char-choice.
12482 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12484 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12485 to t for the less important warnings.
12487 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12489 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12491 2013-04-27 Glenn Morris <rgm@gnu.org>
12493 * vc/log-view.el (log-view-current-entry):
12494 Treat "---" separator lines as part of the following rev. (Bug#14169)
12496 2013-04-27 Juri Linkov <juri@jurta.org>
12498 * subr.el (read-number): Doc fix about using it by interactive
12499 code letter `n'. (Bug#14254)
12501 2013-04-27 Juri Linkov <juri@jurta.org>
12503 * desktop.el (desktop-auto-save-timeout): New option.
12504 (desktop-file-checksum): New variable.
12505 (desktop-save): Add optional arg `auto-save' and don't auto-save
12506 if nothing changed.
12507 (desktop-auto-save-timer): New variable.
12508 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12509 (after-init-hook): Call `desktop-auto-save-set-timer'.
12510 Suggested by Reuben Thomas <rrt@sc3d.org> in
12511 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12513 2013-04-27 Leo Liu <sdl.web@gmail.com>
12515 * progmodes/octave.el (octave-function-file-p)
12516 (octave-skip-comment-forward, octave-function-file-comment)
12517 (octave-update-function-file-comment): New functions.
12518 (octave-mode-map): Bind C-c ; to
12519 octave-update-function-file-comment.
12520 (octave-mode-menu): Add octave-update-function-file-comment.
12521 (octave-mode, inferior-octave-mode): Fix doc-string.
12522 (octave-insert-defun): Conform to Octave's coding convention.
12525 * files.el (basic-save-buffer): Don't let errors in
12526 before-save-hook prevent saving buffer.
12528 2013-04-20 Roland Winkler <winkler@gnu.org>
12530 * faces.el (read-face-name): Use completing-read if arg multiple
12533 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12535 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12536 displayed, move point to after the totals line.
12537 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12540 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12542 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12543 Add current dir to the load-path.
12544 (package-generate-autoloads): Don't rely on
12545 autoload-ensure-default-file.
12547 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12549 * textmodes/remember.el (remember-store-in-files): Document that
12550 the file name format is passed to `format-time-string'.
12552 2013-04-26 Leo Liu <sdl.web@gmail.com>
12554 * progmodes/octave.el (octave-sync-function-file-names): New function.
12555 (octave-mode): Use it in before-save-hook.
12557 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12559 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12562 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12563 \n and comment, even if it's not an implicit ; (bug#14218).
12565 2013-04-26 Glenn Morris <rgm@gnu.org>
12567 * subr.el (read-number): Once more use `read' rather than
12568 `string-to-number', to trap non-numeric input. (Bug#14254)
12570 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12572 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12573 Use `syntax-multiline' text property consistently instead of
12574 `font-lock-multiline'. (Bug#14237)
12576 2013-04-26 Glenn Morris <rgm@gnu.org>
12578 * emacs-lisp/shadow.el (list-load-path-shadows):
12579 No longer necessary to check for duplicate simple.el, since
12580 2012-07-07 change to init_lread to not include installation lisp
12581 directories in load-path when running uninstalled. (Bug#14270)
12583 2013-04-26 Leo Liu <sdl.web@gmail.com>
12585 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12586 (octave-mode, inferior-octave-mode): Use setq-local.
12587 (octave-not-in-string-or-comment-p): Rename to
12588 octave-in-string-or-comment-p.
12589 (octave-in-comment-p, octave-in-string-p)
12590 (octave-in-string-or-comment-p): Replace defsubst with defun.
12592 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12594 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12596 2013-04-25 Bastien Guerry <bzg@gnu.org>
12598 * textmodes/remember.el (remember-data-directory)
12599 (remember-directory-file-name-format): Fix custom types.
12601 2013-04-25 Leo Liu <sdl.web@gmail.com>
12603 * progmodes/octave.el (octave-completion-at-point-function):
12604 Make use of inferior octave process.
12605 (octave-initialize-completions): Remove.
12606 (inferior-octave-completion-table): New function.
12607 (inferior-octave-completion-at-point): Use it.
12608 (octave-completion-alist): Remove.
12610 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12612 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12613 (opascal-mode-syntax-table): New var.
12614 (opascal-literal-kind, opascal-is-literal-end)
12615 (opascal-literal-token-at): Rewrite.
12616 (opascal--literal-start-re, opascal-font-lock-keywords)
12617 (opascal--syntax-propertize): New constants.
12618 (opascal-font-lock-defaults): Adjust.
12619 (opascal-mode): Use them. Set comment-<foo> variables as well.
12620 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12621 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12622 (delphi-other-face, opascal-other-face): Remove face variables.
12623 (opascal-save-state): Remove macro.
12624 (opascal-fontifying-progress-step): Remove constant.
12625 (opascal--ignore-changes): Remove var.
12626 (opascal-set-token-property, opascal-parse-next-literal)
12627 (opascal-is-stable-literal, opascal-complete-literal)
12628 (opascal-is-literal-start, opascal-face-of)
12629 (opascal-parse-region, opascal-parse-region-until-stable)
12630 (opascal-fontify-region, opascal-after-change)
12631 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12632 (opascal-debug-parse-region, opascal-debug-parse-window)
12633 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12634 (opascal-debug-fontify-buffer): Remove.
12635 (opascal-debug-mode-map): Adjust accordingly.
12637 2013-04-25 Leo Liu <sdl.web@gmail.com>
12639 Merge octave-mod.el and octave-inf.el into octave.el with some
12641 * progmodes/octave.el: New file renamed from octave-mod.el.
12642 * progmodes/octave-inf.el: Merged into octave.el.
12643 * progmodes/octave-mod.el: Renamed to octave.el.
12645 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12647 * textmodes/reftex-vars.el
12648 (reftex-label-ignored-macros-and-environments): New defcustom.
12650 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12652 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12654 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12655 (smie-indent-keyword): Improve the check to ensure that the next
12656 comment is really on the same line.
12657 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12659 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12660 semi-colons if the line is not otherwise empty (bug#14218).
12662 2013-04-25 Glenn Morris <rgm@gnu.org>
12664 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12666 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12668 * progmodes/opascal.el (opascal-set-token-property): Rename from
12669 opascal-set-text-properties and only set `token' (bug#14134).
12670 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12671 (opascal-literal-text-properties): Remove.
12672 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12675 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12677 * textmodes/remember.el (remember-handler-functions): Add an
12678 option for a new handler `remember-store-in-files'.
12679 (remember-data-directory, remember-directory-file-name-format):
12681 (remember-store-in-files): New function to store remember notes
12682 as separate files within a directory.
12684 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12686 * progmodes/compile.el (compilation-next-error-function):
12687 Pass "formats" to compilation-find-file (bug#11777).
12689 2013-04-24 Glenn Morris <rgm@gnu.org>
12691 * vc/vc-bzr.el (vc-bzr-print-log):
12692 * vc/vc-hg.el (vc-hg-print-log):
12693 * vc/vc-svn.el (vc-svn-print-log):
12694 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12696 * vc/vc-bzr.el (vc-bzr-print-log):
12697 * vc/vc-cvs.el (vc-cvs-print-log):
12698 * vc/vc-git.el (vc-git-print-log):
12699 * vc/vc-hg.el (vc-hg-print-log):
12700 * vc/vc-mtn.el (vc-mtn-print-log):
12701 * vc/vc-rcs.el (vc-rcs-print-log):
12702 * vc/vc-sccs.el (vc-sccs-print-log):
12703 * vc/vc-svn.el (vc-svn-print-log):
12704 * vc/vc.el (vc-print-log-internal): Doc fixes.
12706 2013-04-23 Glenn Morris <rgm@gnu.org>
12708 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12709 Remove venerable code attempting to avoid substitute-command-keys.
12711 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12713 * textmodes/reftex-vars.el (reftex-label-regexps):
12714 Call `reftex-compile-variables' after changes to this variable.
12716 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12718 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12719 Use lexical-binding.
12720 (jit-lock-force-redisplay): Use markers, check buffer's continued
12721 existence and beware narrowed buffers.
12722 (jit-lock-fontify-now): Adjust call accordingly.
12724 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12726 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12727 to avoid misleading the user.
12729 2013-04-22 Leo Liu <sdl.web@gmail.com>
12731 * info-look.el: Prefer latex2e.info. (Bug#14240)
12733 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12735 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12737 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12738 * net/tramp.el (tramp-call-process): ... here.
12739 (tramp-set-completion-function, tramp-parse-putty):
12740 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12741 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12742 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12743 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12744 (tramp-call-local-coding-command): Use `tramp-call-process'
12745 instead of `tramp-compat-call-process'.
12747 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12748 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12749 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region)
12750 (tramp-find-inline-compress): Improve traces.
12751 (tramp-maybe-send-script): Check for Perl binary.
12752 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12754 2013-04-22 Daiki Ueno <ueno@gnu.org>
12756 * epg.el (epg-context-pinentry-mode): New function.
12757 (epg-context-set-pinentry-mode): New function.
12758 (epg--start): Pass --pinentry-mode option to gpg command.
12760 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12762 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12763 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12764 `completion-at-point'. (Bug#13774)
12766 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12767 default key binding for `describe-distribution' has been moved to
12768 `C-h C-o'. (Bug#13970)
12770 2013-04-21 Glenn Morris <rgm@gnu.org>
12772 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12774 (vc-print-log): Clarify interactive prompt.
12776 2013-04-20 Glenn Morris <rgm@gnu.org>
12778 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12779 No longer include timestamp etc information.
12781 2013-04-20 Roland Winkler <winkler@gnu.org>
12783 * faces.el (read-face-name): Bug fix, return just one face if arg
12784 multiple is nil. (Bug#14209)
12786 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12788 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12789 (remove-function): Autoload.
12791 * comint.el (comint-redirect-original-filter-function): Remove.
12792 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12793 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12794 (vc-cvs-annotate-command):
12795 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12796 * progmodes/prolog.el (prolog-consult-compile):
12797 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12798 Use add/remove-function instead.
12799 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12800 (gud-tooltip-process-output, gud-tooltip-tips):
12801 Use add/remove-function instead.
12802 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12803 (scheme-interaction-mode, exit-scheme-interaction-mode):
12804 Use add/remove-function instead.
12806 * vc/vc-dispatcher.el: Use lexical-binding.
12807 (vc--process-sentinel): Rename from vc-process-sentinel.
12808 Change last arg to be the code to run. Don't use vc-previous-sentinel
12809 and vc-sentinel-commands any more.
12810 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12811 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12813 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12815 * progmodes/sh-script.el (sh-imenu-generic-expression):
12816 Handle function names with a single character. (Bug#14111)
12818 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12820 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12821 for subroutines defined in an eval (bug#14182).
12823 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12825 * bookmark.el (bookmark-completing-read): Improve handling of empty
12826 string (bug#14176).
12828 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12830 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12832 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12834 New faster Imenu implementation (bug#14058).
12835 * progmodes/python.el:
12836 (python-imenu-prev-index-position):
12837 (python-imenu-format-item-label-function)
12838 (python-imenu-format-parent-item-label-function)
12839 (python-imenu-format-parent-item-jump-label-function):
12841 (python-imenu-format-item-label)
12842 (python-imenu-format-parent-item-label)
12843 (python-imenu-format-parent-item-jump-label)
12844 (python-imenu--put-parent, python-imenu--build-tree)
12845 (python-imenu-create-index, python-imenu-create-flat-index)
12846 (python-util-popn): New functions.
12847 (python-mode): Set imenu-create-index-function to
12848 python-imenu-create-index.
12850 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12852 * winner.el (winner-active-region): Use region-active-p, activate-mark
12853 and deactivate-mark (bug#14225).
12855 * simple.el (deactivate-mark): Don't inline it.
12857 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12859 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12861 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12863 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12864 file extensions from the archive-mode entry in order to prefer
12865 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12867 2013-04-18 Leo Liu <sdl.web@gmail.com>
12869 * bindings.el (help-event-list): Add ?\?.
12871 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12873 * subr.el (with-wrapper-hook): Declare obsolete.
12874 * simple.el (filter-buffer-substring-function): New hook.
12875 (filter-buffer-substring): Use it.
12876 (filter-buffer-substring-functions): Mark obsolete.
12877 * minibuffer.el (completion-in-region-function): New hook.
12878 (completion-in-region): Use it.
12879 (completion-in-region-functions): Mark obsolete.
12880 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12881 * abbrev.el (abbrev-expand-function): New hook.
12882 (expand-abbrev): Use it.
12883 (abbrev-expand-functions): Mark obsolete.
12884 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12885 and :filter-return.
12887 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12889 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12890 and do not care about match data.
12892 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12894 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12895 completion tables when completing error conditions and
12896 `declare' arguments.
12897 (lisp-complete-symbol, field-complete): Mark as obsolete.
12898 (check-parens): Unmatched parens are user errors.
12899 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12901 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12903 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12904 command changed buffer (ie. `flyspell-pre-buffer' is not current
12905 buffer), which prevents making decisions based on invalid value of
12906 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12907 cause an error when `flyspell-pre-point' was nil after switching
12909 (flyspell-post-command-hook): No longer needs to change buffers when
12910 checking pre-word. While at it remove unnecessary progn.
12912 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12914 * textmodes/ispell.el (ispell-add-per-file-word-list):
12915 Fix `flyspell-correct-word-before-point' error when accepting
12916 words and `coment-padding' is an integer by using
12917 `comment-normalize-vars' (Bug #14214).
12919 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12921 New defun movement commands.
12922 * progmodes/python.el (python-nav--syntactically)
12923 (python-nav--forward-defun, python-nav-backward-defun)
12924 (python-nav-forward-defun): New functions.
12926 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12928 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12929 (python-syntax-context): Use named compiler-macro for backwards
12930 compatibility with Emacs 24.x.
12932 2013-04-17 Leo Liu <sdl.web@gmail.com>
12934 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12935 octave-hide-process-buffer.
12937 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12939 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12942 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12944 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12945 Fix adjustment of offset when receiving incomplete responses from GDB
12948 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12950 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12951 python-mode-abbrev-table.
12952 (python-skeleton-define): Adjust accordingly.
12953 (python-mode-abbrev-table): New table that inherits from it so that
12954 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12956 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12957 (abbrev-symbol): Use it.
12958 (abbrev--before-point): Use it since we already handle inheritance.
12960 2013-04-16 Leo Liu <sdl.web@gmail.com>
12962 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12963 binding to info-lookup-symbol.
12965 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12967 * minibuffer.el (completion--twq-all):
12968 * term/ns-win.el (ns-initialize-window-system):
12969 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12971 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12973 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12976 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12978 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12980 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12981 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12983 (ruby-end-of-defun): Remove the unused arg, change the docstring
12984 to reflect that this function is only used as the value of
12985 `end-of-defun-function'.
12986 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12987 to reflect an earlier change that beginning/end-of-defun functions
12988 jump between methods in a class definition, as well as top-level
12991 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12993 * minibuffer.el (minibuffer-complete): Don't just scroll
12994 a *Completions* that's been iconified.
12995 (minibuffer-force-complete): Make sure repetitions do cycle when going
12996 through completion-in-region -> minibuffer-complete.
12998 2013-04-15 Alan Mackenzie <acm@muc.de>
13000 Correct the placement of c-cpp-delimiters when there're #s not at
13003 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
13004 place a submatch around the #.
13005 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
13006 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
13009 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
13011 * emacs-lisp/nadvice.el: Properly test names when adding advice.
13012 (advice--member-p): New arg `name'.
13013 (advice--add-function, advice-member-p): Use it (bug#14202).
13015 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
13017 Reformulate java imenu-generic-expression.
13018 The old expression contained ill formed regexps.
13020 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
13021 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
13022 (cc-imenu-java-method-arg-regexp): New defconsts.
13023 (cc-imenu-java-build-type-args-regex): New defun.
13024 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
13025 handling of spaces in the regexp.
13027 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
13029 * textmodes/ispell.el (ispell-command-loop): Remove
13030 flyspell highlight of a word when ispell accepts it (bug #14178).
13032 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13034 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13035 uses code from the previous `ange-ftp-run-real-handler'.
13036 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13037 only in case that function exist. This is needed for proper
13038 unloading of Tramp.
13040 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13042 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13044 * textmodes/reftex.el (reftex-compile-variables): Use it.
13046 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13048 * files.el (normal-mode): Only use default major-mode if no other mode
13051 * emacs-lisp/trace.el (trace-values): New function.
13053 * files.el: Allow : in local variables (bug#14089).
13054 (hack-local-variable-regexp): New var.
13055 (hack-local-variables-prop-line, hack-local-variables): Use it.
13057 2013-04-13 Roland Winkler <winkler@gnu.org>
13059 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13060 data before it gets modified by bibtex-beginning-of-entry.
13062 2013-04-13 Roland Winkler <winkler@gnu.org>
13064 * textmodes/bibtex.el (bibtex-url): Doc fix.
13066 2013-04-13 Roland Winkler <winkler@gnu.org>
13068 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13069 does not visit a BibTeX file, exclude it from the list of buffers
13070 returned by bibtex-initialize.
13072 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13074 * window.el (split-window): Remove interactive form, since as a
13075 command this function is a special case of split-window-below.
13076 Correct doc string.
13078 2013-04-12 Roland Winkler <winkler@gnu.org>
13080 * faces.el (read-face-name): Do not override value of arg default.
13081 Allow single faces and strings as default values. Remove those
13082 elements from return value that are not faces.
13083 (describe-face): Simplify.
13084 (face-at-point): New optional args thing and multiple so that this
13085 function can provide the same functionality previously provided by
13087 (make-face-bold, make-face-unbold, make-face-italic)
13088 (make-face-unitalic, make-face-bold-italic, invert-face)
13089 (modify-face, read-face-and-attribute): Use face-at-point.
13091 * cus-edit.el (customize-face, customize-face-other-window)
13092 * cus-theme.el (custom-theme-add-face)
13093 * face-remap.el (buffer-face-set)
13094 * facemenu.el (facemenu-set-face): Use face-at-point.
13096 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13098 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13100 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13102 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13103 off leading { and trailing } from field values.
13105 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13107 * emacs-lisp/timer.el (timer--check): New function.
13108 (timer--time, timer-set-function, timer-event-handler): Use it.
13109 (timer-set-idle-time): Simplify.
13110 (timer--activate): CSE.
13111 (timer-event-handler): Give more info in error message.
13112 (internal-timer-start-idle): New function, moved from C.
13114 * mpc.el (mpc-proc): Add `restart' argument.
13115 (mpc-proc-cmd): Use it.
13116 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13117 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13120 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13122 * progmodes/sh-script.el: Implement `sh-mode' own
13123 `add-log-current-defun-function' (bug#14112).
13124 (sh-current-defun-name): New function.
13125 (sh-mode): Use the function.
13127 2013-04-09 Bastien Guerry <bzg@gnu.org>
13129 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13131 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13133 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13135 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13138 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13140 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13143 2013-04-07 Leo Liu <sdl.web@gmail.com>
13145 * pcmpl-x.el: New file.
13147 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13149 Do not set x-display-name until X connection is established.
13150 This is needed to prevent from weird situation described at
13151 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13152 * frame.el (make-frame): Set x-display-name after call to
13153 window system initialization function, not before.
13154 * term/x-win.el (x-initialize-window-system): Add optional
13155 display argument and use it.
13156 * term/w32-win.el (w32-initialize-window-system):
13157 * term/ns-win.el (ns-initialize-window-system):
13158 * term/pc-win.el (msdos-initialize-window-system):
13159 Add compatible optional display argument.
13161 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13163 * files.el (normal-backup-enable-predicate): On MS-Windows and
13164 MS-DOS compare truenames of temporary-file-directory and of the
13165 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13166 don't fail comparison by compare-strings. Also, compare file
13167 names case-insensitively on MS-Windows and MS-DOS.
13169 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13171 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13172 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13174 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13176 * whitespace.el (whitespace-color-on, whitespace-color-off):
13177 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13179 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13181 * ispell.el (ispell-set-spellchecker-params):
13182 Really set `ispell-args' for all equivs.
13184 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13186 * ido.el (ido-completions): Use extra elements of ido-decorations
13188 (ido-decorations): Update docstring.
13190 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13192 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13193 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13194 nil during initialization, in order not to miss changes since the
13195 file was opened. (Bug#14140)
13197 2013-04-05 Leo Liu <sdl.web@gmail.com>
13199 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13201 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13203 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13205 2013-04-04 Glenn Morris <rgm@gnu.org>
13207 * electric.el (electric-pair-inhibit-predicate): Add :version.
13209 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13211 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13212 when a package is required several times (bug#14082).
13214 2013-04-04 Roland Winkler <winkler@gnu.org>
13216 * faces.el (read-face-name): Behave as promised by the docstring.
13217 Assume that arg default is a list of faces.
13218 (describe-face): Call read-face-name with list of default faces.
13220 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13222 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13223 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13224 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13226 (bookmark-exit-hook-internal): Save even if list is empty.
13228 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13230 * emacs-lisp/package.el (package-pinned-packages): New var.
13231 (package--add-to-archive-contents): Obey it (bug#14118).
13233 2013-04-03 Alan Mackenzie <acm@muc.de>
13235 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13236 Also adapt to the new values of element 7 of a parse state.
13238 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13239 parameter `not-in-delimiter'. Handle being inside comment opener.
13240 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13241 character in case we're typing a '*' after a '/'.
13242 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13243 instead by passing the parameter to c-state-pp-to-literal.
13245 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13246 for elt. 7 of a parse state.
13248 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13250 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13251 * international/latin1-disp.el, international/mule-util.el:
13252 * language/cyril-util.el, language/european.el, language/ind-util.el:
13253 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13254 * language/tibetan.el, language/viet-util.el:
13255 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13257 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13259 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13260 (electric-pair-post-self-insert-function): Use it.
13261 (electric-pair-default-inhibit): New function, extracted from
13262 electric-pair-post-self-insert-function.
13264 2013-03-31 Roland Winkler <winkler@gnu.org>
13266 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13268 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13270 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13272 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13274 Un-indent after "pass" and "return" statements (Bug#13888)
13275 * progmodes/python.el (python-indent-block-enders): New var.
13276 (python-indent-calculate-indentation): Use it.
13278 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13280 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13281 defun. Defining it as defalias could introduce too eager
13282 byte-compiler optimization. (Bug#14030)
13284 2013-03-30 Chong Yidong <cyd@gnu.org>
13286 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13288 2013-03-30 Leo Liu <sdl.web@gmail.com>
13290 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13291 (kmacro-execute-from-register): Pass the keyboard macro to
13292 kmacro-call-macro or repeating won't work correctly.
13294 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13296 * progmodes/subword.el: Back to using `forward-symbol'.
13298 * subr.el (forward-whitespace, forward-symbol)
13299 (forward-same-syntax): Move from thingatpt.el.
13301 2013-03-29 Leo Liu <sdl.web@gmail.com>
13303 * kmacro.el (kmacro-to-register): New command.
13304 (kmacro-execute-from-register): New function.
13305 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13307 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13309 * mpc.el: Use defvar-local and setq-local.
13310 (mpc--proc-connect): Connection failures are not bugs.
13311 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13312 (mpc-volume-map): Bind to the up-events.
13314 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13316 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13317 instead of `forward-symbol'.
13319 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13321 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13322 (edebug--recursive-edit): Use it.
13323 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13324 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13326 2013-03-28 Leo Liu <sdl.web@gmail.com>
13328 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13330 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13332 * facemenu.el (list-colors-callback): New defvar.
13333 (list-colors-redisplay): New function.
13334 (list-colors-display): Install list-colors-redisplay as the
13335 revert-buffer-function. (Bug#14063)
13337 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13339 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13340 and suffixes don't overlap (bug#14061).
13342 * case-table.el: Use lexical-binding.
13343 (case-table-get-table): New function.
13344 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13346 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13348 * progmodes/subword.el: Add `superword-mode' to do word motion
13349 over symbol_words (parallels and leverages `subword-mode' which
13350 does word motion inside MixedCaseWords).
13352 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13354 * eshell/em-unix.el: Move su and sudo to...
13355 * eshell/em-tramp.el: ...Eshell tramp module.
13357 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13359 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13360 Change return value to be a sexp. Delay `get-buffer' to after
13361 restoring the desktop (bug#13951).
13363 2013-03-26 Leo Liu <sdl.web@gmail.com>
13365 * register.el: Move semantic tag handling back to
13366 cedet/semantic/senator.el. (Bug#14052)
13368 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13370 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13371 into the prompt either (bug#13963).
13373 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13375 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13376 part of "(error-foo)".
13378 2013-03-24 Juri Linkov <juri@jurta.org>
13380 * replace.el (list-matching-lines-prefix-face): New defcustom.
13381 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13382 `occur-engine' if `face-differs-from-default-p' returns t.
13383 (occur-engine): Add `,' inside backquote construct to evaluate
13384 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13385 Pass `prefix-face' to the functions `occur-context-lines' and
13386 `occur-engine-add-prefix'.
13387 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13388 `prefix-face' and propertize the prefix with `prefix-face'.
13391 2013-03-24 Leo Liu <sdl.web@gmail.com>
13393 * nxml/rng-valid.el (rng-validate-while-idle)
13394 (rng-validate-quick-while-idle): Guard against deleted buffer.
13397 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13398 is the last entry in kill-buffer-hook.
13400 * files.el (kill-buffer-hook): Doc fix.
13402 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13404 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13405 Make it safe-local.
13407 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13409 2013-03-23 Leo Liu <sdl.web@gmail.com>
13411 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13414 * nxml/rng-valid.el (rng-validate-mode)
13415 (rng-after-change-function, rng-do-some-validation):
13416 * nxml/rng-maint.el (rng-validate-buffer):
13417 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13418 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13419 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13420 (nxml-extend-after-change-region): Use with-silent-modifications.
13422 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13425 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13426 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13427 timer-idle-list. (Bug#13999)
13429 2013-03-23 Juri Linkov <juri@jurta.org>
13431 * info.el (info-index-match): New face.
13432 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13433 main pattern and add text properties with the new face to matches
13434 in index entries relative to the beginning of the index entry.
13437 2013-03-21 Eric Ludlam <zappo@gnu.org>
13439 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13440 Inhibit read only while inserting objects.
13442 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13444 * progmodes/cfengine.el: Update docs to mention
13445 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13446 symbol motion. Remove "_" from the word syntax.
13448 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13450 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13451 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13453 2013-03-20 Juri Linkov <juri@jurta.org>
13455 * info.el (Info-next-reference-or-link)
13456 (Info-prev-reference-or-link): New functions.
13457 (Info-next-reference, Info-prev-reference): Use them.
13458 (Info-try-follow-nearest-node): Handle footnote navigation.
13459 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13461 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13463 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13464 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13466 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13468 Suppress unnecessary non-ASCII chatter during build process.
13469 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13470 (batch-skkdic-convert): Suppress most of the chatter.
13471 It's not needed so much now that machines are faster,
13472 and its non-ASCII component was confusing; see Dmitry Gutov in
13473 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13475 2013-03-20 Leo Liu <sdl.web@gmail.com>
13477 * ido.el (ido-chop): Fix bug#10994.
13479 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13481 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13483 (whitespace-color-on, whitespace-color-off):
13484 Use `font-lock-fontify-buffer' (Bug#13817).
13486 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13488 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13489 remapping in mode-line.
13490 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13492 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13494 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13495 value for `whitespace-line' face (Bug#13875).
13496 (whitespace-font-lock-keywords): Change description.
13497 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13498 the constructed keywords instead.
13499 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13501 2013-03-19 Leo Liu <sdl.web@gmail.com>
13503 * progmodes/compile.el (compilation-display-error): New command.
13504 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13507 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13509 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13511 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13513 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13515 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13517 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13519 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13520 * net/tramp-gvfs.el (top):
13521 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13522 (tramp-handle-shell-command): Use it.
13523 (tramp-dissect-file-name): Raise an error when hostname is a
13524 method name, and neither method nor user is specified.
13526 * net/trampver.el: Update release number.
13528 2013-03-18 Leo Liu <sdl.web@gmail.com>
13530 Make sure eldoc can be turned off properly.
13531 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13533 (eldoc-display-message-p): Revert last change.
13534 (eldoc-display-message-no-interference-p)
13535 (eldoc-print-current-symbol-info): Tweak.
13537 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13539 * doc-view.el (doc-view-new-window-function): Check the new window
13540 overlay's display property instead the char property of the
13541 buffer's first char. Use `with-selected-window' instead of
13542 `save-window-excursion' with `select-window'.
13543 (doc-view-document->bitmap): Check the current doc-view overlay's
13544 display property instead the char property of the buffer's first char.
13546 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13548 Automate the build of ja-dic.el (Bug#13984).
13549 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13550 from the input, rather than assume that it's been done for us by the
13551 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13552 the current date into a ja-dic.el comment, as that complicates
13553 regression testing.
13555 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13557 * whitespace.el: Fix double evaluation.
13558 (whitespace-space, whitespace-hspace, whitespace-tab)
13559 (whitespace-newline, whitespace-trailing, whitespace-line)
13560 (whitespace-space-before-tab, whitespace-indentation)
13561 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13563 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13564 (whitespace-color-on): Use a single font-lock-add-keywords call.
13565 Fix double-evaluation of face variables.
13567 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13569 * net/tramp-adb.el (tramp-adb-parse-device-names):
13570 Use `start-process' instead of `call-process'. Otherwise, the
13571 function might be blocked under MS Windows. (Bug#13299)
13573 2013-03-17 Leo Liu <sdl.web@gmail.com>
13575 Extend eldoc to display info in the mode-line. (Bug#13978)
13576 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13577 (eldoc-mode-line-string): New variable.
13578 (eldoc-minibuffer-message): New function.
13579 (eldoc-message-function): New variable.
13580 (eldoc-message): Use it.
13581 (eldoc-display-message-p)
13582 (eldoc-display-message-no-interference-p):
13583 Support eldoc-post-insert-mode.
13585 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13586 (eval-expression): Run it.
13588 2013-03-17 Roland Winkler <winkler@gnu.org>
13590 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13591 strings in the list of return values.
13593 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13595 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13596 radix before checking for HMS forms.
13598 2013-03-16 Leo Liu <sdl.web@gmail.com>
13600 * progmodes/scheme.el: Add indentation and font-locking for λ.
13603 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13605 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13606 token before point (bug#13942).
13608 2013-03-16 Leo Liu <sdl.web@gmail.com>
13610 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13612 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13614 * startup.el (command-line-normalize-file-name): Fix handling of
13615 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13616 <xfq.free@gmail.com> in
13617 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13619 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13621 Sync with Tramp 2.2.7.
13623 * net/trampver.el: Update release number.
13625 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13627 * doc-view.el: Fix bug#13887.
13628 (doc-view-insert-image): Don't modify overlay associated to
13629 non-live windows, and implement horizontal centering of image in
13630 case it's smaller than the window.
13631 (doc-view-new-window-function): Force redisplay of new windows on
13634 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13636 * saveplace.el (save-place-alist-to-file): Don't sort
13637 `save-place-alist', just pretty-print it (bug#13882).
13639 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13641 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13642 Check whether `default-file-name-coding-system' is bound.
13643 It isn't in XEmacs.
13645 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13647 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13648 backquotes for `obsolete' (bug#13929).
13650 * international/mule.el (find-auto-coding): Include file name in
13651 obsolescence warning (bug#13922).
13653 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13655 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13656 for CFEngine 3-specific indentation.
13657 (cfengine3-indent-line): Use it. Fix up category regex.
13658 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13660 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13662 * type-break.el (type-break-file-name):
13663 * textmodes/remember.el (remember-data-file):
13664 * strokes.el (strokes-file):
13665 * shadowfile.el (shadow-initialize):
13666 * saveplace.el (save-place-file):
13667 * ps-bdf.el (bdf-cache-file):
13668 * progmodes/idlwave.el (idlwave-config-directory):
13669 * net/quickurl.el (quickurl-url-file):
13670 * international/kkc.el (kkc-init-file-name):
13671 * ido.el (ido-save-directory-list-file):
13672 * emulation/viper.el (viper-custom-file-name):
13673 * emulation/vip.el (vip-startup-file):
13674 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13675 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13677 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13679 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13680 * language/thai-word.el: Switch to UTF-8.
13682 See ChangeLog.16 for earlier changes.
13684 ;; Local Variables:
13688 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13690 This file is part of GNU Emacs.
13692 GNU Emacs is free software: you can redistribute it and/or modify
13693 it under the terms of the GNU General Public License as published by
13694 the Free Software Foundation, either version 3 of the License, or
13695 (at your option) any later version.
13697 GNU Emacs is distributed in the hope that it will be useful,
13698 but WITHOUT ANY WARRANTY; without even the implied warranty of
13699 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13700 GNU General Public License for more details.
13702 You should have received a copy of the GNU General Public License
13703 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.