1 2014-03-03 Glenn Morris <rgm@gnu.org>
3 * frame.el (display-pixel-height, display-pixel-width)
4 (display-mm-dimensions-alist, display-mm-height)
5 (display-mm-width): Doc tweaks.
7 2014-03-02 Barry O'Reilly <gundaetiapo@gmail.com>
9 * simple.el (undo-elt-in-region): Fix buffer corruption for edge
10 case of undo in region.
12 2014-03-02 Martin Rudalics <rudalics@gmx.at>
14 * window.el (fit-window-to-buffer): Fix argument in window-size
15 call when window is horizontally combined.
17 2014-03-02 Juanma Barranquero <lekktu@gmail.com>
19 * icomplete.el (icomplete-completions): Use string-width.
20 Suggested by Stefan Monier <monnier@iro.umontreal.ca>.
22 2014-03-01 Dmitry Gutov <dgutov@yandex.ru>
24 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight
25 regexp options. (Bug#16914)
27 2014-03-01 Martin Rudalics <rudalics@gmx.at>
29 * window.el (window--max-delta-1): Round down when calculating
30 how many lines/columns we can get from a window.
32 2014-03-01 Glenn Morris <rgm@gnu.org>
34 * isearch.el (search-invisible): Doc fix.
36 * minibuffer.el (completion-hilit-commonality):
37 Make `base-size' argument optional. Short-cut if `prefix-len' is 0.
38 * comint.el (comint-dynamic-list-completions): Doc fix.
39 * comint.el (comint-dynamic-list-completions):
40 * filecache.el (file-cache-minibuffer-complete):
41 * tempo.el (tempo-display-completions):
42 * eshell/em-hist.el (eshell-list-history):
43 Replace use of obsolete argument of display-completion-list.
45 2014-03-01 Juanma Barranquero <lekktu@gmail.com>
47 * icomplete.el (icomplete-completions):
48 Revert back to using "..." when ?… cannot be displayed.
50 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
52 * finder.el (finder-unload-function): New function.
54 2014-02-28 Juanma Barranquero <lekktu@gmail.com>
56 * dframe.el (dframe-detach):
57 * find-dired.el (find-dired, find-name-dired):
58 * finder.el (finder-mode-map, finder-mode-syntax-table)
59 (finder-headmark, finder-select, finder-mouse-select):
62 2014-02-28 Martin Rudalics <rudalics@gmx.at>
64 Revert recent with-temp-buffer-window change (Bug#16816, Bug#16882).
65 * window.el (with-temp-buffer-window): Revert change from
66 2014-02-21. Suggested by Thierry Volpiatto.
67 <thierry.volpiatto@gmail.com>. Fix doc-string based on a
68 suggestion by Nicolas Richard <theonewiththeevillook@yahoo.fr>.
69 * help.el (with-help-window): Fix doc-string.
71 2014-02-28 Ivan Kanis <ivan@kanis.fr>
73 * net/shr.el (shr-image-animate): New option.
74 (shr-put-image): Respect shr-image-animate.
76 2014-02-28 Michael Albinus <michael.albinus@gmx.de>
78 * net/tramp-adb.el (tramp-adb-parse-device-names):
79 Use `accept-process-output'.
80 (tramp-adb-handle-file-truename): Cache the localname only.
81 (tramp-adb-handle-make-directory)
82 (tramp-adb-handle-delete-directory): Flush file properties correctly.
83 (tramp-adb-handle-set-file-modes): Do not raise an error when file
84 modes cannot be changed.
86 * net/tramp-cache.el (tramp-flush-directory-property): Remove also
87 file properties of symlinks.
89 2014-02-28 Per Starbäck <starback@stp.lingfil.uu.se>
91 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Update
92 required/optional fields to match development biblatex. (Bug#16781)
94 2014-02-28 Andy Sawyer <andy.sawyer@gmail.com> (tiny change)
96 * saveplace.el (toggle-save-place):
97 Fix argument handling. (Bug#16673)
99 2014-02-28 Glenn Morris <rgm@gnu.org>
101 * minibuffer.el (completions-first-difference)
102 (completions-common-part, completion-hilit-commonality): Doc fixes.
104 2014-02-28 Karl Berry <karl@gnu.org>
106 * info.el (Info-mode-map): Add H for describe-mode,
107 to synchronize with standalone Info.
109 2014-02-28 Emilio C. Lopes <eclig@gmx.net>
111 * progmodes/sql.el (sql-interactive-mode):
112 Avoid setting global comint-input-ring-separator. (Bug#16814)
114 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
116 * net/dbus.el (dbus--init-bus): Declare function.
117 (dbus-path-local, dbus-interface-local): New defconst.
118 (dbus-init-bus): Use them.
119 (dbus-return-values-table): Extend doc.
120 (dbus-handle-bus-disconnect): Extend error message.
122 2014-02-27 Juanma Barranquero <lekktu@gmail.com>
124 * subr.el (y-or-n-p): Fix double space issue in message.
126 2014-02-27 Michael Albinus <michael.albinus@gmx.de>
128 * net/tramp.el (tramp-call-process): Improve trace message.
129 (tramp-handle-insert-file-contents): Trace error case.
131 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
132 <insert-directory>: Use `tramp-handle-insert-directory'.
133 (tramp-adb-handle-insert-directory): Remove function.
134 (tramp-adb-send-command-and-check): New defun, replacing
135 `tramp-adb-command-exit-status'. Change all callees.
136 (tramp-adb-handle-file-attributes)
137 (tramp-adb-handle-directory-files-and-attributes): Use it.
138 (tramp-adb-ls-output-name-less-p): Use
139 `directory-listing-before-filename-regexp'.
140 (tramp-adb-handle-delete-directory): Flush also file properties of
141 the truename of directory.
142 (tramp-adb-handle-file-name-all-completions): Add "./" and "../".
143 (tramp-adb-handle-file-local-copy): Make the local copy readable.
144 (tramp-adb-handle-write-region): Implement APPEND.
145 (tramp-adb-handle-rename-file): Make it more robust. Flush file
146 properties correctly.
147 (tramp-adb-maybe-open-connection): Set `tramp-current-*'
148 variables. Check for connected devices only when needed.
150 2014-02-27 Glenn Morris <rgm@gnu.org>
152 * minibuffer.el (completion-table-dynamic)
153 (completion-table-with-cache): Doc fixes.
155 * emacs-lisp/crm.el (crm-default-separator, crm-separator)
156 (completing-read-multiple): Doc fixes.
158 2014-02-27 Daniel Colascione <dancol@dancol.org>
160 * minibuffer.el (completion--nth-completion): Fix indentation.
162 * net/tramp-sh.el (tramp-get-remote-path): Don't signal error when
163 explicit tramp path is empty.
165 2014-02-27 Glenn Morris <rgm@gnu.org>
167 * emacs-lisp/crm.el (completing-read-multiple):
168 Empower help-enable-auto-load.
170 2014-02-26 Glenn Morris <rgm@gnu.org>
172 * startup.el (command-line): Don't init the tty in daemon mode.
174 Avoid calling tty-setup-hook twice, eg if a term file
175 explicitly calls tty-run-terminal-initialization. (Bug#16859)
176 * faces.el (tty-run-terminal-initialization): Add run-hook argument.
177 (tty-create-frame-with-faces): Use it.
178 * startup.el (command-line): Pass run-hook argument
179 to tty-run-terminal-initialization.
181 * dired.el (dired-restore-desktop-buffer): Demote errors;
182 eg in case a glob match fails. (Bug#16884)
184 2014-02-26 Dmitry Gutov <dgutov@yandex.ru>
186 * emacs-lisp/lisp.el (lisp--local-variables): Catch `end-of-file'
187 error from `read-from-string'. (Bug#16850)
189 * emacs-lisp/ert.el (ert-run-tests-interactively): `read' the
190 result of `completing-read' in the interactive form. (Bug#16854)
192 2014-02-25 Glenn Morris <rgm@gnu.org>
194 * image.el (image-animate, image-animate-timeout):
195 Stop animating images in dead buffers. (Bug#16878)
197 * emacs-lisp/edebug.el (defmacro): Fix debug spec. (Bug#16868)
199 * faces.el (tty-setup-hook, tty-run-terminal-initialization):
201 * startup.el (term-setup-hook): Doc fix. Make obsolete.
202 * term/sun.el (sun-raw-prefix-hooks):
203 Use tty-setup-hook instead of term-setup-hook.
204 (terminal-init-sun): Construct message from bytecomp plist.
205 * term/wyse50.el (enable-arrow-keys): Doc fix.
207 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
209 * term/sun.el (kill-region-and-unmark, sun-raw-prefix-hooks):
212 2014-02-24 Michael Albinus <michael.albinus@gmx.de>
214 * net/tramp-sh.el (tramp-sh-handle-file-truename): Improve last fix.
216 2014-02-24 Nicolas Richard <theonewiththeevillook@yahoo.fr>
218 * minibuffer.el (completion--try-word-completion):
219 Fix error when completing M-x commands (bug#16808).
221 2014-02-24 Leo Liu <sdl.web@gmail.com>
223 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
225 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
227 * apropos.el (apropos-print): Avoid formatting error when
228 apropos-do-all and apropos-compact-layout are both t.
230 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
232 * apropos.el (apropos-property, apropos-all-words-regexp)
233 (apropos-true-hit, apropos-variable, apropos-print):
234 Fix docstring typos, and remove obsolete comment.
236 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
238 * net/tramp-sh.el (tramp-sh-handle-file-truename):
239 Preserve trailing "/". (Bug#16851)
241 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
243 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
244 after `=>' (bug#16811).
245 (ruby-smie-rules): Handle the inconsistent second element of the
246 list returned by `smie-indent--parent'.
247 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
250 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
252 * elec-pair.el (electric-pair-text-syntax-table)
253 (electric-pair-syntax-info, electric-pair--syntax-ppss)
254 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
255 (electric-pair--looking-at-unterminated-string-p): Doc fix.
256 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
258 2014-02-22 Glenn Morris <rgm@gnu.org>
260 * imenu.el (imenu--generic-function): Doc fix.
262 * register.el (frame-configuration-to-register): Make obsolete.
264 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
266 * desktop.el (desktop-save-buffer-p): Do not fail when
267 desktop-files-not-to-save is nil. Return t for true result
270 2014-02-22 Daniel Colascione <dancol@dancol.org>
272 * net/secrets.el (secrets-create-item,secrets-search-items): Check
273 that attribute values are strings, avoiding the construction of
274 invalid dbus messages.
276 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
278 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
279 defun-declarations-alist.
281 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
283 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
286 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
288 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
289 (whitespace-newline, whitespace-trailing, whitespace-line)
290 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
291 (whitespace-space-after-tab): Fix typo in docstrings.
293 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
295 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
297 * electric.el (electric-indent-functions-without-reindent):
298 Add `yaml-indent-line'.
300 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
302 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
303 It has done nothing for years; should be removed after the release.
305 * simple.el (choose-completion): Fix docstring typo.
306 (read-quoted-char-radix): Remove unneeded * in docstring.
307 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
308 Don't escape parentheses unnecessarily in docstrings.
310 2014-02-21 Martin Rudalics <rudalics@gmx.at>
312 Fix handling of window-min-height/-width (Bug#16738).
313 * window.el (window--dump-window, window--dump-frame):
315 (window--min-size-1): Account for window dividers.
316 When window-resize-pixelwise is nil, delay rounding till after the
317 sum of the window components has been calculated.
318 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
319 nil make sure at least one text line and two text columns remain
321 (window-resize): Signal an error when window-resize-apply fails.
322 (window--resize-child-windows): Fix calculation of by how many
323 pixels a window can still be shrunk via window-new-normal.
324 (adjust-window-trailing-edge): Call window--resizable with
325 correct TRAIL argument.
327 (with-temp-buffer-window): Don't evaluate BODY within
328 with-current-buffer (Bug#16816).
330 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
332 * net/tramp.el (tramp-check-cached-permissions):
333 Call `file-attributes' with `suffix' being a symbol but a string.
335 2014-02-21 Daniel Colascione <dancol@dancol.org>
337 * net/dbus.el (dbus-init-bus-1): Declare new subr.
338 (dbus-init-bus): New function: call into dbus-init-bus-1
339 and installs a handler for the disconnect signal.
340 (dbus-call-method): Rewrite to look for result in cons.
341 (dbus-call-method-handler): Store result in cons.
342 (dbus-check-event): Recognize events with nil sender as valid.
343 (dbus-handle-bus-disconnect): New function. React to bus
344 disconnection signal by synthesizing dbus error for each
345 pending synchronous or asynchronous call.
346 (dbus-notice-synchronous-call-errors): New function.
347 (dbus-handle-event): Raise errors directly only when `dbus-debug'
348 is true, not all the time.
350 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
352 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
353 Remove obsolescence declarations, these variables do not exist anymore.
355 * savehist.el (savehist-save-minibuffer-history)
356 (savehist-additional-variables, savehist-file, savehist-mode-hook)
357 (savehist-save-hook, savehist-coding-system, savehist-loaded)
358 (savehist-load, savehist-install, savehist-autosave): Fix typos;
359 mostly, refer to "Savehist mode" when talking about the mode,
360 and not the function.
362 * saveplace.el (save-place): Remove redundant info in docstring.
363 (save-place-forget-unreadable-files, toggle-save-place)
364 (save-place-forget-unreadable-files, save-place-dired-hook):
365 Fix typos and remove unneeded backslashes.
367 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
369 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
370 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
372 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
373 <insert-directory>: Use `tramp-handle-insert-directory'.
374 (tramp-gvfs-handle-insert-directory): Remove function.
376 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
377 Call `tramp-handle-insert-directory'.
379 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
381 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
382 before the start of buffer/region (bug#16799).
384 2014-02-20 Glenn Morris <rgm@gnu.org>
386 * isearch.el (search-invisible): Doc fix.
388 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
390 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
393 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
395 * frameset.el (frameset-restore): Delay removing an old frame's
396 duplicate id until the new frame has been correctly created.
398 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
400 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
401 (tramp-check-cached-permissions): Call `file-attributes' if the
404 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
405 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
407 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
408 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
409 (tramp-gvfs-maybe-open-connection): Set always connection
410 properties, even if target is mounted already.
412 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
413 Set tramp-autoload cookie.
414 (tramp-get-remote-touch): New defun.
415 (tramp-sh-handle-set-file-times): Use it.
416 (tramp-sh-handle-directory-files-and-attributes):
417 Use `tramp-handle-directory-files-and-attributes' if neither stat
418 nor perl are available on the remote host.
420 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
421 "/". Write long listing only when "l" belongs to the switches.
423 * net/trampver.el: Update release number.
425 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
427 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
429 2014-02-19 Martin Rudalics <rudalics@gmx.at>
431 * window.el (window-state-put): Allow WINDOW to refer to an
432 internal window (Bug#16793).
434 2014-02-19 Glenn Morris <rgm@gnu.org>
436 * textmodes/remember.el: Move provide statement to end.
437 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
438 (remember-notes): Doc fixes.
440 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
442 * delsel.el (delete-char): Restore incorrectly erased property
445 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
447 * frameset.el (frameset--restore-frame): When a frame is being reused
448 and its root window is not alive, delete all the frame's windows before
449 restoring the window state. This works around the issue in bug#16793.
451 2014-02-18 Glenn Morris <rgm@gnu.org>
453 * textmodes/remember.el (remember-data-directory)
454 (remember-directory-file-name-format, remember-store-in-files)
455 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
456 (remember-notes-save-and-bury-buffer)
457 (remember-notes--kill-buffer-query): Doc fixes.
459 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
461 2014-02-17 Alan Mackenzie <acm@muc.de>
463 Connect electric-indent-mode up with CC Mode. Bug #15478.
464 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
465 to electric-indent-{,local-}-mode.
466 (c-basic-common-init): Set electric-indent-inhibit.
467 Initialise c-electric-flag from electric-indent-mode.
468 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
469 New hook functions which propagate electric-indent-mode to CC mode.
471 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
472 hit, toggle electric-indent-local-mode.
474 * electric.el (electric-indent-mode-has-been-called):
477 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
479 * frameset.el (frameset-cfg-id): New function.
480 (frameset--reuse-frame, frameset-restore): Use it.
481 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
483 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
485 * ido.el (ido-file-internal): Remove unused var `d'.
486 Use \` for to match BoS. Fit within 80n columns.
488 2014-02-17 Daniel Colascione <dancol@dancol.org>
490 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
491 dbus-call-method check for completion using a busy-wait loop with
494 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
496 Sync with Tramp 2.2.9.
498 * net/trampver.el: Update release number.
500 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
502 * ido.el (ido-file-internal): Don't add the name of an existing
503 directory twice. (Bug#16747)
505 2014-02-16 Glenn Morris <rgm@gnu.org>
507 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
508 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
510 2014-02-15 Michael R. Mauger <michael@mauger.com>
512 * progmodes/sql.el: Version 3.4
513 (sql-oracle-options): New default value ("-L").
514 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
515 (sql-placeholders-filter): Correct placeholder pattern.
516 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
517 (sql-login-delay): New variable.
518 (sql-product-interactive): Use it.
520 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
522 * frameset.el (frameset--jump-to-register): Check that buffer is live
525 2014-02-15 Glenn Morris <rgm@gnu.org>
527 * info.el (info-initialize): Revert 2014-01-10 change.
529 2014-02-14 Glenn Morris <rgm@gnu.org>
531 * replace.el (map-query-replace-regexp)
532 (read-regexp-defaults-function, read-regexp): Doc fixes.
534 * dired.el (dired-read-regexp):
535 * faces.el (list-faces-display):
536 * misearch.el (multi-isearch-read-matching-buffers)
537 (multi-isearch-read-matching-files):
538 * play/cookie1.el (cookie-apropos):
539 * progmodes/grep.el (grep-read-regexp): Doc fixes.
541 * textmodes/remember.el (remember): Use frameset-to-register
542 rather than frame-configuration-to-register.
544 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
546 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
547 incorrect keybinding.
549 2014-02-13 Daniel Colascione <dancol@dancol.org>
551 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
552 when adding overlays so that line numbers from compiler match line
555 2014-02-13 Glenn Morris <rgm@gnu.org>
557 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
559 * jit-lock.el (jit-lock-mode): Doc fix.
561 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
563 * apropos.el (apropos-read-pattern): When the user passes an empty
564 string, give a more helpful error message than "Wrong type
565 argument: stringp, nil".
567 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
569 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
571 2014-02-13 Glenn Morris <rgm@gnu.org>
573 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
575 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
577 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
578 shift-select commands.
580 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
582 * progmodes/js.el (js-indent-line): Don't widen.
583 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
585 2014-02-12 Glenn Morris <rgm@gnu.org>
587 * icomplete.el (icomplete): Add info-link to defgroup.
588 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
589 (icomplete-minibuffer-map, icomplete-mode)
590 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
592 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
593 (package-menu-filter): Rename from package-menu-filter-interactive.
596 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
598 * frameset.el (frameset--jump-to-register): Select the required
599 window and buffer before restoring position (bug#16696).
601 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
603 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
605 2014-02-10 Glenn Morris <rgm@gnu.org>
607 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
609 2014-02-10 Eli Zaretskii <eliz@gnu.org>
611 * w32-common-fns.el (x-get-selection): Doc fix.
612 * select.el (x-get-selection): Doc fix. (Bug#15109)
614 * face-remap.el (face-remap-add-relative)
615 (face-remap-remove-relative, face-remap-reset-base)
616 (face-remap-set-base): Call force-mode-line-update to redisplay
617 the current buffer due to potential change in faces. (Bug#16709)
619 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
621 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
622 script more robustly.
624 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
626 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
628 * simple.el (choose-completion): Doc fix (bug#14160).
630 * subr.el (event-start): Say what a nil EVENT value means.
632 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
635 * progmodes/grep.el (find-program): Doc fix (bug#14289).
637 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
639 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
641 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
642 predicate function (bug#15455).
644 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
646 * ielm.el (inferior-emacs-lisp-mode): Instead of
647 `comment-use-global-state', set `comment-use-syntax'.
649 2014-02-10 Glenn Morris <rgm@gnu.org>
651 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
653 2014-02-09 Alan Mackenzie <acm@muc.de>
655 Fix c-invalidate-state-cache on narrowed buffers.
656 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
657 Widen when setting and clearing the CPP delimiter properties.
659 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
661 * help.el (describe-bindings): Doc fix (bug#9888).
663 * files.el (save-buffer): Use ARG as the parameter name for
664 consistency (bug#10346).
665 (save-buffer): Clarify the 0 argument (bug#10346).
667 * cus-edit.el (customize-apropos): Fix error string.
668 (custom-buffer-create): Doc fix (bug#11122).
669 (custom-sort-items): Doc fix (bug#11121).
671 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
673 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
674 (icomplete-simple-completing-p): Mention the previous variable.
676 * font-lock.el (font-lock-value-in-major-mode): Clarify the
677 meaning of the parameter (bug#12282).
679 * files.el (find-file-noselect): Clarify prompt when changing
680 readedness (bug#13261).
681 (locate-file): Suffixes aren't returned, so don't say that they
683 (backup-inhibited): Doc clarification (bug#12525).
685 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
686 before we actually start to delete things (bug#16331).
688 * subr.el (event-start): Doc fix (bug#14228).
691 2014-02-09 Glenn Morris <rgm@gnu.org>
693 * emacs-lisp/warnings.el (lwarn):
694 Empower help-enable-auto-load. (Bug#15940)
696 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
698 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
701 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
703 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
704 Insert output at end of buffer. (Bug#16120)
706 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
708 * simple.el (choose-completion-string-functions): Document new
709 calling convention (bug#14153).
710 (execute-extended-command): Clarify doc string (bug#13373).
712 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
714 * find-dired.el (find-name-dired): Doc fix (bug#14290).
715 (find-grep-dired): Doc fix (bug#14288).
717 2014-02-08 Juri Linkov <juri@jurta.org>
719 * isearch.el (isearch-quote-char): Check character validity
720 like in `quoted-insert' (bug#16677).
722 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
724 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
726 * isearch.el (isearch-hide-immediately): Doc clarification
729 * simple.el (line-move): Document utility function used many
730 places in the Emacs sources (bug#14843).
732 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
733 (dired-prev-marked-file): Doc fix (bug#14855).
734 (dired-up-directory): Doc fix (bug#14848).
736 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
738 * files.el (file-relative-name): Doc fix (bug#15159).
740 * fringe.el (fringe-styles): Doc fix (bug#15239).
742 * isearch.el (isearch-filter-predicate): Documentation typo fix
745 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
747 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
749 * replace.el (replace-match-maybe-edit): Doc clarification
752 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
754 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
756 2014-02-08 Glenn Morris <rgm@gnu.org>
758 * help-fns.el (describe-variable):
759 Check {file,dir}-local-variables-alist, and buffer-file-name,
760 in the correct buffer.
762 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
764 * help-fns.el (describe-variable): Fix the case where
765 a value is directory-local with no dir-locals file. (Bug#16635)
767 2014-02-08 Glenn Morris <rgm@gnu.org>
769 * abbrev.el (edit-abbrevs-mode):
770 Derive from fundamental-mode. (Bug#16682)
772 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
774 * simple.el (quoted-insert): Check character validity (bug#16677).
776 2014-02-07 Juri Linkov <juri@jurta.org>
778 * desktop.el (desktop-read): Claim the lock when the owner is not
779 the current process. (Bug#16157)
781 2014-02-07 Juri Linkov <juri@jurta.org>
783 * desktop.el (desktop-buffers-not-to-save): Change default from nil
784 to "\\` ". (Bug#16651)
786 2014-02-07 Juri Linkov <juri@jurta.org>
788 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
789 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
790 (desktop-auto-save-cancel-timer): New function with some code from
791 `desktop-auto-save-set-timer'.
792 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
793 Instead of setting `desktop-save-mode' to nil, call
794 `desktop-save-mode' with arg 0. (Bug#16630)
796 2014-02-07 Glenn Morris <rgm@gnu.org>
798 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
799 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
800 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
802 * obsolete/iswitchb.el: Move to obsolete/.
803 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
804 since obsolete/ is not scanned for autoloads.
805 * emacs-lisp/authors.el (authors-valid-file-names):
808 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
809 Disable now non-functional find-file-hook.
811 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
813 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
814 instead of ";" in order to avoid additional prompts. Let heredoc
815 scripts read from tty. (Bug#16582)
816 (tramp-send-command): No special handling of heredocs, it isn't
819 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
821 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
822 with a space (bug#16664). Limit the symbols considered to the ones
823 that are bound or fbound (bug#16646).
825 2014-02-06 Glenn Morris <rgm@gnu.org>
827 * epa.el (epa-mail-aliases): Doc fix.
829 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
831 * emacs-lisp/lisp.el (lisp-completion-at-point):
832 Use `completion-table-merge' instead of `completion-table-in-turn'
835 * minibuffer.el (completion-table-merge): New function.
837 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
839 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
840 (tramp-sh-handle-set-file-acl)
841 (tramp-sh-handle-start-file-process)
842 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
843 (tramp-find-executable, tramp-send-command): Use it.
845 2014-02-05 Glenn Morris <rgm@gnu.org>
847 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
849 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
851 * progmodes/python.el (python-shell-send-string):
852 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
854 2014-02-04 Anders Lindgren <andlind@gmail.com>
856 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
857 the names (bug#16620).
859 2014-02-03 Martin Rudalics <rudalics@gmx.at>
861 * faces.el (window-divider): New default value. Rewrite doc-string.
862 (window-divider-first-pixel, window-divider-last-pixel): New faces.
864 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
866 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
867 `protected' and `public' can also be called without arguments.
869 2014-02-03 Glenn Morris <rgm@gnu.org>
871 * register.el (window-configuration-to-register)
872 (frame-configuration-to-register): Unadvertise unused argument.
873 * frameset.el (frameset-to-register): Remove unused argument.
875 * frameset.el (frameset-to-register):
876 * kmacro.el (kmacro-to-register):
877 * register.el (increment-register):
878 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
879 (calc-append-to-register, calc-prepend-to-register):
880 * play/gametree.el (gametree-layout-to-register)
881 (gametree-apply-register-layout):
882 * textmodes/picture.el (picture-clear-rectangle-to-register)
883 (picture-yank-rectangle-from-register):
884 * vc/emerge.el (emerge-combine-versions-register):
885 Use register-read-with-preview to read registers.
887 2014-02-03 João Távora <joaotavora@gmail.com>
889 * elec-pair.el (electric-pair-backward-delete-char): Don't error
890 when at beginning of (possibly narrowed) buffer.
892 2014-02-02 Daniel Colascione <dancol@dancol.org>
894 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
895 Also try to display local help from just before point.
897 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
899 c-parse-state. Don't "append-lower-brace-pair" in certain
900 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
901 recognised as a comment.
903 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
904 as well as normal comment starter.
905 (c-parse-state-get-strategy): Extra return possibility
907 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
908 return value list to indicate replacement of a brace-pair cons
910 (c-parse-state-1): With 'back-and-forward, only call
911 c-append-lower-brace-pair-to state-cache when cons-separated.
913 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
915 * term/ns-win.el (ns-suspend-error): New function.
916 (ns-initialize-window-system): Add ns-suspend-error to
917 suspend-hook (Bug#16612).
919 2014-02-02 Daniel Colascione <dancol@dancol.org>
921 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
923 2014-02-02 Daniel Colascione <dancol@dancol.org>
925 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
927 2014-02-02 Glenn Morris <rgm@gnu.org>
929 * register.el (register-read-with-preview, point-to-register)
930 (window-configuration-to-register, frame-configuration-to-register)
931 (jump-to-register, number-to-register, view-register, insert-register)
932 (copy-to-register, append-to-register, prepend-to-register)
933 (copy-rectangle-to-register): Doc fixes.
935 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
937 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
938 * emacs-lisp/find-func.el (find-function-C-source): Idem.
939 * emacs-lisp/nadvice.el (advice--cd*r): New function.
940 * help-fns.el (describe-function-1): Use it.
942 2014-02-02 Glenn Morris <rgm@gnu.org>
944 * register.el (register-preview-default): New function,
945 split from register-preview.
946 (register-preview-function): Rename from register-preview-functions,
948 (register-preview): Use register-preview-function.
949 (register-read-with-preview): Error on non-character event. (Bug#16595)
951 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
953 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
954 `:' before binary operators (bug#16609). Don't check for `:'
955 before `[' and `(', or their syntax status. A percent literal
956 can't end with either.
957 (ruby-font-lock-keywords): For built-ins that require arguments,
958 check that they're followed by something that looks like argument
961 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
963 * subr.el (butlast): Document what an omitted N means (bug#13437).
966 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
968 * net/shr.el (shr-generic): Make into a defsubst to make the stack
969 depth shallower (bug#16587).
970 (shr-tag-svg): Respect `shr-inhibit-images'.
971 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
973 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
975 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
976 (ruby-smie-grammar): Make "." right-associative. Make its priority
977 lower than the ternary and all binary operators.
978 (ruby-smie-rules): Indent "(" relative to the first non-"."
979 parent, or the first "." parent at indentation.
980 Use `ruby-align-chained-calls' for indentation of "." tokens.
983 2014-01-31 Juri Linkov <juri@jurta.org>
985 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
986 from `make-hash-table'.
988 * textmodes/ispell.el (ispell-init-process): Change message format
989 to be consistent with other messages.
991 2014-01-31 Glenn Morris <rgm@gnu.org>
993 * delsel.el (delete-selection-mode): Doc fix.
995 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
996 (trace-function-background): Doc fixes.
998 * ido.el (ido-use-virtual-buffers): Doc fix.
999 Reset :version, since the default value has not changed.
1001 * register.el (register-preview-delay, register-read-with-preview):
1004 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
1005 do not mess with mail-buffer position (fixes 2009-11-03 change).
1006 * progmodes/cc-mode.el (c-submit-bug-report):
1007 Check auto-fill-mode is bound. (Bug#16592)
1009 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
1011 * startup.el (fancy-splash-image-file): New function,
1012 split from fancy-splash-head.
1013 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
1014 so that we are both using the same image. (Bug#16574)
1016 2014-01-30 Glenn Morris <rgm@gnu.org>
1018 * simple.el (eval-expression): Doc fix.
1020 * hexl.el (hexl-mode-hook):
1021 * ielm.el (ielm-mode-hook):
1022 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
1023 (lisp-interaction-mode-hook):
1024 * progmodes/cfengine.e (cfengine3-documentation-function):
1025 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
1027 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
1029 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
1030 is a symbol (bug#16584).
1032 2014-01-30 Glenn Morris <rgm@gnu.org>
1034 * help.el (help-for-help-internal): Add "P" to text.
1036 2014-01-29 Glenn Morris <rgm@gnu.org>
1038 * simple.el (just-one-space, cycle-spacing): Doc fixes.
1040 2014-01-28 Martin Rudalics <rudalics@gmx.at>
1042 * window.el (fit-frame-to-buffer): Fix calculations for margins and
1045 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
1047 * progmodes/hideif.el: Extend to full CPP expression syntax.
1048 (hif-token-alist): Add missing tokens.
1049 (hif-token-regexp): Add support for float/octal/hex immediates.
1050 (hif-string-literal-regexp): New const.
1051 (hif-tokenize): Recognize strings and float/octal/hex immediates.
1052 (hif-exprlist): New function.
1053 (hif-parse-if-exp): Use it.
1054 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
1055 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
1056 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
1057 (hif-logxor, hif-comma): New functions.
1059 2014-01-28 Glenn Morris <rgm@gnu.org>
1061 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
1063 * indent.el (tab-stop-list): Doc fix. Add :version.
1065 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
1066 (cvs-append-to-ignore): Add compatibility alias.
1068 2014-01-27 Glenn Morris <rgm@gnu.org>
1070 * dired.el (dired-hide-details-mode): Don't autoload it,
1071 since it cannot be used outside Dired buffers anyway.
1073 * emulation/cua-base.el (cua-mode): Doc fix.
1075 * dired.el (dired-hide-details-hide-symlink-targets)
1076 (dired-hide-details-hide-information-lines)
1077 (dired-hide-details-mode): Doc fixes.
1079 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
1080 * strokes.el (strokes-file): Doc fix. Bump :version.
1081 (strokes-help): Doc fix.
1082 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
1083 * emulation/viper.el (viper): Doc fix for custom group.
1084 (top-level): Remove oh-so-no-longer-relevant text about vip.
1085 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
1087 * ido.el (ido-save-directory-list-file):
1088 * saveplace.el (save-place-file):
1089 * calendar/timeclock.el (timeclock-file):
1090 * net/quickurl.el (quickurl-url-file):
1091 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
1092 * progmodes/idlwave.el (idlwave-config-directory):
1093 * textmodes/remember.el (remember-data-file):
1096 2014-01-26 Glenn Morris <rgm@gnu.org>
1098 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
1099 Doc fix. Make obsolete.
1100 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
1102 * sort.el (delete-duplicate-lines): Doc fix.
1104 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1106 * progmodes/ada-mode.el (ada):
1107 * woman.el (woman): Link to info manual and Commentary section.
1109 * progmodes/flymake.el (flymake):
1110 * nxml/nxml-mode.el (nxml):
1112 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
1113 * htmlfontify.el (htmlfontify):
1116 * ido.el (ido): Link to info manual.
1118 2014-01-25 Leo Liu <sdl.web@gmail.com>
1120 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
1122 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
1124 * net/shr.el (shr-tag-img): Prefer the title over the alt text
1127 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
1129 * net/eww.el (eww-download-callback):
1130 Fix reference to eww-download-directory.
1132 * emacs-lisp/bytecomp.el (byte-compile-file):
1133 Remove unused local variable `file-name'.
1135 2014-01-24 Glenn Morris <rgm@gnu.org>
1137 * woman.el (woman-default-faces, woman-monochrome-faces):
1138 Fix obsolescence specification.
1140 * subr.el (with-demoted-errors): Doc fix.
1142 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
1144 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
1145 (cl--macroexp-fboundp): New function.
1146 (cl--make-type-test): Use it.
1148 2014-01-23 Glenn Morris <rgm@gnu.org>
1150 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
1151 * simple.el (eval-expression): Doc fixes.
1153 2014-01-22 Glenn Morris <rgm@gnu.org>
1155 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
1157 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
1159 * emacs-lisp/package.el: Write files silently.
1160 (package-autoload-ensure-default-file, package--write-file-no-coding)
1161 (package-generate-description-file, package--download-one-archive)
1162 (package-install-from-archive): Tell `write-region' to stay quiet.
1163 (package-menu-mode, package-menu--print-info): Omit the Archive column
1164 if there's only one archive.
1165 (package-all-keywords, package--has-keyword-p): Remove dead code.
1167 2014-01-22 Glenn Morris <rgm@gnu.org>
1169 * version.el (emacs-bzr-version-bzr): Fix typo.
1171 * version.el (emacs-repository-get-version):
1172 Check either .bzr or .git, but not both.
1173 Make the git case actually use the DIR argument, and return nil
1174 rather than the empty string.
1175 Avoid error if .git exists but the git executable is not found.
1177 2014-01-22 Martin Rudalics <rudalics@gmx.at>
1179 Fixes in window size functions around Bug#16430 and Bug#16470.
1180 * window.el (window-total-size, window-size): New argument ROUND.
1181 (window--min-delta-1, window-min-delta, window--max-delta-1):
1182 Be more conservative when calculating the numbers of lines or
1183 columns a window can shrink (Bug#16430).
1184 (fit-window-to-buffer): Simplify code.
1185 * term.el (term-window-width): Call window-body-width again.
1187 2014-01-22 Glenn Morris <rgm@gnu.org>
1189 * image.el (image-format-suffixes): Doc fix.
1191 * international/quail.el (quail-define-package): Doc fix.
1193 * emacs-lisp/authors.el (authors-valid-file-names):
1194 (authors-renamed-files-alist): Additions.
1196 * vc/vc-git.el (vc-git-print-log): Remove --follow;
1197 reverts 2014-01-09 change. (Bug#16422)
1199 * calc/calc-embed.el (thing-at-point-looking-at):
1200 * emacs-lisp/map-ynp.el (x-popup-dialog):
1201 * obsolete/lmenu.el (x-popup-dialog):
1202 * emacs-lisp/package.el (url-recreate-url):
1203 * mail/mailclient.el (clipboard-kill-ring-save):
1204 * subr.el (x-popup-dialog): Update declaration.
1205 * mail/rmail.el (rmail-mime-message-p):
1206 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
1208 2014-01-21 Daniel Colascione <dancol@dancol.org>
1210 * progmodes/sh-script.el (sh--inside-noncommand-expression):
1211 Correctly detect when we're inside an arithmetic expansion form
1212 containing nested parenthesis.
1213 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
1214 to detect cases where we shouldn't expand "<<" to a heredoc
1217 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
1219 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1220 (eldoc--message-command-p): New function.
1221 (eldoc-display-message-p): Use it.
1222 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1223 message is not automatically erased for us.
1224 (eldoc-print-current-symbol-info): Erase previous message, if any.
1226 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1228 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1229 specify it's an interactive function.
1231 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1232 Fix regex used for scanning for citation keys which failed for
1233 citations with optional arguments.
1235 2014-01-21 Leo Liu <sdl.web@gmail.com>
1237 * simple.el (read--expression): Don't enable eldoc-mode.
1239 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1241 * simple.el (move-beginning-of-line): Make sure we don't move forward
1244 2014-01-20 Juri Linkov <juri@jurta.org>
1246 * saveplace.el (toggle-save-place, save-place-to-alist)
1247 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1248 'dired-mode) before checking for dired-directory. (Bug#16477)
1250 2014-01-20 Juri Linkov <juri@jurta.org>
1252 * indent.el (indent-line-to): Use backward-to-indentation
1253 instead of back-to-indentation. (Bug#16461)
1255 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1257 Revert some of the CANNOT_DUMP fix (Bug#16494).
1258 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1259 but fixing this can wait until after the next release.
1260 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1262 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1264 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1265 Use `password-word-equivalents'.
1266 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1267 to t. (Bug#5664, Bug#13124)
1269 2014-01-19 Alan Mackenzie <acm@muc.de>
1271 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1273 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1274 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1275 * progmodes/cc-mode.el (c-before-change, c-after-change)
1276 (c-font-lock-fontify-region): Bind it here.
1278 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1280 * term.el (term-window-width): Call window-text-width instead of
1281 window-width (Bug#16470).
1283 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1285 * simple.el (password-word-equivalents): Remove duplicates.
1286 Sort, to make this easier next time.
1287 Downcase. Omit ": " after "jelszó".
1289 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1291 * term/common-win.el (saved-region-selection): Defvar it.
1292 (x-select-text): Set saved-region-selection (Bug#16382).
1294 2014-01-18 Glenn Morris <rgm@gnu.org>
1296 * emacs-lisp/authors.el (authors-aliases)
1297 (authors-renamed-files-alist): Add some entries.
1299 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1301 * net/tramp.el (tramp-password-prompt-regexp):
1302 Use `password-word-equivalents' if available.
1303 (tramp-action-password, tramp-process-one-action)
1304 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1306 2014-01-17 Chong Yidong <cyd@gnu.org>
1308 * simple.el (password-word-equivalents): New defcustom.
1309 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1311 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1314 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1316 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1317 (ruby-align-to-stmt-keywords): Change the default value.
1318 Use `ruby-alignable-keywords' to generate the possible customization
1320 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1321 keywords, check against the value of `ruby-alignable-keywords'
1322 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1324 2014-01-17 Glenn Morris <rgm@gnu.org>
1326 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1328 Make M-x authors return zero *Authors Errors* from current logs.
1329 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
1330 (authors-ignored-files): Add some entries, remove others.
1331 (authors-ambiguous-files, authors-valid-file-names):
1333 (authors-renamed-files-alist): Add, remove, and adjust entries.
1334 (authors-renamed-files-regexps): Add some entries.
1335 Remove some very broad ones. Make some entries `lax'.
1336 (authors-lax-changelogs): New constant.
1337 (authors-disambiguate-file-name): Treat top-level specially.
1338 (authors-lax-changelog-p): New function.
1339 (authors-canonical-file-name): Check file as written against
1340 authors-valid-file-names. Do not special-case etc/.
1341 Handle `lax' logs and authors-renamed-files-regexps elements.
1343 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1345 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1346 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1349 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1351 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1352 Assume we're already in the proper buffer.
1353 Inspired by Anders Lindgren <andlind@gmail.com>.
1354 (follow-post-command-hook): Call it from the right buffer.
1355 (follow-comint-scroll-to-bottom): Adjust call.
1356 (follow-all-followers): Use get-buffer-window-list.
1358 2014-01-15 Daniel Colascione <dancol@dancol.org>
1360 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1361 `buffer-file-name' in interactive-form so that we don't leave
1362 pathless file names in `file-name-history'.
1364 2014-01-15 Juri Linkov <juri@jurta.org>
1366 * indent.el (indent-rigidly): Set deactivate-mark to nil
1367 in transient indentation mode. (Bug#16438)
1369 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1371 * emacs-lisp/package.el (package-desc-keywords): New function
1373 (describe-package-1, package-all-keywords)
1374 (package--has-keyword-p): Use it.
1376 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1378 * simple.el (define-alternatives): When creating the
1379 COMMAND-alternatives variable, assign COMMAND as its definition
1380 name so that `describe-variable' can relocate it.
1382 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1384 * font-lock.el (font-lock-keywords): Fix typo in docstring
1387 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1389 * ispell.el (ispell-region): Reset `in-comment' for new line
1390 instead of wrongly reset `add-coment' (bug#13577).
1392 2014-01-14 Daiki Ueno <ueno@gnu.org>
1394 * epa-file.el (epa-file-write-region): Encode the region according
1395 to `buffer-file-format'. Problem reported at:
1396 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1398 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1400 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1401 so it applies in the right buffer (bug#16410).
1403 2014-01-13 Daniel Colascione <dancol@dancol.org>
1405 * textmodes/rst.el (rst-define-key): Provide deprecated
1406 keybindings through named functions instead of anonymous ones so
1407 that "??" doesn't appear in describe-mode output.
1409 2014-01-13 Bastien Guerry <bzg@gnu.org>
1411 * simple.el (define-alternatives): Call the selected command
1412 interactively. When setting `COMMAND--implementation' for the
1413 first time, tell the user how to chose another implementation.
1414 Enhance the docstring.
1416 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1418 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1419 (log-edit--match-first-line): New function.
1420 (log-edit-font-lock-keywords): Use it.
1421 (log-edit-mode): Make jit-lock-defer-multiline work.
1423 2014-01-13 Bastien Guerry <bzg@gnu.org>
1425 * rect.el (rectangle-mark-mode): When the region is not active,
1426 display a message saying that the mark as been set and that
1427 rectangle mode is in use.
1428 (rectangle--highlight-for-redisplay): Only put an overlay with a
1429 visible vertical bar when (display-graphic-p) is non-nil.
1430 This partially fixes Bug#16403.
1432 2014-01-13 Juri Linkov <juri@jurta.org>
1434 * info.el (Info-find-file): Go to DIR before displaying the error
1435 about a nonexistent file if no previous Info file is visited.
1436 Use `user-error' instead of `error' for "Info file %s does not exist".
1437 (Info-find-node-2): In case of a nonexistent node in unwind forms
1438 go to the Top node if there is no previous node to revert to.
1441 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1443 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1444 * window.el (fit-frame-to-buffer): Fix doc-string.
1445 Respect window-min-height/-width. Fit pixelwise when
1446 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1447 when avoiding that frame goes partially off-screen.
1448 (fit-window-to-buffer): Respect window-min-height/-width
1451 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1453 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1454 after an empty line.
1456 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1458 * net/shr.el (shr-render-region): Autoload.
1460 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1462 * net/eww.el (eww-download-directory): Rename from
1463 `eww-download-path' (Bug#16419).
1465 2014-01-12 Leo Liu <sdl.web@gmail.com>
1467 * dired-x.el (dired-mode-map): Fix last change.
1469 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1471 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1474 * emacs-lisp/generic.el (generic--normalize-comments):
1475 Rename from generic--normalise-comments. All uses changed.
1476 * play/bubbles.el (bubbles--neighborhood-score):
1477 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1478 (bubbles--neighborhood-available)
1479 (bubbles--update-neighborhood-score):
1480 Rename from names with 'neighbourhood'. All uses changed.
1482 2014-01-12 Leo Liu <sdl.web@gmail.com>
1484 Re-implement the feature of showing eldoc info after editing.
1485 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1486 (eldoc-edit-message-commands): New function.
1487 (eldoc-print-after-edit): New variable.
1488 (eldoc-pre-command-refresh-echo-area): Emit message only by
1489 eldoc-message-commands.
1490 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1491 if eldoc-print-after-edit is set. (Bug#16346)
1492 * simple.el (read--expression): Enable eldoc-mode.
1493 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1495 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1496 Eric S. Raymond <esr@thyrsus.com>
1498 * version.el (emacs-repository-get-version): Enhance so the
1499 function works correctly in either a Bazaar or Git repo.
1501 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1503 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1504 Goes with removal of the joke manpages from /etc.
1506 2014-01-10 Kenichi Handa <handa@gnu.org>
1508 * mail/rmail.el (rmail-get-coding-system):
1509 Check rmail-get-coding-function before "funcall"ing it.
1511 2014-01-10 Glenn Morris <rgm@gnu.org>
1513 * emacs-lisp/authors.el (authors-fixed-entries):
1514 Update for files that no longer exist.
1516 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1518 * version.el (emacs-bzr-get-version): Restore compatibilty with
1521 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1523 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1526 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1528 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1530 2014-01-10 Chong Yidong <cyd@gnu.org>
1532 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1534 2014-01-10 Anders Lindgren <andlind@gmail.com>
1536 * follow.el (follow-cache-command-list): Include right-char and
1539 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1542 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1543 * woman.el (woman-mark-horizontal-position):
1544 Rename from woman-mark-horizonal-position. Use changed.
1546 2014-01-10 Glenn Morris <rgm@gnu.org>
1548 * info.el (info-initialize): If running uninstalled, ensure our
1549 own info files are always found first, even if INFOPATH is set.
1551 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1553 2014-01-09 David Engster <deng@randomsample.de>
1555 * emacs-lisp/eieio-custom.el:
1556 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1557 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1558 * emacs-lisp/eieio.el: Regenerate autoloads.
1560 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1562 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1563 following renames. (Bug#8756)
1565 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1567 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1569 (activate-mark): Add `no-tmm' argument.
1570 (set-mark, push-mark-command): Use it instead of running
1571 activate-mark-hook by hand.
1573 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1575 In preparation for the move to git, sanitize out some
1576 Bazaar-specific names.
1578 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1580 * version.el (emacs-bzr-version): Name changed to
1581 emacs-repository-version. Obsolete-variable alias made.
1582 * loadup.el: Follow through on this name change.
1583 * mail/emacsbug.el (report-emacs-bug): Factor out any
1584 assumption about the version control system in use.
1586 2014-01-08 David Engster <deng@randomsample.de>
1588 * help-fns.el (help-fns-describe-function-functions):
1589 New variable to call functions for augmenting help buffers.
1590 (describe-function-1): Remove explicit calls to
1591 `help-fns--compiler-macro', `help-fns--parent-mode' and
1592 `help-fns--obsolete'. Put them in above new variable instead, and
1593 call them through `run-hook-with-args'.
1594 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1595 `eieio-describe-class'. Not meant for interactive use anymore,
1596 but to augment existing help buffers. Remove optional second
1597 argument. Create proper button for file location.
1598 Rewrite function to use `insert' instead of `princ' and `prin1' where
1600 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1601 (eieio-method-def, eieio-class-def): Move further up.
1602 (describe-method, describe-generic, eieio-describe-method):
1604 (eieio-help-constructor, eieio-help-generic): Rename from
1605 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1606 Rewrite to use `insert' in the current buffer and use proper help
1608 (eieio-help-find-method-definition)
1609 (eieio-help-find-class-definition): Also accept symbols as
1611 (eieio-help-mode-augmentation-maybee): Remove.
1612 (eieio-describe-class-sb): Use `describe-function'.
1613 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1614 Add `eieio-help-generic' and `eieio-help-constructor'.
1616 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1619 * language/china-util.el (hz-ascii-designation):
1620 Rename from hz-ascii-designnation.
1621 (hz-ascii-designation): Rename from hz-ascii-designnation.
1624 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1626 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1629 2014-01-08 Bastien Guerry <bzg@gnu.org>
1631 * emacs-lisp/package.el (package-delete):
1632 Correctly delete the package from package-alist.
1634 2014-01-08 Daiki Ueno <ueno@gnu.org>
1636 * emacs-lisp/package.el (url-recreate-url): Declare.
1637 (url-http-target-url): Declare.
1638 (package-handle-response): Include requested URL in the error message.
1639 (package--check-signature): Don't re-signal errors from
1640 package--with-work-buffer. Suggested by Stefan Monnier.
1642 2014-01-07 Bastien Guerry <bzg@gnu.org>
1644 * minibuffer.el (completion--try-word-completion): When both a
1645 hyphen and a space are possible candidates for the character
1646 following a word, display both candidates. (Bug#15980)
1648 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1650 * window.el (balance-windows-2): While rounding don't give a
1651 window more than the remainder. Bug#16351, bug#16383.
1653 2014-01-07 Glenn Morris <rgm@gnu.org>
1655 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1656 (menu-bar-help-menu): Use view-external-packages instead.
1658 2014-01-07 Bastien Guerry <bzg@gnu.org>
1660 * emacs-lisp/package.el (package-delete): Also delete the package
1661 name from `package-alist', not its description only.
1663 2014-01-07 Glenn Morris <rgm@gnu.org>
1665 * help.el (view-external-packages):
1666 * menu-bar.el (menu-bar-help-extra-packages):
1667 Visit efaq.info rather than etc/MORE.STUFF.
1669 2014-01-07 Juri Linkov <juri@jurta.org>
1671 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1672 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1674 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1675 that shadows RET. (Bug#16342)
1677 2014-01-07 Chong Yidong <cyd@gnu.org>
1679 * isearch.el (isearch-yank-char, isearch-yank-word)
1680 (isearch-yank-line): Doc fix.
1682 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1684 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1685 * emacs-lisp/elint.el (elint-find-builtins):
1686 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1687 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1688 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1689 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1690 * apropos.el (apropos-safe-documentation):
1691 * subr.el (symbol-file): Remove redundant fboundp.
1692 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1694 2014-01-06 Bastien Guerry <bzg@gnu.org>
1696 * hl-line.el (global-hl-line-overlay): Make a local variable.
1697 (global-hl-line-overlays): New variable to store all overlays.
1698 (global-hl-line-mode): Don't delete overlays from the current
1699 buffer when `global-hl-line-sticky-flag' is non-nil.
1700 (global-hl-line-highlight): Add new overlays to
1701 `global-hl-line-overlays'.
1702 (global-hl-line-unhighlight-all): New function to delete all
1703 overlays when turning off `global-hl-line-mode'.
1704 This fixes Bug#16183.
1706 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1708 * subr.el (set-transient-map): Fix nested case and docstring.
1710 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1712 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1715 2014-01-06 Daniel Colascione <dancol@dancol.org>
1717 Fix defun navigation in vc log view.
1719 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1720 like `beginning-of-defun'.
1721 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1722 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1723 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1724 (log-view-extract-comment): Call `log-view-current-entry' directly
1725 instead of relying on broken `log-view-beginning-of-defun' behavior.
1727 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1730 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1731 * emacs-lisp/debug.el (cancel-debug-on-entry):
1732 * epg.el (epg-error-to-string):
1733 * files.el (recover-file):
1734 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1735 * mail/emacsbug.el (report-emacs-bug-hook):
1736 * mail/sendmail.el (mail-recover):
1737 * ses.el (ses-yank-resize):
1738 * term/ns-win.el (ns-print-buffer):
1739 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1740 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1742 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1744 2014-01-06 Leo Liu <sdl.web@gmail.com>
1746 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1747 to avoid shadowing global key. (Bug#16354)
1749 2014-01-06 Daniel Colascione <dancol@dancol.org>
1751 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1754 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1756 * window.el (balance-windows): Add mising t to fix Bug#16351.
1758 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1760 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1762 (shr-insert): If we have a word that's longer than `shr-width',
1763 break after it anyway. Otherwise we'll do no breaking once we get
1766 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1768 * net/eww.el (eww): Support single/double quote for search.
1769 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1770 (eww-history-quit): Delete and use quit-window.
1771 (eww-history-kill): Delete, because it doesn't work well and
1773 (eww-history-mode-map): Delete some keys and add easy-menu.
1775 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1777 Fix misspelling of 'chinese' in rx (Bug#16237).
1778 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1781 Change subword regexps back to vars (Bug#16296).
1782 * progmodes/subword.el (subword-forward-regexp)
1783 (subword-backward-regexp): Change these back to variables.
1785 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1787 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1788 syntax-begin-function (bug#16247).
1790 2014-01-03 Chong Yidong <cyd@gnu.org>
1792 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1793 (advice--docstring): Delete variable.
1794 (advice--make-1): Leave the docstring empty.
1795 (advice-add): Use function-documentation for advised docstring.
1797 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1798 Ignore function-documentation property when getting documentation.
1799 (ad-activate-advised-definition): Use function-documentation
1800 generate the docstring.
1801 (ad-make-advised-definition): Don't call
1802 ad-make-advised-definition-docstring.
1803 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1806 * progmodes/sql.el (sql-help): Use function-documentation instead
1807 of dynamic-docstring-function property. No need to autoload now.
1808 (sql--help-docstring): New variable.
1809 (sql--make-help-docstring): Use it.
1811 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1813 * ielm.el (ielm-tab): Retarget.
1814 (ielm-map): Use ielm-tab for tab.
1815 (ielm-complete-filename): Use comint-filename-completion.
1816 (ielm-complete-symbol): Remove.
1817 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1818 remove ielm-tab from completion-at-point-functions (bug#16224).
1820 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1821 Beware signals raised by predicates (bug#16201).
1823 2014-01-02 Richard Stallman <rms@gnu.org>
1825 * dired-aux.el (dired-do-print): Handle printer-name.
1827 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1828 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1829 (rmail-epa-decrypt): Turn off mime processing.
1831 * mail/rmail.el (rmail-make-in-reply-to-field):
1832 Add parens in message-id.
1834 * mail/rmail.el (rmail-get-coding-function): Variable.
1835 (rmail-get-coding-system): Use it.
1837 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1839 * international/mule-conf.el: Unify the charset indian-is13194.
1840 (indian-is13194): Specify unify-map.
1842 2013-12-31 Leo Liu <sdl.web@gmail.com>
1844 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1846 2013-12-30 Daniel Colascione <dancol@dancol.org>
1848 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1849 of printing a useless when we resume from sleep.
1851 * progmodes/sh-script.el
1852 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
1853 in indentation code. (Bug#16233)
1855 2013-12-28 João Távora <joaotavora@gmail.com>
1857 * elec-pair.el (electric-pair-post-self-insert-function):
1858 Don't open extra newlines at beginning of buffer. (Bug#16272)
1860 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1862 * frame.el (window-system-for-display): Don't allow to create a
1863 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1865 2013-12-28 Glenn Morris <rgm@gnu.org>
1867 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1870 * apropos.el (apropos-match-face):
1871 * calculator.el (calculator-displayer):
1872 * dabbrev.el (dabbrev-search-these-buffers-only):
1873 * face-remap.el (buffer-face-mode-face):
1874 * simple.el (yank-handled-properties):
1875 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1876 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1877 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1878 (hashcash-double-spend-database):
1879 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1880 (ruby-deep-indent-paren-style):
1881 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1882 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1883 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1884 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1885 Specify custom types.
1887 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1888 * bookmark.el (bookmark-bmenu-use-header-line):
1889 * doc-view.el (doc-view-scale-internally):
1890 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1891 * register.el (register-preview-delay):
1892 * net/shr.el (shr-bullet):
1893 * progmodes/cfengine.el (cfengine-cf-promises)
1894 (cfengine-parameters-indent):
1895 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1896 * textmodes/reftex-vars.el (reftex-label-regexps):
1897 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1899 * net/tls.el (tls-certtool-program): Fix default value.
1901 * desktop.el (desktop-restore-in-current-display):
1902 * newcomment.el (comment-empty-lines):
1903 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1904 (idlwave-pad-keyword):
1905 * progmodes/tcl.el (tcl-tab-always-indent):
1906 * textmodes/reftex-vars.el (reftex-index-default-tag):
1907 * elec-pair.el (electric-pair-skip-whitespace):
1908 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1910 * emacs-lisp/authors.el (authors-ignored-files)
1911 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1913 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1915 * shell.el (shell-dynamic-complete-command): Doc fix.
1916 (shell--command-completion-data): Shell completion now matches
1917 executable filenames from the current buffer's directory, on
1918 systems in which this behavior is the default (windows-nt, ms-dos).
1920 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1922 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1924 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1926 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1929 * electric.el: Move all electric-pair-* to elec-pair.el.
1930 * elec-pair.el: New file, split from electric.el.
1932 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1934 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1935 indentation level is larger than the width, because that will
1937 (shr-insert): Fill repeatedly long texts, so that Japanese is
1938 formatted correctly (bug#16263).
1939 (shr-find-fill-point): Off by one error in comparison with the
1942 2013-12-26 João Távora <joaotavora@gmail.com>
1944 * electric.el (electric-pair-mode): More flexible engine for skip-
1945 and inhibit predicates, new options for pairing-related functionality.
1946 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1947 if that keeps or improves their balance in buffers.
1948 (electric-pair-delete-adjacent-pairs): Delete the pair when
1949 backspacing over adjacent matched delimiters.
1950 (electric-pair-open-extra-newline): Open extra newline when
1951 inserting newlines between adjacent matched delimiters.
1952 (electric--sort-post-self-insertion-hook):
1953 Sort post-self-insert-hook according to priority values when
1954 minor-modes are activated.
1955 * simple.el (newline-and-indent): Call newline with interactive
1957 (blink-paren-post-self-insert-function): Set priority to 100.
1958 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1959 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1960 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1961 electric-pair-open-newline-between-pairs to nil.
1963 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1965 * progmodes/python.el: Use lexical-binding.
1966 (python-nav-beginning-of-defun): Stop searching ASAP.
1968 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1970 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1971 Fix interactive spec. Doc fix. (Bug#15754)
1973 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1975 * emacs-lisp/byte-run.el (eval-when-compile):
1976 * progmodes/cc-defs.el (cc-eval-when-compile):
1977 Fix edebug spec (bug#16184).
1979 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1981 * net/shr.el (shr-visit-file): Remove debugging function.
1982 (shr-insert): Don't infloop if we can't find a good place to break
1983 the line (bug#16256).
1985 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1987 * progmodes/python.el:
1988 (python-nav--lisp-forward-sexp): New function.
1989 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1990 python-nav-lisp-forward-sexp-safe.
1991 (python-nav--forward-sexp): New argument SAFE allows switching
1992 forward sexp movement behavior for parens.
1993 (python-nav-forward-sexp): Throw errors on unterminated parens
1995 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1996 (python-nav-backward-sexp-safe): New functions.
1997 (python-shell-buffer-substring):
1998 Use `python-nav-forward-sexp-safe'.
2000 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
2002 * net/shr.el (shr-find-fill-point): Don't break lines before a
2004 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
2005 (shr-find-fill-point): Remove the special checks for the quotation
2006 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
2008 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2010 * net/eww.el (eww-form-textarea): Use a different face for
2011 textareas than text input since they have different keymaps
2014 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
2016 * progmodes/python.el (python-nav-beginning-of-statement):
2017 Speed up (Bug#15295).
2019 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2021 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
2022 the window configuration.
2024 2013-12-24 Eli Zaretskii <eliz@gnu.org>
2026 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
2027 we run on MS-Windows or MS-DOS.
2029 2013-12-24 Martin Rudalics <rudalics@gmx.at>
2031 * window.el (balance-windows-area): Call window-size instead of
2032 window-height and window-width. Bug#16241.
2034 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
2036 * net/eww.el (eww-bookmark-quit): Remove.
2037 (eww-bookmark-browse): Restore the window configuration when you
2038 choose a bookmark (bug#16144).
2040 2013-12-24 Daniel Colascione <dancol@dancol.org>
2042 * icomplete.el: Remove redundant :group arguments to `defcustom'
2044 (icomplete-show-matches-on-no-input): New customizable variable.
2045 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
2046 we have something to show.
2047 (icomplete-exhibit): Compute completions even if we have no user input.
2049 2013-12-23 Daniel Colascione <dancol@dancol.org>
2051 * icomplete.el: Move `provide' to end of file.
2053 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
2055 * net/gnutls.el (gnutls-verify-error): Add version tag.
2057 2013-12-23 Chong Yidong <cyd@gnu.org>
2059 * subr.el (set-transient-map): Rename from
2060 set-temporary-overlay-map. Doc fix.
2062 * face-remap.el (text-scale-adjust):
2063 * indent.el (indent-rigidly):
2064 * kmacro.el (kmacro-call-macro):
2065 * minibuffer.el (minibuffer-force-complete):
2066 * repeat.el (repeat):
2067 * simple.el (universal-argument--mode):
2068 * calendar/todo-mode.el (todo-insert-item--next-param):
2069 * progmodes/f90.el (f90-abbrev-start): Callers changed.
2071 * indent.el (indent-rigidly): Use substitute-command-keys.
2073 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2075 * net/eww.el (eww-tag-select): Add text-property to jump to next
2077 (eww): Add non-supported ftp error.
2079 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2081 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
2082 comments. Handle electric indent after typing `?' and `!'.
2084 2013-12-22 Chong Yidong <cyd@gnu.org>
2086 * faces.el (face-spec-recalc): If the theme specs are not
2087 applicable to a frame, fall back on the defface spec.
2088 This prevents themes from obliterating faces on low-color terminals.
2090 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2092 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2093 after `{'. We need it after block openers, and it doesn't seem
2094 to hurt after hash openers.
2096 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2098 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
2099 extracted from `ruby-smie-rules'.
2100 (ruby--electric-indent-chars): New variable.
2101 (ruby--electric-indent-p): New function.
2102 (ruby-mode): Use `electric-indent-functions' instead of
2103 `electric-indent-chars'.
2105 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
2107 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
2109 (ruby-smie-rules): Indent plus one level after `=>'.
2111 2013-12-21 Richard Stallman <rms@gnu.org>
2113 * simple.el (newline): Doc fix.
2115 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2117 * net/eww.el (eww-list-histories, eww-list-histories)
2118 (eww-history-browse, eww-history-quit, eww-history-kill)
2119 (eww-history-mode-map, eww-history-mode): New command and
2120 functions to list browser histories.
2121 (eww-form-text): Support text form with disabled
2122 and readonly attributes.
2123 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
2125 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2127 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
2128 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
2129 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
2130 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
2132 (eww-bookmark-mode-map): Add menu.
2133 (eww-render, eww-mode): Use `setq-local'.
2134 (eww-tool-bar-map): New variable.
2135 (eww-mode): Set `tool-bar-map'.
2136 (eww-view-source): Check for `html-mode' with `fboundp'.
2138 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
2140 * net/shr.el (shr--extract-best-source): Don't bug out on audio
2141 elements with text inside. Also remove debugging.
2143 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
2145 * cus-start.el (all): Add ns-use-srgb-colorspace.
2147 2013-12-21 Chong Yidong <cyd@gnu.org>
2149 * custom.el (custom-theme-recalc-face): Do nothing if the face is
2150 undefined. Thus, theme settings for undefined faces do not take
2151 effect until the faces are defined with defface, the same as with
2154 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
2155 (face-spec-reset-face): Don't assign extra properties in temacs.
2156 (face-spec-recalc): Apply X resources too.
2158 2013-12-21 Chong Yidong <cyd@gnu.org>
2160 * faces.el (face-spec-set):
2161 * cus-face.el (custom-theme-set-faces, custom-set-faces):
2162 * custom.el (defface): Doc fixes (Bug#16203).
2164 * indent.el (indent-rigidly-map): Add docstring, and move commands
2165 into named functions.
2166 (indent-rigidly-left, indent-rigidly-right)
2167 (indent-rigidly-left-to-tab-stop)
2168 (indent-rigidly-right-to-tab-stop): New functions. Decide on
2169 indentation direction based on bidi direction, and accumulate
2170 sequential commands in a single undo boundary.
2171 (indent-rigidly--pop-undo): New utility function.
2173 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
2175 * faces.el (read-face-name): Require crm.el when using crm-separator.
2177 2013-12-20 Daniel Colascione <dancol@dancol.org>
2179 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
2180 so that we don't reflow comments into the shebang line.
2182 2013-12-20 Juri Linkov <juri@jurta.org>
2184 * saveplace.el (save-place-to-alist): Add `dired-filename' as
2185 a position when `dired-directory' is non-nil. Check integer
2186 positions with `integerp'.
2187 (toggle-save-place, save-places-to-alist): Add check for
2189 (save-place-find-file-hook): Check integer positions with
2191 (save-place-dired-hook): Use `dired-goto-file' when
2192 `dired-filename' is found in the assoc list. Check integer
2193 positions with `integerp'.
2194 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
2196 * dired.el (dired-initial-position-hook): Rename back from
2197 `dired-initial-point-hook'.
2198 (dired-initial-position): Rename `dired-initial-point-hook' to
2199 `dired-initial-position-hook'.
2200 (dired-file-name-at-point): Doc fix. (Bug#15329)
2202 2013-12-20 Juri Linkov <juri@jurta.org>
2204 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
2205 (read-regexp-suggestions): New function.
2206 (read-regexp): Use `read-regexp-defaults-function' to get default values.
2207 Use `read-regexp-suggestions'. Add non-empty default to history
2209 (occur-read-regexp-defaults-function): Remove function.
2210 (occur-read-primary-args): Use `regexp-history-last' instead of
2211 `occur-read-regexp-defaults-function'.
2213 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
2214 (hi-lock-line-face-buffer, hi-lock-face-buffer)
2215 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
2216 `hi-lock-read-regexp-defaults-function'. Doc fix.
2217 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
2218 with `find-tag-default-as-symbol-regexp'. Doc fix.
2219 (hi-lock-read-regexp-defaults): Remove function.
2220 (hi-lock-regexp-okay): Add check for null.
2222 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2223 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2225 * subr.el (find-tag-default-as-symbol-regexp): New function.
2226 (find-tag-default-as-regexp): Move symbol regexp formatting to
2227 `find-tag-default-as-symbol-regexp'.
2229 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2231 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2234 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2236 * calendar/todo-mode.el: New implementation of item insertion
2237 commands and key bindings.
2238 (todo-key-prompt): New face.
2239 (todo-insert-item): New command.
2240 (todo-insert-item--parameters): New defconst, replacing defvar
2241 todo-insertion-commands-args-genlist.
2242 (todo-insert-item--param-key-alist): New defconst, replacing
2243 defvar todo-insertion-commands-arg-key-list.
2244 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2245 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2246 (todo-insert-item--next-param): New functions.
2247 (todo-insert-item--args, todo-insert-item--argleft)
2248 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2250 (todo-key-bindings-t): Change binding of "i" from
2251 todo-insertion-map to todo-insert-item.
2252 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2253 (todo-insertion-command-name, todo-insertion-commands-names)
2254 (todo-define-insertion-command, todo-insertion-commands)
2255 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2257 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2259 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2260 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2262 (todo-move-category): Allow choosing a non-existing todo file to
2263 move the category to, and create that file.
2264 (todo-default-priority): New user option.
2265 (todo-set-item-priority): Use it.
2266 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2267 (desktop-restore-file-buffer): Declare.
2268 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2269 (todo-modes-set-2): Locally set desktop-save-buffer to
2270 todo-desktop-save-buffer.
2271 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2272 (auto-mode-alist): Add autoload cookie.
2274 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2276 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2277 helpers.el was a poor choice of name.
2278 (string-remove-prefix): New function.
2279 (string-remove-suffix): New function.
2281 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2283 Fix assignment for new window total sizes.
2284 * window.el (window--pixel-to-size): Remove function.
2285 (window--pixel-to-total-1, window--pixel-to-total):
2286 Fix calculation of new total sizes.
2288 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2290 * comint.el (comint-output-filter): Fix rear-nonsticky property
2291 placement (Bug#16010).
2293 2013-12-20 Chong Yidong <cyd@gnu.org>
2295 * faces.el (read-color): Minor fix for completion function.
2297 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2299 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2300 New option. (Bug#16182)
2301 (ruby-smie--indent-to-stmt-p): Use it.
2302 (ruby-smie-rules): Revert the logic in the handling of `when'.
2303 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2304 (ruby-deep-arglist, ruby-deep-indent-paren)
2305 (ruby-deep-indent-paren-style): Update docstrings to note that the
2306 vars don't have any effect with SMIE.
2308 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2310 * calc/calc.el (calc-enter, calc-pop): Use the variable
2311 `calc-context-sensitive-enter'.
2313 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2315 * net/shr.el (shr-insert): Protect against infloops in degenerate
2318 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2320 * progmodes/octave.el (octave): Add link to manual and octave
2322 (octave-mode-menu): Link to octave-mode manual.
2324 2013-12-20 Leo Liu <sdl.web@gmail.com>
2326 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2327 insertion using skeleton-end-newline. (Bug#16138)
2329 2013-12-20 Juri Linkov <juri@jurta.org>
2331 * replace.el (occur-engine): Use `add-face-text-property'
2332 to add the face property to matches and titles. (Bug#14645)
2334 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2335 the palette of other hi-lock colors.
2336 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2338 2013-12-19 Juri Linkov <juri@jurta.org>
2340 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2341 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2342 (minibuffer-history-symbol): Move variable declaration closer to
2345 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2348 2013-12-19 Juri Linkov <juri@jurta.org>
2350 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2352 (log-edit-hook): Add it to :options. (Bug#16170)
2354 2013-12-19 Juri Linkov <juri@jurta.org>
2356 * simple.el (eval-expression-print-format): Don't check for
2357 command names and the last command. Always display additional
2358 formats of the integer result in the echo area, and insert them
2359 to the current buffer only with a zero prefix arg.
2360 Display character when char-displayable-p is non-nil.
2361 (eval-expression): With a zero prefix arg, set `print-length' and
2362 `print-level' to nil, and insert the integer values from
2363 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2365 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2366 `eval-last-sexp-arg-internal'. Doc fix.
2367 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2368 `eval-last-sexp-print-value'. Doc fix.
2369 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2370 Set `print-length' and `print-level' to nil when arg is zero.
2371 (eval-last-sexp): Doc fix.
2372 (eval-defun-2): Print the integer values from
2373 `eval-expression-print-format' at the end.
2375 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2376 values from `eval-expression-print-format' at the end.
2378 * ielm.el (ielm-eval-input): Print the integer
2379 values from `eval-expression-print-format' at the end.
2381 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2383 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2384 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2386 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2388 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2389 (hl-line-highlight, global-hl-line-highlight): Use it.
2390 (hl-line-overlay): Use defvar-local.
2392 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2394 * term/ns-win.el: Require dnd.
2395 (global-map): Remove drag items.
2396 (ns-insert-text, ns-set-foreground-at-mouse)
2397 (ns-set-background-at-mouse):
2398 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2399 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2402 2013-12-19 Glenn Morris <rgm@gnu.org>
2404 * emacs-lisp/ert.el (ert-select-tests):
2405 Fix string/symbol mixup. (Bug#16121)
2407 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2409 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2410 keywords to their parent.
2412 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2414 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2415 first arg to be a string (fixed dead code), or an operator symbol.
2416 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2418 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2419 did nothing. Don't respond to `(:after ".")', it will be called
2420 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2421 change anything. Only return indentation for binary operators
2422 when they are hanging. De-dent opening paren when its parent is
2423 `.', otherwise it looks bad when the dot is not at bol or eol
2426 2013-12-19 Juri Linkov <juri@jurta.org>
2428 * replace.el (query-replace-read-args): Split a non-negative arg
2429 and a negative arg into separate elements.
2430 (query-replace, query-replace-regexp, replace-string)
2431 (replace-regexp): Add arg `backward'. Doc fix.
2432 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2433 move point to the beginning of the match.
2434 (replace-search, replace-highlight): Use new arg `backward'
2435 to set the value of `isearch-forward'.
2436 (perform-replace): Add arg `backward' and use it to perform
2437 replacement backward. (Bug#14979)
2439 * isearch.el (isearch-query-replace): Use a negative prefix arg
2440 to call `perform-replace' with a non-nil arg `backward'.
2442 2013-12-18 Juri Linkov <juri@jurta.org>
2444 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2445 to the default list. Move `log-edit-show-files' to the end.
2446 Add more available functions to options.
2447 (log-edit): Move default specific settings to
2448 `log-edit-insert-message-template'. Don't move point.
2449 (log-edit-insert-message-template): New function.
2450 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2453 2013-12-18 Juri Linkov <juri@jurta.org>
2455 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2456 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2458 2013-12-18 Leo Liu <sdl.web@gmail.com>
2460 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2463 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2465 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2466 formats for displaying file sizes when the -s switch is given.
2467 Instead, compute a separate format for displaying the size in
2468 blocks, which is displayed in addition to the "regular" size.
2469 When -h is given in addition to -s, produce size in blocks in
2470 human-readable form as well. (Bug#16179)
2472 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2474 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2475 Reference tables with ~\ref{...} instead of only \ref{...}.
2477 2013-12-18 Chong Yidong <cyd@gnu.org>
2479 * cus-edit.el (custom-magic-alist): Fix "themed" description
2482 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2483 is non-nil, do not create a new entry in the symbol's theme-value
2484 or theme-face property; update theme-settings only (Bug#14664).
2485 (custom-available-themes): Doc fix.
2487 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2490 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2492 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2494 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2497 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2499 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2501 2013-12-18 Glenn Morris <rgm@gnu.org>
2503 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2504 * cus-start.el (load-prefer-newer): New option.
2506 2013-12-18 Le Wang <l26wang@gmail.com>
2508 * comint.el (comint-previous-matching-input-from-input):
2509 Retain point (Bug#13404).
2511 2013-12-18 Chong Yidong <cyd@gnu.org>
2513 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2515 2013-12-18 Glenn Morris <rgm@gnu.org>
2517 * mail/emacsbug.el (report-emacs-bug):
2518 Only mention enable-multibyte-characters if non-standard.
2520 2013-12-17 Juri Linkov <juri@jurta.org>
2522 * arc-mode.el (archive-extract-by-file): Check if directory exists
2523 before deletion to not show irrelevant errors if it doesn't exist.
2525 2013-12-17 Juri Linkov <juri@jurta.org>
2527 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2530 * net/eww.el (browse-web): Add alias to `eww'.
2531 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2532 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2534 * net/browse-url.el (browse-url-browser-function): Move `eww'
2535 closer to similar functions.
2537 * startup.el (fancy-startup-screen, fancy-about-screen):
2538 Set browse-url-browser-function to eww-browse-url locally.
2541 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2543 * window.el (window--pixel-to-total): Remove unused `mini' var.
2544 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2545 (split-window): Remove unused `new' var.
2546 (window--display-buffer): Remove unused `frame' and `delta' vars.
2547 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2550 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2552 * dired.el (dired-mark-pop-up):
2553 * register.el (register-preview): Don't bind
2554 split-height-threshold here since it's now done in
2555 display-buffer-below-selected.
2557 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2559 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2560 xterm-rgb-convert-to-16bit.
2561 (rxvt-register-default-colors): Standardize with
2562 xterm-register-default-colors (Bug#14078).
2564 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2566 * simple.el (kill-region): Pass mark first, then point, so that
2567 kill-append works right (Bug#12819).
2568 (copy-region-as-kill, kill-ring-save): Likewise.
2570 2013-12-17 Leo Liu <sdl.web@gmail.com>
2572 * net/rcirc.el (rcirc-add-face):
2573 * eshell/em-prompt.el (eshell-emit-prompt):
2574 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2577 2013-12-17 Chong Yidong <cyd@gnu.org>
2579 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2580 Suggested by Xue Fuqiao.
2582 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2584 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2586 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2588 * net/shr.el (shr-insert-document): Remove unused var
2589 `shr-preliminary-table-render'.
2590 (shr-rescale-image): Remove unused arg `force'.
2591 (shr-put-image): Update calls accordingly.
2592 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2594 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2596 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2597 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2598 :close-all, to see which indentation method to use (Bug#16116).
2599 (smie-rules-function): Document the method :close-all.
2601 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2603 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2605 * net/eww.el (eww-display-html): If we can't find the anchor we're
2606 looking for, then go to point-min.
2608 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2610 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2611 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2612 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2613 Expand dir too, in case it's relative.
2615 2013-12-16 Juri Linkov <juri@jurta.org>
2617 * desktop.el (desktop-auto-save-timeout): Change default to
2618 `auto-save-timeout'. Doc fix.
2619 (desktop-save): Skip the timestamp in desktop-saved-frameset
2620 when checking for auto-save changes.
2621 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2622 `desktop-auto-save' is called repeatedly by the idle timer.
2623 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2624 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2627 2013-12-16 Juri Linkov <juri@jurta.org>
2629 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2631 (isearch-pre-command-hook): Check `this-command' for symbolp.
2633 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2635 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2637 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2639 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2640 (cfengine3--current-function): Bring in the current-function
2641 functionality from `cfengine3--current-word'.
2642 (cfengine3-completion-function): Bring in the
2643 bounds-of-current-word functionality from
2644 `cfengine3--current-word'.
2646 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2648 * window.el (display-buffer-below-selected):
2649 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2651 2013-12-16 Leo Liu <sdl.web@gmail.com>
2653 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2654 Remove NOMSG arg and all uses changed.
2656 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2658 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2659 (cua--deactivate-rectangle): Don't deactivate the mark.
2660 (cua-set-rectangle-mark): Don't set mark-active since
2661 cua--activate-rectangle already does it for us.
2662 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2663 non-rectangular region.
2665 * emulation/cua-base.el (cua-repeat-replace-region):
2666 Use with-current-buffer.
2668 * net/gnutls.el: Use cl-lib.
2669 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2671 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2673 * emacs-lisp/package.el (package-built-in-p): Support both
2674 built-in and the package.el converted package descriptions.
2675 (package-show-package-list): Allow keywords.
2676 (package-keyword-button-action): Use it instead of
2677 `finder-list-matches'.
2678 (package-menu-filter-interactive): Interactive filtering (by
2680 (package-menu--generate): Support keywords and change keymappings
2681 and headers when they are given.
2682 (package--has-keyword-p): Helper function.
2683 (package-menu--refresh): Use it.
2684 (package--mapc): Helper function.
2685 (package-all-keywords): Use it.
2686 (package-menu-mode-map): Set up menu items and keybindings to
2687 provide a filtering UI.
2689 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2691 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2692 the behavior when a certificate fails validation. Defaults to
2693 old behavior: never abort, just warn.
2694 (gnutls-negotiate): Use it.
2696 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2698 * window.el (display-buffer-below-selected): Never split window
2699 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2701 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2703 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2704 (package-buffer-info): Use it (bug#15108).
2706 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2708 * icomplete.el (icomplete-completions): Make sure the prefix is already
2709 displayed elsewhere before hiding it (bug#16219).
2711 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2713 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2714 open-paren tokens when preceded by a open-paren, too.
2715 (ruby-smie-rules): Handle virtual indentation after open-paren
2716 tokens specially. If there is code between it and eol, return the
2717 column where is starts (Bug#16118).
2719 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2721 * progmodes/cfengine.el: Fix `add-hook' doc.
2722 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2723 (cfengine3--current-word): Fix parameters.
2724 (cfengine3-make-syntax-cache): Simplify further.
2725 (cfengine3-completion-function, cfengine3--current-function):
2726 Use `assq' for symbols.
2727 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2729 2013-12-13 Glenn Morris <rgm@gnu.org>
2731 * loadup.el (load-path): Warn if site-load or site-init changes it.
2732 No more need to reset it when bootstrapping.
2734 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2736 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2737 locations for cf-promises.
2738 (cfengine-mode-syntax-functions-regex): New caching variable.
2739 (cfengine3-fallback-syntax): Fallback syntax for cases where
2740 cf-promises doesn't run.
2741 (cfengine3--current-word): Reimplement using
2742 `cfengine-mode-syntax-functions-regex'.
2743 (cfengine3-completion-function, cfengine3--current-function):
2744 Use `cfengine3-make-syntax-cache' directly.
2745 (cfengine3-clear-syntax-cache): New function.
2746 (cfengine3-make-syntax-cache): Simplify and create
2747 `cfengine-mode-syntax-functions-regex' on demand.
2748 (cfengine3-format-function-docstring): Don't call
2749 `cfengine3-make-syntax-cache' explicitly.
2751 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2753 Fix windmove-find-other-window broken after pixelwise resizing
2755 * windmove.el (windmove-other-window-loc): Revert change from
2757 (windmove-find-other-window): Call window-in-direction.
2758 * window.el (window-in-direction): New arguments SIGN, WRAP and
2759 MINI to emulate original windmove-find-other-window behavior.
2761 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2763 * simple.el (blink-matching--overlay): New variable.
2764 (blink-matching-open): Instead of moving point, highlight the
2765 matching paren with an overlay
2766 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2768 * faces.el (paren-showing-faces, show-paren-match)
2769 (show-paren-mismatch): Move from paren.el.
2771 2013-12-13 Leo Liu <sdl.web@gmail.com>
2773 * indent.el (indent-region): Disable progress reporter in
2774 minibuffer. (Bug#16108)
2776 * bindings.el (visual-order-cursor-movement): Fix version.
2778 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2780 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2781 Also match after beginning of line.
2782 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2783 files. Thanks to Russell Sim. (Bug#15378)
2785 2013-12-13 Juri Linkov <juri@jurta.org>
2787 * simple.el <Keypad support>: Remove key bindings duplicated
2788 with bindings.el. (Bug#14397)
2790 2013-12-13 Juri Linkov <juri@jurta.org>
2792 * comint.el (comint-mode-map): Replace `delete-char' with
2793 `delete-forward-char'. (Bug#16109)
2795 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2797 * progmodes/python.el (python-indent-calculate-indentation):
2798 Fix de-denters cornercase. (Bug#15731)
2800 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2802 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2803 (advice--make): Pay attention to `depth'.
2804 (advice--make-1): Don't autoload commands eagerly.
2805 * emacs-lisp/elp.el (elp-instrument-function):
2806 * emacs-lisp/trace.el (trace-function-internal):
2807 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2809 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2811 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2813 * term/w32-win.el (w32-handle-dropped-file):
2814 * startup.el (normal-top-level):
2815 * net/browse-url.el (browse-url-file-url):
2816 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2817 decode file names using 'utf-8' rather than
2818 file-name-coding-system.
2820 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2822 * progmodes/python.el (python-indent-context)
2823 (python-indent-calculate-indentation): Fix auto-identation
2824 behavior for comment blocks. (Bug#15916)
2826 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2828 * progmodes/python.el (python-indent-calculate-indentation):
2829 When determining indentation, don't treat "return", "pass", etc., as
2830 operators when they are just string constituents. (Bug#15812)
2832 2013-12-12 Juri Linkov <juri@jurta.org>
2834 * uniquify.el (uniquify-buffer-name-style): Change default to
2835 `post-forward-angle-brackets'.
2837 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2838 `uniquify'. Change default to `post-forward-angle-brackets'.
2840 2013-12-11 Glenn Morris <rgm@gnu.org>
2842 * emacs-lisp/package.el (finder-list-matches):
2843 Autoload rather than falsely declaring.
2845 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2847 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2848 (eww-mode-map): Use them.
2850 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2852 * window.el (display-buffer-in-side-window): Fix doc-string
2855 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2857 * vc/vc-git.el: Silence byte-compiler warnings.
2858 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2859 (log-edit-set-header): Declare.
2861 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2863 * Makefile.in (custom-deps, finder-data): Run output file names
2864 through unmsys--file-name. (Bug#16099)
2866 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2868 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2869 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2871 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2872 instead of deleting the selection "by hand" (bug#16098).
2873 Rely on insert-for-yank to yank rectangles.
2874 (cua-highlight-region-shift-only): Mark obsolete.
2875 (cua-mode): Don't enable/disable transient-mark-mode,
2876 shift-select-mode (cua-mode works both with and without them), and
2877 pc-selection-mode (obsolete).
2878 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2879 (cua--deactivate-rectangle): Deactivate it.
2881 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2882 (delete-selection-helper): Make sure yank starts at the top of the
2884 (minibuffer-keyboard-quit): Use region-active-p.
2886 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2888 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2889 to `delete' (bug#16109).
2891 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2893 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2894 info manual and show keybindings and set `:group' keyword.
2896 2013-12-11 Juri Linkov <juri@jurta.org>
2898 * delsel.el (delete-active-region): Let-bind `this-command'
2899 to prevent `kill-region' from changing its original value.
2900 (delete-selection-helper): Handle `overwrite-mode' for the type
2901 `kill' exactly the same way as for the type `t'.
2902 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2903 Support more commands. (Bug#13312)
2905 2013-12-11 Juri Linkov <juri@jurta.org>
2907 * bindings.el: Map kp keys to non-kp keys systematically
2908 with basic modifiers control, meta and shift. (Bug#14397)
2910 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2912 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2913 "Close browser" menu items. Fix wrong function of "List
2916 2013-12-11 Juri Linkov <juri@jurta.org>
2918 * misearch.el (multi-isearch-buffers): Set the value of
2919 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2920 arg of isearch-forward to t.
2921 (multi-isearch-buffers-regexp): Set the value of
2922 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2923 arg of isearch-forward-regexp to t.
2924 (multi-isearch-files): Set the value of
2925 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2926 arg of isearch-forward to t.
2927 (multi-isearch-files-regexp): Set the value of
2928 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2929 arg of isearch-forward-regexp to t. (Bug#16035)
2931 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2932 arg of isearch-forward to t.
2933 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2934 arg of isearch-forward-regexp to t.
2935 (dired-isearch-filter-filenames): Remove unnecessary check for
2936 `dired-isearch-filenames'.
2938 * comint.el (comint-history-isearch-backward):
2939 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2940 (comint-history-isearch-backward-regexp):
2941 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2943 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2945 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2946 unmsys--file-name. (Bug#16099)
2948 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2950 * emacs-lisp/package.el (package-keyword-button-action):
2951 Remove finder.el require dependency.
2953 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2955 * emacs-lisp/package.el: Require finder.el.
2956 (describe-package-1): Add keyword buttons.
2957 (package-make-button): New convenience function.
2958 (package-keyword-button-action): Keyword button action using
2959 `finder-list-matches'.
2961 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2963 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2966 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2968 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2971 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2973 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2974 after the end of a percent literal.
2976 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2978 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2979 Handle caret-delimited strings (Bug#16079).
2981 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2983 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2984 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2985 `ruby-parse-partial' (Bug#16078).
2987 2013-12-09 Leo Liu <sdl.web@gmail.com>
2989 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2991 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2993 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2994 (js-switch-indent-offset): New option.
2995 (js--proper-indentation): Use it. And handle the case when
2996 "default" is actually a key in an object literal.
2997 (js--same-line): New function.
2998 (js--multi-line-declaration-indentation): Use it.
2999 (js--indent-in-array-comp, js--array-comp-indentation):
3001 (js--proper-indentation): Use them, to handle array comprehension
3004 2013-12-08 Leo Liu <sdl.web@gmail.com>
3006 * progmodes/flymake.el (flymake-highlight-line): Re-write.
3007 (flymake-make-overlay): Remove arg MOUSE-FACE.
3008 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
3010 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3012 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
3014 (redisplay-highlight-region-function): Use it.
3016 * emulation/cua-base.el (cua--explicit-region-start)
3017 (cua--last-region-shifted): Remove.
3018 (cua--deactivate): Use deactivate-mark.
3019 (cua--pre-command-handler-1): Don't handle shift-selection.
3020 (cua--post-command-handler-1): Don't change transient-mark-mode.
3021 (cua--select-keymaps): Use region-active-p rather than
3022 cua--explicit-region-start or cua--last-region-shifted.
3023 (cua-mode): Enable shift-select-mode.
3025 2013-12-08 Leo Liu <sdl.web@gmail.com>
3027 * progmodes/flymake.el (flymake-popup-current-error-menu):
3028 Rename from flymake-display-err-menu-for-current-line. Reimplement.
3029 (flymake-posn-at-point-as-event, flymake-popup-menu)
3030 (flymake-make-emacs-menu): Remove. (Bug#16077)
3032 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
3034 * rect.el (rectangle-mark-mode): Activate mark even if
3035 transient-mark-mode is off (bug#16066).
3036 (rectangle--highlight-for-redisplay): Fix boundary condition when point
3037 is > mark and at bolp.
3039 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
3040 (region-extract-function): Use it.
3041 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
3042 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
3044 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
3045 kill-ring-save, kill-region, delete-char, delete-forward-char.
3046 Ignore self-insert-iso.
3048 * emulation/cua-gmrk.el (cua--init-global-mark):
3049 Ignore `self-insert-iso'.
3051 * emulation/cua-base.el (cua--prefix-copy-handler)
3052 (cua--prefix-cut-handler): Rely on region-extract-function rather than
3053 checking cua--rectangle.
3054 (cua-delete-region): Use region-extract-function.
3055 (cua-replace-region): Delete function.
3056 (cua-copy-region, cua-cut-region): Obey region-extract-function.
3057 (cua--pre-command-handler-1): Don't do the delete-selection thing.
3058 (cua--self-insert-char-p): Ignore `self-insert-iso'.
3059 (cua--init-keymaps): Don't remap delete-selection commands.
3060 (cua-mode): Use delete-selection-mode instead of rolling our own
3063 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
3064 Obey region-extract-function.
3066 Make registers and delete-selection-mode work on rectangles.
3067 * register.el (describe-register-1): Don't modify the register's value.
3068 (copy-to-register): Obey region-extract-function.
3069 * delsel.el (delete-active-region): Obey region-extract-function.
3071 2013-12-08 Leo Liu <sdl.web@gmail.com>
3073 * progmodes/flymake.el (flymake, flymake-error-bitmap)
3074 (flymake-warning-bitmap, flymake-fringe-indicator-position)
3075 (flymake-compilation-prevents-syntax-check)
3076 (flymake-start-syntax-check-on-newline)
3077 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
3078 (flymake-start-syntax-check-on-find-file, flymake-log-level)
3079 (flymake-xml-program, flymake-master-file-dirs)
3080 (flymake-master-file-count-limit)
3081 (flymake-allowed-file-name-masks): Relocate.
3082 (flymake-makehash, flymake-float-time)
3083 (flymake-replace-regexp-in-string, flymake-split-string)
3084 (flymake-get-temp-dir): Remove.
3085 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
3086 (flymake-current-row, flymake-selected-frame)
3087 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
3088 related functions. (Bug#16077)
3090 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
3092 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
3094 2013-12-07 Tassilo Horn <tsdh@gnu.org>
3096 * help-fns.el (describe-function-1): Use new advice-* functions
3097 rather than old ad-* functions. Fix function type description and
3098 source links for advised functions and subrs.
3100 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
3102 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
3104 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
3106 * progmodes/compile.el (compilation-start):
3107 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
3109 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
3110 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
3112 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3114 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
3115 Touch up the last change.
3117 2013-12-06 Leo Liu <sdl.web@gmail.com>
3119 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
3120 (inferior-octave-startup): Always use "octave> " for prompt.
3121 (octave-goto-function-definition)
3122 (octave-sync-function-file-names)
3123 (octave-find-definition-default-filename): Remove redundant backquotes.
3125 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3127 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
3129 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
3130 where appropriate already.
3131 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
3132 end of method names (Bug#15874).
3134 2013-12-06 Juri Linkov <juri@jurta.org>
3136 * isearch.el (isearch--saved-overriding-local-map):
3137 New internal variable.
3138 (isearch-mode): Set it to the initial value of
3139 `overriding-terminal-local-map'.
3140 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
3141 with `isearch--saved-overriding-local-map'. (Bug#16035)
3143 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
3145 * progmodes/octave.el (inferior-octave-completion-table):
3146 Turn back into function, use `completion-table-with-cache'
3147 (Bug#11906). Update all references.
3149 * minibuffer.el (completion-table-with-cache): New function.
3151 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
3153 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
3155 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
3157 * net/eww.el (eww-current-source): New variable to store page
3159 (eww-display-html, eww-mode, eww-save-history)
3160 (eww-restore-history): Use it.
3161 (eww-view-source): New command to view page source.
3162 Opportunistically uses `html-mode' to highlight the buffer.
3163 (eww-mode-map): Install it.
3165 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
3167 * net/dbus.el (dbus-unregister-service)
3168 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
3170 (dbus-unregister-service): Skip :serial entries in
3171 `dbus-registered-objects-table'.
3172 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
3174 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
3176 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
3177 around keywords with extra `split-string' argument.
3179 2013-12-04 Martin Rudalics <rudalics@gmx.at>
3181 * windmove.el (windmove-other-window-loc): Handle navigation
3182 between windows (excluding the minibuffer window - Bug#16017).
3184 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
3186 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
3187 in D-Bus type syntax.
3188 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
3189 preserve unibyte strings. (Bug#16048)
3191 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
3193 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
3194 Call force-mode-line-update is the proper buffer (bug#16042).
3196 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
3198 * vc/log-edit.el (log-edit-add-new-comment): Rename to
3199 `log-edit-remember-comment', make argument optional. Adjust all
3201 (log-edit-mode): Add `log-edit-remember-comment' to
3202 `kill-buffer-hook' locally.
3203 (log-edit-kill-buffer): Don't remember comment explicitly since
3204 the buffer is killed anyway.
3206 2013-12-04 Juri Linkov <juri@jurta.org>
3208 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
3209 add-hook and remove-hook for multi-buffer search. (Bug#16035)
3211 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
3213 * notifications.el (notifications-close-notification): Call the
3214 D-Bus method with ID being a `:uint32'. (Bug#16030)
3216 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
3218 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3220 2013-12-03 Juri Linkov <juri@jurta.org>
3222 * progmodes/compile.el (compilation-start): Rename window alist
3223 entry `no-display-ok' to `allow-no-window'.
3225 * simple.el (shell-command): Add window alist entry
3226 `allow-no-window' to `display-buffer'.
3227 (async-shell-command): Doc fix.
3229 * window.el (display-buffer-no-window): New action function.
3230 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3232 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3234 * vc/log-edit.el (log-edit-set-header): Extract from
3235 `log-edit-toggle-header'.
3236 (log-edit-extract-headers): Separate the summary, when extracted
3237 from header, from the rest of the message with an empty line.
3239 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3240 line, if present, to the Summary header.
3242 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3244 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3245 in current-buffer (bug#16029).
3247 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3249 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3250 (debugger-mode-map): Bind it.
3251 (debugger--backtrace-base): New function.
3252 (debugger-eval-expression): Use it.
3253 (debugger-frame-number): Skip local vars when present.
3254 (debugger--locals-visible-p, debugger--insert-locals)
3255 (debugger--show-locals, debugger--hide-locals): New functions.
3257 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3259 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3261 (tramp-get-remote-locale): New defun.
3262 (tramp-open-connection-setup-interactive-shell): Use it.
3264 2013-12-02 Leo Liu <sdl.web@gmail.com>
3266 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3268 * progmodes/sh-script.el (sh-shell-process):
3269 * progmodes/octave.el (inferior-octave-process-live-p):
3270 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3271 (gdb-inferior-io-sentinel):
3272 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3274 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3276 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3277 `save-selected-window' to `log-edit-hide-buf'. This makes
3278 `log-edit-show-files' idempotent.
3279 (log-edit-show-files): Mark the new window as dedicated.
3281 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3283 * vc/log-edit.el (log-edit-mode-map): Add binding for
3284 `log-edit-kill-biffer'.
3285 (log-edit-hide-buf): Add a FIXME comment.
3286 (log-edit-add-new-comment): New function, extracted from
3288 (log-edit-done, log-edit-add-to-changelog): Use it.
3289 (log-edit-kill-buffer): New command.
3291 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3293 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3294 instead of killing the buffer.
3296 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3298 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3300 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3302 * net/eww.el (eww-form-checkbox-selected-symbol)
3303 (eww-form-checkbox-symbol): New customizable variable.
3304 (eww-form-checkbox, eww-toggle-checkbox):
3305 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3307 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3308 (shr--get-media-pref, shr--extract-best-source): New function.
3309 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3310 no :src tag was specified.
3312 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3313 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3314 Use \\` to match beginning of string instead of ^.
3315 (eww-browse-with-external-browser): Provide optional URL parameter.
3316 (eww-render): Set `eww-current-title' back to "".
3318 * net/shr.el (shr-tag-video): Display content for video if no
3319 poster is available.
3320 (shr-tag-audio): Add support for <audio> tag.
3322 * net/eww.el (eww-text-input-types): New const.
3323 (eww-process-text-input): Treat input types in
3324 `eww-text-input-types' as text.
3326 * net/shr.el (shr-tag-table): Fix comment typo.
3328 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3330 * net/eww.el (eww-follow-link): New command to avoid reloading
3331 pages when we follow #target links (bug#15243).
3332 (eww-quit): Special mode buffers shouldn't query before exiting.
3334 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3336 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3339 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3341 * net/eww.el (eww-restore-history): Update the window title after
3342 moving in the history.
3343 (eww-current-dom): New variable used to save the current DOM.
3345 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3347 * vc/log-edit.el (log-edit-mode-map): Add binding for
3348 `log-edit-beginning-of-line'.
3349 (log-edit-setup-add-author): New user option.
3350 (log-edit-beginning-of-line): New command.
3351 (log-edit): Move major mode call above the contents setup so that
3352 the local variable values are already applied.
3353 (log-edit): Only insert "Author: " when
3354 `log-edit-setup-add-author' is non-nil.
3355 (log-edit): When SETUP is non-nil, position point after ": "
3356 instead of point-min.
3358 2013-12-01 Glenn Morris <rgm@gnu.org>
3360 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3362 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3364 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3365 redisplay to make sure the initial frame gets a chance to become
3366 visible. (Bug#16014)
3368 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3370 Support resizing frames and windows pixelwise.
3371 * cus-start.el (frame-resize-pixelwise)
3372 (window-resize-pixelwise): New entries.
3373 * emacs-lisp/debug.el (debug): Use window-total-height instead
3374 of window-total-size.
3375 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3376 * help.el (describe-bindings-internal): Use help-buffer as
3377 argument for with-help-window.
3378 (temp-buffer-max-width): New option.
3379 (resize-temp-buffer-window, help-window-setup)
3380 (with-help-window): Rewrite.
3381 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3383 * window.el (frame-char-size, window-min-pixel-height)
3384 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3385 (window-min-pixel-width, window-safe-min-pixel-size)
3386 (window-combination-p, window-safe-min-size)
3387 (window-resizable-p, window--size-to-pixel)
3388 (window--pixel-to-size, window--resize-apply-p): New functions.
3389 (window-safe-min-height): Fix doc-string.
3390 (window-size, window-min-size, window--min-size-1)
3391 (window-sizable, window-sizable-p, window--min-delta-1)
3392 (window-min-delta, window--max-delta-1, window-max-delta)
3393 (window--resizable, window--resizable-p, window-resizable)
3394 (window-full-height-p, window-full-width-p, window-at-side-p)
3395 (window--in-direction-2, window-in-direction)
3396 (window--resize-reset-1, window--resize-mini-window)
3397 (window-resize, window-resize-no-error)
3398 (window--resize-child-windows-normal)
3399 (window--resize-child-windows, window--resize-siblings)
3400 (window--resize-this-window, window--resize-root-window)
3401 (window--resize-root-window-vertically)
3402 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3403 (maximize-window, minimize-window, delete-window)
3404 (quit-restore-window, window-split-min-size, split-window)
3405 (balance-windows-2, balance-windows)
3406 (balance-windows-area-adjust, balance-windows-area)
3407 (window--state-get-1, window-state-get, window--state-put-1)
3408 (window--state-put-2, window-state-put)
3409 (display-buffer-record-window, window--display-buffer):
3410 Make functions handle pixelwise sizing of windows.
3411 (display-buffer--action-function-custom-type)
3412 (display-buffer-fallback-action):
3413 Add display-buffer-in-previous-window.
3414 (display-buffer-use-some-window): Resize window to height it had
3416 (fit-window-to-buffer-horizontally): New option.
3417 (fit-frame-to-buffer): Describe new values.
3418 (fit-frame-to-buffer-bottom-margin): Replace with
3419 fit-frame-to-buffer-margins.
3420 (window--sanitize-margin): New function.
3421 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3422 using window-text-pixel-size.
3424 2013-11-30 Glenn Morris <rgm@gnu.org>
3426 * emacs-lisp/bytecomp.el (byte-compile-form):
3427 Make the `interactive-only' warning like the `obsolete' one.
3428 * comint.el (comint-run):
3429 * files.el (insert-file-literally, insert-file):
3430 * replace.el (replace-string, replace-regexp):
3431 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3432 (goto-line, insert-buffer, next-line, previous-line):
3433 Tweak `interactive-only' spec.
3435 Stop keeping (most) generated cedet grammar files in the repository.
3436 * Makefile.in (semantic): New.
3437 (compile-main): Depend on semantic.
3439 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3441 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3442 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3444 * uniquify.el (uniquify-buffer-name-style): Change default.
3446 * loadup.el: Preload "uniquify".
3448 * time.el (display-time-update): Update all mode lines (bug#15999).
3450 * electric.el (electric-indent-mode): Enable by default.
3451 * loadup.el: Preload "electric".
3453 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3455 * emacs-lisp/helpers.el (string-empty-p): New function.
3456 (string-blank-p): New function.
3458 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3460 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3463 2013-11-29 Andreas Politz <politza@fh-trier.de>
3464 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3465 allow non-lambda lists as functions.
3466 (imenu--in-alist): Don't recurse into non-subalists.
3467 (imenu): Don't pass function itself as an argument (Bug#14029).
3469 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3471 * progmodes/python.el (python-mode-map): Remove binding for ":".
3472 (python-indent-electric-colon): Remove command.
3473 (python-indent-post-self-insert-function): Integrate the previous code
3474 of python-indent-electric-colon. Make it conditional on
3475 electric-indent-mode.
3476 (python-mode): Add ?: to electric-indent-chars.
3477 Move python-indent-post-self-insert-function to the end of
3478 post-self-insert-hook.
3480 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3482 * doc-view.el (doc-view-goto-page): Update mode-line.
3484 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3486 2013-11-27 Glenn Morris <rgm@gnu.org>
3488 * international/charprop.el, international/uni-bidi.el:
3489 * international/uni-category.el, international/uni-combining.el:
3490 * international/uni-comment.el, international/uni-decimal.el:
3491 * international/uni-decomposition.el, international/uni-digit.el:
3492 * international/uni-lowercase.el, international/uni-mirrored.el:
3493 * international/uni-name.el, international/uni-numeric.el:
3494 * international/uni-old-name.el, international/uni-titlecase.el:
3495 * international/uni-uppercase.el:
3496 Remove generated files from VCS repository.
3498 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3500 * filenotify.el (file-notify-add-watch): Don't special-case
3501 w32notify when computing the directory to watch.
3503 2013-11-27 Glenn Morris <rgm@gnu.org>
3505 Make bootstrap without generated uni-*.el files possible again.
3506 * loadup.el: Update command-line-args checking for unidata-gen.
3507 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3508 * composite.el, international/characters.el:
3509 Handle unicode tables being undefined.
3511 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3512 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3513 (compile-main): Depend on leim rule.
3515 * loadup.el: Move leim-list.el to leim/ subdirectory.
3516 * startup.el (normal-top-level): No more leim directory.
3517 * international/ja-dic-cnv.el (skkdic-convert):
3518 Disable version-control and autoloads in output files.
3519 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3520 Disable version-control and autoloads in output files.
3521 * leim/quail: Move here from ../leim.
3522 * leim/quail/hangul.el (hangul-input-method-activate):
3523 Add autoload cookie.
3524 (generated-autoload-load-name): Set file-local value.
3525 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3526 (generated-autoload-load-name): Set file-local value.
3528 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3530 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3531 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3532 (eww-quit): Ask confirmation before quitting eww.
3534 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3536 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3537 reading output from Diff on MS-Windows and MS-DOS.
3539 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3541 * emacs-lisp/helpers.el (string-reverse): New function.
3543 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3545 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3546 names on MS Windows, like "/[::1]:".
3548 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3551 2013-11-26 Glenn Morris <rgm@gnu.org>
3553 * progmodes/python.el (python-indent-guess-indent-offset):
3554 Avoid corner-case error. (Bug#15975)
3556 Preload leim-list.el. (Bug#4789)
3557 * loadup.el: Load leim-list.el when found.
3558 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3560 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3562 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3564 * emacs-lisp/helpers.el (string-join): New function.
3566 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3568 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3569 Mark as obsolete and replace it with a symbol property.
3570 (byte-compile-form): Use new 'interactive-only property.
3571 * comint.el, files.el, replace.el, simple.el:
3572 Apply new 'interactive-only properly.
3574 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3576 * window.el (display-buffer-at-bottom): Make sure that
3577 split-window-sensibly creates the new window on bottom
3580 2013-11-23 David Kastrup <dak@gnu.org>
3582 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3583 on the conflict markers when available.
3584 (smerge--get-marker): New function.
3585 (smerge-end-re, smerge-base-re): Add subgroup.
3587 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3589 * frame.el (handle-focus-in, handle-focus-out): Add missing
3592 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3594 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3595 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3597 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3599 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3600 (gomoku--last-pos): New var.
3601 (gomoku--intangible-chars): New const.
3602 (gomoku--intangible): New function.
3603 (gomoku-mode): Use it. Derive from special-mode.
3604 (gomoku-move-up): Adjust line count.
3605 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3606 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3607 Simplify accordingly.
3609 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3610 Remove blink-cursor code.
3611 (blink-cursor-timer-function, blink-cursor-suspend):
3612 Don't special-case GUIs.
3613 (blink-cursor-mode): Use focus-in/out-hook.
3615 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3617 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3618 work when annotation is invisible (Bug#13886).
3620 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3622 * json.el (json-alist-p): Only return non-nil if the alist has
3623 simple keys (Bug#13518).
3625 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3627 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3628 when control-statement is the first statement in a buffer (Bug#15956).
3630 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3632 * imenu.el (imenu-generic-skip-comments-and-strings):
3633 New option (Bug#15560).
3634 (imenu--generic-function): Use it.
3636 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3638 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3641 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3643 * emacs-lisp/helpers.el: Add some string helpers.
3644 (string-trim-left): Removes leading whitespace.
3645 (string-trim-right): Removes trailing whitespace.
3646 (string-trim): Removes leading and trailing whitespace.
3648 * subr.el (string-suffix-p): New function.
3650 2013-11-23 Glenn Morris <rgm@gnu.org>
3652 * progmodes/python.el (python-shell-send-file):
3653 Add option to delete file when done. (Bug#15647)
3654 (python-shell-send-string, python-shell-send-region): Use it.
3656 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3658 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3659 to set buffer-read-only to t, never to nil. (Bug#15938)
3661 * textmodes/tex-mode.el (latex-noindent-environments):
3662 Add safe-local-variable property. (Bug#15936)
3664 2013-11-23 Glenn Morris <rgm@gnu.org>
3666 * textmodes/enriched.el (enriched-mode): Doc fix.
3667 * emacs-lisp/authors.el (authors-renamed-files-alist):
3668 Add enriched.doc -> enriched.txt.
3670 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3672 2013-11-22 Leo Liu <sdl.web@gmail.com>
3674 * progmodes/octave.el (inferior-octave-startup): Spit out error
3677 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3679 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3682 (ruby-encoding-magic-comment-style): Add :version.
3684 2013-11-22 Leo Liu <sdl.web@gmail.com>
3686 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3688 (octave-help-mode): Adapt to change to help-mode-finish to use
3689 derived-mode-p on 2013-09-17.
3690 (inferior-octave-prompt): Also match octave-gui.
3691 (octave-kill-process): Don't ask twice. (Bug#10564)
3693 2013-11-22 Leo Liu <sdl.web@gmail.com>
3695 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3696 (inferior-octave-startup, inferior-octave-check-process)
3697 (inferior-octave-track-window-width-change)
3698 (octave-completion-at-point, octave-eldoc-function): Use it.
3699 (octave-kill-process): Provide confirmation. (Bug#10564)
3701 2013-11-21 Leo Liu <sdl.web@gmail.com>
3703 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3704 Fix obsolete variable comment-use-global-state.
3706 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3708 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3709 Add `octave-source-file'.
3710 (octave-source-file): New function. (Bug#15935)
3712 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3714 * net/eww.el (eww-local-regex): New variable.
3715 (eww): Use it to detect localhost and similar.
3717 2013-11-21 Leo Liu <sdl.web@gmail.com>
3719 Add completion for command `ag'.
3720 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3721 (pcomplete/ag): New function.
3722 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3724 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3726 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3728 (make-obsolete): Remove interactive spec.
3730 2013-11-21 Glenn Morris <rgm@gnu.org>
3732 * startup.el (command-line-1): Use path-separator with -L.
3734 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3736 * emacs-lisp/package.el (describe-package-1): Add package archive
3739 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3741 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3742 Change default to "# encoding: %s" to differentiate it from the
3743 default Ruby encoding comment template.
3745 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3747 * ses.el (ses-mode): Doc fix. (Bug#14748)
3749 2013-11-20 Leo Liu <sdl.web@gmail.com>
3751 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3753 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3755 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3756 when rebase or bisect are in progress.
3758 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3760 * filenotify.el (file-notify-add-watch): Doc fix.
3762 2013-11-19 Leo Liu <sdl.web@gmail.com>
3764 * obsolete/rcompile.el: Mark obsolete.
3766 * progmodes/compile.el (compilation-start)
3767 (compilation-goto-locus, compilation-find-file):
3768 Pass no-display-ok and handle nil value from display-buffer.
3771 * window.el (display-buffer-alist, display-buffer): Document the
3772 new parameter no-display-ok. Return either a window or nil
3773 but never a non-window value.
3775 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3777 * electric.el (electric-indent-mode-map): Remove.
3778 (electric-indent-mode): Change the global-map instead (bug#15915).
3780 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3783 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3785 * emacs-lisp/nadvice.el (remove-function): Align with
3786 add-function's behavior.
3788 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3789 (gdb--string-regexp): New constant.
3790 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3791 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3792 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3794 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3795 Adjust use accordingly.
3796 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3798 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3800 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3801 interpolation curlies (Bug#15914).
3803 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3805 * calc/calc.el (calc-context-sensitive-enter): New variable.
3806 (calc-enter): Use `calc-context-sensitive-enter'.
3808 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3810 * progmodes/cfengine.el: Version bump.
3811 (cfengine-cf-promises): New defcustom to locate cf-promises.
3812 (cfengine3-vartypes): Add new "data" type.
3813 (cfengine3--current-word): New function to get current name-like
3815 (cfengine3--current-function): New function to look up a CFEngine
3816 function's definition.
3817 (cfengine3-format-function-docstring): New function.
3818 (cfengine3-make-syntax-cache): New function.
3819 (cfengine3-documentation-function): New function: ElDoc glue.
3820 (cfengine3-completion-function): New function: completion glue.
3821 (cfengine3-mode): Set `compile-command',
3822 `eldoc-documentation-function', and add to
3823 `completion-at-point-functions'.
3825 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3827 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3828 `tramp-current-connection'.
3830 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3832 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3833 nil/self/true/false with "end of symbol".
3835 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3837 * subr.el (version-regexp-alist): Fix a typo.
3839 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3841 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3842 "en_US.utf8" and "LC_CTYPE" to "".
3843 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3844 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3846 2013-11-15 Leo Liu <sdl.web@gmail.com>
3848 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3850 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3852 * progmodes/gud.el (ctl-x-map):
3853 Remove C-x SPC binding. (Bug#12342)
3854 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3856 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3858 * subr.el (version-regexp-alist):
3859 Recognize hg, svn and darcs versions as snapshot versions.
3861 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3862 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3863 (ruby--encoding-comment-required-p): Extract from
3864 `ruby-mode-set-encoding'.
3865 (ruby-mode-set-encoding): Add the ability to always insert an
3866 utf-8 encoding comment. Fix and simplify coding comment update
3869 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3871 * net/tramp-gvfs.el (top): Run init code only when
3872 `tramp-gvfs-enabled' is not nil.
3873 (tramp-gvfs-enabled): Check also :system bus.
3875 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3877 Sync with upstream verilog-mode revision 78e66ba.
3878 * progmodes/verilog-mode.el (verilog-end-of-defun)
3879 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3880 (verilog-get-end-of-defun): Remove unused argument.
3881 (verilog-comment-depth): Remove unused local `e'.
3882 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3883 Don't pass arg to verilog-get-end-of-defun.
3885 2013-11-14 Glenn Morris <rgm@gnu.org>
3887 * obsolete/assoc.el (aget): Prefix dynamic variable.
3889 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3891 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3893 * widget.el, hfy-cmap.el: Remove bogus package version number.
3895 2013-11-13 Glenn Morris <rgm@gnu.org>
3897 * replace.el (replace-eval-replacement):
3898 Try to give more helpful error message. (Bug#15836)
3900 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3901 (archive-7z-update): Avoid custom type mismatches.
3903 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3905 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3907 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3908 address can be empty.
3910 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3911 Accept nil SWITCHES.
3912 (tramp-gvfs-handle-write-region): Implement APPEND.
3914 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3916 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3917 binary "|" operator and closing block args delimiter.
3918 Remove FIXME comment referring to Ruby 1.8-only syntax.
3919 (ruby-smie--implicit-semi-p): Not after "|" operator.
3920 (ruby-smie--closing-pipe-p): New function.
3921 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3922 (ruby-smie-rules): Indent after "|".
3924 2013-11-12 Glenn Morris <rgm@gnu.org>
3926 * ps-print.el (ps-face-attribute-list):
3927 Handle anonymous faces. (Bug#15827)
3929 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3931 * window.el (display-buffer-other-frame): Fix doc-string.
3934 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3936 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3938 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3940 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3941 (tramp-sh-handle-file-local-copy): Don't write a message when
3942 saving temporary files.
3944 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3945 both directories are remote.
3946 (tramp-smb-handle-directory-files): Do not return double entries.
3947 Do not expand full file names.
3948 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3949 (tramp-smb-handle-write-region): Implement APPEND.
3950 (tramp-smb-get-stat-capability): Fix a stupid bug.
3952 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3954 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3956 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3958 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3959 throwing error over malformed let/let* (bug#15814).
3961 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3963 * iswitchb.el (iswitchb-mode): Mark obsolete.
3965 2013-11-11 Glenn Morris <rgm@gnu.org>
3967 * international/uni-bidi.el, international/uni-category.el:
3968 * international/uni-name.el, international/uni-numeric.el:
3969 Regenerate for Unicode 6.3.0.
3971 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3973 * net/tramp.el (tramp-methods):
3974 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3975 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3977 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3979 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3980 Force highlighting text after Summary keyword in doc face for rpm.
3982 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3984 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3985 available and the word has no wildcards, append one to the grep pattern.
3986 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3987 (ispell-complete-word): Call `ispell-lookup-words' with the value
3988 independent of `ispell-look-p'.
3990 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3992 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3994 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3997 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3999 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
4000 (ruby-font-lock-keywords): Use backquote.
4002 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4004 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4005 (ruby-smie--backward-token): Only consider full-string matches.
4007 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
4009 * faces.el (describe-face): Add distant-foreground.
4011 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
4013 * progmodes/ruby-mode.el: Improve encoding comment handling.
4014 (ruby-encoding-magic-comment-style): New option.
4015 (ruby-custom-encoding-magic-comment-template): New option.
4016 (ruby--insert-coding-comment, ruby--detect-encoding):
4017 New functions extracted from `ruby-mode-set-encoding'.
4018 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
4019 to control the style of the auto-inserted encoding comment.
4021 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4023 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
4024 Use `smie-backward-sexp' with token argument.
4026 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
4028 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4029 Remove instrumentation code.
4031 2013-11-08 Glenn Morris <rgm@gnu.org>
4033 * progmodes/autoconf.el (autoconf-mode):
4034 Tweak comment-start-skip. (Bug#15822)
4036 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
4038 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
4039 at bobp (bug#15826).
4040 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
4042 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
4044 * man.el (Man-start-calling): New macro, extracted from
4045 Man-getpage-in-background.
4046 (Man-getpage-in-background): Use it.
4047 (Man-update-manpage): New command.
4048 (Man-mode-map): Bind it.
4050 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
4052 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
4053 of "and", "or", "&&" and "||".
4054 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
4055 argument. Prohibit opening curly brace because it could only be a
4056 block opener in that position.
4057 (ruby-smie--forward-token, ruby-smie--backward-token):
4058 Separate "|" from "&" or "*" going after it. That can happen in block
4060 (ruby-smie--indent-to-stmt): New function, seeks the end of
4061 previous statement or beginning of buffer.
4062 (ruby-smie-rules): Use it.
4063 (ruby-smie-rules): Check if there's a ":" before a curly block
4064 opener candidate; if there is, it's a hash.
4066 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
4068 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
4069 (cl--block-wrapper): Fix last accidental change.
4071 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
4073 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
4074 Instrument, in order to hunt failure on hydra.
4076 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4078 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
4079 malformed bindings form (bug#15814).
4081 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
4083 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
4084 "." compared to " @ ". This incidentally fixes some indentation
4086 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
4087 (ruby-smie-grammar): New tokens: "and" and "or".
4088 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
4089 Exclude "and" and "or". Remove "do" in order to work around token
4091 (ruby-smie-rules): Add all infix tokens. Handle the case of
4092 beginning-of-buffer.
4094 2013-11-06 Glenn Morris <rgm@gnu.org>
4096 * Makefile.in (setwins_almost, setwins_for_subdirs):
4097 Avoid accidental matches.
4099 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4101 * menu-bar.el (popup-menu): Use key-binding.
4103 2013-11-06 Eli Zaretskii <eliz@gnu.org>
4105 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
4106 menus, support also the menus produced by minor modes.
4109 2013-11-06 Leo Liu <sdl.web@gmail.com>
4111 * thingatpt.el (thing-at-point-looking-at): Add optional arg
4112 DISTANCE to bound the search. All uses changed. (Bug#15808)
4114 2013-11-06 Glenn Morris <rgm@gnu.org>
4116 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
4117 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
4118 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
4120 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
4122 * electric.el (electric-indent-just-newline): New command.
4123 (electric-indent-mode-map): New keymap.
4124 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
4125 Re-add :group which weren't redundant.
4127 * electric.el (electric-indent-local-mode): New minor mode.
4128 (electric-indent-functions-without-reindent): New var.
4129 (electric-indent-post-self-insert-function): Use it.
4130 * emacs-lisp/gv.el (buffer-local-value): Add setter.
4132 2013-11-05 Eli Zaretskii <eliz@gnu.org>
4134 * international/quail.el (quail-help): Be more explicit about the
4135 meaning of the labels shown on the keys. (Bug#15800)
4137 * startup.el (normal-top-level): Load the subdirs.el files before
4138 setting the locale environment. (Bug#15805)
4140 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
4142 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
4143 via arguments so as to get the right ones (bug#15418).
4145 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
4147 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
4149 Fix problems found while writing a test suite.
4151 * net/tramp-compat.el (tramp-compat-load): New defun.
4152 * net/tramp.el (tramp-handle-load): Use it.
4154 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
4155 "(numberp ok-if-already-exists)" correctly.
4157 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
4159 * international/characters.el (glyphless-char-display-control):
4162 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
4164 * progmodes/python.el (python-mode):
4165 * progmodes/scheme.el (scheme-mode):
4166 * progmodes/prolog.el (prolog-mode):
4167 * progmodes/ruby-mode.el (ruby-mode):
4168 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
4169 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
4171 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4173 * rect.el (rectangle--highlight-for-redisplay):
4174 * emacs-lisp/smie.el (smie--next-indent-change):
4175 Use buffer-chars-modified-tick.
4177 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
4179 * electric.el (electric-indent-post-self-insert-function):
4180 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
4182 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
4184 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
4186 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4188 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
4191 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4193 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
4195 * progmodes/python.el: Fix up last change.
4196 (python-shell--save-temp-file): New function.
4197 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
4198 `string' comes from the current buffer.
4199 (python-shell-send-string-no-output): Remove `msg' arg.
4200 (python--use-fake-loc): New var.
4201 (python-shell-buffer-substring): Obey it. Try to compensate for the
4202 extra coding line added by python-shell--save-temp-file.
4203 (python-shell-send-region): Use python-shell--save-temp-file and
4204 python-shell-send-file directly. Add `nomain' argument.
4205 (python-shell-send-buffer): Use python-shell-send-region.
4206 (python-electric-pair-string-delimiter): New function.
4207 (python-mode): Use it.
4209 2013-11-04 Eli Zaretskii <eliz@gnu.org>
4211 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
4212 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
4213 environment and decoding all of the default-directory's to here
4215 (command-line): Decode also argv[0].
4217 * loadup.el: Error out if default-directory is a multibyte string
4218 when we are dumping.
4220 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4222 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4224 * emacs-lisp/package.el (package-menu-mode)
4225 (package-menu--print-info, package-menu--archive-predicate):
4226 Add Archive column to package list.
4228 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4230 Fix problems found while writing a test suite.
4232 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4233 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4234 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4235 to nil when running original file name handler. Otherwise,
4236 there are problems with constructs like "$$FOO".
4238 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4241 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4243 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4245 * subr.el (version<, version<=, version=):
4246 Update docstrings with information for snapshot versions.
4248 * helpers.el: New library for misc helper functions.
4249 (hash-table-keys): New function returning a list of hash keys.
4250 (hash-table-values): New function returning a list of hash values.
4252 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4254 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4255 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4257 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4259 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4260 checking whether point is after a 1-letter word.
4262 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4264 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4265 Don't infloop when expanding region over `multiline' syntax-type that
4266 begins a line (bug#15778).
4268 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4270 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4271 Make it into a proper minor mode.
4272 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4273 (rectangle-mark-mode-map): New keymap.
4274 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4276 2013-11-04 Glenn Morris <rgm@gnu.org>
4278 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4280 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4282 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4283 (ruby-smie-rules): Use smie-rule-parent instead.
4285 * emacs-lisp/smie.el (smie-rule-parent): Always call
4286 smie-indent-virtual rather than only for hanging tokens.
4287 (smie--next-indent-change): New helper command.
4289 2013-11-03 Glenn Morris <rgm@gnu.org>
4291 * Makefile.in (abs_srcdir): Remove.
4292 (emacs): Unset EMACSLOADPATH.
4294 2013-11-02 Glenn Morris <rgm@gnu.org>
4296 * Makefile.in (EMACS): Use a relative filename.
4297 (abs_top_builddir): Remove.
4298 (custom-deps, finder-data, autoloads): Use --chdir.
4300 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4302 Use relative filenames in TAGS files.
4303 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4304 (lisptagsfiles4, TAGS): Use relative file names.
4305 (TAGS-LISP): Remove.
4306 (maintainer-clean): No more TAGS-LISP file.
4308 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4309 (lisptagsfiles4): Use absolute filenames again.
4310 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4311 Remove all *loaddefs files, not just the first. Remove esh-groups.
4312 (maintainer-clean): Delete TAGS, TAGS-LISP.
4314 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4316 * emacs-lisp/package.el (package-version-join):
4317 Recognize snapshot versions.
4319 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4321 * subr.el (version-regexp-alist): Add support for snapshot versions.
4323 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4325 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4326 New function, replacement for `smie-rule-parent' for when we want to
4327 skip over our direct parent if it's an assignment token..
4328 (ruby-smie-rules): Use it.
4330 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4332 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4333 unconditionally. Remove now unnecessary forward declarations.
4334 Remove XEmacs-specific setup.
4335 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4336 (ruby-font-lock-syntactic-keywords)
4337 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4338 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4339 (ruby-here-doc-end-syntax): Remove.
4340 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4341 defined as function.
4343 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4345 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4347 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4349 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4350 table and abbrev table, `define-derived-mode' does that for us
4353 2013-11-01 Glenn Morris <rgm@gnu.org>
4355 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4356 files is atomic for some time, so no parallel compilation issues).
4358 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4360 * faces.el (face-x-resources): Add :distant-foreground.
4361 (region): Use :distant-foreground for gtk and ns.
4363 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4365 Allow multiple bibliographies when BibLaTeX is used rather than
4367 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4368 (reftex-locate-bibliography-files): Us it.
4370 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4372 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4373 allow comments in pbm files.
4375 * term/w32-win.el (dynamic-library-alist): Support newer versions
4376 of libjpeg starting with v7: look only for the DLL from the
4377 version against which Emacs was built.
4378 Support versions of libpng beyond 1.4.x.
4379 Support libtiff v4.x.
4381 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4383 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4384 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4386 (ruby-deep-arglist): Add property :type.
4388 2013-10-31 Glenn Morris <rgm@gnu.org>
4390 * Makefile.in (custom-deps, finder-data): No need to setq the target
4391 variables, we are in the right directory and the defaults work fine.
4393 2013-10-30 Glenn Morris <rgm@gnu.org>
4395 * Makefile.in (autoloads): Do not use abs_lisp.
4397 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4398 `newline' does not respect `standard-output', so use `princ'.
4400 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4402 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4403 * buff-menu.el (Buffer-menu--unmark): New function.
4404 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4406 2013-10-30 Glenn Morris <rgm@gnu.org>
4408 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4410 * emacs-lisp/package.el (lm-homepage): Declare.
4412 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4415 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4417 * Makefile.in (finder-data, autoloads, update-subdirs)
4418 (compile-main, compile-clean, compile-always, bootstrap-clean):
4419 Check return value of cd.
4420 (compile-calc): Remove.
4422 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4424 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4426 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4427 (byte-compile-and-folded): New function.
4428 (=, <, >, <=, >=): Use it.
4430 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4431 (path-separator, null-device, buffer-file-coding-system)
4432 (lpr-headers-switches): Check system-type before modifying them.
4433 (find-buffer-file-type-coding-system): Mark obsolete.
4434 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4435 find-file-not-found-set-buffer-file-coding-system.
4436 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
4437 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4438 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
4439 (w32-direct-print-region-helper, w32-direct-print-region-function)
4440 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4441 * startup.el (normal-top-level-add-subdirs-to-load-path):
4442 * ps-print.el (ps-print-region-function):
4443 * lpr.el (print-region-function): Use new name.
4445 * subr.el (custom-declare-variable-early): Remove function.
4446 (custom-declare-variable-list): Remove var.
4447 (error, user-error): Remove `while' loop.
4448 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4449 (user-emacs-directory-warning, locate-user-emacs-file):
4451 * simple.el (read-quoted-char-radix, read-quoted-char):
4452 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4454 * custom.el (custom-declare-variable-list): Don't process
4455 custom-declare-variable-list.
4457 * progmodes/python.el (python-shell-get-buffer): New function.
4458 (python-shell-get-process): Use it.
4459 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4460 Python which encoding was used. Don't split-string since we only care
4461 about the first line. Return the temp-file, if applicable.
4462 (python-shell-send-region): Tell compile.el how to turn locations in
4463 the temp-file into locations in the source buffer.
4465 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4467 * subr.el (undefined): Add missing behavior from the C code for
4470 * rect.el: Use lexical-binding. Add new rectangular region support.
4471 (rectangle-mark): New command.
4472 (rectangle--region): New var.
4473 (deactivate-mark-hook): Reset rectangle--region.
4474 (rectangle--extract-region, rectangle--insert-for-yank)
4475 (rectangle--highlight-for-redisplay)
4476 (rectangle--unhighlight-for-redisplay): New functions.
4477 (region-extract-function, redisplay-unhighlight-region-function)
4478 (redisplay-highlight-region-function): Use them to handle
4480 * simple.el (region-extract-function): New var.
4481 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4482 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4483 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4484 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4485 (redisplay-unhighlight-region-function)
4486 (redisplay-highlight-region-function): New vars.
4487 (redisplay--update-region-highlight): New function.
4488 (pre-redisplay-function): Use it.
4489 (exchange-point-and-mark): Don't deactivate the mark before
4490 reactivate-it anyway.
4491 * comint.el (comint-kill-region): Remove yank-handler argument.
4492 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4493 (delete-char): Remove property, since it's now part of their
4495 (self-insert-iso): Remove property since this command doesn't exist.
4497 * emacs-lisp/package.el (package--download-one-archive)
4498 (describe-package-1): Don't query the user about final newline.
4500 2013-10-29 Daniel Colascione <dancol@dancol.org>
4502 * net/tramp.el (tramp-methods): Document new functionality.
4503 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4504 tramp-hostname-checker if method provides one instead of scanning
4505 argument list for "%h" to decide hostname acceptability.
4507 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4509 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4510 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4511 Handle COPY-CONTENTS. (Bug#15737)
4513 2013-10-28 Daiki Ueno <ueno@gnu.org>
4516 (epa-file-cache-passphrase-for-symmetric-encryption):
4517 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4519 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4521 * image.el (defimage):
4522 (image-load-path): Doc fixes.
4524 2013-10-27 Alan Mackenzie <acm@muc.de>
4526 Indent statements in macros following "##" correctly.
4527 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4528 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4530 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4532 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4534 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4536 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4537 after `=' is probably a new expression.
4539 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4541 * man.el (man-imenu-title): New option.
4542 (Man-mode-map): Add menu. (Bug#15722)
4543 (Man-mode): Add imenu to menu.
4545 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4547 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4548 specific in what the first arg can be: a non-keyword word,
4549 string/regexp/percent literal opener, opening paren, or unary
4550 operator followed directly by word.
4552 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4554 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4555 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4556 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4557 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4558 Remove vars, they do not apply any more.
4559 (prolog-mode-abbrev-table): Remove redundant declaration.
4560 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4561 (prolog-use-smie): Remove.
4562 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4563 supported by prolog-electric-if-then-else-flag.
4564 (prolog-mode-variables, prolog-menu): Use setq-local.
4565 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4566 Remove binding to `Backspace' since this key doesn't exist anyway.
4567 Remove bindings for electric self-inserting keys.
4568 (prog-mode): Assume it's defined.
4569 (prolog-post-self-insert): New function.
4570 (prolog-mode): Use it.
4571 (prolog-indent-line, prolog-indent-level)
4572 (prolog-find-indent-of-matching-paren)
4573 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4574 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4575 (prolog-goto-next-paren, prolog-in-string-or-comment)
4576 (prolog-tokenize, prolog-inside-mline-comment)
4577 (prolog-find-start-of-mline-comment): Remove functions.
4578 (prolog-find-unmatched-paren, prolog-clause-end)
4579 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4580 (prolog-electric--if-then-else): Rename from
4581 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4582 (prolog-tokenize-searchkey): Remove const.
4583 (prolog-clause-info): Use forward-sexp.
4584 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4585 (prolog-electric-if-then-else): Remove commands.
4586 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4587 for use in post-self-insert-hook.
4588 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4589 for use in post-self-insert-hook.
4590 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4591 for use in post-self-insert-hook.
4592 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4593 adapt it for use in post-self-insert-hook.
4595 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4597 * emacs-lisp/ert.el (ert-run-tests-interactively):
4598 Use `completing-read'. (Bug#9756)
4600 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4602 * simple.el (line-move): Call line-move-1 instead of
4603 line-move-visual when the current window hscroll is zero, but
4604 temporary-goal-column indicates we will need to hscroll as result
4605 of the movement. (Bug#15712)
4607 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4609 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4610 capitalization. Use :visible instead of :active.
4611 Fix `ruby-indent-exp' reference. Add menu items for the generic
4612 commands that are used with SMIE.
4613 (ruby-do-end-to-brace): Insert space after `{'.
4615 2013-10-25 John Anthony <john@jo.hnanthony.com>
4617 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4619 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4621 2013-10-25 Glenn Morris <rgm@gnu.org>
4623 * vc/vc.el (vc-print-log): Don't use a working revision unless
4624 one was explicitly specified. (Bug#15322)
4626 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4628 * subr.el (add-to-list): Preserve return value in compiler-macro
4631 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4633 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4634 result. Ask user to retry using '-all' flag. (Bug#15701)
4636 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4638 * emacs-lisp/smie.el: New smie-config system.
4639 (smie-config): New defcustom.
4640 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4641 (smie-config-guess, smie-config-save): New commands.
4642 (smie-config--mode-local, smie-config--buffer-local)
4643 (smie-config--trace, smie-config--modefuns): New vars.
4644 (smie-config--advice, smie-config--mode-hook)
4645 (smie-config--setter, smie-config-local, smie-config--get-trace)
4646 (smie-config--guess-value, smie-config--guess): New functions.
4647 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4648 text properties. Treat "string fence" syntax like string syntax.
4650 * progmodes/sh-script.el (sh-use-smie): Change default.
4651 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4652 (sh-var-value): Simplify by CSE.
4653 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4654 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4656 (sh-guess-basic-offset): Use cl-incf.
4657 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4659 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4661 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4664 2013-10-24 Glenn Morris <rgm@gnu.org>
4666 * Makefile.in (abs_top_srcdir): Remove.
4667 (update-subdirs): Use relative path to update-subdirs.
4669 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4671 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4672 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4673 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4674 Call unmsys--file-name before expand-file-name, not after it.
4676 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4678 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4679 (ert-test-skipped): New error.
4680 (ert-skip, ert-stats-skipped): New defuns.
4681 (ert--skip-unless): New macro.
4682 (ert-test-skipped): New struct.
4683 (ert--run-test-debugger, ert-test-result-type-p)
4684 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4685 (ert--stats-set-test-and-result, ert-char-for-test-result)
4686 (ert-string-for-test-result, ert-run-tests-batch)
4687 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4688 Handle skipped tests. (Bug#9803)
4690 2013-10-24 Glenn Morris <rgm@gnu.org>
4692 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4694 * Makefile.in (abs_top_srcdir): New, set by configure.
4695 (update-subdirs): Correct build-aux location.
4697 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4699 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4700 value, whether we could auto-deduce `backend', or not.
4702 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4703 with parameters" example. Simplify the "is it block or is it
4704 hash" check, but also make it more thorough.
4706 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4708 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4710 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4712 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4715 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4718 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4720 * progmodes/compile.el (compilation-directory-matcher)
4721 (compilation-page-delimiter):
4722 Support GNU Make-4.0 directory quoting. (Bug#15678)
4724 2013-10-23 Leo Liu <sdl.web@gmail.com>
4726 * ido.el (ido-tidy): Handle read-only text.
4728 2013-10-23 Glenn Morris <rgm@gnu.org>
4730 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4731 (emacs, compile, compile-always):
4732 Quote entities that might contain whitespace.
4733 (custom-deps, finder-data, autoloads): Use abs_lisp.
4734 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4735 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4736 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4738 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4740 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4741 Use `following-char'.
4743 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4745 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4746 * progmodes/ruby-mode.el (ruby-smie-rules):
4747 Remove corresponding workaround. Fix indentation rule of ";" so it
4748 also applies when ";" is the parent.
4750 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4752 * frame.el (display-screens, display-pixel-height)
4753 (display-pixel-width, display-mm-width, display-backing-store)
4754 (display-save-under, display-planes, display-color-cells)
4755 (display-visual-class, display-monitor-attributes-list):
4756 Mention the optional ‘display’ argument in doc strings.
4758 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4760 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4761 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4763 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4765 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4766 TODO. Add "." after " @ ".
4767 (ruby-smie--at-dot-call): New function. Checks if point at method
4768 call with explicit target.
4769 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4770 to the method name tokens when it precedes them.
4771 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4772 (ruby-smie-rules): Add rule for indentation before and after "."
4775 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4777 * textmodes/remember.el (remember-diary-extract-entries):
4780 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4783 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4785 * progmodes/ruby-mode.el (ruby-smie-grammar):
4786 Add (almost) all infix operators.
4787 (ruby-smie--implicit-semi-p): Add new operator chars.
4789 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4791 (ruby-smie--args-separator-p): Check that there's no newline
4792 between method call and its arguments.
4794 2013-10-20 Alan Mackenzie <acm@muc.de>
4796 Allow comma separated lists after Java "implements".
4798 * progmodes/cc-engine.el (c-backward-over-enum-header):
4800 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4801 from a "disallowed" list in enum fontification.
4803 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4805 * startup.el (default-frame-background-mode): Remove unused defvar.
4807 * progmodes/verilog-mode.el (verilog-mode): Don't set
4808 comment-indent-function globally.
4810 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4812 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4813 Move Info menu item creation to ns-win.el.
4815 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4818 * menu-bar.el: Move GNUstep specific menus...
4820 * term/ns-win.el (ns-initialize-window-system): ... to here.
4822 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4824 * simple.el (newline): Only run post-self-insert-hook when
4825 called interactively.
4827 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4829 * icomplete.el (icomplete-with-completion-tables): Add :version.
4831 2013-10-19 Alan Mackenzie <acm@muc.de>
4833 Fix fontification bugs with constructors and const.
4835 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4836 CASE 2) Remove the check for the absence of a suffix construct
4837 after a function declaration with only types (no identifiers) in
4838 the parentheses. Also, accept a function declaration with just a
4839 type inside the parentheses, if this type can be positively
4840 recognised as such, or if a prefix keyword like "explicit" nails
4841 down the construct as a declaration.
4843 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4845 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4846 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4847 the problem whereby selecting a menu item that leads to a
4848 minibuffer prompt moves the cursor out of the minibuffer window,
4849 making it hard to type at the prompt. Suggested by Stefan Monnier
4850 <monnier@iro.umontreal.ca>.
4852 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4854 * menu-bar.el: Don't make Services menu.
4856 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4858 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4859 (ffap-alist): Use ffap-c++-mode for c++-mode.
4860 (ffap-c++-path): New variable.
4861 (ffap-c++-mode): New function.
4863 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4865 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4867 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4869 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4870 introduced on 2013-09-08, which results in an infinite loop
4871 requesting a password.
4873 2013-10-18 Glenn Morris <rgm@gnu.org>
4875 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4877 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4879 Sync with upstream verilog-mode revision 1a6ecec7.
4880 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4881 (verilog-mode-release-date): Remove.
4882 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4883 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4884 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4885 (verilog-auto-tieoff-ignore-regexp)
4886 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4887 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4888 (verilog-signals-with, verilog-dir-cache-preserving)
4889 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4891 (verilog-case-fold): New option, to control case folding in
4892 regexp searches, bug597.
4893 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4894 (verilog-string-match-fold, verilog-in-paren-count)
4895 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4896 (verilog-at-close-struct-p): New functions.
4897 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4898 (verilog-forward-sexp, verilog-set-auto-endcomments):
4899 (verilog-leap-to-case-head): Handle "unique0" case.
4900 (verilog-in-constraint-re): New constant.
4901 (verilog-keywords, verilog-type-font-keywords):
4902 Add some SystemVerilog 1800-2012 keywords.
4903 (verilog-label-be): Remove unimplemented argument, bug669.
4904 (verilog-batch-execute-func): When batch expanding clear
4905 create-lockfiles to prevent spurious user locks when a file ends
4907 (verilog-calculate-indent, verilog-calc-1)
4908 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4909 (verilog-do-indent): Fix indentation of nested constraints
4911 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4912 (verilog-auto-inst-param): Use verilog-string-match-fold.
4913 (verilog-read-inst-module-matcher):
4914 Fix AUTOINST on gate primitives with #1.
4915 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4916 Reads all user-defined typed variables.
4917 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4918 (verilog-signals-matching-regexp)
4919 (verilog-signals-not-matching-regexp, verilog-auto):
4920 Respect verilog-case-fold.
4921 (verilog-diff-report): Fix line count.
4922 (verilog-auto-assign-modport): Remove unused local `modi'.
4923 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4924 better handle multidimensional arrays.
4925 Fix packed array ports misadding bit index in AUTOINST, bug637.
4926 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4927 to not double-declare existing outputs and inputs, respectively.
4928 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4929 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4930 (verilog-sk-uvm-component): New skeleton.
4931 (verilog-submit-bug-report): Add verilog-case-fold,
4932 remove verilog-mode-release-date.
4934 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4936 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4939 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4941 * textmodes/remember.el (remember): Set buffer-offer-save in
4942 remember buffers (bug#13566).
4944 2013-10-18 Daniel Colascione <dancol@dancol.org>
4946 When evaluating forms in ielm, direct standard output to ielm
4947 buffer. Add new ielm-return-for-effect command. Remove trailing
4948 whitespace throughout.
4950 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4951 (ielm-return-for-effect): New command.
4952 (ielm-send-input): Accept optional `for-effect' parameter.
4953 (ielm-eval-input): Accept optional `for-effect' parameter.
4954 Bind `standard-output' to stream we create using
4955 `ielm-standard-output-impl'. Suppress printing result when
4957 (ielm-standard-output-impl): New function.
4958 (inferior-emacs-lisp-mode): Explain new features in documentation.
4960 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4964 * net/tramp.el (tramp-debug-message): Do not check for connection
4966 (tramp-message): Use "vector" connection property.
4968 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4969 (tramp-equal-remote, tramp-eshell-directory-change)
4970 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4971 (tramp-adb-handle-rename-file)
4972 * net/tramp-cmds.el (tramp-list-remote-buffers)
4973 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4974 * net/tramp-compat.el (tramp-compat-process-running-p)
4975 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4976 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4977 (tramp-gvfs-handle-rename-file)
4978 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4979 (tramp-set-file-uid-gid)
4980 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4981 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4984 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4985 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4986 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4987 (tramp-gw-open-network-stream): Suppress unrelated traces.
4989 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4990 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4991 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4992 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4993 connection property.
4995 * net/tramp-cache.el (top): Suppress traces when reading
4998 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4999 Refactor common code. Improve debug message.
5000 (tramp-maybe-open-connection)
5001 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
5002 connection buffer too early.
5004 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
5005 from `tramp-smb-actions-with-acl'.
5006 (tramp-smb-actions-set-acl): New defconst.
5007 (tramp-smb-handle-copy-directory)
5008 (tramp-smb-action-get-acl): New defun, renamed from
5009 `tramp-smb-action-with-acl'.
5010 (tramp-smb-action-set-acl): New defun.
5011 (tramp-smb-handle-set-file-acl): Rewrite.
5013 2013-10-17 Glenn Morris <rgm@gnu.org>
5015 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
5017 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
5019 * skeleton.el (skeleton-newline): Remove.
5020 (skeleton-internal-1): Use (insert "\n") instead.
5022 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
5025 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
5026 forward-sexp-function while we redo its job (bug#15613).
5028 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
5030 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
5031 represented by lists.
5033 2013-10-16 Glenn Morris <rgm@gnu.org>
5035 * tmm.el (tmm--history): New dynamic variable.
5036 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
5038 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
5040 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
5041 (tramp-smb-errors): Add error messages.
5042 (tramp-smb-actions-with-acl): New defconst.
5043 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
5044 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
5045 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
5046 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
5047 (tramp-smb-get-stat-capability): Fix tests.
5049 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
5051 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
5054 2013-10-16 Glenn Morris <rgm@gnu.org>
5056 * ansi-color.el (ansi-color-drop-regexp):
5057 Add 1J, 1K, 2K. (Bug#15617)
5059 * files.el (hack-local-variables--warned-lexical): New.
5060 (hack-local-variables):
5061 Warn about misplaced lexical-binding. (Bug#15616)
5063 * net/eww.el (eww-render): Always set eww-current-url,
5064 and update header line. (Bug#15622)
5065 (eww-display-html): ... Rather than just doing it here.
5067 2013-10-15 Eli Zaretskii <eliz@gnu.org>
5069 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
5070 menu navigations commands.
5072 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
5074 * progmodes/subword.el (subword-capitalize): Be careful when
5075 the search for [[:alpha:]] fails (bug#15580).
5077 2013-10-14 Eli Zaretskii <eliz@gnu.org>
5079 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
5080 to commands that scroll the menu.
5082 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
5084 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
5085 Handle methods ending with `?' and `!'.
5087 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
5089 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
5090 `japanese-cp932' to `cp932' to fix the problem where saving a
5091 source file written in Shift_JIS twice would end up having
5092 `coding: japanese-cp932' which Ruby could not recognize.
5093 (ruby-mode-set-encoding): Add support for encodings mapped to nil
5094 in `ruby-encoding-map'.
5095 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
5096 doesn't need to be explicitly declared in magic comment.
5097 (ruby-encoding-map): Add type declaration for better customize UI.
5099 2013-10-13 Glenn Morris <rgm@gnu.org>
5101 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
5102 Occur buffers are read-only. http://bugs.debian.org/720775
5104 * emacs-lisp/authors.el (authors-fixed-entries):
5105 Comment out old alpha stuff.
5107 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
5109 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
5110 to `after-save-hook' instead of `before-save-hook'.
5111 (ruby-mode-set-encoding): Use the value of coding system used to
5112 write the file. Call `basic-save-buffer-1' after modifying the
5115 2013-10-13 Alan Mackenzie <acm@muc.de>
5117 Fix indentation/fontification of Java enum with
5118 "implements"/generic.
5120 * progmodes/cc-engine.el (c-backward-over-enum-header):
5121 Extracted from the three other places and enhanced to handle generics.
5122 (c-inside-bracelist-p): Uses new function above.
5123 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
5125 (c-font-lock-enum-tail): Uses new function above.
5127 2013-10-13 Kenichi Handa <handa@gnu.org>
5129 * international/mule-cmds.el (select-safe-coding-system): Remove a
5130 superfluous condition in chekcing whether a coding system is safe
5133 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
5135 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
5137 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
5139 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
5141 2013-10-13 Glenn Morris <rgm@gnu.org>
5143 * menu-bar.el (menu-bar-update-buffers):
5144 Unify Buffers menu prompt string. (Bug#15576)
5146 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
5148 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
5150 (authors-fixed-entries): Use accented form of name.
5152 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
5154 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
5155 method calls (bug#15594).
5156 (ruby-smie--args-separator-p): New function.
5157 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
5158 recognize paren-free method calls.
5160 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
5161 internals of universal-argument.
5163 2013-10-11 Eli Zaretskii <eliz@gnu.org>
5165 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
5166 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
5167 dropped menu on second mouse click on the menu bar.
5169 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
5171 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
5172 (explicit-shell-file-name): Declare.
5173 (sh--vars-before-point, sh--cmd-completion-table): New functions.
5174 (sh-completion-at-point-function): New function.
5176 (sh-smie--keyword-p): Remove unused argument.
5177 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
5179 (sh-set-shell): Always setup SMIE, even if we use the
5180 old indentation code.
5182 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
5184 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
5186 (ruby-smie-rules): Simplify the "do" rule. The cases when the
5187 predicate would return nil are almost non-existent.
5188 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
5190 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
5191 cache also after commands that modify the buffer but don't move
5194 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5196 * env.el (substitute-env-in-file-name): New function.
5197 (substitute-env-vars): Extend the meaning of the optional arg.
5199 2013-10-10 Eli Zaretskii <eliz@gnu.org>
5201 * term/w32-win.el (dynamic-library-alist): Define separate lists
5202 of GIF DLLs for versions before and after 5.0.0 of giflib.
5205 2013-10-10 João Távora <joaotavora@gmail.com>
5207 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
5208 not locked, use last revision and current source as
5209 defaults. (Bug#15569)
5211 2013-10-10 Masatake YAMATO <yamato@redhat.com>
5213 * menu-bar.el (menu-bar-open): Don't use popup-menu if
5216 2013-10-10 Martin Rudalics <rudalics@gmx.at>
5218 * window.el (pop-to-buffer-same-window): Fix doc-string.
5221 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5223 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5225 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5227 * calendar/icalendar.el (icalendar-import-file):
5228 Fix interactive spec. (Bug#15482)
5230 2013-10-10 Glenn Morris <rgm@gnu.org>
5232 * desktop.el (desktop-save): Default to saving in .emacs.d,
5233 since PWD is no longer in desktop-path by default. (Bug#15319)
5235 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5236 now that text mode has a menu with the same entry.
5237 (menu-bar-text-mode-auto-fill): Remove now unused func.
5238 * textmodes/text-mode.el (text-mode-map):
5239 Use auto-fill help text from menu-bar.el.
5241 2013-10-10 John Anthony <john@jo.hnanthony.com>
5243 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5245 2013-10-09 Juri Linkov <juri@jurta.org>
5247 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5248 instead of this-command-keys. Add universal-argument-more and
5249 universal-argument-minus to the list of prefix commands. (Bug#15568)
5251 2013-10-09 Glenn Morris <rgm@gnu.org>
5253 * vc/vc-svn.el (vc-svn-create-repo):
5254 Expand paths in file://... url. (Bug#15446)
5256 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5258 (authors): Remove unused local variables.
5260 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5262 * profiler.el: Create a more coherent calltree from partial backtraces.
5263 (profiler-format): Hide the tail with `invisible' so that C-s can still
5264 find the hidden elements.
5265 (profiler-calltree-depth): Don't recurse so enthusiastically.
5266 (profiler-function-equal): New hash-table-test.
5267 (profiler-calltree-build-unified): New function.
5268 (profiler-calltree-build): Use it.
5269 (profiler-report-make-name-part): Indent the calltree less.
5270 (profiler-report-mode): Add visibility specs for profiler-format.
5271 (profiler-report-expand-entry, profiler-report-toggle-entry):
5272 Expand the whole subtree when provided with a prefix arg.
5274 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5276 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5278 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5279 hanging iuwu-mod token.
5280 (ruby-smie--forward-token): Do not include a dot after a token in
5282 (ruby-smie--backward-token): Likewise.
5284 2013-10-08 Juri Linkov <juri@jurta.org>
5286 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5287 to isearch-other-control-char.
5288 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5289 and isearch-post-command-hook to post-command-hook.
5290 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5291 and isearch-post-command-hook from post-command-hook.
5292 (isearch-unread-key-sequence)
5293 (isearch-reread-key-sequence-naturally)
5294 (isearch-lookup-scroll-key, isearch-other-control-char)
5295 (isearch-other-meta-char): Remove functions.
5296 (isearch-pre-command-hook, isearch-post-command-hook):
5297 New functions based on isearch-other-meta-char rewritten
5298 relying on the new behavior of overriding-terminal-local-map
5299 that does not replace the local keymaps any more. (Bug#15200)
5301 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5303 Support menus on text-mode terminals.
5304 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5307 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5309 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5310 Move here from mouse.el.
5311 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5313 (tty-menu-navigation-map): New map for TTY menu navigation.
5315 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5317 * frame.el (display-mouse-p): Report text-mode mouse as available
5319 (display-popup-menus-p): Report availability if mouse is
5320 available; don't condition on window-system.
5322 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5323 (tty-menu-selected-face): New faces.
5325 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5327 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5328 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5329 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5330 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5332 (lisp-mode-variables): New `elisp' argument.
5333 (emacs-lisp-mode): Use it.
5334 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5335 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5337 * indent.el: Use lexical-binding.
5338 (indent-region): Add progress reporter.
5339 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5341 (indent--next-tab-stop): New function to implement this behavior.
5342 (tab-to-tab-stop, move-to-tab-stop): Use it.
5344 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5346 * indent.el (indent-rigidly--current-indentation): New function.
5347 (indent-rigidly-map): New var.
5348 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5350 2013-10-08 Bastien Guerry <bzg@gnu.org>
5352 * register.el (insert-register): Fix 2013-10-07 change.
5354 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5356 * progmodes/perl-mode.el: Use lexical-binding.
5357 Remove redundant :group args.
5358 (perl-nochange): Change default to be closer to other major modes's
5360 (perl-indent-line): Don't consider text on current line as a
5361 valid beginning of function from which to indent.
5363 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5364 with more than one argument (bug#15538).
5366 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5368 * vc/pcvs.el: Use lexical-binding.
5369 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5370 environment of `eval'.
5371 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5372 than a list of expressions. Adjust callers.
5373 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5375 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5377 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5378 case of the dot in a chained method call being on the following line.
5380 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5382 * electric.el (electric-indent-inhibit): New var.
5383 (electric-indent-post-self-insert-function): Use it.
5384 * progmodes/python.el (python-mode): Set it.
5386 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5389 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5391 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5392 (css-mode): Use electric-indent-chars.
5394 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5395 (font-lock-beg, font-lock-end): Move before first use.
5396 (nxml-mode): Use syntax-propertize-function.
5397 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5398 (nxml-extend-after-change-region): Remove.
5399 * nxml/xmltok.el: Use lexical-binding.
5400 (xmltok-save): Use `declare'.
5401 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5402 * nxml/nxml-util.el: Use lexical-binding.
5403 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5405 * nxml/nxml-ns.el: Use lexical-binding.
5406 (nxml-ns-save): Use `declare'.
5407 (nxml-ns-prefixes-for): Avoid add-to-list.
5408 * nxml/rng-match.el: Use lexical-binding.
5409 (rng--ipattern): Use cl-defstruct.
5410 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5411 (rng-cons-group-after, rng-subst-group-after)
5412 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5413 Use closures instead of `(lambda...).
5415 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5417 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5420 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5421 Use `tramp-handle-insert-file-contents'.
5422 (tramp-gvfs-handle-insert-file-contents): Remove function.
5424 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5425 Use `save-restriction' in order to keep markers.
5427 * net/trampver.el: Update release number.
5429 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5431 * progmodes/compile.el (compilation-parse-errors):
5432 Use compilation--put-prop.
5433 (compilation--ensure-parse): Check compilation-multiline.
5435 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5437 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5440 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5442 * progmodes/ruby-mode.el: Fix recently added tests.
5443 (ruby-smie-grammar): Add - and +.
5444 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5445 (ruby-smie--backward-id): New functions.
5446 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5447 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5450 2013-10-07 Leo Liu <sdl.web@gmail.com>
5452 * register.el (register-preview-delay)
5453 (register-preview-functions): New variables.
5454 (register-read-with-preview, register-preview)
5455 (register-describe-oneline): New functions.
5456 (point-to-register, window-configuration-to-register)
5457 (frame-configuration-to-register, jump-to-register)
5458 (number-to-register, view-register, insert-register)
5459 (copy-to-register, append-to-register, prepend-to-register)
5460 (copy-rectangle-to-register): Use register-read-with-preview to
5461 read register. (Bug#15525)
5463 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5465 * net/network-stream.el (network-stream-open-starttls): Don't add
5466 --insecure if it's already present, because that gnutls-cli
5467 rejects getting that parameter twice.
5469 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5471 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5474 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5476 * newcomment.el (comment-use-global-state): Change default value
5477 to t, mark obsolete (Bug#15251).
5478 (comment-beginning): In addition to `comment-to-syntax', check the
5479 value of `comment-use-global-state'.
5481 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5483 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5484 (ruby-comment-column): Follow the global default, by default.
5485 (ruby-smie-grammar): Add assignment syntax.
5486 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5487 open-paren, a comma, or a \.
5488 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5489 and line continuations.
5490 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5491 followed by implicit semi-colons. Add rule for string concatenation
5492 and for indentation at BOB.
5493 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5495 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5496 calling next-sexp, since next-token may have skipped chars which
5497 next-sexp doesn't know should be skipped!
5499 2013-10-05 Leo Liu <sdl.web@gmail.com>
5501 * progmodes/octave.el (octave-send-region):
5502 Call compilation-forget-errors.
5504 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5506 * vc/vc-svn.el (vc-svn-find-admin-dir):
5507 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5508 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5509 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5510 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5512 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5514 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5516 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5518 * subr.el (read-passwd): Hide chars even when called within a context
5519 where after-change-functions is disabled (bug#15501).
5520 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5521 until we removed ourself from overriding-terminal-local-map.
5523 2013-10-04 Leo Liu <sdl.web@gmail.com>
5525 * progmodes/octave.el (inferior-octave-mode):
5526 Call compilation-forget-errors.
5528 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5530 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5532 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5534 * net/secrets.el (secrets-create-collection): Add optional
5535 argument ALIAS. Use proper Label keyword. Append ALIAS as
5536 dbus-call-method argument. (Bug#15516)
5538 2013-10-04 Leo Liu <sdl.web@gmail.com>
5540 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5541 (inferior-octave-compilation-font-lock-keywords): New variables.
5542 (compilation-error-regexp-alist)
5543 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5544 (inferior-octave-mode): Use compilation-shell-minor-mode.
5546 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5548 * minibuffer.el (completion--replace): Be careful that `end' might be
5551 2013-10-03 Daiki Ueno <ueno@gnu.org>
5553 Add support for package signature checking.
5554 * emacs-lisp/package.el (url-http-file-exists-p)
5555 (epg-make-context, epg-context-set-home-directory)
5556 (epg-verify-string, epg-context-result-for)
5557 (epg-signature-status, epg-signature-to-string)
5558 (epg-check-configuration, epg-configuration)
5559 (epg-import-keys-from-file): Declare.
5560 (package-check-signature): New user option.
5561 (package-unsigned-archives): New user option.
5562 (package-desc): Add `signed' field.
5563 (package-load-descriptor): Set `signed' field if .signed file exists.
5564 (package--archive-file-exists-p): New function.
5565 (package--check-signature): New function.
5566 (package-install-from-archive): Check package signature.
5567 (package--download-one-archive): Check archive signature.
5568 (package-delete): Remove .signed file.
5569 (package-import-keyring): New command.
5570 (package-refresh-contents): Import default keyring.
5571 (package-desc-status): Add "unsigned" status.
5572 (describe-package-1, package-menu--print-info)
5573 (package-menu-mark-delete, package-menu--find-upgrades)
5574 (package-menu--status-predicate): Support "unsigned" status.
5576 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5578 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5579 the new compilation scheme using the new byte-codes.
5581 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5582 (byte-pophandler): New byte codes.
5583 (byte-goto-ops): Adjust accordingly.
5584 (byte-compile--use-old-handlers): New var.
5585 (byte-compile-catch): Use new byte codes depending on
5586 byte-compile--use-old-handlers.
5587 (byte-compile-condition-case--old): Rename from
5588 byte-compile-condition-case.
5589 (byte-compile-condition-case--new): New function.
5590 (byte-compile-condition-case): New function that dispatches depending
5591 on byte-compile--use-old-handlers.
5592 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5595 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5596 Optimize under `condition-case' and `catch' if
5597 byte-compile--use-old-handlers is nil.
5598 (disassemble-offset): Handle new bytecodes.
5600 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5602 * subr.el (error): Use `declare'.
5603 (decode-char, encode-char): Use advertised-calling-convention instead
5604 of the docstring to discourage use of the `restriction' arg.
5606 2013-10-03 Daiki Ueno <ueno@gnu.org>
5608 * epg.el (epg-verify-file): Add a comment saying that it does not
5609 notify verification error as a return value nor a signal.
5610 (epg-verify-string): Ditto.
5612 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5614 * progmodes/compile.el (compilation-start): Try globbing the arg to
5617 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5619 Sync with Tramp 2.2.8.
5621 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5622 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5623 * net/trampver.el: Update release number.
5625 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5627 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5628 and default-process-coding-system for darwin only.
5630 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5632 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5634 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5636 * vc/vc-git.el (vc-git-grep): Disable pager.
5638 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5640 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5641 Use :url instead of :homepage, as per
5642 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5644 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5645 non-nil, use `syntax-ppss' (Bug#15251).
5647 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5649 * progmodes/octave.el (inferior-octave-startup-file):
5650 Prefer ~/.emacs.d/init_octave.m.
5652 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5654 * emacs-lisp/package.el (package-desc-from-define):
5655 Accept additional arguments as plist, convert them to an alist and store
5656 them in the `extras' slot.
5657 (package-generate-description-file): Convert extras alist back to
5658 plist and append to the `define-package' form arguments.
5659 (package--alist-to-plist): New function.
5660 (package--ac-desc): Add `extras' slot.
5661 (package--add-to-archive-contents): Check if the archive-contents
5662 vector is long enough, and if it is, pass its `extras' slot value
5663 to `package-desc-create'.
5664 (package-buffer-info): Call `lm-homepage', pass the returned value
5665 to `package-desc-from-define'.
5666 (describe-package-1): Render the homepage button (Bug#13291).
5668 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5669 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5671 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5673 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5674 and default-process-coding-system to utf-8-unix (Bug#15402).
5676 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5678 * subr.el (looking-back): Do not recommend using looking-back.
5680 2013-09-28 Alan Mackenzie <acm@muc.de>
5682 Fix indentation/fontification of Java enum with "implements".
5684 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5685 regexp which matches "implements", etc., in Java.
5686 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5687 specifier clauses coming after "enum".
5688 * progmodes/cc-fonts.el (c-font-lock-declarations)
5689 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5692 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5694 * faces.el (region): Change ns_selection_color to
5695 ns_selection_fg_color, add ns_selection_bg_color.
5697 2013-09-28 Leo Liu <sdl.web@gmail.com>
5699 * progmodes/octave.el (inferior-octave-completion-table)
5700 (inferior-octave-completion-at-point): Minor tweaks.
5702 * textmodes/ispell.el (ispell-lookup-words): Rename from
5703 lookup-words. (Bug#15460)
5704 (lookup-words): Obsolete.
5705 (ispell-complete-word, ispell-command-loop): All uses changed.
5707 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5709 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5710 (octave-mode-menu): Add octave-send-buffer.
5711 (octave-send-buffer): New function.
5713 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5715 * progmodes/octave.el (octave-mode-map): Add key binding for
5717 (octave-mode-menu): Add octave-lookfor.
5718 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5720 (octave-lookfor): New function.
5722 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5724 * emacs-lisp/cl-macs.el:
5725 (cl--loop-destr-temps): Remove.
5726 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5728 (cl--loop-set-iterator-function): New function.
5729 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5730 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5731 Bind `it' with `let' instead of substituting it with `cl-subst'.
5732 (cl--unused-var-p): New function.
5733 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5734 Eliminate some unused variable warnings (bug#15326).
5736 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5738 * doc-view.el (doc-view-scale-reset): Rename from
5739 `doc-view-reset-zoom-level'.
5740 (doc-view-scale-adjust): New command.
5741 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5742 `doc-view-scale-adjust'.
5744 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5746 * doc-view.el (doc-view-reset-zoom-level): New command.
5747 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5748 zoom commands (bug#15466).
5750 2013-09-26 Kenichi Handa <handa@gnu.org>
5752 * international/quail.el (quail-help): Make it not a command.
5754 2013-09-26 Leo Liu <sdl.web@gmail.com>
5756 * minibuffer.el (completion-all-sorted-completions): Make args
5757 optional as they are.
5759 2013-09-25 Daniel Colascione <dancol@dancol.org>
5761 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5762 specs are and that they're not evaluated.
5764 2013-09-24 Sam Steingold <sds@gnu.org>
5766 * midnight.el (clean-buffer-list-kill-regexps)
5767 (clean-buffer-list-kill-buffer-names): Update for the new Man
5768 buffer naming which includes the object name.
5770 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5772 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5773 (eshell-parse-command, eshell-parse-pipeline): Use it since
5774 eshell-separate-commands requires a dynamic scoped var.
5775 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5777 2013-09-23 Leo Liu <sdl.web@gmail.com>
5779 * autoinsert.el (auto-insert-alist): Make the value of
5780 lexical-binding match its file setting.
5782 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5784 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5786 * autoarg.el (autoarg-kp-digit-argument):
5787 * electric.el (Electric-command-loop):
5788 * kmacro.el (kmacro-step-edit-insert):
5789 Do not set universal-argument-num-events.
5791 2013-09-22 Leo Liu <sdl.web@gmail.com>
5793 * files.el (interpreter-mode-alist): Add octave.
5795 2013-09-21 Alan Mackenzie <acm@muc.de>
5797 C++: fontify identifier in declaration following "public:" correctly.
5798 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5799 to match "public", etc.
5800 (c-decl-prefix-re): Add ":" into the C++ value.
5801 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5802 bit. Add a check for a ":" preceded by "public", etc.
5804 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5806 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5807 recognized by GDB 7.5 and later.
5809 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5811 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5813 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5815 * subr.el (internal--call-interactively): New const.
5816 (called-interactively-p): Use it (bug#3984).
5818 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5820 * vc/pcvs.el (cvs-mode-ignore):
5821 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5822 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5824 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5826 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5827 (eshell-ls-orig-insert-directory): Remove.
5828 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5829 (eshell-ls-use-in-dired): Use advice-add/remove.
5830 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5831 Add `orig-fun' arg for use in :around advice.
5832 Make it check (redundantly) eshell-ls-use-in-dired.
5834 2013-09-19 Glenn Morris <rgm@gnu.org>
5836 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5838 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5840 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5842 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5844 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5845 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5846 (tramp-get-remote-python): New defuns.
5847 (tramp-get-remote-uid-with-perl)
5848 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5849 contributed by yary <not.com@gmail.com> (tiny change).
5850 (tramp-get-remote-uid-with-python)
5851 (tramp-get-remote-gid-with-python): New defuns. Python code
5852 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5853 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5855 2013-09-19 Glenn Morris <rgm@gnu.org>
5857 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5859 * eshell/em-unix.el (eshell-remove-entries):
5860 Rename argument to avoid name-clash with global `top-level'.
5862 * eshell/esh-proc.el (eshell-kill-process-function):
5863 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5864 (eshell-reset-after-proc): Remove unused arg `proc'.
5866 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5867 (directory-files-and-attributes): Mark unused arg.
5869 * eshell/em-unix.el (eshell-remove-entries):
5870 Remove unused arg `path'. Update callers.
5872 * eshell/em-hist.el (eshell-hist-parse-arguments):
5873 Remove unused arg `silent'. Update callers.
5875 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5876 Fix (f)boundp mix-up.
5878 * eshell/em-smart.el (eshell-smart-scroll-window)
5879 (eshell-disable-after-change):
5880 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5882 2013-09-18 Alan Mackenzie <acm@muc.de>
5884 Fix fontification of type when followed by "const".
5885 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5886 "known" types from fontification.
5888 2013-09-18 Glenn Morris <rgm@gnu.org>
5890 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5891 (chart-face-list): Drop Emacsen without display-color-p.
5893 * net/eww.el (libxml-parse-html-region): Declare.
5894 (eww-display-html): Explicit error if no libxml2 support.
5896 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5898 * image.el (image-type-from-buffer, image-multi-frame-p):
5899 Remove --without-x warning/error.
5901 * mouse.el (mouse-yank-primary):
5902 * term.el (term-mouse-paste):
5903 Reorder to silence --without-x compilation.
5905 * mpc.el (doc-view-mode): Silence --without-x compilation.
5907 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5908 Silence --without-x compilation.
5910 * progmodes/gud.el (gud-find-file, gud-mode):
5911 Silence --without-x compilation.
5912 (tooltip-mode): Declare.
5914 * wdired.el (dired-backup-overwrite): Remove declaration.
5915 (wdired-mode-map): Add doc string.
5917 * custom.el (x-get-resource): Declare.
5919 * eshell/em-glob.el (ange-cache):
5920 * eshell/em-unix.el (ange-cache): Declare.
5922 * faces.el (x-display-list, x-open-connection, x-get-resource):
5925 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5926 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5929 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5931 * net/gnutls.el (gnutls-log-level): Declare.
5933 * net/shr.el (image-size, image-animate): Declare.
5935 * simple.el (font-info): Declare.
5937 * subr.el (x-popup-dialog): Declare.
5939 * term/common-win.el (x-select-enable-primary)
5940 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5943 * term/ns-win.el (x-handle-args): Declare.
5945 * term/x-win.el (x-select-enable-clipboard): Declare.
5947 * term/w32-win.el (create-default-fontset): Declare.
5949 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5952 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5953 (fit-frame-to-buffer): Explicit error if --without-x.
5954 (mouse-autoselect-window-select): Silence compiler.
5956 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5958 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5959 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5960 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5961 * eshell/esh-util.el (eshell-sublist):
5962 Remove unused local variables.
5964 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5966 * textmodes/two-column.el: Make 2C-split work for --without-x.
5967 (scroll-bar-columns): Autoload.
5968 (top-level): Require fringe when compiling.
5970 2013-09-18 Leo Liu <sdl.web@gmail.com>
5972 * subr.el (add-hook): Robustify to handle closure as well.
5974 2013-09-17 Glenn Morris <rgm@gnu.org>
5976 * simple.el (messages-buffer-mode-map): Unbind "g".
5978 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5980 * help-mode.el (help-mode-finish): Use derived-mode-p.
5981 Remove obsolete highlighting.
5983 * play/life.el (life-mode): Use define-derived-mode. Derive from
5985 (life): Let-bind inhibit-read-only.
5986 (life-setup): Avoid `setq'. Use `life-mode'.
5988 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5989 which should not be needed any more.
5990 (package-menu-refresh, package-menu-describe-package): Use user-error.
5992 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5993 (eshell-post-rewrite-command-hook): Make obsolete.
5994 (eshell-parse-command): Simplify.
5995 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5996 (eshell--cmd): Declare.
5997 (eshell-parse-pipeline): Remove unused var `final-p'.
5998 Pass a dynvar to eshell-post-rewrite-command-hook.
5999 Implement the new eshell-post-rewrite-command-function.
6000 (eshell-invoke-directly): Remove unused arg `input'.
6001 * eshell/esh-io.el (eshell-io-initialize):
6002 Use eshell-post-rewrite-command-function (bug#15399).
6003 (eshell--apply-redirections): Rename from eshell-apply-redirections;
6004 adjust to new calling convention.
6005 (eshell-create-handles): Rename args to avoid clashing with dynvar
6008 2013-09-17 Glenn Morris <rgm@gnu.org>
6010 * simple.el (messages-buffer-mode): New major mode.
6011 (messages-buffer): New function.
6012 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
6013 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
6014 (ert-run-test): Use `messages-buffer' function.
6015 (ert--force-message-log-buffer-truncation): Ignore read-only.
6016 * help.el (view-echo-area-messages): Use `messages-buffer' function.
6017 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
6019 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
6021 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
6023 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
6025 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
6027 * icomplete.el (icomplete-in-buffer): New var.
6028 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
6029 vars and replace them with functions.
6030 (icomplete-minibuffer-setup): Adjust accordingly.
6031 (icomplete--completion-table, icomplete--completion-predicate)
6032 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
6034 (icomplete-forward-completions, icomplete-backward-completions)
6035 (icomplete-simple-completing-p, icomplete-exhibit)
6036 (icomplete-completions): Use them.
6037 (icomplete--in-region-buffer): New var.
6038 (icomplete--in-region-setup): New function.
6039 (icomplete-mode): Use it.
6041 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
6043 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
6044 return args and options.
6045 (eshell-eval-using-options): Use the new return value of
6046 eshell--do-opts to set the options's vars in their scope.
6047 (eshell--set-option): Rename from eshell-set-option.
6049 (eshell--process-option): Rename from eshell-process-option.
6051 (eshell--process-args): Use an `opt-vals' alist to store the options's
6052 values during their processing and return them additionally to the
6055 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
6057 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
6058 continuation character an operator, as far as indentation is
6059 concerned (Bug#15369).
6061 2013-09-15 Martin Rudalics <rudalics@gmx.at>
6063 * window.el (window--state-put-2): Don't process buffer state
6064 when buffer doesn't exist any more (Bug#15382).
6066 2013-09-15 Glenn Morris <rgm@gnu.org>
6068 * eshell/em-unix.el (eshell/rm):
6069 Make -f ignore missing files. (Bug#15373)
6071 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
6072 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
6073 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
6075 2013-09-14 Glenn Morris <rgm@gnu.org>
6077 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
6079 2013-09-13 Glenn Morris <rgm@gnu.org>
6081 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
6082 (dired-guess-default): Make `file' available in the env. (Bug#15363)
6084 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
6086 * frame.el (x-focus-frame): Mark as declared in frame.c.
6088 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
6090 * ls-lisp.el: Use advice-add.
6091 (original-insert-directory): Remove.
6092 (ls-lisp--insert-directory): Rename from insert-directory; add
6093 `orig-fun' argument.
6094 (insert-directory): Advise.
6096 2013-09-13 Eli Zaretskii <eliz@gnu.org>
6098 * term.el (term-emulate-terminal): Decode the command string
6099 before passing it to term-command-hook. (Bug#15337)
6101 2013-09-13 Glenn Morris <rgm@gnu.org>
6103 * eshell/esh-util.el (ange-cache): Move declaration earlier.
6105 * eshell/esh-ext.el (eshell-search-path): Declare.
6107 * eshell/em-prompt.el (eshell/pwd): Autoload it.
6108 Otherwise an error occurs if eshell-dirs module not loaded.
6110 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
6112 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
6114 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
6115 `tramp-check-proper-host'. Check for a valid method name.
6117 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6118 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6119 * net/tramp-sh.el (tramp-maybe-open-connection):
6120 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
6122 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
6123 also for hash values.
6125 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6127 * term/ns-win.el (parameters): Don't declare as dynamic.
6128 (before-make-frame-hook): Don't add ineffective function.
6130 * eshell/*.el: Use lexical-binding (bug#15231).
6132 2013-09-12 Kenichi Handa <handa@gnu.org>
6134 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
6136 2013-09-12 Glenn Morris <rgm@gnu.org>
6138 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
6139 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
6141 * subr.el (do-after-load-evaluation): Also give compiler warnings
6142 when obsolete files are used (except by obsolete files).
6144 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
6145 in the status output, assume `filename' is the first. (Bug#15322)
6147 * vc/vc.el (vc-deduce-fileset): Doc fix.
6149 * calc/calc-help.el (Info-goto-node):
6150 * progmodes/cperl-mode.el (Info-find-node):
6151 * vc/ediff.el (Info-goto-node): Update declarations.
6153 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
6155 * vc/vc-bzr.el (vc-compilation-mode): Declare.
6156 (vc-bzr-pull): Require vc-dispatcher.
6157 * vc/vc-git.el (vc-compilation-mode): Declare.
6158 (vc-git-pull): Require vc-dispatcher.
6160 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
6162 * progmodes/octave.el (help-button-action): Declare.
6164 * shell.el (shell-directory-tracker): Output error as a message
6165 rather than just returning it as a string.
6166 (shell-process-pushd): Remove useless use of message.
6168 * dframe.el (dframe-timer-fn):
6169 * files.el (dir-locals-read-from-file):
6170 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
6172 * reveal.el (reveal-post-command):
6173 * saveplace.el (load-save-place-alist-from-file):
6174 * shell.el (shell-resync-dirs):
6175 * w32-common-fns.el (x-get-selection-value):
6176 * emacs-lisp/copyright.el (copyright-find-copyright):
6177 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
6178 * emulation/tpu-edt.el (tpu-copy-keyfile):
6179 * play/bubbles.el (bubbles--mark-neighbourhood):
6180 * progmodes/executable.el
6181 (executable-make-buffer-file-executable-if-script-p):
6182 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
6184 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
6186 Cleanup Eshell to rely less on dynamic scoping.
6187 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
6188 last-value, and ext-command here. Bind `args' closer to `body'.
6189 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
6190 (eshell--args): Declare new dynamic var.
6191 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
6192 last-value, and ext-command. Pass `args' to `body'.
6193 (eshell-process-args): Bind eshell--args.
6194 (eshell-set-option): Use eshell--args.
6195 * eshell/eshell.el (eshell): Use derived-mode-p.
6196 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
6197 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
6198 (eshell-glob-function): Declare.
6199 * eshell/esh-util.el: Require cl-lib.
6200 (eshell-read-hosts-file): Avoid add-to-list.
6201 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
6203 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
6205 (eshell/diff): Remove unused var `err'.
6206 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
6208 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
6209 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
6211 * eshell/em-glob.el (eshell-glob-matches, message-shown):
6212 Move declaration before first use.
6213 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
6214 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
6217 2013-09-12 Glenn Morris <rgm@gnu.org>
6219 * term/ns-win.el (global-map): Remove binding for ispell-next,
6220 deleted 1999-05-29. (Bug#15357)
6222 2013-09-11 Glenn Morris <rgm@gnu.org>
6224 * echistory.el (electric-command-history): Remove call to deleted func.
6226 * play/landmark.el (landmark-mode): Fix typos.
6228 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6229 Check cvs-sort-ignore-file is bound.
6231 * savehist.el: No need for cl when compiling on Emacs.
6233 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6235 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6237 (eshell-self-insert-command, eshell-send-invisible):
6238 Remove unused argument.
6239 (eshell-handle-control-codes): Remove unused var `orig'.
6240 Avoid delete-backward-char.
6242 * files.el (set-auto-mode): Simplify a bit further.
6244 2013-09-11 Glenn Morris <rgm@gnu.org>
6246 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6247 (set-auto-mode): Don't regexp-quote elements.
6248 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6249 * progmodes/cc-mode.el (interpreter-mode-alist):
6250 * progmodes/ruby-mode.el (interpreter-mode-alist):
6251 Revert previous change.
6253 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6255 * play/snake.el (snake-mode):
6256 * play/mpuz.el (mpuz-mode):
6257 * play/landmark.el (lm-mode):
6258 * play/blackbox.el (blackbox-mode):
6259 * play/5x5.el (5x5-mode):
6260 * obsolete/options.el (Edit-options-mode):
6261 * net/quickurl.el (quickurl-list-mode):
6262 * net/newst-treeview.el (newsticker-treeview-mode):
6263 * mail/rmailsum.el (rmail-summary-mode):
6264 * mail/mspools.el (mspools-mode):
6265 * locate.el (locate-mode):
6266 * ibuffer.el (ibuffer-mode):
6267 * emulation/ws-mode.el (wordstar-mode):
6268 * emacs-lisp/debug.el (debugger-mode):
6269 * array.el (array-mode):
6270 * net/eudc.el (eudc-mode): Use define-derived-mode.
6271 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6272 Move initialization into declaration.
6273 (mairix-searches-mode): Use define-derived-mode.
6274 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6275 (eudc-edit-hotlist): Use dolist.
6276 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6277 (Man-mode): Use define-derived-mode.
6278 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6279 (Info-edit-mode): Use define-derived-mode.
6280 (Info-cease-edit): Use Info-mode.
6281 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6283 (eshell-mode): Use define-derived-mode.
6284 * chistory.el (command-history-mode-map): Rename from
6285 command-history-map.
6286 (command-history-mode): Use define-derived-mode.
6287 (Command-history-setup): Remove function.
6288 * calc/calc.el (calc-trail-mode-map): New var.
6289 (calc-trail-mode): Use define-derived-mode.
6290 (calc-trail-buffer): Set calc-main-buffer manually.
6291 * bookmark.el (bookmark-insert-annotation): New function.
6292 (bookmark-edit-annotation): Use it.
6293 (bookmark-edit-annotation-mode): Make it a proper major mode.
6294 (bookmark-send-edited-annotation): Use derived-mode-p.
6295 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6296 closer to its ideal place. Use \' to match EOS.
6298 * profiler.el (profiler-calltree-find): Use function-equal.
6300 2013-09-10 Glenn Morris <rgm@gnu.org>
6302 * files.el (interpreter-mode-alist): Convert to regexps.
6303 (set-auto-mode): Adapt for this. (Bug#15306)
6304 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6305 Comment out unused variable.
6306 * progmodes/cc-mode.el (interpreter-mode-alist):
6307 * progmodes/python.el (interpreter-mode-alist):
6308 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6309 * progmodes/sh-script.el (sh-set-shell):
6310 No longer use interpreter-mode-alist to get list of shells.
6312 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6314 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6316 * simple.el: Use set-temporary-overlay-map for universal-argument.
6317 (universal-argument-map): Don't use default-bindings (bug#15317).
6318 Bind switch-frame explicitly. Replace universal-argument-minus with
6319 a conditional binding.
6320 (universal-argument-num-events, saved-overriding-map): Remove.
6321 (restore-overriding-map): Remove.
6322 (universal-argument--mode): Rename from save&set-overriding-map,
6324 (universal-argument, universal-argument-more, negative-argument)
6325 (digit-argument): Adjust accordingly.
6326 (universal-argument-minus): Remove.
6327 (universal-argument-other-key): Remove.
6329 * subr.el (with-demoted-errors): Add `format' argument.
6331 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6333 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6334 `tramp-cleanup-connection'.
6336 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6337 parameters KEEP-DEBUG and KEEP-PASSWORD.
6339 * net/tramp.el (tramp-file-name-handler):
6340 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6341 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6342 (tramp-maybe-open-connection):
6343 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6344 Use `tramp-cleanup-connection'.
6346 * net/tramp-sh.el (tramp-maybe-open-connection):
6347 Catch 'uname-changed inside the progress reporter.
6349 2013-09-10 Glenn Morris <rgm@gnu.org>
6351 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6353 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6354 returns "alternate access method" in mode (eg "-rw-r--r--.").
6356 2013-09-08 Glenn Morris <rgm@gnu.org>
6358 * saveplace.el (load-save-place-alist-from-file):
6359 Demote errors. (Bug#15305)
6361 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6363 Improve compatibility with older Emacsen, and XEmacs.
6365 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6366 only if it is bound. It isn't for XEmacs.
6367 (with-tramp-progress-reporter): Do not let-bind `result'.
6368 This yields to scoping errors in XEmacs.
6369 (tramp-handle-make-auto-save-file-name): New function, moved from
6372 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6373 for `make-auto-save-file-name'.
6374 (tramp-adb--gnu-switches-to-ash):
6375 Use `tramp-compat-replace-regexp-in-string'.
6377 * net/tramp-cache.el (tramp-cache-print): Call
6378 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6380 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6381 bound. It isn't for XEmacs.
6383 * net/tramp-compat.el (tramp-compat-copy-file):
6384 Catch `wrong-number-of-arguments' error.
6385 (tramp-compat-replace-regexp-in-string): New defun.
6387 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6388 for `make-auto-save-file-name'.
6389 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6391 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6392 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6393 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6395 * net/tramp-gw.el (tramp-gw-open-network-stream):
6396 Use `tramp-compat-replace-regexp-in-string'.
6398 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6399 Call `tramp-handle-make-auto-save-file-name'.
6400 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6401 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6402 (tramp-sh-file-inotifywait-process-filter):
6403 Use `tramp-compat-replace-regexp-in-string'.
6404 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6406 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6407 for `make-auto-save-file-name'.
6408 (tramp-smb-handle-copy-directory):
6409 Call `tramp-compat-replace-regexp-in-string'.
6410 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6411 (tramp-smb-handle-copy-file): Improve error message.
6412 (tramp-smb-handle-rename-file): Rename directly only in case
6413 `newname' does not exist yet. This is a restriction of smbclient.
6414 (tramp-smb-maybe-open-connection): Rerun the function only when
6415 `auth-sources' is non-nil.
6417 2013-09-08 Kenichi Handa <handa@gnu.org>
6419 * international/characters.el: Set category "^" (Combining) for
6422 2013-09-07 Alan Mackenzie <acm@muc.de>
6424 Correctly fontify Java class constructors.
6425 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6427 (c-recognize-typeless-decls): Set the Java value to t.
6428 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6429 While handling a "(", add a check for, effectively, Java, and handle a
6430 "typeless" declaration there.
6432 2013-09-07 Roland Winkler <winkler@gnu.org>
6434 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6435 field subtitle for entry type book.
6437 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6439 * minibuffer.el: Make minibuffer-complete call completion-in-region
6440 rather than other way around.
6441 (completion--some, completion-pcm--find-all-completions):
6442 Don't delay signals when debugging.
6443 (minibuffer-completion-contents): Beware fields within the
6444 minibuffer contents.
6445 (completion-all-sorted-completions): Use defvar-local.
6446 (completion--do-completion, completion--cache-all-sorted-completions)
6447 (completion-all-sorted-completions, minibuffer-force-complete):
6448 Add args `beg' and `end'.
6449 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6450 (minibuffer-complete): Use completion-in-region.
6451 (completion-complete-and-exit): New fun, extracted from
6452 minibuffer-complete-and-exit.
6453 (minibuffer-complete-and-exit): Use it.
6454 (completion--complete-and-exit): Rename from
6455 minibuffer--complete-and-exit.
6456 (completion-in-region--single-word): New function, extracted from
6457 minibuffer-complete-word.
6458 (minibuffer-complete-word): Use it.
6459 (display-completion-list): Make `common-substring' argument obsolete.
6460 (completion--in-region): Call completion--in-region-1 instead of
6461 minibuffer-complete.
6462 (completion-help-at-point): Pass boundaries to
6463 minibuffer-completion-help as args rather than via an overlay.
6464 (completion-pcm--string->pattern): Use `any-delim'.
6465 (completion-pcm--optimize-pattern): New function.
6466 (completion-pcm--pattern->regex): Handle `any-delim'.
6467 * icomplete.el (icomplete-forward-completions)
6468 (icomplete-backward-completions, icomplete-completions):
6469 Adjust calls to completion-all-sorted-completions and
6470 completion--cache-all-sorted-completions.
6471 (icomplete-with-completion-tables): Default to t.
6472 * emacs-lisp/crm.el (crm--current-element): Rename from
6473 crm--select-current-element. Don't put an overlay but return the
6475 (crm--completion-command): Take two new args to bind to the boundaries.
6476 (crm-completion-help): Adjust accordingly.
6477 (crm-complete): Use completion-in-region.
6478 (crm-complete-word): Use completion-in-region--single-word.
6479 (crm-complete-and-exit): Use completion-complete-and-exit.
6481 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6483 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6486 2013-09-06 Juri Linkov <juri@jurta.org>
6488 * info.el (Info-display-images-node): When image file doesn't exist
6489 display text version of the image if it's provided in the Info file.
6490 Otherwise, display the location of missing image from SRC attribute.
6491 Add help-echo text property from ALT attribute. (Bug#15279)
6493 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6495 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6496 (edit-abbrevs-mode): Use define-derived-mode.
6498 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6499 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6501 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6502 Use define-derived-mode.
6504 * epg.el (epg-start-encrypt): Minor CSE simplification.
6506 2013-09-06 William Xu <william.xwl@gmail.com>
6508 * arc-mode.el: Add support for 7za (bug#15264).
6509 (archive-7z-program): New var.
6510 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6511 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6512 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6514 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6518 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6519 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6520 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6521 (tramp-postfix-host-format, tramp-file-name-regexp)
6522 (tramp-completion-file-name-regexp)
6523 (tramp-completion-dissect-file-name)
6524 (tramp-handle-substitute-in-file-name): Remove 'url case.
6525 (tramp-file-name-regexp-url)
6526 (tramp-completion-file-name-regexp-url): Remove constants.
6528 2013-09-06 Glenn Morris <rgm@gnu.org>
6530 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6532 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6534 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6535 keywords" below "here-doc beginnings" (Bug#15270).
6537 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6539 * subr.el (pop): Use `car-safe'.
6540 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6541 to detect unused `pop' return value.
6543 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6545 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6546 (python-fill-string): Remove unused var `marker'.
6547 (python-skeleton-add-menu-items): Remove unused var `items'.
6549 * international/mule-cmds.el: Require CL.
6550 (find-coding-systems-for-charsets): Avoid add-to-list.
6551 (sanitize-coding-system-list): New function, extracted from
6552 select-safe-coding-system-interactively.
6553 (select-safe-coding-system-interactively): Use it.
6554 (read-input-method-name): Accept symbols for `default'.
6556 * emacs-lisp/advice.el (defadvice): Add indent rule.
6558 2013-09-05 Daniel Hackney <dan@haxney.org>
6562 * net/browse-url.el:
6565 * net/eudcb-ldap.el:
6578 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6579 byte compiler. Remove some unused let-bound variables.
6581 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6583 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6584 a "ref-cell", since it gets better optimized (bug#14883).
6586 2013-09-05 Glenn Morris <rgm@gnu.org>
6588 * progmodes/cc-awk.el (c-forward-sws): Declare.
6590 2013-09-04 Glenn Morris <rgm@gnu.org>
6592 * generic-x.el [rul-generic-mode]: Require cc-mode.
6593 (c++-mode-syntax-table): Declare.
6594 (rul-generic-mode-syntax-table): Init in the defvar.
6596 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6598 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6599 (vc-do-command, vc-set-async-update):
6600 * vc/vc-mtn.el (vc-mtn-dir-status):
6601 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6602 (vc-hg-pull, vc-hg-merge-branch):
6603 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6604 (vc-git-merge-branch):
6605 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6606 (vc-cvs-dir-status-files):
6607 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6608 (vc-bzr-dir-status-files):
6609 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6610 * vc/vc-annotate.el: Use lexical-binding.
6611 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6612 (vc-sentinel-movepoint): Declare.
6613 (vc-annotate): Don't use `goto-line'.
6614 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6615 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6616 (vc-sentinel-movepoint): Declare.
6617 * vc/vc-svn.el: Use lexical-binding.
6618 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6620 * vc/vc-rcs.el: Use lexical-binding.
6622 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6623 `deleted'. Don't drop errors silently.
6625 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6627 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6629 * vc/vc.el (vc-ignore): Rewrite.
6630 (vc-default-ignore): New function.
6631 (vc-default-ignore-completion-table): Use find-ignore-file.
6633 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6634 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6635 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6636 Remove. Most code moved to vc.el.
6638 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6640 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6641 * net/tramp-smb.el (tramp-smb-get-file-entries):
6642 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6643 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6645 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6647 (eww-change-select): Remove unused var `properties'.
6648 (eww-make-unique-file-name): Remove unused var `base'.
6650 * finder.el (finder-compile-keywords): Don't mess with windows.
6652 * calculator.el (calculator-funcall): Fix typo in last change.
6654 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6656 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6657 <pkg>-autoloads.el file stop us.
6659 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6660 warnings, and factor out common code.
6662 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6664 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6665 two-character operators and whether the character preceding them
6666 changes their meaning (Bug#15208).
6668 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6670 Format code sent to Python shell for robustness.
6671 * progmodes/python.el (python-shell-buffer-substring):
6673 (python-shell-send-region, python-shell-send-buffer): Use it.
6675 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6677 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6678 * net/tramp.el (tramp-user-error): ... here.
6679 (tramp-find-method, tramp-check-proper-host)
6680 (tramp-dissect-file-name, tramp-debug-message)
6681 (tramp-handle-shell-command):
6682 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6683 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6685 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6687 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6689 * avoid.el (mouse-avoidance-point-position)
6690 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6693 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6695 * progmodes/python.el (python-shell-completion-get-completions):
6696 Drop use of deleted `comint-last-prompt-overlay'.
6697 (python-nav-if-name-main): New command.
6699 2013-09-01 Glenn Morris <rgm@gnu.org>
6701 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6702 Avoid leading space in $wins. Otherwise the sed command used by
6703 eg compile-main ends up containing "/*.el". (Bug#15170)
6705 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6707 2013-08-30 Glenn Morris <rgm@gnu.org>
6709 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6710 Fix is-this-a-directory logic. (Bug#15220)
6712 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6714 * textmodes/css-mode.el: Use SMIE.
6715 (css-smie-grammar): New var.
6716 (css-smie--forward-token, css-smie--backward-token)
6717 (css-smie-rules): New functions.
6718 (css-mode): Use them.
6719 (css-navigation-syntax-table): Remove var.
6720 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6721 (css-indent-calculate, css-indent-line): Remove functions.
6723 Misc changes to reduce use of `(lambda...); and other cleanups.
6724 * cus-edit.el: Use lexical-binding.
6725 (customize-push-and-save, customize-apropos)
6726 (custom-buffer-create-internal): Use closures.
6727 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6728 * progmodes/ada-xref.el: Use setq.
6729 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6730 * dframe.el: Use lexical-binding.
6731 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6732 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6733 * descr-text.el: Use lexical-binding.
6734 (describe-text-widget, describe-text-sexp, describe-property-list):
6736 * comint.el (comint-history-isearch-push-state): Use a closure.
6737 * calculator.el: Use lexical-binding.
6738 (calculator-number-to-string): Make it work with lexical-binding.
6739 (calculator-funcall): Same and use cl-letf.
6741 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6742 (lisp--company-doc-string, lisp--company-location): New functions.
6743 (lisp-completion-at-point): Use them to improve Company support.
6745 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6746 params of lambda expressions.
6747 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6748 (ruby-smie--opening-pipe-p): New function.
6749 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6750 symbols and matched |...| for formal params.
6751 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6752 from being treated as hanging. Handle "rescue".
6754 2013-08-29 Glenn Morris <rgm@gnu.org>
6756 * progmodes/cc-engine.el (c-pull-open-brace):
6757 Move definition before use.
6759 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6761 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6762 are immutable. Don't use `unsafe' any more.
6763 (cl--defsubst-expand): Don't substitute at the same time as keeping
6764 a residual unused let-binding. Don't use `unsafe' any more.
6766 2013-08-29 Glenn Morris <rgm@gnu.org>
6768 * calendar/cal-china.el (calendar-chinese-year-cache):
6771 * nxml/nxml-util.el (nxml-debug-clear-inside):
6772 Use cl-loop rather than loop.
6774 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6776 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6778 2013-08-28 Glenn Morris <rgm@gnu.org>
6780 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6782 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6784 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6786 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6788 * simple.el (repeat-complex-command--called-interactively-skip):
6790 (repeat-complex-command): Use it (bug#14136).
6792 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6793 (c-define-abbrev-table): Add `doc' argument.
6794 (c-mode-abbrev-table, c++-mode-abbrev-table)
6795 (objc-mode-abbrev-table, java-mode-abbrev-table)
6796 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6797 (awk-mode-abbrev-table): Use it.
6798 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6799 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6800 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6801 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6802 Move initialization into the declaration; and remove any
6805 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6806 and dynamic let binding.
6808 * vc/smerge-mode.el: Remove redundant :group args.
6810 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6813 2013-08-28 Juri Linkov <juri@jurta.org>
6815 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6816 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6817 (isearch-other-meta-char): Handle an undefined shifted printing
6818 character by downshifting it. (Bug#15200)
6820 2013-08-28 Juri Linkov <juri@jurta.org>
6822 * isearch.el (isearch-search): Change regexp error message for
6823 non-regexp searches. (Bug#15166)
6825 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6827 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6828 for portability to hosts where /bin/sh has problems.
6830 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6832 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6834 2013-08-27 Juri Linkov <juri@jurta.org>
6836 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6837 in the keyboard macro. (Bug#15126)
6839 2013-08-27 Juri Linkov <juri@jurta.org>
6841 * isearch.el (isearch-quote-char): Comment out converting unibyte
6842 to multibyte, thus syncing with its `quoted-insert' counterpart.
6845 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6847 * window.el (display-buffer-use-some-window): Add missing
6848 argument in call of get-largest-window (Bug#15185).
6849 Reported by Stephen Leake.
6851 2013-08-27 Glenn Morris <rgm@gnu.org>
6853 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6855 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6857 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6858 from a matcher-function unless there's no more matches (bug#15161).
6860 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6862 * minibuffer.el: Revert change from 2013-08-20.
6864 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6865 with text property `tramp-default', if appropriate.
6866 (tramp-check-proper-host): New defun.
6867 (tramp-dissect-file-name): Do not check hostname. Revert change
6869 (tramp-backtrace): Make VEC-OR-PROC optional.
6871 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6872 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6873 * net/tramp-sh.el (tramp-maybe-open-connection):
6874 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6875 Apply `tramp-check-proper-host'.
6877 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6879 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6880 lambda expression in order to have `describe-variable' display it.
6882 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6884 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6885 BUF can be optional. (Bug#15186)
6887 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6889 * progmodes/flymake.el (flymake-get-real-file-name-function):
6890 Fix broken customization. (Bug#15184)
6892 2013-08-25 Alan Mackenzie <acm@muc.de>
6894 Improve indentation of bracelists defined by macros (without "=").
6896 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6897 expansion begins with "{", regard it as bracelist when it doesn't
6900 Parse C++ inher-intro when there's a template split over 2 lines.
6902 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6903 rigorously the search for "class" etc. followed by ":".
6905 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6906 random languages a regexp which never matches rather than nil.
6908 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6910 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6911 (c-awk-regexp-one-line-possibly-open-char-list-re)
6912 (c-awk-one-line-possibly-open-regexp-re)
6913 (c-awk-one-line-non-syn-ws*-re): Remove.
6914 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6915 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6916 (c-awk-space*-unclosed-regexp-/-re): New constants.
6917 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6918 aren't regexp delimiters.
6920 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6921 handling for a rare situation in AWK Mode involving unterminated
6924 2013-08-23 Glenn Morris <rgm@gnu.org>
6926 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6928 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6930 * files.el (create-file-buffer): If the result would begin with
6931 spaces, prepend a "|" instead of removing them. (Bug#15162)
6933 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6935 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6936 text-properties (bug#15155).
6938 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6940 (calc-keypad-redraw): Remove unused var `pad'.
6941 (calc-keypad-press): Remove unused var `menu'.
6943 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6945 * window.el (display-buffer-pop-up-frame):
6946 Call pop-up-frame-function with BUFFER current so `make-frame' will
6947 use it as the new frame's buffer (Bug#15133).
6949 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6951 * calendar/timeclock.el: Minor cleanups.
6952 (timeclock-ask-before-exiting, timeclock-use-display-time):
6954 (timeclock-modeline-display): Define as alias before the
6956 (timeclock-mode-line-display): Use define-minor-mode.
6957 (timeclock-day-list-template): Make it a function, add an argument.
6958 (timeclock-day-list-required, timeclock-day-list-length)
6959 (timeclock-day-list-debt, timeclock-day-list-span)
6960 (timeclock-day-list-break): Adjust calls accordingly.
6962 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6964 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6965 Use read--expression so that completion works again.
6967 2013-08-21 Sam Steingold <sds@gnu.org>
6969 Add rudimentary inferior shell interaction
6970 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6971 (sh-set-shell): Reset it.
6972 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6973 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6975 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6977 * align.el: Use lexical-binding.
6978 (align-region): Simplify accordingly.
6980 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6982 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6984 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6987 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6991 * net/tramp-cmds.el:
6993 * net/tramp-gvfs.el:
6995 * net/tramp-sh.el: Don't wrap external variable declarations by
6996 `eval-when-compile'.
6998 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
7000 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
7001 now that Emacs supports ImageMagick animations.
7003 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
7005 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
7006 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
7008 2013-08-16 Martin Rudalics <rudalics@gmx.at>
7010 * window.el (mouse-autoselect-window-select): Do autoselect when
7011 mouse pointer is on margin.
7013 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
7015 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
7017 2013-08-16 Glenn Morris <rgm@gnu.org>
7019 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
7020 Handle "Remote Directory" response of some clients. (Bug#15058)
7022 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
7023 Tweak warning. (Bug#14926)
7025 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
7026 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
7028 * image-mode.el (image-mode-map): Add menu items to reverse,
7029 increase, decrease, reset animation speed.
7030 (image--set-speed, image-increase-speed, image-decrease-speed)
7031 (image-reverse-speed, image-reset-speed): New functions.
7032 (image-mode-map): Add bindings for speed commands.
7034 * image.el (image-animate-get-speed, image-animate-set-speed):
7036 (image-animate-timeout): Respect image :speed property.
7038 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
7040 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
7041 previous line (bug#15101).
7042 (debugger-eval-expression, debugger-record-expression):
7043 Use read--expression (bug#15102).
7045 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
7047 Remove byte compiler warnings, visible when compiling with
7048 `byte-compile-force-lexical-warnings' set to t.
7050 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
7051 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
7052 (tramp-handle-unhandled-file-name-directory)
7053 (tramp-handle-file-notify-add-watch, tramp-action-login)
7054 (tramp-action-succeed, tramp-action-permission-denied)
7055 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
7058 * net/tramp-adb.el (tramp-adb-parse-device-names)
7059 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
7060 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
7061 (tramp-adb-handle-file-truename): Remove unused arguments.
7063 * net/tramp-cache.el (tramp-flush-directory-property)
7064 (tramp-flush-connection-property, tramp-list-connections)
7065 (tramp-parse-connection-properties): Prefix unused arguments with "_".
7067 * net/tramp-compat.el (tramp-compat-make-temp-file):
7068 Rename FILENAME to F.
7070 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
7071 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
7072 (tramp-zeroconf-parse-workstation-device-names)
7073 (tramp-zeroconf-parse-webdav-device-names)
7074 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
7076 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
7077 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
7079 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
7081 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
7082 (tramp-sh-handle-insert-file-contents-literally)
7083 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
7085 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
7086 Remove unused variables.
7088 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
7089 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
7090 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
7092 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
7093 Make them a defconst.
7094 (tramp-uuencode-region): Remove unused variable.
7096 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
7098 * frameset.el (frameset--prop-setter): New function.
7099 (frameset-prop): Add gv-setter declaration.
7100 (frameset-filter-minibuffer): Deal with the case that the minibuffer
7101 parameter was already set in FILTERED. Doc fix.
7102 (frameset--record-minibuffer-relationships): Allow saving a
7103 minibufferless frame without its corresponding minibuffer frame.
7104 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
7105 frame, if the frame id matches.
7106 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
7107 frames before orphaned ones.
7108 (frameset-restore): Warn about orphaned windows, instead of error out.
7110 2013-08-14 Martin Rudalics <rudalics@gmx.at>
7112 * window.el (window-make-atom): Don't overwrite parameter
7114 (display-buffer-in-atom-window): Handle special case where we
7115 split an already atomic window.
7116 (window--major-non-side-window, display-buffer-in-side-window)
7117 (window--side-check): Ignore minibuffer window when walking
7119 (window-deletable-p): Return 'frame only if no other frame uses
7120 our minibuffer window.
7121 (record-window-buffer): Run buffer-list-update-hook.
7122 (split-window): Make sure window--check-frame won't destroy an
7123 existing atomic window in case the new window gets nested
7125 (display-buffer-at-bottom): Ignore minibuffer window when
7126 walking window tree. Don't split a side window.
7127 (pop-to-buffer): Don't set-buffer here, the select-window call
7129 (mouse-autoselect-window-select): Autoselect only if we are in the
7130 text portion of the window.
7132 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
7134 * net/shr.el (shr-parse-image-data): New function to grab both the
7135 data itself and the Content-Type.
7136 (shr-put-image): Use it.
7138 * net/eww.el (eww-display-image): Ditto.
7140 * image.el (image-content-type-suffixes): New variable.
7142 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
7144 * progmodes/python.el (python-imenu--build-tree)
7145 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
7147 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
7149 * simple.el (backward-word): Mention the optional argument.
7151 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7153 * frameset.el (frameset--make): Rename constructor from make-frameset.
7154 (frameset-p, frameset-valid-p): Don't autoload.
7155 (frameset-valid-p): Use normal accessors.
7157 2013-08-13 Glenn Morris <rgm@gnu.org>
7159 * progmodes/compile.el (compile-command): Tweak example in doc.
7160 * obsolete/scribe.el (scribe-mode):
7161 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
7163 * mail/feedmail.el (feedmail-confirm-outgoing)
7164 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
7166 * cus-start.el (truncate-partial-width-windows): Fix type.
7168 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
7170 * net/shr.el (shr-table-horizontal-line): Fix custom type.
7172 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
7174 * emacs-lisp/timer.el (timer--time-setter): New function.
7175 (timer--time): Use it as gv-setter.
7177 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
7178 setter is not a symbol.
7180 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
7182 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
7183 if sending fails. This makes debugging easier.
7185 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
7187 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
7188 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
7189 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
7191 2013-08-12 Eli Zaretskii <eliz@gnu.org>
7193 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
7195 2013-08-12 Glenn Morris <rgm@gnu.org>
7197 * format.el (format-annotate-function):
7198 Handle read-only text properties in the source. (Bug#14887)
7200 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
7202 * net/eww.el (eww-display-html): Ignore coding system errors.
7203 One web site uses "utf-8lias" as the coding system.
7205 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
7207 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
7209 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
7211 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
7212 (tutorial--detailed-help): Remove unused local variables.
7213 (tutorial--save-tutorial-to): Use ignore-errors.
7214 (help-with-tutorial): Use looking-at-p.
7216 * view.el (view-buffer-other-window, view-buffer-other-frame):
7217 Mark unused arguments.
7219 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
7220 (woman-select-symbol-fonts, woman, woman-find-file)
7221 (woman-insert-file-contents, woman-non-underline-faces):
7223 (woman1-unquote): Move declaration.
7225 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7226 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7227 argument. Remove unused local variable.
7228 (xml-parse-elem-type): Use string-match-p.
7229 (xml-substitute-numeric-entities): Use ignore-errors.
7231 * calculator.el (calculator): Mark unused argument.
7232 (calculator-paste, calculator-quit, calculator-integer-p):
7234 (calculator-string-to-number, calculator-decimal, calculator-exp)
7235 (calculator-op-or-exp): Use string-match-p.
7237 * dired.el (dired-buffer-more-recently-used-p): Declare.
7238 (dired-insert-set-properties, dired-insert-old-subdirs):
7241 * dired-aux.el (dired-compress): Use ignore-errors.
7242 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7243 (dired-do-async-shell-command, dired-do-shell-command)
7244 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7245 (dired-insert-subdir-validate): Use string-match-p.
7246 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7247 (dired-add-entry): Use string-match-p, looking-at-p.
7248 (dired-insert-subdir-newpos): Remove unused local variable.
7250 * filenotify.el (file-notify-callback): Remove unused local variable.
7252 * filesets.el (filesets-error): Mark unused argument.
7253 (filesets-which-command-p, filesets-filter-dir-names)
7254 (filesets-directory-files, filesets-get-external-viewer)
7255 (filesets-ingroup-get-data): Use string-match-p.
7257 * find-file.el (ff-other-file-name, ff-other-file-name)
7258 (ff-find-the-other-file, ff-cc-hh-converter):
7259 Remove unused local variables.
7260 (ff-get-file-name): Use string-match-p.
7261 (ff-all-dirs-under): Use ignore-errors.
7263 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7264 (follow-select-if-visible): Remove unused local variable.
7266 * forms.el (read-file-filter): Move declaration.
7267 (forms--make-format, forms--make-parser, forms-insert-record):
7268 Quote function with #'.
7269 (forms--update): Use string-match-p. Quote function with #'.
7271 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7272 (help-make-xrefs): Use looking-at-p.
7273 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7275 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7276 (ibuffer-confirm-operation-on): Use string-match-p.
7278 * msb.el (msb-item-handler, msb-dired-item-handler):
7279 Mark unused arguments.
7281 * ses.el (ses-decode-cell-symbol)
7282 (ses-kill-override): Remove unused local variable.
7283 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7284 (ses-load): Use ignore-errors, looking-at-p.
7285 (ses-jump-safe): Use ignore-errors.
7286 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7288 * tabify.el (untabify, tabify): Mark unused arguments.
7290 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7291 Mark unused argument.
7292 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7293 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7295 * emacs-lisp/timer.el (timer--time): Define setter with
7296 gv-define-setter to avoid deprecation warning.
7298 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7299 (*record-cmpl-statistics-p*): Remove (was commented out).
7300 (cmpl-statistics-block): Remove (body was commented out).
7301 All callers changed.
7302 (add-completions-from-buffer, load-completions-from-file):
7303 Remove unused variables.
7305 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7307 * filecache.el (file-cache-delete-file-list):
7308 Print message only when told so.
7309 (file-cache-files-matching): Use #' in mapconcat argument.
7311 * ffap.el (ffap-url-at-point): Fix reference to variable
7312 thing-at-point-default-mail-uri-scheme.
7314 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7316 * subr.el (define-error): New function.
7317 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7318 error-file-not-found and define with define-error.
7319 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7320 and define with define-error.
7321 * userlock.el (file-locked, file-supersession):
7322 * simple.el (mark-inactive):
7323 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7324 * progmodes/ada-mode.el (ada-mode-errors):
7325 * play/life.el (life-extinct):
7326 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7327 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7328 * nxml/rng-util.el (rng-error):
7329 * nxml/rng-uri.el (rng-uri-error):
7330 * nxml/rng-match.el (rng-compile-error):
7331 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7332 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7333 * nxml/nxml-rap.el (nxml-scan-error):
7334 * nxml/nxml-outln.el (nxml-outline-error):
7335 * net/soap-client.el (soap-error):
7336 * net/gnutls.el (gnutls-error):
7337 * net/ange-ftp.el (ftp-error):
7338 * mpc.el (mpc-proc-error):
7339 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7340 (json-number-format, json-string-escape, json-string-format)
7341 (json-key-format, json-object-format):
7342 * jka-compr.el (compression-error):
7343 * international/quail.el (quail-error):
7344 * international/kkc.el (kkc-error):
7345 * emacs-lisp/ert.el (ert-test-failed):
7346 * calc/calc.el (calc-error, inexact-result, math-overflow)
7348 * bookmark.el (bookmark-error-no-filename):
7349 * epg.el (epg-error): Define with define-error.
7351 * time.el (display-time-event-handler)
7352 (display-time-next-load-average): Don't call sit-for since it seems
7353 unnecessary (bug#15045).
7355 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7356 Use #' instead of ' to quote functions.
7357 (checkdoc-output-mode): Use setq-local.
7358 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7359 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7360 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7361 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7362 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7363 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7364 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7365 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7367 * ido.el (ido-completion-help): Fix up compiler warning.
7369 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7371 * frameset.el (frameset-p): Add autoload cookie.
7372 (frameset--jump-to-register): New function, based on code moved from
7374 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7376 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7377 (frameset-restore, frameset-save, frameset-session-filter-alist):
7378 Remove declarations.
7379 (register-alist): Doc fix.
7380 (frameset-to-register): Move to frameset.el.
7381 (jump-to-register, describe-register-1): Remove frameset-specific code.
7383 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7385 * allout-widgets.el (allout-widgets-pre-command-business)
7386 (allout-widgets-post-command-business)
7387 (allout-widgets-after-change-handler)
7388 (allout-decorate-item-and-context, allout-set-boundary-marker)
7389 (allout-body-modification-handler)
7390 (allout-graphics-modification-handler): Mark ignored arguments.
7391 (allout-widgets-post-command-business)
7392 (allout-widgets-exposure-change-processor)
7393 (allout-widgets-exposure-undo-processor)
7394 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7395 (allout-parse-item-at-point, allout-decorate-item-guides)
7396 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7397 * allout.el (epa-passphrase-callback-function): Declare.
7398 (allout-overlay-insert-in-front-handler)
7399 (allout-overlay-interior-modification-handler)
7400 (allout-isearch-end-handler, allout-chart-siblings)
7401 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7402 (allout-yank-processing, allout-process-exposed)
7403 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7404 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7405 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7406 (lisp-indent-defform): Mark ignored arguments.
7407 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7408 (calculate-lisp-indent): Remove unused variables.
7409 * international/characters.el (indian-2-column, arabic-2-column)
7410 (tibetan): Mark ignored arguments.
7411 (use-cjk-char-width-table): Mark ignored arguments.
7412 Remove unused variables.
7413 * international/fontset.el (build-default-fontset-data)
7414 (x-compose-font-name, create-fontset-from-fontset-spec):
7415 Mark ignored arguments.
7416 (fontset-plain-name): Remove unused variables.
7417 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7418 (keyboard-coding-system): Mark ignored arguments.
7419 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7420 * help.el (resize-temp-buffer-window):
7421 * window.el (display-buffer-in-major-side-window)
7422 (display-buffer-in-side-window, display-buffer-in-previous-window):
7423 Remove unused variables.
7424 * isearch.el (isearch-forward-symbol):
7425 * version.el (emacs-bzr-version-bzr):
7426 * international/mule-cmds.el (current-language-environment):
7427 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7429 * term/pc-win.el (x-list-fonts, x-display-planes)
7430 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7431 (x-server-version, x-display-screens, x-display-mm-height)
7432 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7433 (x-selection-owner-p, x-own-selection-internal)
7434 (x-disown-selection-internal, x-get-selection-internal)
7435 (msdos-initialize-window-system):
7436 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7437 * term/x-win.el (x-handle-no-bitmap-icon):
7438 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7439 (vc-default-find-file-hook, vc-default-extra-menu):
7440 Mark ignored arguments.
7442 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7444 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7445 break-condition in the context of the debugged code (bug#12685).
7447 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7450 Do not use an overlay to highlight the last prompt. (Bug#14744)
7451 (comint-mode): Make comint-last-prompt buffer local.
7452 (comint-last-prompt): New variable.
7453 (comint-last-prompt-overlay): Remove. Superseded by
7455 (comint-snapshot-last-prompt, comint-output-filter):
7456 Use comint-last-prompt.
7458 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7460 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7461 (frameset-save): Check validity of the resulting frameset.
7463 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7465 * ido.el (ido-record-command): Add doc string.
7467 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7469 * frameset.el (frameset): Do not disable creation of the default
7470 frameset-p predicate. Doc fix.
7471 (frameset-valid-p): New function, copied from the old predicate-p.
7472 Add additional checks.
7473 (frameset-restore): Check with frameset-valid-p.
7474 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7475 (frameset-name, frameset-description, frameset-properties)
7476 (frameset-states): Add docstring.
7477 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7478 (frameset-filter-alist): Doc fixes.
7480 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7482 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7484 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7486 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7487 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7488 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7489 (byte-compile-normal-call): Remove obsolescence check.
7491 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7493 * frameset.el (frameset-restore): Doc fix.
7495 * register.el (frameset-frame-id, frameset-frame-with-id)
7496 (frameset-p, frameset-restore, frameset-save): Declare.
7497 (register-alist): Document framesets.
7498 (frameset-session-filter-alist): Declare.
7499 (frameset-to-register): New function.
7500 (jump-to-register): Implement jumping to framesets. Doc fix.
7501 (describe-register-1): Describe framesets.
7503 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7505 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7507 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7508 Use lexical-binding.
7510 * frameset.el (frameset): Use type vector, not list (incompatible
7511 change). Do not declare a new constructor, use the default one.
7512 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7513 `name' and `description', respectively, and add read-only slot
7514 `timestamp'. Doc fixes.
7515 (frameset-copy, frameset-persistent-filter-alist)
7516 (frameset-filter-alist, frameset-switch-to-gui-p)
7517 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7518 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7519 (frameset-filter-iconified, frameset-keep-original-display-p):
7521 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7522 Rename from frameset-filter-(save|restore)-param. All callers changed.
7524 (frameset-p): Adapt to change to vector and be more thorough.
7525 Change arg name to OBJECT. Doc fix.
7526 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7527 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7528 All callers changed.
7529 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7530 All callers changed.
7531 (frameset--record-minibuffer-relationships): Rename from
7532 frameset--process-minibuffer-frames. All callers changed.
7533 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7534 Use new default constructor (again). Doc fix.
7535 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7536 All callers changed.
7537 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7538 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7540 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7541 PARAMETERS and WINDOW-STATE, respectively.
7542 (frameset-restore): Add new keyword argument PREDICATE.
7543 Reset frameset--target-display to nil. Doc fix.
7545 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7547 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7549 (bat-mode-syntax-table): Mark \n as end-of-comment.
7550 (bat-font-lock-keywords): Remove comment rule.
7552 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7553 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7555 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7556 (byte-compile-callargs-warn): Use `push'.
7557 (byte-compile-arglist-warn): Ignore higher-order "calls".
7558 (byte-compile-file-form-autoload): Use `pcase'.
7559 (byte-compile-function-form): If quoting a symbol, check that it exists.
7561 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7563 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7564 and add a few popular commands found in batch files.
7565 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7566 (dos-mode): Doc fixes.
7568 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7570 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7571 (dos-mode): Use setq-local. Add space after "rem".
7572 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7573 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7575 2013-08-07 Arni Magnusson <arnima@hafro.is>
7577 * progmodes/dos.el: New file.
7578 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7581 2013-08-06 Glenn Morris <rgm@gnu.org>
7583 * calendar/calendar.el: Add new faces, and day-header-array.
7584 (calendar-weekday-header, calendar-weekend-header)
7585 (calendar-month-header): New faces.
7586 (calendar-day-header-construct): New function.
7587 (calendar-day-header-width): Also :set calendar-day-header-array.
7588 (calendar-american-month-header, calendar-european-month-header)
7589 (calendar-iso-month-header): Use calendar- faces.
7590 (calendar-generate-month):
7591 Use calendar-day-header-array for day headers; apply faces to them.
7592 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7593 (calendar-abbrev-construct): Add optional maxlen argument.
7594 (calendar-day-name-array): Doc fix.
7595 (calendar-day-name-array, calendar-abbrev-length)
7596 (calendar-day-abbrev-array):
7597 Also :set calendar-day-header-array, and maybe redraw.
7598 (calendar-day-header-array): New option. (Bug#15007)
7599 (calendar-font-lock-keywords): Set to nil and make obsolete.
7600 (calendar-day-name): Add option to use header array.
7602 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7604 * net/shr.el (shr-render-td): Remove debugging.
7605 (shr-render-td): Make width computation consistent by defaulting
7606 all zero-width columns to 10 characters. This may not be optimal,
7607 but it's at least consistent.
7608 (shr-make-table-1): Redo last change to fix the real problem in
7611 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7613 * files.el (cache-long-line-scans):
7614 Make obsolete alias to `cache-long-scans'.
7616 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7618 * frameset.el (frameset, frameset-filter-alist)
7619 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7620 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7621 (frameset-compute-pos): Rename from frameset--compute-pos,
7623 (frameset-move-onscreen): Use frameset-compute-pos.
7624 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7626 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7627 Fix typos in docstrings.
7629 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7631 * frame.el (get-other-frame): Tiny cleanup.
7633 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7635 * vc/vc.el (vc-default-ignore-completion-table):
7636 Silence byte-compiler warning.
7638 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7639 slot, which can indeed be nil.
7640 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7641 Move entry for `left' from persistent to live filter alist.
7642 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7644 (frameset-filter-params): When restoring a frame, copy items added to
7645 `filtered', to avoid unwittingly modifying the original parameters.
7646 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7647 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7649 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7650 to use looking-at-p instead of looking-at. (Bug#15028)
7652 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7654 Revert introduction of isearch-filter-predicates (bug#14714).
7655 Rely on add-function instead.
7656 * isearch.el (isearch-filter-predicates): Rename it back to
7657 isearch-filter-predicate.
7658 (isearch-message-prefix): Use advice-function-mapc and advice
7659 properties to get the isearch-message-prefix.
7660 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7661 instead of run-hook-with-args-until-failure.
7662 (isearch-filter-visible): Not obsolete any more.
7663 * loadup.el: Preload nadvice.
7664 * replace.el (perform-replace): Revert to funcall
7665 instead of run-hook-with-args-until-failure.
7666 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7667 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7668 dired-isearch-filenames-toggle; make it into a proper minor mode.
7669 Use add/remove-function.
7670 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7671 Call the minor-mode rather than add/remove-hook.
7672 (dired-isearch-filter-filenames):
7673 Remove isearch-message-prefix property.
7674 * info.el (Info--search-loop): New function, extracted from Info-search.
7675 Funcall isearch-filter-predicate instead of
7676 run-hook-with-args-until-failure isearch-filter-predicates.
7677 (Info-search): Use it.
7678 (Info-mode): Use isearch-filter-predicate instead of
7679 isearch-filter-predicates.
7681 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7683 Do not call to `selected-window' where it is assumed by default.
7684 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7685 `window-hscroll', `window-width', `window-height', `window-buffer',
7686 `window-frame', `window-start', `window-point', `next-window'
7687 and `window-display-table'.
7688 * abbrev.el (abbrev--default-expand):
7689 * bs.el (bs--show-with-configuration):
7690 * buff-menu.el (Buffer-menu-mouse-select):
7691 * calc/calc.el (calc):
7692 * calendar/calendar.el (calendar-generate-window):
7693 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7695 * comint.el (send-invisible, comint-dynamic-complete-filename)
7696 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7697 * completion.el (complete):
7698 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7699 * disp-table.el (describe-current-display-table):
7700 * doc-view.el (doc-view-insert-image):
7701 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7702 * ehelp.el (with-electric-help):
7703 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7704 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7705 * emacs-lisp/helper.el (Helper-help-scroller):
7706 * emulation/cua-base.el (cua--post-command-handler-1):
7707 * eshell/esh-mode.el (eshell-output-filter):
7708 * ffap.el (ffap-gnus-wrapper):
7709 * help-macro.el (make-help-screen):
7710 * hilit-chg.el (highlight-compare-buffers):
7711 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7712 * hl-line.el (global-hl-line-highlight):
7713 * icomplete.el (icomplete-simple-completing-p):
7714 * isearch.el (isearch-done):
7715 * jit-lock.el (jit-lock-stealth-fontify):
7716 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7717 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7718 * mpc.el (mpc-tagbrowser, mpc):
7719 * net/rcirc.el (rcirc-any-buffer):
7720 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7721 * play/landmark.el (landmark-max-width, landmark-max-height):
7722 * play/zone.el (zone):
7723 * progmodes/compile.el (compilation-goto-locus):
7724 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7725 * progmodes/etags.el (find-tag-other-window):
7726 * progmodes/fortran.el (fortran-column-ruler):
7727 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7728 * progmodes/verilog-mode.el (verilog-point-text):
7729 * reposition.el (reposition-window):
7730 * rot13.el (toggle-rot13-mode):
7731 * server.el (server-switch-buffer):
7732 * shell.el (shell-dynamic-complete-command)
7733 (shell-dynamic-complete-environment-variable):
7734 * simple.el (insert-buffer, set-selective-display)
7735 (delete-completion-window):
7736 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7737 (speedbar-recenter):
7738 * startup.el (fancy-splash-head):
7739 * textmodes/ispell.el (ispell-command-loop):
7740 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7741 * tutorial.el (help-with-tutorial):
7742 * vc/add-log.el (add-change-log-entry):
7743 * vc/compare-w.el (compare-windows):
7744 * vc/ediff-help.el (ediff-indent-help-message):
7745 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7746 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7747 (ediff-setup-control-frame):
7748 * vc/emerge.el (emerge-position-region):
7749 * vc/pcvs-util.el (cvs-bury-buffer):
7750 * window.el (walk-windows, mouse-autoselect-window-select):
7751 * winner.el (winner-set-conf, winner-undo): Related users changed.
7753 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7755 * frameset.el (frameset--set-id): Doc fix.
7756 (frameset-frame-id, frameset-frame-id-equal-p)
7757 (frameset-locate-frame-id): New functions.
7758 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7759 (frameset-restore): Use them.
7761 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7763 Do not call to `selected-frame' where it is assumed by default.
7764 Affected functions are `raise-frame', `redraw-frame',
7765 `frame-first-window', `frame-terminal' and `delete-frame'.
7766 * calendar/appt.el (appt-disp-window):
7767 * epg.el (epg-wait-for-completion):
7768 * follow.el (follow-delete-other-windows-and-split)
7769 (follow-avoid-tail-recenter):
7770 * international/mule.el (set-terminal-coding-system):
7771 * mail/rmail.el (rmail-mail-return):
7772 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7773 * progmodes/f90.el (f90-add-imenu-menu):
7774 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7775 * server.el (server-switch-buffer):
7776 * simple.el (delete-completion-window):
7778 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7779 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7780 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7781 * vc/ediff.el (ediff-documentation): Related users changed.
7782 * frame.el (selected-terminal): Remove the leftover.
7784 2013-08-05 Glenn Morris <rgm@gnu.org>
7786 * calendar/calendar.el (calendar-generate-month):
7787 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7788 (calendar-generate-month, calendar-font-lock-keywords):
7789 Fix for calendar-day-header-width > length of any day name.
7791 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7793 * desktop.el (desktop-clear): Use new name of sort predicate.
7795 * frameset.el (frameset): Add docstring. Move :version property to its
7797 (frameset-copy): Rename from copy-frameset.
7798 (frameset-p): Check more thoroughly.
7799 (frameset-prop): Do not check for :version, which is no longer a prop.
7800 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7801 Use new :never value instead of t.
7802 (frameset-filter-alist): Expand and clarify docstring.
7803 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7804 (frameset-filter-minibuffer, frameset-filter-save-param)
7805 (frameset-filter-restore-param, frameset-filter-iconified):
7806 Add pointer to docstring of frameset-filter-alist.
7807 (frameset-filter-params): Rename filter values to be more meaningful:
7808 :never instead of t, and reverse the meanings of :save and :restore.
7809 (frameset--process-minibuffer-frames): Clarify error message.
7810 (frameset-save): Avoid unnecessary and confusing call to framep.
7811 Use new BOA constructor for framesets.
7812 (frameset--reuse-list): Doc fix.
7813 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7814 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7815 (frameset-minibufferless-first-p): Doc fix.
7816 Rename from frameset-sort-frames-for-deletion.
7817 (frameset-restore): Doc fixes. Use new function names.
7818 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7820 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7822 * desktop.el (desktop-restore-forces-onscreen)
7823 (desktop-restore-reuses-frames): Document :keyword constant values.
7824 (desktop-filter-parameters-alist): Remove, now identical to
7825 frameset-filter-alist.
7826 (desktop--filter-tty*): Remove, moved to frameset.el.
7827 (desktop-save-frameset, desktop-restore-frameset):
7828 Do not pass :filters argument.
7830 * frameset.el (frameset-live-filter-alist)
7831 (frameset-persistent-filter-alist): New variables.
7832 (frameset-filter-alist): Use them. Add autoload cookie.
7833 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7834 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7835 `frameset--id' (it's supposed to be internal to frameset.el).
7836 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7837 (frameset--initial-params): New function.
7838 (frameset--get-frame): Use it. Doc fix.
7839 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7840 Accept :all, not 'all.
7841 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7842 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7843 with fbound symbols. Fix frame id matching, and remove matching ids if
7844 the frame being restored is deleted. Obey :delete.
7846 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7848 * subr.el (macrop): New function.
7849 (text-clone--maintaining): New var.
7850 (text-clone--maintain): Rename from text-clone-maintain. Use it
7851 instead of inhibit-modification-hooks.
7853 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7854 a proxy, so as handle autoloads and redefinitions of the target.
7855 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7857 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7858 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7859 (pcase--mutually-exclusive-p): New function.
7860 (pcase--split-consp): Use it.
7861 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7862 mutually exclusive with the current predicate.
7864 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7865 (edebug-macrop): Remove. Use `macrop' instead.
7866 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7868 * eshell/esh-cmd.el (eshell-macrop):
7869 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7871 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7873 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7874 (advice-mapc): New function, using it.
7875 (advice-function-member-p): New function.
7876 (advice--normalize): Store the cdr in advice--saved-rewrite since
7877 that's the part that will be changed.
7878 (advice--symbol-function): New function.
7879 (advice-remove): Handle removal before the function is defined.
7880 Adjust to new advice--saved-rewrite.
7881 (advice-member-p): Use advice-function-member-p and
7882 advice--symbol-function.
7884 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7886 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7887 (frameset-filter-minibuffer): Doc fix.
7888 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7889 (frameset--set-id, frameset--process-minibuffer-frames)
7890 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7891 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7893 * desktop.el (desktop-clear): Only delete frames when called
7894 interactively and desktop-restore-frames is non-nil. Doc fix.
7895 (desktop-read): Set desktop-saved-frameset to nil.
7897 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7899 * vc/vc.el (vc-ignore): Rewrite.
7900 (vc-default-ignore-completion-table):
7902 (vc--add-line, vc--remove-regexp): New functions.
7904 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7905 (vc-svn-ignore-completion-table): New function.
7907 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7908 (vc-hg-ignore-completion-table):
7909 (vc-hg-find-ignore-file): New functions.
7911 * vc/vc-git.el (vc-git-ignore): Rewrite.
7912 (vc-git-ignore-completion-table):
7913 (vc-git-find-ignore-file): New functions.
7915 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7917 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7918 (vc-bzr-ignore-completion-table):
7919 (vc-bzr-find-ignore-file): New functions.
7921 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7923 * frameset.el (frameset-prop): New function and setter.
7924 (frameset-save): Do not modify frame list passed by the caller.
7926 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7928 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7930 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7932 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7933 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7935 * custom.el (custom-initialize-default, custom-initialize-set)
7936 (custom-initialize-reset, custom-initialize-changed): Affect the
7937 toplevel-default-value (bug#6275, bug#14586).
7938 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7941 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7943 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7944 Add cl-def* expressions.
7946 * frameset.el (frameset-filter-params): Fix order of arguments.
7948 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7950 Move code related to saving frames to frameset.el.
7951 * desktop.el: Require frameset.
7952 (desktop-restore-frames): Doc fix.
7953 (desktop-restore-reuses-frames): Rename from
7954 desktop-restoring-reuses-frames.
7955 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7956 (desktop-clear): Clear frames too.
7957 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7958 (desktop--filter-tty*, desktop-save, desktop-read):
7959 Use frameset functions.
7960 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7961 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7962 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7963 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7964 (desktop--process-minibuffer-frames, desktop-save-frames)
7965 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7966 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7967 (desktop--sort-states, desktop-restoring-frames-p)
7968 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7969 (desktop-restoring-frameset-p, desktop-restore-frameset)
7970 (desktop--check-dont-save, desktop-save-frameset): New functions.
7971 (desktop--app-id): New constant.
7972 (desktop-first-buffer, desktop-buffer-ok-count)
7973 (desktop-buffer-fail-count): Move before first use.
7974 * frameset.el: New file.
7976 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7978 * files.el: Use lexical-binding.
7979 (dir-locals-read-from-file): Remove unused `err' variable.
7980 (hack-dir-local-variables--warned-coding): New var.
7981 (hack-dir-local-variables): Use it to avoid repeated warnings.
7982 (make-backup-file-name--default-function): New function.
7983 (make-backup-file-name-function): Use it as default.
7984 (buffer-stale--default-function): New function.
7985 (buffer-stale-function): Use it as default.
7986 (revert-buffer-insert-file-contents--default-function): New function.
7987 (revert-buffer-insert-file-contents-function): Use it as default.
7988 (insert-directory): Avoid add-to-list.
7990 * autorevert.el (auto-revert-handler): Simplify.
7991 Use buffer-stale--default-function.
7993 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7995 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7997 * whitespace.el (whitespace-ensure-local-variables): New function.
7998 (whitespace-cleanup-region): Call it.
7999 (whitespace-turn-on): Call it.
8001 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
8003 Complete file name handlers.
8005 * net/tramp.el (tramp-handle-set-visited-file-modtime)
8006 (tramp-handle-verify-visited-file-modtime)
8007 (tramp-handle-file-notify-rm-watch): New functions.
8008 (tramp-call-process): Do not bind `default-directory'.
8010 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8011 Order alphabetically.
8012 <access-file, add-name-to-file, dired-call-process>:
8013 <dired-compress-file, file-acl, file-notify-rm-watch>:
8014 <file-ownership-preserved-p, file-selinux-context>:
8015 <make-directory-internal, make-symbolic-link, set-file-acl>:
8016 <set-file-selinux-context, set-visited-file-modtime>:
8017 <verify-visited-file-modtime>: Add handler.
8018 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
8020 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
8021 <file-notify-add-watch, file-notify-rm-watch>:
8022 <set-file-times, set-visited-file-modtime>:
8023 <verify-visited-file-modtime>: Add handler.
8024 (with-tramp-gvfs-error-message)
8025 (tramp-gvfs-handle-set-visited-file-modtime)
8026 (tramp-gvfs-fuse-file-name): Remove.
8027 (tramp-gvfs-handle-file-notify-add-watch)
8028 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
8029 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
8031 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8032 Order alphabetically.
8033 <file-notify-rm-watch>: Use default Tramp handler.
8034 <executable-find>: Remove private handler.
8035 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
8036 `default-directory'.
8037 (tramp-sh-handle-executable-find)
8038 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
8039 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8040 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
8041 Do not use `format' in `tramp-message'.
8043 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
8044 <file-notify-rm-watch, set-visited-file-modtime>:
8045 <verify-visited-file-modtime>: Add handler.
8046 (tramp-smb-call-winexe): Do not bind `default-directory'.
8048 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
8050 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
8052 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
8054 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
8056 (log-view-diff-changeset): Same.
8057 (log-view-diff-common): Call backend command `previous-revision'
8058 to find out the previous revision, in both cases. Swap the
8059 variables `to' and `fr', so that `fr' usually refers to the
8060 earlier revision (Bug#14989).
8062 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
8064 * ibuf-ext.el (ibuffer-filter-by-filename):
8065 Make it work with dired buffers too.
8067 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
8069 * emacs-lisp/re-builder.el (reb-color-display-p):
8070 * files.el (save-buffers-kill-terminal):
8071 * net/browse-url.el (browse-url):
8072 * server.el (server-save-buffers-kill-terminal):
8073 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
8074 Prefer nil to selected-frame for the first arg of frame-parameter.
8076 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
8078 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
8080 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
8082 * minibuffer.el (completion--twq-all): Try and preserve each
8083 completion's case choice (bug#14907).
8085 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8087 * net/network-stream.el (open-network-stream): Mention the new
8088 :nogreeting parameter.
8089 (network-stream-open-starttls): Use the :nogreeting parameter
8092 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
8094 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
8095 more natural than popping.
8097 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
8098 (shr-urlify): Highlight under mouse.
8100 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8102 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
8104 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
8106 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
8109 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
8110 point-min==1. Fix search string. Fix parentheses missing.
8112 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
8113 assume point-min==1. Fix search string. Fix parentheses missing.
8115 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
8117 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
8120 2013-07-29 Eli Zaretskii <eliz@gnu.org>
8122 * frame.el (frame-notice-user-settings): Avoid inflooping when the
8123 initial frame is minibuffer-less. (Bug#14841)
8125 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
8127 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
8130 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
8131 (tramp-maybe-open-connection): Use it.
8133 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8135 * desktop.el (desktop--make-frame): Include `minibuffer' in the
8136 minimal set of parameters passed when creating a frame, because
8137 the minibuffer status of a frame cannot be changed later.
8139 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
8141 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
8142 replace-regexp-in-string and inadvertent omissions in previous change.
8143 (todo-filter-items): Ensure only file names are comma-separated in
8144 name of filtered items buffer.
8146 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
8148 * desktop.el: Optionally force offscreen frames back onscreen.
8149 (desktop-restoring-reuses-frames): New option.
8150 (desktop--compute-pos, desktop--move-onscreen): New functions.
8151 (desktop--make-frame): Use desktop--move-onscreen.
8153 2013-07-27 Alan Mackenzie <acm@muc.de>
8155 Fontify a Java generic method as a function.
8156 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
8159 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
8161 * calendar/todo-mode.el: Add command to rename todo files.
8162 (todo-rename-file): New command.
8163 (todo-key-bindings-t): Add key binding for it. Change the
8164 bindings of todo-filter-regexp-items(-multifile) to use `x'
8165 instead of `r', since the latter is better suited to the new
8168 2013-07-27 Alan Mackenzie <acm@muc.de>
8170 Make Java try-with-resources statement parse properly.
8171 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
8172 (c-block-stmt-1-2-key): New language constants/variables.
8173 * progmodes/cc-engine.el (c-beginning-of-statement-1)
8174 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
8175 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
8176 with c-block-stmt-1-2-key.
8178 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
8180 * desktop.el (desktop--make-frame): Apply most frame parameters after
8181 creating the frame to force (partially or totally) offscreen frames to
8182 be restored as such.
8184 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
8186 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
8189 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8191 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
8192 `base' arg of backtrace-frame.
8194 2013-07-26 Eli Zaretskii <eliz@gnu.org>
8196 * simple.el (list-processes): Doc fix.
8198 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8200 * desktop.el (desktop--select-frame):
8201 Try harder to reuse existing frames.
8203 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8205 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
8206 (edebug-eval): Use backtrace-eval.
8207 (edebug--display, edebug--recursive-edit): Don't let-bind the
8208 edebug-outer-* vars that keep track of variables we locally let-bind.
8209 (edebug-outside-excursion): Don't restore outside values of locally
8211 (edebug--display): Use user-error.
8212 (cl-lexical-debug, cl-debug-env): Remove.
8214 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
8216 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
8217 are restored to be sure that they are visible before deleting any
8220 2013-07-26 Matthias Meulien <orontee@gmail.com>
8222 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8223 vc-print-root-log. (Bug#14948)
8225 2013-07-26 Richard Stallman <rms@gnu.org>
8227 Add aliases for encrypting mail.
8228 * epa.el (epa-mail-aliases): New option.
8229 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8230 Bind inhibit-read-only so read-only text doesn't ruin everything.
8231 (epa-mail-default-recipients): New subroutine broken out.
8232 Handle epa-mail-aliases.
8234 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8236 Add support for lexical variables to the debugger's `e' command.
8237 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8238 vars, except for debugger-outer-match-data.
8239 (debugger-frame-number): Move check for "on a function call" from
8240 callers into it. Add `skip-base' argument.
8241 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8242 (debugger-env-macro): Only reset the state stored in non-variables,
8243 i.e. current-buffer and match-data.
8244 (debugger-eval-expression): Rewrite using backtrace-eval.
8245 * subr.el (internal--called-interactively-p--get-frame): Remove.
8246 (called-interactively-p):
8247 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8248 `base' arg of backtrace-frame instead.
8250 2013-07-26 Glenn Morris <rgm@gnu.org>
8252 * align.el (align-regexp): Doc fix. (Bug#14857)
8253 (align-region): Explicit error if subexpression missing/does not match.
8255 * simple.el (global-visual-line-mode):
8256 Do not duplicate the mode lighter. (Bug#14858)
8258 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8260 * window.el (display-buffer): In display-buffer bind
8261 split-window-keep-point to t, bug#14829.
8263 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8265 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8266 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8267 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8268 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8270 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8271 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8273 2013-07-25 Glenn Morris <rgm@gnu.org>
8275 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8277 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8279 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8280 parameter to modify-frame-parameters if the value has not changed;
8281 this is a workaround for bug#14949.
8282 (desktop--make-frame): On cl-delete-if call, check parameter name,
8285 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8287 * vc/vc.el (vc-ignore): New function.
8289 * vc/vc-svn.el (vc-svn-ignore): New function.
8291 * vc/vc-hg.el (vc-hg-ignore): New function.
8293 * vc/vc-git.el (vc-git-ignore): New function.
8295 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8296 (vc-dir-ignore): New function.
8298 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8299 (cvs-append-to-ignore): Move here from pcvs.el.
8301 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8303 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8305 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8307 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8308 (desktop-restore-frames): Warn when deleting an existing frame failed.
8310 2013-07-24 Glenn Morris <rgm@gnu.org>
8312 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8314 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8316 * filenotify.el (file-notify-supported-p):
8317 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8320 * autorevert.el (auto-revert-use-notify):
8321 (auto-revert-notify-add-watch):
8322 * net/tramp.el (tramp-file-name-for-operation):
8323 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8324 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8325 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8326 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8327 Remove `file-notify-supported-p' entry.
8329 2013-07-24 Glenn Morris <rgm@gnu.org>
8331 * printing.el: Replace all uses of deleted ps-windows-system,
8332 ps-lp-system, ps-flatten-list with lpr- versions.
8334 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8336 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8337 checked with memq (bug#14935).
8339 * files.el (revert-buffer-function): Use a non-nil default.
8340 (revert-buffer-preserve-modes): Declare var to
8341 provide access to the `preserve-modes' argument.
8342 (revert-buffer): Let-bind it.
8343 (revert-buffer--default): New function, extracted from revert-buffer.
8345 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8347 * lpr.el: Signal print errors more prominently.
8348 (print-region-function): Don't default to nil.
8349 (lpr-print-region): New function, extracted from print-region-1.
8350 Check lpr's return value and signal an error in case of problem.
8351 (print-region-1): Use it.
8352 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8354 (ps-printer-name): Default to nil.
8355 (ps-printer-name-option): Default to lpr-printer-switch.
8356 (ps-print-region-function): Don't default to nil.
8357 (ps-postscript-code-directory): Simplify default.
8358 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8359 (ps-string-list, ps-eval-switch, ps-flatten-list)
8360 (ps-flatten-list-1): Remove.
8361 (ps-multibyte-buffer): Avoid setq.
8362 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8363 (print-region-function, ps-print-region-function): Don't set them here.
8365 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8367 * ido.el (ido-fractionp):
8368 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
8369 (ido-max-file-prompt-width, ido-unc-hosts-cache)
8370 (ido-max-directory-size, ido-max-dir-file-cache)
8371 (ido-decorations): Doc fix.
8373 * ansi-color.el: Fix old URL.
8375 2013-07-23 Michael R. Mauger <michael@mauger.com>
8377 * progmodes/sql.el: Version 3.3
8378 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8379 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8380 (sql-interactive-remove-continuation-prompt): Rewrite, use
8381 functions above. Fix continuation prompt and complete output line
8383 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8384 redirected output buffer.
8385 (sql-mode): Restore deleted code (Bug#13591).
8387 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8389 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8391 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8393 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8395 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8396 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8397 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8399 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8401 * desktop.el (desktop-clear): Simplify; remove useless checks
8402 against invalid buffer names.
8403 (desktop-list*): Use cl-list*.
8404 (desktop-buffer-info, desktop-create-buffer): Simplify.
8406 2013-07-23 Leo Liu <sdl.web@gmail.com>
8408 * bookmark.el (bookmark-make-record): Restore NAME as a default
8411 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8413 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8414 extracted from autoload--insert-text.
8415 (autoload--insert-text): Remove.
8416 (autoload--print-cookie-text): New function, extracted from
8417 autoload--insert-cookie-text.
8418 (autoload--insert-cookie-text): Remove.
8419 (autoload-generate-file-autoloads): Adjust calls accordingly.
8421 * winner.el (winner-hook-installed-p): Remove.
8422 (winner-mode): Simplify accordingly.
8424 * subr.el (add-to-list): Fix compiler-macro when `append' is
8425 not constant. Don't use `cl-member' for the base case.
8427 * progmodes/subword.el: Fix boundary case (bug#13758).
8428 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8430 (subword-backward-regexp): Make it a constant.
8431 (subword-forward-internal): Don't treat a trailing capital as the
8432 beginning of a word.
8434 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8436 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8437 global value of tabulated-list-revert-hook (bug#14930).
8439 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8441 * desktop.el: Require 'cl-lib.
8442 (desktop-before-saving-frames-functions): New hook.
8443 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8444 for frames being saved. Rename from desktop--save-minibuffer-frames.
8445 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8446 Do not save frames with non-nil `desktop-dont-save' parameter.
8447 Filter out deleted frames.
8448 (desktop--find-frame): Use cl-find-if.
8449 (desktop--select-frame): Use cl-(first|second|third) to access values
8451 (desktop--make-frame): Use cl-delete-if.
8452 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8453 (desktop-restore-frames): Use cl-(first|second|third) to access values
8454 of desktop-mini. Look for visible frame at the end, not while
8457 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8458 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8459 Use string-match-p, looking-at-p (bug#14927).
8461 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8463 * desktop.el (desktop-saved-frame-states):
8464 Rename from desktop--saved-states; all users changed.
8465 (desktop-save-frames): Rename from desktop--save-frames.
8466 Do not save state to desktop file.
8467 (desktop-save): Save desktop-saved-frame-states to desktop file
8469 (desktop-restoring-frames-p): New function.
8470 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8471 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8472 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8474 * desktop.el: Correctly restore iconified frames.
8475 (desktop--filter-iconified-position): New function.
8476 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8478 2013-07-20 Glenn Morris <rgm@gnu.org>
8480 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8481 Let `message' do the formatting.
8482 (def-gdb-preempt-display-buffer): Add explicit format.
8484 * image-dired.el (image-dired-track-original-file):
8485 Use with-current-buffer.
8486 (image-dired-track-thumbnail): Use with-current-buffer.
8487 Avoid changing point of wrong window.
8489 * image-dired.el (image-dired-track-original-file):
8490 Avoid changing point of wrong window. (Bug#14909)
8492 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8494 * progmodes/gdb-mi.el (gdb-done-or-error):
8495 Guard against "%" in gdb output. (Bug#14127)
8497 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8499 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8502 * international/mule.el (coding-system-iso-2022-flags): Fix last
8505 2013-07-20 Kenichi Handa <handa@gnu.org>
8507 * international/mule.el (coding-system-iso-2022-flags):
8508 Add `8-bit-level-4'. (Bug#8522)
8510 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8512 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8515 * net/eww.el (eww-process-text-input): Allow inputting when the
8516 point is at the start of the line, as the properties aren't
8519 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8522 2013-07-19 Richard Stallman <rms@gnu.org>
8524 * epa.el (epa-popup-info-window): Doc fix.
8526 * subr.el (split-string): New arg TRIM.
8528 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8530 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8531 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8533 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8535 * filenotify.el (file-notify--library): Rename from
8536 `file-notify-support'. Do not autoload. Adapt all uses.
8537 (file-notify-supported-p): New defun.
8539 * autorevert.el (auto-revert-use-notify):
8540 Use `file-notify-supported-p' instead of `file-notify-support'.
8542 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8544 * net/tramp.el (tramp-file-name-for-operation):
8545 Add `file-notify-supported-p'.
8547 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8549 (tramp-sh-file-name-handler-alist): Add it as handler for
8550 `file-notify-supported-p '.
8552 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8553 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8554 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8555 Add `ignore' as handler for `file-notify-*' functions.
8557 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8559 * simple.el (line-move-partial, line-move): Don't start vscroll or
8560 scroll-up if the current line is not taller than the window.
8563 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8565 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8566 highlight question marks in the method names as strings.
8567 (ruby-block-beg-keywords): Inline.
8568 (ruby-font-lock-keyword-beg-re): Extract from
8569 `ruby-font-lock-keywords'.
8571 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8573 * frame.el (blink-cursor-blinks): New defcustom.
8574 (blink-cursor-blinks-done): New defvar.
8575 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8576 (blink-cursor-timer-function): Check if number of blinks has been
8578 (blink-cursor-suspend, blink-cursor-check): New defuns.
8580 2013-07-15 Glenn Morris <rgm@gnu.org>
8582 * edmacro.el (edmacro-format-keys): Fix previous change.
8584 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8586 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8587 The hack didn't work outside English locales anyway.
8589 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8591 * simple.el (define-alternatives): Rename from alternatives-define,
8592 per RMS' suggestion.
8594 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8596 * desktop.el (desktop-restore-frames): Change default to t.
8597 (desktop-restore-in-current-display): Now offer more options.
8598 (desktop-restoring-reuses-frames): New customization option.
8599 (desktop--saved-states): Doc fix.
8600 (desktop-filter-parameters-alist): New variable, renamed and expanded
8601 from desktop--excluded-frame-parameters.
8602 (desktop--target-display): New variable.
8603 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8604 (desktop--filter-tty*, desktop--filter-*-color)
8605 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8606 (desktop--filter-save-desktop-parm)
8607 (desktop-restore-in-original-display-p): New functions.
8608 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8609 (desktop--save-minibuffer-frames): New function, inspired by a similar
8610 function from Martin Rudalics.
8611 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8612 (desktop--restore-in-this-display-p): Remove.
8613 (desktop--find-frame): Rename from desktop--find-frame-in-display
8614 and add predicate argument.
8615 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8616 (desktop--reuse-list): New variable.
8617 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8619 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8621 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8623 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8625 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8627 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8628 Highlight conversion methods on Kernel.
8630 2013-07-13 Alan Mackenzie <acm@muc.de>
8632 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8633 and comment it out. This out-commenting enables certain C++
8634 declarations to be parsed correctly.
8636 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8638 * international/mule.el (define-coding-system): Doc fix.
8640 * simple.el (default-font-height): Don't call font-info if the
8641 frame's default font didn't change since the frame was created.
8644 2013-07-13 Leo Liu <sdl.web@gmail.com>
8646 * ido.el (ido-read-file-name): Guard against non-symbol value.
8648 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8650 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8653 2013-07-13 Leo Liu <sdl.web@gmail.com>
8655 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8656 ido-set-matches call. (Bug#6852)
8658 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8660 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8661 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8663 (ruby-font-lock-keywords): Distinguish calls to functions with
8664 module-like names from module references. Highlight character
8667 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8669 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8670 (gdb-send): Handle continued commands. (Bug#14847)
8672 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8674 * desktop.el (desktop--v2s): Remove unused local variable.
8675 (desktop-save-buffer): Make defvar-local; adjust docstring.
8676 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8677 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8679 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8681 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8683 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8685 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8688 2013-07-12 Glenn Morris <rgm@gnu.org>
8690 * doc-view.el: Require cl-lib at runtime too.
8691 (doc-view-remove-if): Remove.
8692 (doc-view-search-next-match, doc-view-search-previous-match):
8695 * edmacro.el: Require cl-lib at runtime too.
8696 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8697 (edmacro-mismatch, edmacro-subseq): Remove.
8699 * shadowfile.el: Require cl-lib.
8700 (shadow-remove-if): Remove.
8701 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8704 * wid-edit.el: Require cl-lib.
8705 (widget-choose): Use cl-remove-if.
8706 (widget-remove-if): Remove.
8708 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8709 (ebrowse-delete-if-not): Remove.
8710 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8711 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8712 Use cl-delete-if-not.
8714 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8716 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8717 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8719 2013-07-12 Leo Liu <sdl.web@gmail.com>
8721 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8723 2013-07-11 Glenn Morris <rgm@gnu.org>
8725 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8726 (edebug-gensym-index, edebug-gensym):
8727 Remove reimplementation of cl-gensym.
8728 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8730 * thumbs.el: Require cl-lib at run-time too.
8731 (thumbs-gensym-counter, thumbs-gensym):
8732 Remove reimplementation of cl-gensym.
8733 (thumbs-temp-file): Use cl-gensym.
8735 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8736 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8737 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8738 (ert--union, ert--gensym-counter, ert--gensym-counter)
8739 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8740 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8741 (ert-make-test-unbound, ert--expand-should-1)
8742 (ert--expand-should, ert--should-error-handle-error)
8743 (should-error, ert--explain-equal-rec)
8744 (ert--plist-difference-explanation, ert-select-tests)
8745 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8746 Use cl-lib functions rather than reimplementations.
8748 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8750 * net/tramp.el (tramp-methods): Extend docstring.
8751 (tramp-connection-timeout): New defcustom.
8752 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8753 (with-tramp-progress-reporter): Simplify.
8754 (tramp-process-actions): Improve messages.
8756 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8757 * net/tramp-sh.el (tramp-maybe-open-connection):
8758 Use `tramp-connection-timeout'.
8759 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
8762 2013-07-11 Leo Liu <sdl.web@gmail.com>
8764 * ido.el (ido-read-file-name): Conform to the requirements of
8765 read-file-name. (Bug#11861)
8766 (ido-read-directory-name): Conform to the requirements of
8767 read-directory-name.
8769 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8771 * subr.el (delay-warning): New function.
8773 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8775 * simple.el (default-line-height): New function.
8776 (line-move-partial, line-move): Use it instead of computing the
8778 (line-move-partial): Always compute ROWH. If the last line is
8779 partially-visible, but its text is completely visible, allow
8780 cursor to enter such a partially-visible line.
8782 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8784 Improve error messages. (Bug#14808)
8786 * net/tramp.el (tramp-current-connection): New defvar, moved from
8788 (tramp-message-show-progress-reporter-message): Remove, not
8790 (tramp-error-with-buffer): Show message in minibuffer.
8791 Discard input before waiting. Reset connection timestamp.
8792 (with-tramp-progress-reporter): Improve messages.
8793 (tramp-process-actions): Use progress reporter. Delete process in
8794 case of error. Improve messages.
8796 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8797 Call `tramp-error-with-buffer' with vector and buffer.
8798 (tramp-current-connection): Remove.
8799 (tramp-maybe-open-connection): The car of
8800 `tramp-current-connection' are the first 3 slots of the vector.
8802 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8804 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8805 inside continued strings.
8807 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8809 Timestamp fixes for undo (Bug#14824).
8810 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8812 2013-07-10 Leo Liu <sdl.web@gmail.com>
8814 * files.el (require-final-newline): Allow safe local value.
8817 2013-07-09 Leo Liu <sdl.web@gmail.com>
8819 * ido.el (ido-read-directory-name): Handle fallback.
8820 (ido-read-file-name): Update DIR to ido-current-directory.
8822 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8824 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8826 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8827 "autoload". Remove "warn lower camel case" section, previously
8828 commented out. Highlight negation char. Do not highlight the
8829 target in singleton method definitions.
8831 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8833 * faces.el (tty-setup-hook): Declare the hook.
8835 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8836 and detect when a guard/pred depends on local vars (bug#14773).
8837 (pcase--u1): Adjust caller.
8839 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8841 * simple.el (line-move-partial, line-move): Account for
8843 (line-move-partial): Avoid setting vscroll when the last
8844 partially-visible line in window is of default height.
8846 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8848 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8851 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8853 * subr.el (read-quoted-char): Remove unused local variable `char'.
8855 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8857 * ediff.el (ediff-version): Version update.
8858 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8859 (ediff-merge-with-ancestor-command, ediff-directories-command)
8860 (ediff-directories3-command, ediff-merge-directories-command)
8861 (ediff-merge-directories-with-ancestor-command): New functions.
8862 All are command-line interfaces to ediff: to facilitate calling
8863 Emacs with the appropriate ediff functions invoked.
8865 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8866 (viper-save-kill-buffer): Check if buffer is modified.
8868 * viper.el (viper-version): Version update.
8869 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8871 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8873 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8874 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8875 (viper-intercept-ESC-key): Simplify.
8876 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8877 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8878 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8879 (viper-setup-ESC-to-escape): New functions.
8880 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8881 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8883 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8885 * simple.el (default-font-height, window-screen-lines):
8887 (line-move, line-move-partial): Use them instead of
8888 frame-char-height and window-text-height. This makes scrolling
8889 text smoother when the buffer's default face uses a font that is
8890 different from the frame's default font.
8892 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8894 * files.el (write-file): Do not display confirm dialog for NS,
8895 it does its own dialog, which can't be canceled (Bug#14578).
8897 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8899 * simple.el (line-move-partial): Adjust the row returned by
8900 posn-at-point for the current window-vscroll. (Bug#14567)
8902 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8904 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8905 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8908 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8910 * window.el (window-state-put-stale-windows): New variable.
8911 (window--state-put-2): Save list of windows without matching buffer.
8912 (window-state-put): Remove "bufferless" windows if possible.
8914 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8916 * simple.el (alternatives-define): Remove leftover :group keyword.
8919 2013-07-06 Leo Liu <sdl.web@gmail.com>
8921 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8922 (ido-enable-virtual-buffers): New variable.
8923 (ido-buffer-internal, ido-toggle-virtual-buffers)
8924 (ido-make-buffer-list): Use it.
8925 (ido-exhibit): Support turning on and off virtual buffers
8928 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8930 * simple.el (alternatives-define): New macro.
8932 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8934 * subr.el (read-quoted-char): Use read-key.
8935 (sit-for): Let read-event decode tty input (bug#14782).
8937 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8939 * calendar/todo-mode.el: Add handling of file deletion, both by
8940 mode command and externally. Fix various related bugs.
8941 Clarify Commentary and improve some documentation strings and code.
8942 (todo-delete-file): New command.
8943 (todo-check-file): New function.
8944 (todo-show): Handle external deletion of the file we're trying to
8945 show (bug#14688). Replace called-interactively-p by an optional
8946 prefix argument to avoid problematic interaction with catch form
8947 when byte compiled (bug#14702).
8948 (todo-quit): Handle external deletion of the archive's todo file.
8949 Make sure the buffer that was visiting the archive file is still
8950 live before trying to bury it.
8951 (todo-category-completions): Handle external deletion of any
8952 category completion files.
8953 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8954 of todo files, in case of external deletion.
8955 (todo-add-file): Replace unnecessary setq by let-binding.
8956 (todo-find-archive): Check whether there are any archives.
8957 Replace unnecessary setq by let-binding.
8958 (todo-archive-done-item): Use find-file-noselect to get the
8959 archive buffer whether or not the archive already exists.
8960 Remove superfluous code. Use file size instead of buffer-file-name to
8961 check if the archive is new; if it is, update list of archives.
8962 (todo-default-todo-file): Allow nil to be a valid value for when
8963 there are no todo files.
8964 (todo-reevaluate-default-file-defcustom): Use corrected definition
8965 of todo-default-todo-file.
8966 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8967 (todo-delete-category, todo-show-categories-table)
8968 (todo-category-number): Clarify comment.
8969 (todo-filter-items): Clarify documentation string.
8970 (todo-show-current-file, todo-display-as-todo-file)
8971 (todo-reset-and-enable-done-separator): Tweak documentation string.
8972 (todo-done-separator): Make separator length window-width, since
8973 bug#2749 is now fixed.
8975 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8977 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8978 Support both "gvfs-monitor-dir" and "inotifywait".
8979 (tramp-sh-file-inotifywait-process-filter): Rename from
8980 `tramp-sh-file-notify-process-filter'.
8981 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8982 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8984 2013-07-05 Leo Liu <sdl.web@gmail.com>
8986 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8988 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8990 * frame.el (display-pixel-height, display-pixel-width)
8991 (display-mm-height, display-mm-width): Mention behavior on
8992 multi-monitor setups in docstrings.
8993 (w32-display-monitor-attributes-list): Declare function.
8994 (display-monitor-attributes-list): Use it.
8996 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8998 * filenotify.el: New package.
9000 * autorevert.el (top): Require filenotify.el.
9001 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
9003 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
9004 (auto-revert-notify-handler): Use `file-notify-*' functions.
9006 * subr.el (file-notify-handle-event): Move function to filenotify.el.
9008 * net/tramp.el (tramp-file-name-for-operation):
9009 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
9011 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
9012 for `file-notify-add-watch' and `file-notify-rm-watch'.
9013 (tramp-process-sentinel): Improve trace.
9014 (tramp-sh-handle-file-notify-add-watch)
9015 (tramp-sh-file-notify-process-filter)
9016 (tramp-sh-handle-file-notify-rm-watch)
9017 (tramp-get-remote-inotifywait): New defuns.
9019 2013-07-03 Juri Linkov <juri@jurta.org>
9021 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
9022 call of `occur-read-primary-args' to interactive spec.
9024 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
9025 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
9027 2013-07-03 Matthias Meulien <orontee@gmail.com>
9029 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
9030 `Buffer-menu-multi-occur'. Add it to the menu.
9031 (Buffer-menu-mode): Document it in docstring.
9032 (Buffer-menu-multi-occur): New command. (Bug#14673)
9034 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9036 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
9037 keywords and built-ins.
9039 2013-07-03 Glenn Morris <rgm@gnu.org>
9041 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
9043 Make info-xref checks case-sensitive by default
9044 * info.el (Info-find-node, Info-find-in-tag-table)
9045 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
9046 Add option for exact case matching of nodes.
9047 * info-xref.el (info-xref): New custom group.
9048 (info-xref-case-fold): New option.
9049 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
9051 2013-07-03 Leo Liu <sdl.web@gmail.com>
9053 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
9055 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
9057 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
9058 middle of block statement initially, lower the depth. Remove
9059 FIXME comment, not longer valid. Remove middle of block statement
9060 detection, no need to do that anymore since we've been using
9061 `ruby-parse-region' here.
9063 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
9065 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
9067 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
9069 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
9071 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
9073 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
9074 (desktop-restore-in-current-display): New customization option.
9075 (desktop--excluded-frame-parameters): Add `font'.
9076 (desktop--save-frames): Rename from desktop--save-windows.
9077 (desktop--restore-in-this-display-p): New function.
9078 (desktop--make-full-frame): Remove unwanted width/height from
9079 full(width|height) frames.
9080 (desktop--restore-frames): Rename from desktop--restore-windows.
9081 Obey desktop-restore-current-display. Do not delete old frames or
9082 select a new frame unless we were able to restore at least one frame.
9084 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
9086 * files.el (find-file-noselect): Simplify conditional expression.
9088 * textmodes/remember.el (remember-append-to-file):
9089 Don't mix `find-buffer-visiting' and `get-file-buffer'.
9091 Add `remember-notes' function to store random notes across Emacs
9093 * textmodes/remember.el (remember-data-file): Add :set callback to
9094 affect notes buffer (if any).
9095 (remember-notes): New command.
9096 (remember-notes-buffer-name, bury-remember-notes-on-kill):
9097 New defcustoms for the `remember-notes' function.
9098 (remember-notes-save-and-bury-buffer): New command.
9099 (remember-notes-mode-map): New variable.
9100 (remember-mode): New minor mode.
9101 (remember-notes--kill-buffer-query): New function.
9102 * startup.el (initial-buffer-choice): Add notes to custom type.
9104 2013-06-30 Eli Zaretskii <eliz@gnu.org>
9106 * bindings.el (right-char, left-char): Don't call sit-for, this is
9107 no longer needed. Use arithmetic comparison only for numerical
9110 * international/mule-cmds.el (select-safe-coding-system):
9111 Handle the case of FROM being a string correctly. (Bug#14755)
9113 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
9115 * net/shr.el (shr-make-table-1): Add a sanity check that allows
9116 progression on degenerate tables.
9117 (shr-rescale-image): ImageMagick animated images currently don't work.
9119 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
9121 Some fixes and improvements for desktop frame restoration.
9122 It is still experimental and disabled by default.
9123 * desktop.el (desktop--save-windows): Put the selected frame at
9124 the head of the list.
9125 (desktop--make-full-frame): New function.
9126 (desktop--restore-windows): Try to re-select the frame that was
9127 selected upon saving. Do not abort if some frames fail to restore,
9128 just show an error message and continue. Set up maximized frames
9129 so they have default non-maximized dimensions.
9131 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
9133 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
9134 Don't start heredoc inside a string or comment.
9136 2013-06-29 Eli Zaretskii <eliz@gnu.org>
9138 * bindings.el (visual-order-cursor-movement): New defcustom.
9139 (right-char, left-char): Provide visual-order cursor motion by
9140 calling move-point-visually. Update the doc strings.
9142 2013-06-28 Kenichi Handa <handa@gnu.org>
9144 * international/mule.el (define-coding-system): New coding system
9145 properties :inhibit-null-byte-detection,
9146 :inhibit-iso-escape-detection, and :prefer-utf-8.
9147 (set-buffer-file-coding-system): If :charset-list property of
9148 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
9149 appropriate for setting.
9151 * international/mule-cmds.el (select-safe-coding-system):
9152 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
9153 multibyte characters, return utf-8 (or one of its siblings).
9155 * international/mule-conf.el (prefer-utf-8): New coding system.
9156 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
9159 2013-06-28 Ivan Kanis <ivan@kanis.fr>
9161 * net/shr.el (shr-render-region): New function.
9163 * net/eww.el: Autoload `eww-browse-url'.
9165 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
9167 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9168 Adapt to `package-desc-version' being a list.
9169 Use `package--ac-desc-version' to retrieve version from a package
9172 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
9174 New experimental feature to save&restore window and frame setup.
9175 * desktop.el (desktop-save-windows): New defcustom.
9176 (desktop--saved-states): New var.
9177 (desktop--excluded-frame-parameters): New defconst.
9178 (desktop--filter-frame-parms, desktop--find-frame-in-display)
9179 (desktop--restore-windows, desktop--save-windows): New functions.
9180 (desktop-save): Call `desktop--save-windows'.
9181 (desktop-read): Call `desktop--restore-windows'.
9183 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
9185 * net/shr.el (add-face-text-property): Remove compat definition.
9187 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9189 * info.el (Info-try-follow-nearest-node): Move search for footnote
9190 above search for node name to prevent missing a footnote (bug#14717).
9192 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
9194 * obsolete/otodo-mode.el: Add obsolescence info to file header.
9196 2013-06-27 Leo Liu <sdl.web@gmail.com>
9198 * net/eww.el (eww-read-bookmarks): Check file size.
9200 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9202 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
9203 advice--pending if newdef is nil or an autoload (bug#13820).
9204 (advice-mapc): New function.
9206 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
9208 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
9210 (eww-mode-map): Add a menu bar.
9211 (eww-add-bookmark): New command.
9212 (eww-bookmark-mode): New mode and commands.
9213 (eww-add-bookmark): Remove newlines from the title.
9214 (eww-bookmark-browse): Don't bug out if it's the only window.
9216 2013-06-26 Glenn Morris <rgm@gnu.org>
9218 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
9219 (hfy-size): Handle ttys. (Bug#14668)
9221 * info-xref.el: Update for Texinfo 5 change in *note format.
9222 (info-xref-node-re, info-xref-note-re): New constants.
9223 (info-xref-check-buffer): Use info-xref-note-re.
9225 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9227 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9229 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9230 nil terminate the loop (bug#14718).
9232 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9234 * net/eww.el: Rework history traversal. When going forward/back,
9235 put these actions into the history, too, so that they can be
9237 (eww-render): Move the history reset to the correct buffer.
9239 2013-06-25 Juri Linkov <juri@jurta.org>
9241 * files-x.el (modify-dir-local-variable): Change the header comment
9242 in the file with directory local variables. (Bug#14692)
9244 * files-x.el (read-file-local-variable-value): Add `default'.
9247 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9249 * net/eww.el (eww-make-unique-file-name): Create a unique file
9250 name before saving to entering `y' accidentally asynchronously.
9252 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9254 * net/eww.el (eww-download): New command and keystroke.
9256 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9258 * net/eww.el (eww-copy-page-url): Change name of command.
9260 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9261 be more consistent with Info and dired.
9263 * net/eww.el (eww-mode-map): Ditto.
9265 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9267 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9268 packages from archives.
9269 (package-archive-contents): Change format; include obsolete packages.
9270 (package-desc): Use `dir' to mark builtin packages.
9271 (package--from-builtin): Set the `dir' field to `builtin'.
9272 (generated-autoload-file, version-control): Declare.
9273 (package-compute-transaction): Change first arg and return value to be
9274 lists of package-descs. Adjust to new package-archive-contents format.
9275 (package--add-to-archive-contents): Adjust to new
9276 package-archive-contents format.
9277 (package-download-transaction): Arg is now a list of package-descs.
9278 (package-install): If `pkg' is a package name, pass it as
9279 a requirement, so it is subject to the usual (e.g. disabled) checks.
9280 (describe-package): Accept package-desc as well.
9281 (describe-package-1): Describe a specific package-desc. Add links to
9282 other package-descs for the same package name.
9283 (package-menu-describe-package): Pass the actual package-desc.
9284 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9286 (package-desc-status): New function.
9287 (package-menu--refresh): New function, extracted
9288 from package-menu--generate.
9289 (package-menu--generate): Use it.
9290 (package-delete): Update package-alist.
9291 (package-menu-execute): Don't call package-initialize.
9293 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9294 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9295 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9296 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9297 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9298 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9300 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9302 * window.el (window--state-get-1): Workaround for bug#14527.
9303 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9305 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9307 * net/eww.el (eww-back-url): Implement the history by stashing all
9308 the data into a list.
9309 (eww-forward-url): Allow going forward in the history, too.
9311 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9313 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9314 for values and use read--expression for expressions (bug#14710).
9315 (read-file-local-variable): Avoid setq.
9316 (read-file-local-variable-mode): Use minor-mode-list.
9318 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9320 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9323 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9325 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9326 Update imenu-support when dialect changes.
9328 2013-06-25 Leo Liu <sdl.web@gmail.com>
9330 * ido.el (ido-read-internal): Allow forward slash on windows.
9332 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9334 * net/eww.el (eww): Start of strings is \\`, not ^.
9336 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9338 * net/shr.el (shr-browse-url): Fix interactive spec.
9340 * net/eww.el (eww): Add a trailing slash to domain names.
9342 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9344 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9346 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9348 * net/shr.el (shr-browse-url): Use an external browser if given a
9351 * net/eww.el (eww-external-browser): Move to shr.
9353 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9355 * net/eww.el (eww): Work more correctly for file: URLs.
9356 (eww-detect-charset): Allow quoted charsets.
9357 (eww-yank-page-url): New command and keystroke.
9359 2013-06-24 Daiki Ueno <ueno@gnu.org>
9361 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9362 file name of gpg executable.
9363 (epg-context-program): New function.
9364 (epg-context-home-directory): New function.
9365 (epg-context-set-program): New function.
9366 (epg-context-set-home-directory): New function.
9367 (epg--start): Use `epg-context-program' instead of
9369 (epg--list-keys-1): Likewise.
9371 2013-06-24 Leo Liu <sdl.web@gmail.com>
9373 * ido.el (ido-read-internal): Fix bug#14620.
9375 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9377 * faces.el (face-documentation): Simplify.
9378 (read-face-attribute, tty-find-type, x-resolve-font-name):
9379 Use `string-match-p'.
9380 (list-faces-display): Use `string-match-p'. Simplify.
9381 (face-spec-recalc): Check face to avoid face alias loops.
9382 (read-color): Use `string-match-p' and non-capturing parenthesis.
9384 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9386 * net/shr.el (shr-rescale-image): Use the new
9387 :max-width/:max-height functionality.
9389 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9391 * net/eww.el (eww-search-prefix): New variable.
9393 (eww-external-browser): New variable.
9394 (eww-mode-map): New keystroke.
9395 (eww-browse-with-external-browser): New command.
9397 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9399 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9401 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9402 Don't skip aligning the next header field when padding is 0;
9403 otherwise, field width is not respected unless the title is as
9406 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9408 * emacs-lisp/package.el (package-el-version): Remove.
9409 (package-process-define-package): Fix inf-loop.
9410 (package-install): Allow symbols as arguments again.
9412 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9414 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9415 add some more keyword-like methods.
9416 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9418 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9420 * bs.el (bs-buffer-show-mark): Make defvar-local.
9421 (bs-mode): Use setq-local.
9423 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9424 (emacs-lock--try-unlocking): Make defvar-local.
9426 2013-06-22 Glenn Morris <rgm@gnu.org>
9428 * play/cookie1.el (cookie-apropos): Minor simplification.
9430 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9432 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9434 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9435 `regexp-opt', it breaks the build during dumping.
9437 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9439 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9440 Highlight keyword-like methods on Kernel and Module with
9441 font-lock-builtin-face.
9442 (auto-mode-alist): Consolidate different entries into one regexp
9443 and add more *file-s.
9445 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9447 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9449 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9450 (diary-entry): Use it in the action of this button type instead of
9453 * calendar/todo-mode.el: New version.
9454 (todo-add-category): Append new category to end of file and give
9455 it the highest number, instead of putting it at the beginning and
9456 giving it 0. Incorporate noninteractive functionality.
9457 (todo-forward-category): Adapt to 1-based category numbering.
9458 Allow skipping over archived categories.
9459 (todo-backward-category): Derive from todo-forward-category.
9460 (todo-backward-item, todo-forward-item): Make noninteractive and
9461 delegate interactive part to new commands. Make sensitive to done items.
9462 (todo-categories): Make value an alist of category names and
9463 vectors of item counts.
9464 (todo-category-beg): Make a defconst.
9465 (todo-category-number): Use 1 instead of 0 as initial value.
9466 (todo-category-select): Make sensitive to overlays, optional item
9467 highlighting and done items.
9468 (todo-delete-item): Make sensitive to overlays and marked and done items.
9469 (todo-edit-item): Make sensitive to overlays and editing of
9470 date/time header optional. Add format checks.
9471 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9472 no-op if point is not on an item. Advertise using todo-edit-quit.
9473 (todo-edit-mode): Make sensitive to new format, font-locking, and
9474 multiple todo files.
9475 (todo-insert-item, todo-insert-item-here): Derive from
9476 todo-basic-insert-item and extend functionality.
9477 (todo-item-end, todo-item-start): Make sensitive to done items.
9478 (todo-item-string): Don't return text properties. Restore point.
9479 (todo-jump-to-category): Make sensitive to multiple todo files and
9480 todo archives. Use extended category completion.
9481 (todo-lower-item, todo-raise-item): Rename to *-priority and
9482 derive from todo-set-item-priority.
9483 (todo-mode): Derive from special-mode. Make sensitive to new
9484 format, font-locking and multiple todo files. Make read-only.
9485 (todo-mode-map): Don't suppress digit keys, so they can supply
9486 prefix arguments. Add many new key bindings.
9487 (todo-prefix): Insert as an overlay instead of file text.
9488 Change semantics from diary date expression to purely visual mark.
9489 (todo-print): Rename to todo-print-buffer. Make buffer display
9490 features printable. Remove option to restrict number of items
9491 printed. Add option to print to file.
9492 (todo-print-function): Rename to todo-print-buffer-function.
9493 (todo-quit): Extend to handle exiting new todo modes.
9494 (todo-remove-item): Make sensitive to overlays.
9495 (todo-save): Extend to buffers of filtered items.
9496 (todo-show): Make sensitive to done items, multiple todo files and
9497 new todo modes. Offer to convert legacy todo file before creating
9498 first new todo file.
9499 (todo-show-priorities): Rename to todo-top-priorities.
9500 Change semantics of value 0.
9501 (todo-top-priorities): Rename to todo-filter-top-priorities,
9502 derive from todo-filter-items and extend functionality.
9503 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9504 and extend functionality to other types of filtered items.
9505 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9506 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9507 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9508 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9509 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9510 (todo-edit-mode-hook, todo-entry-prefix-function)
9511 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9512 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9513 (todo-initials, todo-insert-threshold, todo-item-string-start)
9514 (todo-line-string, todo-menu, todo-mode-hook)
9515 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9516 (todo-print-priorities, todo-remove-separator)
9517 (todo-save-top-priorities-too, todo-string-count-lines)
9518 (todo-string-multiline-p, todo-time-string-format)
9519 (todo-tmp-buffer-name): Remove.
9520 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9521 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9522 (todo-edit-category-diary-inclusion)
9523 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9524 (todo-edit-file, todo-edit-item-date-day)
9525 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9526 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9527 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9528 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9529 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9530 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9531 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9532 (todo-filter-top-priorities-multifile, todo-find-archive)
9533 (todo-find-filtered-items-file, todo-go-to-source-item)
9534 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9535 (todo-jump-to-archive-category, todo-lower-category)
9536 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9537 (todo-move-category, todo-move-item, todo-next-button)
9538 (todo-next-item, todo-padded-string, todo-powerset)
9539 (todo-previous-button, todo-previous-item)
9540 (todo-print-buffer-to-file, todo-raise-category)
9541 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9542 (todo-set-category-number, todo-set-item-priority)
9543 (todo-set-top-priorities-in-category)
9544 (todo-set-top-priorities-in-file, todo-show-categories-table)
9545 (todo-sort-categories-alphabetically-or-numerically)
9546 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9547 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9548 (todo-toggle-item-header, todo-toggle-item-highlighting)
9549 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9550 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9551 (todo-unarchive-items, todo-unmark-category): New commands.
9552 (todo-absolute-file-name, todo-add-to-buffer-list)
9553 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9554 (todo-basic-insert-item, todo-category-completions)
9555 (todo-category-number, todo-category-string-matcher-1)
9556 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9557 (todo-check-format, todo-clear-matches)
9558 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9559 (todo-current-category, todo-date-string-matcher)
9560 (todo-define-insertion-command, todo-diary-expired-matcher)
9561 (todo-diary-goto-entry, todo-diary-item-p)
9562 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9563 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9564 (todo-done-item-section-p, todo-done-separator)
9565 (todo-done-string-matcher, todo-files, todo-filter-items)
9566 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9567 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9568 (todo-insert-category-line, todo-insert-item-from-calendar)
9569 (todo-insert-sort-button, todo-insert-with-overlays)
9570 (todo-insertion-command-name, todo-insertion-key-bindings)
9571 (todo-label-to-key, todo-longest-category-name-length)
9572 (todo-make-categories-list, todo-mode-external-set)
9573 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9574 (todo-modes-set-3, todo-multiple-filter-files)
9575 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9576 (todo-read-category, todo-read-date, todo-read-dayname)
9577 (todo-read-file-name, todo-read-time)
9578 (todo-reevaluate-category-completions-files-defcustom)
9579 (todo-reevaluate-default-file-defcustom)
9580 (todo-reevaluate-filelist-defcustoms)
9581 (todo-reevaluate-filter-files-defcustom)
9582 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9583 (todo-reset-done-separator, todo-reset-done-separator-string)
9584 (todo-reset-done-string, todo-reset-global-current-todo-file)
9585 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9586 (todo-reset-prefix, todo-set-categories)
9587 (todo-set-date-from-calendar, todo-set-show-current-file)
9588 (todo-set-top-priorities, todo-short-file-name)
9589 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9590 (todo-total-item-counts, todo-update-buffer-list)
9591 (todo-update-categories-display, todo-update-categories-sexp)
9592 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9594 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9596 (todo-categories, todo-display, todo-edit, todo-faces)
9597 (todo-filtered): New defgroups.
9598 (todo-archived-only, todo-button, todo-category-string, todo-date)
9599 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9600 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9601 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9602 (todo-add-item-if-new-category, todo-always-add-time-string)
9603 (todo-categories-align, todo-categories-archived-label)
9604 (todo-categories-category-label, todo-categories-diary-label)
9605 (todo-categories-done-label, todo-categories-number-separator)
9606 (todo-categories-todo-label, todo-categories-totals-label)
9607 (todo-category-completions-files, todo-completion-ignore-case)
9608 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9609 (todo-done-separator-string, todo-done-string)
9610 (todo-files-function, todo-filter-done-items, todo-filter-files)
9611 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9612 (todo-initial-category, todo-initial-file, todo-item-mark)
9613 (todo-legacy-date-time-regexp, todo-mode-line-function)
9614 (todo-nondiary-marker, todo-number-prefix)
9615 (todo-print-buffer-function, todo-show-current-file)
9616 (todo-show-done-only, todo-show-first, todo-show-with-done)
9617 (todo-skip-archived-categories, todo-top-priorities-overrides)
9618 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9619 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9621 (todo-category-done, todo-date-pattern, todo-date-string-start)
9622 (todo-diary-items-buffer, todo-done-string-start)
9623 (todo-filtered-items-buffer, todo-item-start)
9624 (todo-month-abbrev-array, todo-month-name-array)
9625 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9626 (todo-top-priorities-buffer): New defconsts.
9627 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9628 (todo-categories-with-marks, todo-category-string-face)
9629 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9630 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9631 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9632 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9633 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9634 (todo-font-lock-keywords, todo-global-current-todo-file)
9635 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9636 (todo-insertion-commands-args)
9637 (todo-insertion-commands-args-genlist)
9638 (todo-insertion-commands-names, todo-insertion-map)
9639 (todo-key-bindings-t, todo-key-bindings-t+a)
9640 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9641 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9642 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9643 (todo-visited): New variables.
9645 2013-06-21 Glenn Morris <rgm@gnu.org>
9647 * play/cookie1.el (cookie-apropos): Add optional display argument.
9648 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9649 (psychoanalyze-pinhead): Use cookie-doctor.
9651 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9653 * emacs-lisp/package.el (tar-get-file-descriptor)
9654 (tar--extract): Declare.
9656 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9658 Extend flymake's warning predicate to be a function (bug#14217).
9659 * progmodes/flymake.el (flymake-warning-predicate): New.
9660 (flymake-parse-line): Use it.
9661 (flymake-warning-re): Make obsolete alias to
9662 `flymake-warning-predicate'.
9664 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9666 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9667 (package-obsolete-list): Remove.
9668 (package-activate): Remove min-version argument. Add `force' argument.
9669 Adjust to new package-alist format.
9670 (package-mark-obsolete): Remove.
9671 (package-unpack): Force reload of the package's autoloads.
9672 (package-installed-p): Check builtins if the installed package is not
9674 (package-initialize): Don't reset package-obsolete-list.
9675 Don't specify which package version to activate.
9676 (package-process-define-package, describe-package-1)
9677 (package-menu--generate): Adjust to new package-alist format.
9679 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9681 * allout-widgets.el (allout-widgets-mode-off)
9682 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9683 (allout-widgets-post-command-business)
9684 (allout-widgets-after-copy-or-kill-function)
9685 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9686 (allout-decorate-item-and-context)
9687 (allout-graphics-modification-handler): Fix typos in docstrings.
9688 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9690 * cmuscheme.el (scheme-start-file): Doc fix.
9691 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9692 (scheme-input-filter): Use `string-match-p'.
9694 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9696 * dired-x.el: Use Dired consistently in docstrings.
9698 * dired.el: Use Dired consistently in docstrings.
9699 (dired-readin, dired-mode): Use `setq-local'.
9700 (dired-switches-alist): Make defvar-local.
9701 (dired-buffers-for-dir): Use `zerop'.
9702 (dired-safe-switches-p, dired-switches-escape-p)
9703 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9704 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9705 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9706 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9707 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9708 (dired-toggle-marks, dired-mark-files-containing-regexp)
9709 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9710 (dired-flag-auto-save-files, dired-flag-backup-files):
9712 (dired-mark-files-regexp, dired-build-subdir-alist):
9713 Use `string-match-p', `looking-at-p'.
9715 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9716 (direct-print-region-helper): Use `string-match-p'.
9718 2013-06-21 Leo Liu <sdl.web@gmail.com>
9720 * comint.el (comint-redirect-results-list-from-process):
9723 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9725 * net/eww.el (eww-update-header-line-format): Quote % characters.
9727 2013-06-21 Glenn Morris <rgm@gnu.org>
9729 * play/cookie1.el (cookie): New custom group.
9730 (cookie-file): New option.
9731 (cookie-check-file): New function.
9732 (cookie): Make it interactive. Make start and end messages optional.
9733 Interactively, display the result. Default to cookie-file.
9734 (cookie-insert): Default to cookie-file.
9735 (cookie-snarf): Make start and end messages optional.
9736 Default to cookie-file. Use with-temp-buffer.
9737 (cookie-read): Rename from read-cookie.
9738 Make start and end messages optional. Default to cookie-file.
9739 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9741 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9742 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9744 2013-06-21 Leo Liu <sdl.web@gmail.com>
9746 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9748 2013-06-21 Glenn Morris <rgm@gnu.org>
9750 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9752 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9753 Daniel Hackney <dan@haxney.org>
9755 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9756 Consolidate the single-file vs tarball code.
9757 (package-desc-suffix): New function.
9758 (package-desc-full-name): Don't bother inlining it.
9759 (package-load-descriptor): Return the new package-desc.
9760 (package-mark-obsolete): Remove unused arg `package'.
9761 (package-unpack): Make it work for single files as well.
9762 Make it update package-alist.
9763 (package--make-autoloads-and-stuff): Rename from
9764 package--make-autoloads-and-compile. Don't compile any more.
9765 (package--compile): New function.
9766 (package-generate-description-file): New function, extracted from
9767 package-unpack-single.
9768 (package-unpack-single): Remove.
9769 (package--with-work-buffer): Add indentation and debugging info.
9770 (package-download-single): Remove.
9771 (package-install-from-archive): Rename from package-download-tar, make
9772 it take a pkg-desc, and make it work for single files as well.
9773 (package-download-transaction): Simplify.
9774 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9775 external tar program.
9776 (package-install-from-buffer): Remove `pkg-desc' argument.
9777 Use package-tar-file-info for tar-mode buffers.
9778 (package-install-file): Simplify accordingly.
9779 (package-archive-base): Change to take a pkg-desc.
9780 * tar-mode.el (tar--check-descriptor): New function, extracted from
9782 (tar-get-descriptor): Use it.
9783 (tar-get-file-descriptor): New function.
9784 (tar--extract): New function, extracted from tar-extract.
9785 (tar--extract): Use it.
9786 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9787 case the summary uses non-ascii. Adjust to new calling convention of
9788 package-tar-file-info.
9790 2013-06-21 Leo Liu <sdl.web@gmail.com>
9792 * comint.el (comint-redirect-results-list-from-process):
9793 Fix random delay. (Bug#14681)
9795 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9797 * profiler.el (profiler-format-number): Use log, not log10.
9799 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9801 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9803 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9805 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9806 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9808 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9809 (AUTOGENEL): ... here.
9810 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9811 (cl--defsubst-expand): Use it.
9813 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9815 * subr.el (log10): Move here from C code, and declare as obsolete.
9816 All uses of (log10 X) replaced with (log X 10).
9818 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9820 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9821 Declare with `defvar-local'.
9822 (tabulated-list-use-header-line, tabulated-list-entries)
9823 (tabulated-list-padding, tabulated-list-printer)
9824 (tabulated-list-sort-key): Declare with `defvar-local'.
9825 (tabulated-list-init-header, tabulated-list-print-fake-header):
9828 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9830 * arc-mode.el (archive-mode): Add `archive-write-file' to
9831 `write-contents-functions' also for remote files. (Bug#14652)
9833 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9835 * cus-edit.el (custom-commands): Fix typos.
9836 (custom-display): Fix tooltip text.
9837 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9838 Fix typos in docstrings.
9839 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9840 (custom-unlispify-menu-entry, custom-magic-value-create)
9841 (custom-add-see-also, custom-group-value-create): Use ?\s.
9842 (custom-guess-type, customize-apropos, editable-field)
9843 (custom-face-value-create): Use `string-match-p'.
9844 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9846 * custom.el (custom-load-symbol): Use `string-match-p'.
9848 * ansi-color.el: Convert to lexical binding.
9849 (ansi-colors): Fix URL.
9850 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9851 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9852 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9854 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9856 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9858 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9860 2013-06-19 Tom Tromey <tromey@redhat.com>
9862 * net/eww.el (eww-top-url): Remove.
9863 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9864 (eww-render): Set new variables. Don't set eww-top-url.
9865 (eww-handle-link): Handle "prev", "home", and "contents".
9866 Downcase the rel text.
9867 (eww-top-url): Choose best top URL.
9869 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9871 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9872 relying in widget.el. Using widget.el leads to too many
9873 user interface inconsistencies.
9874 (eww-self-insert): Implement entering commands in text fields.
9875 (eww-process-text-input): New function to make text input field editing
9877 (eww-submit): Rewrite to use the new-style form methods.
9878 (eww-select-display): Display the correct selected item.
9879 (eww-change-select): Implement changing the select value.
9880 (eww-toggle-checkbox): Implement radio/checkboxes.
9881 (eww-update-field): Fix compilation error.
9882 (eww-tag-textarea): Implement <textarea>.
9884 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9885 we don't shadow mode-specific bindings.
9887 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9890 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9892 2013-06-19 Glenn Morris <rgm@gnu.org>
9894 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9896 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9898 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9901 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9903 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9905 * net/browse-url.el (browse-url-browser-function):
9906 `eww-browse-url' has the right calling signature, `eww' does not.
9908 2013-06-19 Glenn Morris <rgm@gnu.org>
9910 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9911 Only eval autoloaded macros.
9912 (byte-compile-autoload): Only give the macro warning for macros.
9914 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9915 (ps-underlined-faces): Declare.
9917 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9918 (speedbar-add-supported-extension): Declare.
9920 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9921 Don't include a date stamp in the header of the generated file;
9922 it leads to needless differences between output files.
9924 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9926 * net/secrets.el (secrets-struct-secret-content-type):
9927 Replace check of introspection data by a test call of "CreateItem".
9928 Some servers do not offer introspection.
9930 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9932 * electric.el (electric-pair-mode): Improve interaction with
9933 electric-layout-mode.
9934 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9935 (electric-pair-syntax): Use text-mode-syntax-table in comments
9937 (electric-pair--insert): New function.
9938 (electric-pair-post-self-insert-function): Use it and
9939 electric--after-char-pos.
9941 2013-06-19 Leo Liu <sdl.web@gmail.com>
9943 * progmodes/octave.el (octave-help): Fix regexp.
9945 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9947 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9948 (shr-table-horizontal-line): Allow nil as a value, and change the
9950 (shr-insert-table-ruler): Respect the nil value.
9952 2013-06-18 Tom Tromey <tromey@barimba>
9954 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9956 (eww-open-file): New defun.
9957 (eww-render): Initialize new variables.
9958 (eww-display-html): Handle "link" and "a".
9959 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9960 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9961 (eww-back-url): Rename from eww-previous-url.
9962 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9965 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9967 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9968 Distinguish ternary operator tokens from slash symbol and slash
9971 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9973 Convert symbol prettification into minor mode and global minor mode.
9975 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9976 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9977 (prettify-symbols--keywords): Rename from
9978 `prog-prettify-symbols-alist' and make a local defvar.
9979 (prettify-symbols--compose-symbol): Rename from
9980 `prog--prettify-font-lock-compose-symbol'.
9981 (prettify-symbols--make-keywords): Rename from
9982 `prog-prettify-font-lock-symbols-keywords' and simplify.
9983 (prog-prettify-install): Remove.
9984 (prettify-symbols-mode): New minor mode, based on
9985 `prog-prettify-install'.
9986 (turn-on-prettify-symbols-mode): New function.
9987 (global-prettify-symbols-mode): New globalized minor mode.
9989 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9990 * progmodes/cfengine.el (cfengine3-mode):
9991 * progmodes/perl-mode.el (perl-mode): Don't call
9992 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9994 2013-06-18 Juri Linkov <juri@jurta.org>
9996 * files-x.el (modify-file-local-variable-message): New function.
9997 (modify-file-local-variable)
9998 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9999 and call `modify-file-local-variable-message' when it's non-nil.
10000 (add-file-local-variable, delete-file-local-variable)
10001 (add-file-local-variable-prop-line)
10002 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
10003 and use it. (Bug#9820)
10005 2013-06-18 Juri Linkov <juri@jurta.org>
10007 * emulation/vi.el (vi-shell-op):
10008 * emulation/vip.el (vip-execute-com, ex-command):
10009 * emulation/viper-cmd.el (viper-exec-bang):
10010 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
10011 the call of `shell-command-on-region'. (Bug#14637)
10013 * simple.el (shell-command-on-region): Doc fix.
10015 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10017 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
10020 2013-06-18 Glenn Morris <rgm@gnu.org>
10022 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
10024 * newcomment.el (comment-search-forward, comment-search-backward):
10025 Doc fix. (Bug#14376)
10027 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
10029 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
10030 (buffer-face-mode-invoke): Doc fix.
10032 2013-06-18 Matthias Meulien <orontee@gmail.com>
10034 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
10035 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
10037 2013-06-18 Glenn Morris <rgm@gnu.org>
10039 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
10040 Replace obsolete function generic-make-keywords with its expansion.
10042 * progmodes/python.el (ffap-alist): Declare.
10044 * textmodes/reftex.el (bibtex-mode-map): Declare.
10046 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
10048 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
10049 (package-unpack, package-unpack-single): Return the pkg-dir.
10050 (package-download-transaction): Use it to update package-alist.
10052 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
10054 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
10057 2013-06-17 Juri Linkov <juri@jurta.org>
10059 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
10061 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10063 * emacs-lisp/package.el (package-load-descriptor):
10064 Remove `with-syntax-table' call, `read' doesn't need it.
10065 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
10067 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10069 * startup.el (command-line): Expand package name returned by
10070 `package--description-file' (bug#14639).
10072 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
10074 * emacs-lisp/package.el (package-load-descriptor): Do not call
10075 `emacs-lisp-mode', just use its syntax table.
10077 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
10079 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
10080 `font-lock-extra-managed-props' if any prettifying keyword is added.
10081 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
10082 (prog-mode): Use `setq-local'.
10084 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
10086 * international/characters.el (standard-case-table): Set syntax of ?»
10087 and ?« to punctuation.
10089 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
10091 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
10092 Save relevant match data before calling `syntax-ppss' (bug#14595).
10094 2013-06-15 Juri Linkov <juri@jurta.org>
10096 * files-x.el (modify-file-local-variable-prop-line): Add local
10097 variables to the end of the existing comment on the first line.
10098 Use `file-auto-mode-skip' to skip interpreter magic line,
10099 and also skip XML declaration.
10101 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
10103 * startup.el (package--builtin-versions): New var.
10104 (package-subdirectory-regexp): Remove.
10105 (package--description-file): Hard code its value instead.
10107 * emacs-lisp/package.el: Don't activate packages older than builtin.
10108 (package-obsolete-list): Rename from package-obsolete-alist, and make
10109 it into a simple list of package-desc.
10110 (package-strip-version): Remove.
10111 (package-built-in-p): Use package--builtin-versions.
10112 (package-mark-obsolete): Simplify.
10113 (package-process-define-package): Mark it obsolete if older than the
10115 (package-handle-response): Use line-end-position.
10116 (package-read-archive-contents, package--download-one-archive):
10118 (package--add-to-archive-contents): Skip if older than the builtin or
10120 (package-menu-describe-package): Fix last change.
10121 (package-list-unversioned): New var.
10122 (package-menu--generate): Use it.
10124 * emacs-lisp/autoload.el: Manage package--builtin-versions.
10125 (autoload--insert-text, autoload--insert-cookie-text): New functions.
10126 (autoload-builtin-package-versions): New variable.
10127 (autoload-generate-file-autoloads): Use them.
10128 Remove the list of autoloaded functions/macros from the
10129 (autoload...) comments.
10131 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
10133 2013-06-15 Eli Zaretskii <eliz@gnu.org>
10135 * simple.el (line-move-partial): Don't jump to the next screen
10136 line as soon as it becomes visible. Instead, continue enlarging
10137 the vscroll until the portion of a tall screen line that's left on
10138 display is about the height of the frame's default font.
10141 2013-06-15 Glenn Morris <rgm@gnu.org>
10143 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
10144 compilation-error-regexp-alist void, or local while let-bound.
10146 * progmodes/make-mode.el (makefile-mode-syntax-table):
10147 Treat "=" as punctuation. (Bug#14614)
10149 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
10151 * help-fns.el (describe-variable):
10152 Add extra line for permanent-local variables.
10154 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
10156 * progmodes/scheme.el (scheme-font-lock-keywords-2):
10157 Add export, import, library. (Bug#9164)
10158 (library): Set indent function.
10160 2013-06-14 Glenn Morris <rgm@gnu.org>
10162 * term/xterm.el (xterm--query):
10163 Stop after first matching handler. (Bug#14615)
10165 2013-06-14 Ivan Kanis <ivan@kanis.fr>
10167 Add support for dired in saveplace.
10168 * dired.el (dired-initial-position-hook): New variable.
10169 (dired-initial-position): Call hook to place cursor position.
10170 * saveplace.el (save-place-to-alist): Add dired position.
10171 (save-place-dired-hook): New function.
10173 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
10175 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
10176 through a symbol rather than letrec.
10178 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
10179 (package-desc): Add `dir' field.
10180 (package-desc-full-name): New function.
10181 (package-load-descriptor): Combine the two arguments. Don't use `load'.
10182 (package-maybe-load-descriptor): Remove.
10183 (package-load-all-descriptors): Just call package-load-descriptor.
10184 (package--disabled-p): New function.
10185 (package-desc-vers, package-desc-doc): Remove aliases.
10186 (package--dir): Remove function.
10187 (package-activate): Check if a package is disabled.
10188 (package-process-define-package): New function, extracted from
10190 (define-package): Turn into a place holder.
10191 (package-unpack-single, package-tar-file-info):
10192 Use package--description-file.
10193 (package-compute-transaction): Use package--disabled-p.
10194 (package-download-transaction): Don't call
10195 package-maybe-load-descriptor since they're all loaded anyway.
10196 (package-install): Change argument to be a pkg-desc.
10197 (package-delete): Use a single pkg-desc argument.
10198 (describe-package-1): Use package-desc-dir instead of package--dir.
10199 Use package-desc property instead of package-symbol.
10200 (package-install-button-action): Adjust accordingly.
10201 (package--push): Rewrite.
10202 (package-menu--print-info): Adjust accordingly. Change the ID format
10204 (package-menu-describe-package, package-menu-get-status)
10205 (package-menu--find-upgrades, package-menu-mark-upgrades)
10206 (package-menu-execute, package-menu--name-predicate):
10207 Adjust accordingly.
10208 * startup.el (package--description-file): New function.
10209 (command-line): Use it.
10210 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10211 Use package-desc-version.
10213 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
10214 (byte-compile-preprocess): Use it.
10215 (byte-compile-file-form-defalias): Try a bit harder to use macros we
10216 can't quite recognize.
10217 (byte-compile-add-to-list): Remove.
10218 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
10219 (cconv-closure-convert): Add assertion.
10221 * emacs-lisp/map-ynp.el: Use lexical-binding.
10222 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10223 Factor out some repeated code.
10225 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10227 * subr.el (with-eval-after-load): New macro.
10228 (eval-after-load): Allow form to be a function.
10229 take advantage of lexical-binding.
10230 (do-after-load-evaluation): Use dolist and adjust to new format.
10231 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10233 2013-06-13 Juri Linkov <juri@jurta.org>
10235 * replace.el (perform-replace): Display "symbol " and other search
10236 modes from `isearch-message-prefix' in the *Help* buffer.
10238 * isearch.el (isearch-query-replace): Add " symbol" and other
10239 possible search modes from `isearch-message-prefix' to the prompt.
10240 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10241 when reading a regexp to collect.
10243 2013-06-13 Juri Linkov <juri@jurta.org>
10245 * isearch.el (word-search-regexp): Match whitespace if the search
10246 string begins or ends in whitespace. The LAX arg is applied to
10247 both ends of the search string. Use `regexp-quote' and explicit
10248 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10249 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10250 boundaries are replaced with symbol boundaries, and characters
10251 between symbols match non-word non-symbol syntax. (Bug#14602)
10253 2013-06-13 Juri Linkov <juri@jurta.org>
10255 * isearch.el (isearch-del-char): Don't exceed the length of
10256 `isearch-string' by the prefix arg. (Bug#14563)
10258 2013-06-13 Juri Linkov <juri@jurta.org>
10260 * isearch.el (isearch-yank-word, isearch-yank-line)
10261 (isearch-char-by-name, isearch-quote-char)
10262 (isearch-printing-char, isearch-process-search-char):
10263 Add optional count prefix arg. (Bug#14563)
10265 * international/isearch-x.el
10266 (isearch-process-search-multibyte-characters):
10267 Add optional count prefix arg.
10269 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10271 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10272 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10275 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10277 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10279 2013-06-13 Glenn Morris <rgm@gnu.org>
10281 * startup.el (tty-handle-args):
10282 Don't just discard "--" and anything after. (Bug#14608)
10284 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10286 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10288 Implement changes in Secret Service API. Make it backward compatible.
10289 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10290 (secrets-create-item): Use it. Prefix properties with interface.
10292 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10294 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10295 (term-emulate-terminal): Respect term-suppress-hard-newline.
10297 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10299 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10300 Only remove a `thumb-file' overlay. (Bug#14548)
10302 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10304 * mail/reporter.el (reporter-submit-bug-report):
10305 Handle missing package-name. (Bug#14600)
10307 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10309 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10310 (reftex-citation-prompt, reftex-default-bibliography)
10311 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10312 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10313 (reftex-bib-sort-author, reftex-bib-sort-year)
10314 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10315 (reftex-extract-bib-entries-from-thebibliography)
10316 (reftex-get-bibkey-default, reftex-get-bib-names)
10317 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10318 (reftex-format-bib-entry, reftex-parse-bibitem)
10319 (reftex-format-bibitem, reftex-do-citation)
10320 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10321 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10322 (reftex-insert-bib-matches, reftex-format-citation)
10323 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10324 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10325 existing comments into docstrings.
10327 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10329 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10331 2013-06-12 Andreas Schwab <schwab@suse.de>
10333 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10334 for auto-save files.
10336 2013-06-12 Glenn Morris <rgm@gnu.org>
10338 * ido.el (ido-delete-ignored-files): Remove.
10339 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10340 Go back to calling ido-ignore-item-p directly.
10342 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10344 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10346 * ido.el (ido-delete-ignored-files): New function,
10347 split from ido-make-file-list-1.
10348 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10349 (ido-make-file-list-1): Use ido-delete-ignored-files.
10351 2013-06-12 Leo Liu <sdl.web@gmail.com>
10353 * progmodes/octave.el (inferior-octave-startup)
10354 (inferior-octave-completion-table)
10355 (inferior-octave-track-window-width-change)
10356 (octave-eldoc-function-signatures, octave-help)
10357 (octave-find-definition): Use single quoted strings.
10358 (inferior-octave-startup-args): Change default value.
10359 (inferior-octave-startup): Do not hard code "-i" and
10360 "--no-line-editing".
10361 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10362 (inferior-octave-directory-tracker): Use it.
10363 (octave-goto-function-definition): Robustify.
10364 (octave-help): Support highlighting operators in 'See also'.
10365 (octave-find-definition): Find subfunctions only in Octave mode.
10367 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10369 * help-fns.el (help-fns--compiler-macro): If the handler function is
10370 named, then put a link to it.
10371 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10372 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10373 (cl-typep): Use it.
10374 (cl-eval-when): Simplify debug spec.
10375 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10376 compiler-macro function instead of setting `compiler-macro-file'.
10378 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10380 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10381 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10383 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10384 Daniel Hackney <dan@haxney.org>
10386 First part of Daniel Hackney's patch to package.el.
10387 * emacs-lisp/package.el: Use defstruct.
10388 (package-desc): New, main struct.
10389 (package--bi-desc, package--ac-desc): New structs, used to describe the
10390 format in external files.
10391 (package-desc-vers): Replace with package-desc-version accessor.
10392 (package-desc-doc): Replace with package-desc-summary accessor.
10393 (package-activate-1): Remove `package' arg since the pkg-vec now
10395 (define-package): Use package-desc-from-define.
10396 (package-unpack-single): Change file-name arg to be a symbol.
10397 (package--add-to-archive-contents): Use package-desc-create and new
10398 accessor functions to package--ac-desc.
10399 (package-buffer-info, package-tar-file-info): Return a package-desc.
10400 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10401 arg to be a package-desc.
10402 (package-install-file): Adjust accordingly. Use \' to match EOS.
10403 (package--from-builtin): New function.
10404 (describe-package-1, package-menu--generate): Use it.
10405 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10406 (package-generate-autoloads): Idem and return the name of the file.
10407 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10408 Change pkg-info arg to be a package-desc.
10409 Use package-make-ac-desc.
10410 (package-upload-file): Use \' to match EOS.
10411 * finder.el (finder-compile-keywords): Use package-make-builtin.
10413 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10415 * vc/vc.el (vc-deduce-fileset): Change error message.
10416 (vc-read-backend): New function.
10417 (vc-next-action): Use it.
10419 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10421 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10422 (prolog-font-lock-keywords): Use regexp-opt instead.
10423 Don't manually highlight strings.
10424 (prolog-mode-variables): Simplify comment-start-skip.
10425 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10427 * emacs-lisp/generic.el (generic--normalise-comments)
10428 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10429 (generic-mode-set-comments): Use them.
10430 (generic-bracket-support): Use setq-local.
10431 (generic-make-keywords-list): Declare obsolete.
10433 2013-06-11 Glenn Morris <rgm@gnu.org>
10435 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10436 Prettify after setting font-lock-defaults. (Bug#14574)
10438 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10440 * replace.el (query-replace, occur-read-regexp-defaults-function)
10442 * subr.el (declare-function, number-sequence, local-set-key)
10443 (substitute-key-definition, locate-user-emacs-file)
10444 (with-silent-modifications, split-string, eval-after-load):
10445 Fix typos, remove unneeded backslashes and reflow some docstrings.
10447 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10449 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10450 default for Elisp files.
10452 2013-06-11 Glenn Morris <rgm@gnu.org>
10454 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10455 although define-derived-mode was doing this anyway. (Bug#14583)
10457 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10459 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10460 Fix make-variable-buffer-local call to refer to the correct variable.
10462 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10464 * eshell/em-term.el (eshell-visual-commands)
10465 (eshell-visual-subcommands, eshell-visual-options):
10466 Add summary line to docstrings. Add cross-references.
10468 2013-06-10 Glenn Morris <rgm@gnu.org>
10470 * epa.el (epa-read-file-name): New function. (Bug#14510)
10471 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10473 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10475 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10476 output redirection to be ignored with visual commands.
10478 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10480 * eshell/em-term.el (eshell-visual-command-p): New function.
10481 (eshell-term-initialize): Move long lambda to separate function
10482 eshell-visual-command-p.
10483 * eshell/em-dirs.el (eshell-dirs-initialise):
10484 * eshell/em-script.el (eshell-script-initialize):
10485 Add missing #' to lambda.
10487 2013-06-08 Leo Liu <sdl.web@gmail.com>
10489 * progmodes/octave.el (octave-add-log-current-defun): New function.
10490 (octave-mode): Set add-log-current-defun-function.
10491 (octave-goto-function-definition): Do not move point if not found.
10492 (octave-find-definition): Enhance to try subfunctions first.
10494 2013-06-08 Glenn Morris <rgm@gnu.org>
10496 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10497 (byte-compile-backward-char, byte-compile-backward-word):
10498 Improve previous change, to handle non-explicit nil.
10500 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10502 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10503 (smie--opener/closer-at-point): New function.
10504 (smie--matching-block-data): Use it. Don't match from right after an
10505 opener or right before a closer. Obey smie-blink-matching-inners.
10506 Don't signal a mismatch for repeated inners like "switch..case..case".
10508 2013-06-07 Leo Liu <sdl.web@gmail.com>
10510 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10512 (octave-function-header-regexp): Fix. (Bug#14570)
10513 (octave-help-mode-finish-hook, octave-help-mode-finish):
10514 Remove. Just use temp-buffer-show-hook.
10516 * newcomment.el (comment-search-backward): Revert last change.
10519 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10521 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10523 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10524 through xargs, to avoid failure due to MS-Windows limitations on
10525 command-line length.
10527 2013-06-06 Glenn Morris <rgm@gnu.org>
10529 * font-lock.el (lisp-font-lock-keywords-2):
10530 Treat user-error like error.
10532 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10533 (byte-compile-backward-char, byte-compile-backward-word):
10534 Handle explicit nil arguments. (Bug#14565)
10536 2013-06-05 Alan Mackenzie <acm@muc.de>
10538 * isearch.el (isearch-allow-prefix): New user option.
10539 (isearch-other-meta-char): Don't exit isearch when a prefix
10540 argument is typed whilst `isearch-allow-prefix' is non-nil.
10543 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10545 * autorevert.el (auto-revert-notify-handler): Use memq.
10546 Hide assertion failure.
10548 * skeleton.el: Use cl-lib.
10549 (skeleton-further-elements): Use defvar-local.
10550 (skeleton-insert): Use cl-progv.
10552 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10554 * progmodes/prog-mode.el (prog-prettify-symbols)
10555 (prog-prettify-install): Update docstrings.
10557 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10559 * simple.el: Move all the prog-mode code to prog-mode.el.
10560 * progmodes/prog-mode.el: New file.
10561 * loadup.el: Add prog-mode.el.
10563 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10565 * simple.el (prog-prettify-symbols): Add version.
10566 (prog-prettify-install): Add convenience function to prettify symbols.
10568 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10569 (perl--augmented-font-lock-keywords-1)
10570 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10571 variables and use it.
10573 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10574 (cfengine3-mode): Remove unneeded variable and use it.
10576 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10577 (lisp--augmented-font-lock-keywords-1)
10578 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10579 Remove unneeded variables and use it.
10581 2013-06-05 João Távora <joaotavora@gmail.com>
10583 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10584 to point when opening the connection. (Bug#14380)
10586 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10588 * subr.el (load-history-regexp, load-history-filename-element)
10589 (eval-after-load, after-load-functions, do-after-load-evaluation)
10590 (eval-next-after-load, display-delayed-warnings)
10591 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10592 definition of save-match-data.
10593 (overriding-local-map): Remove accidental obsolescence declaration.
10595 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10597 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10599 Generalize symbol prettify support to prog-mode and implement it
10600 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10601 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10602 (prog--prettify-font-lock-compose-symbol)
10603 (prog-prettify-font-lock-symbols-keywords): New variables and
10604 functions to support symbol prettification.
10605 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10606 (lisp--augmented-font-lock-keywords-1)
10607 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10608 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10609 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10610 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10611 Implement prettify of -> => :: strings.
10612 * progmodes/perl-mode.el (perl-prettify-symbols)
10613 (perl--font-lock-compose-symbol)
10614 (perl--font-lock-symbols-keywords): Move to prog-mode.
10615 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10616 (perl-font-lock-keywords-1)
10617 (perl-font-lock-keywords-2): Remove explicit prettify support.
10618 (perl--augmented-font-lock-keywords)
10619 (perl--augmented-font-lock-keywords-1)
10620 (perl--augmented-font-lock-keywords-2, perl-mode):
10621 Implement prettify support.
10623 2013-06-05 Leo Liu <sdl.web@gmail.com>
10625 Re-implement smie matching block highlight using
10626 show-paren-data-function. (Bug#14395)
10627 * emacs-lisp/smie.el (smie-matching-block-highlight)
10628 (smie--highlight-matching-block-overlay)
10629 (smie--highlight-matching-block-lastpos)
10630 (smie-highlight-matching-block)
10631 (smie-highlight-matching-block-mode): Remove.
10632 (smie--matching-block-data-cache): New variable.
10633 (smie--matching-block-data): New function.
10634 (smie-setup): Use smie--matching-block-data for
10635 show-paren-data-function.
10637 * progmodes/octave.el (octave-mode-menu): Fix.
10638 (octave-find-definition): Skip garbage lines.
10640 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10642 Fix compilation error with simultaneous dynamic+lexical scoping.
10643 Add warning when a defvar appears after the first let-binding.
10644 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10645 (byte-compile-close-variables): Initialize it.
10646 (byte-compile--declare-var): New function.
10647 (byte-compile-file-form-defvar)
10648 (byte-compile-file-form-define-abbrev-table)
10649 (byte-compile-file-form-custom-declare-variable): Use it.
10650 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10651 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10652 (byte-compile-bind): Handle dynamic bindings that shadow
10654 (byte-compile-unbind): Make arg non-optional.
10655 (byte-compile-let): Simplify.
10656 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10657 (cconv--analyse-function, cconv-analyse-form): Populate it.
10658 Protect byte-compile-bound-variables to limit the scope of defvars.
10659 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10660 Remove unneeded rule for `declare'.
10662 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10663 so as to avoid depending on cl-adjoin at run-time.
10664 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10666 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10667 (macroexp--warn-and-return): Use it.
10669 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10671 * subr.el: Convert to lexical binding.
10672 (overriding-local-map): Make obsolete.
10673 (add-to-list): Doc fix. Add compiler macro.
10674 (read-key): Swap values of local maps.
10676 2013-06-05 Leo Liu <sdl.web@gmail.com>
10678 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10680 2013-06-04 Leo Liu <sdl.web@gmail.com>
10682 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10683 (compilation-auto-jump): Suppress the "Mark set" message to give
10684 way to exit message.
10686 2013-06-04 Alan Mackenzie <acm@muc.de>
10688 Remove faulty optimisation from indentation calculation.
10689 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10690 search limit based on 2000 characters back from indent-point.
10692 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10694 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10696 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10698 * emacs-lisp/lisp.el: Use lexical-binding.
10699 (lisp--local-variables-1, lisp--local-variables): New functions.
10700 (lisp--local-variables-completion-table): New var.
10701 (lisp-completion-at-point): Use it complete let-bound vars.
10703 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10704 eagerly (bug#14422).
10706 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10708 * autorevert.el (auto-revert-notify-enabled)
10709 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10710 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10711 (auto-revert-notify-handler): Handle also gfilenotify.
10713 * subr.el (file-notify-handle-event): New defun. Replacing ...
10714 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10717 2013-06-03 Juri Linkov <juri@jurta.org>
10719 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10720 `M-s h .'. (Bug#14427)
10722 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10723 command `hi-lock-face-symbol-at-point'.
10724 (hi-lock-face-symbol-at-point): New command.
10725 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10726 (hi-lock-menu): Add `highlight-symbol-at-point'.
10727 (hi-lock-mode): Doc fix.
10729 * isearch.el (isearch-forward-symbol-at-point): New command.
10730 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10731 (isearch-highlight-regexp): Add a regexp which matches
10732 words/symbols for word/symbol mode.
10734 * subr.el (find-tag-default-bounds): New function with the body
10735 mostly moved from `find-tag-default'.
10736 (find-tag-default): Move most code to `find-tag-default-bounds',
10737 call it and apply `buffer-substring-no-properties' afterwards.
10739 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10741 * eshell/em-term.el (eshell-term-initialize):
10742 Use `cl-intersection' rather than `intersection'.
10744 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10746 * vc/log-view.el: Doc fix.
10747 (log-view-mode-map): Copy keymap from `special-mode-map'.
10749 2013-06-02 Eric Ludlam <zappo@gnu.org>
10751 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10752 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10753 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10754 (eieio-unbound, eieio-default-superclass)
10755 (eieio--define-field-accessors, method-static, method-before)
10756 (method-primary, method-after, method-num-lists)
10757 (method-generic-before, method-generic-primary)
10758 (method-generic-after, method-num-slots)
10759 (eieio-specialized-key-to-generic-key)
10760 (eieio--check-type, class-v, class-p)
10761 (eieio-class-name, define-obsolete-function-alias)
10762 (eieio-class-parents-fast, eieio-class-children-fast)
10763 (same-class-fast-p, class-constructor, generic-p)
10764 (generic-primary-only-p, generic-primary-only-one-p)
10765 (class-option-assoc, class-option, eieio-object-p)
10766 (class-abstract-p, class-method-invocation-order)
10767 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10768 (eieio-class-un-autoload, eieio-defclass)
10769 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10770 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10771 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10772 (eieio-defgeneric-reset-generic-form)
10773 (eieio-defgeneric-form-primary-only)
10774 (eieio-defgeneric-reset-generic-form-primary-only)
10775 (eieio-defgeneric-form-primary-only-one)
10776 (eieio-defgeneric-reset-generic-form-primary-only-one)
10777 (eieio-unbind-method-implementations)
10778 (eieio--defmethod, eieio--typep)
10779 (eieio-perform-slot-validation, eieio-validate-slot-value)
10780 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10781 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10782 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10783 (eieio-slot-name-index, eieio-class-slot-name-index)
10784 (eieio-set-defaults, eieio-initarg-to-attribute)
10785 (eieio-attribute-to-initarg, eieio-c3-candidate)
10786 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10787 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10788 (eieio-class-precedence-list, eieio-generic-call-methodname)
10789 (eieio-generic-call-arglst, eieio-generic-call-key)
10790 (eieio-generic-call-next-method-list)
10791 (eieio-pre-method-execution-functions, eieio-generic-call)
10792 (eieio-generic-call-primary-only, eieiomt-method-list)
10793 (eieiomt-optimizing-obarray, eieiomt-install)
10794 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10795 (eieio-generic-form, eieio-defmethod, make-obsolete)
10796 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10797 (defclass): Remove `eval-and-compile' from macro.
10798 (call-next-method, shared-initialize): Instead of using
10799 `scoped-class' variable, use new eieio--scoped-class, and
10800 eieio--with-scoped-class.
10801 (initialize-instance): Rename local variable 'scoped-class' to
10802 'this-class' to remove ambiguitity from old global.
10804 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10806 (eieio--scoped-class-stack): New variable.
10807 (eieio--scoped-class): New fcn.
10808 (eieio--with-scoped-class): New scoping macro.
10809 (eieio-defclass): Use pushnew instead of add-to-list.
10810 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10811 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10812 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10813 `scoped-class' variable, use new eieio--scoped-class, and
10814 eieio--with-scoped-class.
10816 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10818 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10820 * eshell/esh-ext.el (eshell-external-command): Pass args to
10821 `eshell-find-interpreter'.
10822 (eshell-find-interpreter): Add new second parameter ARGS.
10824 * eshell/em-script.el (eshell-script-initialize): Add second arg
10825 to the function added as MATCH to `eshell-interpreter-alist'.
10827 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10828 the function added as MATCH to `eshell-interpreter-alist'.
10830 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10831 (eshell-visual-options): New defcustom.
10832 (eshell-escape-control-x): Adapt docstring.
10833 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10834 `eshell-visual-options' in addition to `eshell-visual-commands'.
10835 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10837 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10839 * progmodes/python.el (python-indent-block-enders): Add break,
10840 continue and raise keywords.
10842 2013-06-01 Glenn Morris <rgm@gnu.org>
10844 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10846 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10847 * progmodes/cc-cmds.el (delete-forward-p):
10848 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10849 * progmodes/cc-engine.el (buffer-syntactic-context):
10850 * progmodes/cc-fonts.el (face-property-instance):
10851 * progmodes/cc-mode.el (set-keymap-parents):
10852 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10853 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10854 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10855 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10856 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10858 * progmodes/cc-vars.el (other): Emacs has this widget since
10859 at least 21.1, so don't (re)define it.
10861 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10862 Replace the obsolete alias pcomplete-arg-quote-list.
10864 2013-06-01 Leo Liu <sdl.web@gmail.com>
10866 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10867 punctuation syntax.
10868 (inferior-octave-minimal-columns)
10869 (inferior-octave-last-column-width): New variables.
10870 (inferior-octave-track-window-width-change): New function.
10871 (inferior-octave-mode): Adjust column width so that Octave output,
10872 for example from 'ls', can fit into the window nicely.
10874 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10876 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10877 Highlight expansions inside regexp literals.
10879 2013-05-31 Glenn Morris <rgm@gnu.org>
10881 * obsolete/sym-comp.el (symbol-complete):
10882 Replace obsolete completion-annotate-function.
10884 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10886 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10888 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10889 New function, checks if point is inside a literal that allows
10890 expression expansion.
10891 (ruby-syntax-propertize-expansion): Use it.
10892 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10895 2013-05-30 Juri Linkov <juri@jurta.org>
10897 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10899 (isearch-invisible): New variable.
10900 (isearch-forward): Doc fix.
10901 (isearch-mode): Set `isearch-invisible'
10902 to the value of `search-invisible'.
10903 (isearch-toggle-case-fold): Doc fix.
10904 (isearch-toggle-invisible): New command.
10905 (isearch-query-replace): Let-bind `search-invisible'
10906 to the value of `isearch-invisible'.
10907 (isearch-search): Use `isearch-invisible' instead of
10908 `search-invisible'. Let-bind `search-invisible'
10909 to the value of `isearch-invisible'. (Bug#11378)
10911 2013-05-30 Juri Linkov <juri@jurta.org>
10913 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10914 call when `query-flag' is nil and `search-invisible' is non-nil.
10917 2013-05-30 Glenn Morris <rgm@gnu.org>
10919 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10921 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10922 (cc-require): Suppress spurious "noruntime" warnings.
10923 (cc-require-when-compile): Use fboundp, for sake of compiler.
10925 * progmodes/cc-mode.el: Move load of cc-vars before that of
10926 cc-langs (which in turn loads cc-vars), to quieten compiler.
10928 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10930 * paren.el: Simplify the code.
10931 (show-paren-mode): Always start the timer.
10932 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10933 (show-paren--overlay, show-paren--overlay-1): Rename from
10934 show-paren-overlay and show-paren-overlay-1, and initialize to an
10935 overlay rather than to nil.
10936 (show-paren-function): Misc cleanup and simplifications.
10938 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10940 * paren.el (show-paren-data-function): New hook.
10941 (show-paren--default): New function, extracted from show-paren-function.
10942 (show-paren-function): Use show-paren-data-function.
10944 2013-05-30 Glenn Morris <rgm@gnu.org>
10946 * ielm.el (ielm-map, ielm-complete-symbol):
10947 Use completion-at-point rather than obsolete functions.
10948 (inferior-emacs-lisp-mode): Doc fix.
10949 Set completion-at-point-functions, rather than
10950 comint-dynamic-complete-functions.
10952 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10953 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10954 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10956 * image.el (image-animated-p): Tweak definition.
10958 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10959 (rlogin-process-connection-type): Tweak default. Add set-after.
10960 (rlogin-host): Doc fix.
10961 (rlogin): Tweak prompt.
10962 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10964 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10965 * progmodes/tcl.el (inferior-tcl-mode-map):
10966 Use completion-at-point rather than obsolete alias.
10968 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10970 * minibuffer.el (read-file-name-completion-ignore-case):
10971 Move before completion--in-region, for eager macro expansion.
10973 2013-05-29 Juri Linkov <juri@jurta.org>
10975 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10976 for total count of matching lines. Add `global-matches' for total
10977 count of matches. Rename `matches' to `lines' for count of
10978 matching lines. Add `matches' for count of matches.
10979 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10980 to `prev-line' for line number of prev match endpt.
10981 Increment `matches' for every match. Print the number of
10982 matching lines in the header.
10983 (occur-context-lines): Rename `lines' to `curr-line'.
10984 Rename `prev-lines' to `prev-line'. (Bug#14017)
10986 2013-05-29 Juri Linkov <juri@jurta.org>
10988 * replace.el (perform-replace): Add `skip-read-only-count',
10989 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10990 Increment them for corresponding conditions and report the number
10991 of skipped occurrences in the final message. (Bug#11746)
10992 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10993 (replace-string, replace-regexp): Doc fix.
10995 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10997 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10999 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
11000 prog-mode-map (bug#14504).
11002 2013-05-29 Leo Liu <sdl.web@gmail.com>
11004 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
11005 (octave-help): Small simplification.
11007 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
11008 off the highlight first.
11010 2013-05-29 Glenn Morris <rgm@gnu.org>
11012 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
11013 Handle idlwave-last-system-routine-info-cons-cell being nil.
11015 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
11016 (idlwave-write-paths): Simplify via with-temp-buffer.
11018 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
11019 * emulation/cua-rect.el: Also load cua-base at run time.
11021 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
11022 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
11023 (cperl-imenu-on-info): Require imenu.
11025 2013-05-28 Alan Mackenzie <acm@muc.de>
11027 Handle "capitalised keywords" correctly.
11028 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
11030 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
11032 * eshell/em-unix.el: Add -r option to cp.
11034 2013-05-28 Glenn Morris <rgm@gnu.org>
11036 * vc/vc-arch.el (vc-exec-after): Declare.
11037 (vc-switches): Autoload.
11038 * vc/vc-bzr.el: No need to require vc when compiling.
11039 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
11040 (vc-resynch-buffer, vc-dir-refresh): Declare.
11041 (vc-setup-buffer, vc-switches): Autoload.
11042 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
11043 (vc-resynch-buffer): Declare.
11044 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
11045 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
11046 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
11047 (grep-read-regexp, grep-read-files, grep-expand-template)
11048 (vc-dir-refresh): Declare.
11049 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
11050 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
11051 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
11052 * vc/vc-mtn.el (vc-exec-after): Declare.
11053 (vc-switches): Autoload.
11054 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
11055 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
11056 (vc-file-tree-walk): Declare.
11057 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
11058 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
11059 (vc-tag-precondition, vc-rename-master): Autoload.
11060 * vc/vc-svn.el (vc-exec-after): Declare.
11061 (vc-switches, vc-setup-buffer): Autoload.
11062 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
11064 (vc-resynch-buffer): Declare.
11066 * obsolete/fast-lock.el (byte-compile-warnings):
11067 Don't warn about obsolete features in this obsolete file.
11069 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
11070 Move definition before use.
11072 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
11073 (dun-unix-verbs): Remove dun-zippy.
11074 (dun-zippy): Remove function.
11076 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
11078 2013-05-27 Juri Linkov <juri@jurta.org>
11080 * replace.el (replace-search): New function with code moved out
11081 from `perform-replace'.
11082 (replace-highlight, replace-dehighlight): Move function definitions
11083 up closer to `replace-search'. (Bug#11746)
11085 2013-05-27 Juri Linkov <juri@jurta.org>
11087 * replace.el (perform-replace): Ignore invisible matches.
11088 In addition to checking `query-replace-skip-read-only', also
11089 filter out matches by calling `run-hook-with-args-until-failure'
11090 on `isearch-filter-predicates', and also check `search-invisible'
11091 for t or call `isearch-range-invisible'.
11092 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
11094 2013-05-27 Juri Linkov <juri@jurta.org>
11096 * isearch.el (isearch-filter-predicates): Rename from
11097 `isearch-filter-predicate'. Doc fix. (Bug#11378)
11098 (isearch-message-prefix): Display text from the property
11099 `isearch-message-prefix' of the currently active filters.
11100 (isearch-search): Don't compare `isearch-filter-predicate' with
11101 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
11102 on `isearch-filter-predicates'. Also check `search-invisible' for t
11103 or call `isearch-range-invisible'.
11104 (isearch-filter-visible): Make obsolete.
11105 (isearch-lazy-highlight-search):
11106 Call `run-hook-with-args-until-failure' on
11107 `isearch-filter-predicates' and use `isearch-range-invisible'.
11109 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
11110 `isearch-filter-predicates' instead of `funcall'ing
11111 `isearch-filter-predicate'.
11112 (Info-mode): Set `Info-isearch-filter' to
11113 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
11115 * dired-aux.el (dired-isearch-filter-predicate-orig):
11117 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
11118 (dired-isearch-filenames-end): Add and remove
11119 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
11120 instead of changing the value of `isearch-filter-predicate'.
11121 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
11122 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
11123 Put property `isearch-message-prefix' to "filename " on
11124 `dired-isearch-filter-filenames'.
11126 * wdired.el (wdired-change-to-wdired-mode):
11127 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
11128 locally instead of changing `isearch-filter-predicate'.
11129 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
11131 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
11133 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
11134 return the commit hash (Bug#14459). Also set the
11135 `vc-git-detached' property.
11136 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
11137 (vc-git-mode-line-string): Use the same help-echo format whether
11138 in detached mode or not, because we know the actual revision now.
11139 When in detached mode, shorten the revision to 7 chars.
11141 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11143 * emacs-lisp/easy-mmode.el (define-minor-mode):
11144 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
11145 mode hook and provide a docstring.
11147 2013-05-27 Alan Mackenzie <acm@muc.de>
11149 Remove spurious syntax-table text properties inserted by C-y.
11150 * progmodes/cc-mode.el (c-after-change): Also clear hard
11151 syntax-table property with value nil.
11153 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
11155 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
11156 when reading the events; the buffer layout shall not be changed.
11158 2013-05-27 Leo Liu <sdl.web@gmail.com>
11160 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
11162 (inferior-octave-directory-tracker): Automatically re-sync
11164 (octave-help): Improve handling of 'See also'.
11166 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
11168 * doc-view.el: Minor naming convention tweaks.
11169 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
11171 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
11172 even if there's no `display' property yet (bug#14435).
11174 2013-05-25 Eli Zaretskii <eliz@gnu.org>
11176 * subr.el (unmsys--file-name): Rename from reveal-filename.
11178 * Makefile.in (custom-deps, finder-data, autoloads)
11179 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11180 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11181 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
11183 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11185 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
11186 error-completion on the first 2 args of condition-case (bug#14446).
11189 2013-05-25 Leo Liu <sdl.web@gmail.com>
11191 * comint.el (comint-previous-matching-input): Do not flood the
11192 *Messages* buffer with trivial messages.
11194 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
11196 * progmodes/flymake.el (flymake-nop): Don't return a string.
11197 (flymake-set-at): Fix typo.
11199 * simple.el (read--expression): New function, extracted from
11200 eval-expression. Set completion-at-point-functions (bug#14465).
11201 (eval-expression, eval-minibuffer): Use it.
11203 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
11205 * progmodes/flymake.el (flymake-save-buffer-in-file)
11206 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
11207 (flymake-selected-frame, flymake-log, flymake-ins-after)
11208 (flymake-set-at, flymake-get-buildfile-from-cache)
11209 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
11210 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
11211 Refine the doc string.
11212 (flymake-get-file-name-mode-and-masks): Reformat.
11213 (flymake-get-real-file-name-function): Fix a minor bug.
11215 2013-05-24 Juri Linkov <juri@jurta.org>
11217 * progmodes/grep.el (grep-mode-font-lock-keywords):
11218 Support =linenumber= format used by git-grep for lines with
11219 function names. (Bug#13549)
11221 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11223 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11224 0 after a semi-colon; it works better for smie-auto-fill.
11225 (octave--indent-new-comment-line): New function.
11226 (octave-indent-new-comment-line): Use it (indirectly).
11227 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11228 modify comment-line-break-function.
11230 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11231 (smie-setup): Use add-function to set it.
11233 2013-05-24 Sam Steingold <sds@gnu.org>
11235 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11236 argument (before the `interactive' argument).
11238 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11240 * image-mode.el (image-mode-winprops): Add winprops to
11241 image-mode-winprops-alist before running
11242 image-mode-new-window-functions.
11243 * doc-view.el (doc-view-new-window-function): Don't delay
11244 doc-view-goto-page via timers (bug#14435).
11246 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11248 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11249 (doc-view-desktop-save-buffer): New function.
11250 (doc-view-restore-desktop-buffer): New function.
11251 (desktop-buffer-mode-handlers):
11252 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11254 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11255 `desktop-save-buffer' function.
11257 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11259 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11260 (tramp-gvfs-file-name-handler): Raise a user error when
11261 `tramp-gvfs-enabled' is nil.
11262 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11263 Do not raise a user error when loading package. (Bug#14447)
11265 * net/xesam.el: Move to obsolete/.
11267 2013-05-24 Glenn Morris <rgm@gnu.org>
11269 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11271 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11273 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11274 (Info-find-node, Man-getpage-in-background): Declare.
11276 * mail/unrmail.el (unrmail):
11277 Replace obsolete detect-coding-with-priority.
11279 * net/socks.el (socks-split-string): Use this rather than split-string.
11280 (socks-nslookup-host): Update for above change.
11281 (dynamic-choice, s5-dynamic-choice-match)
11282 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11283 Comment out unused code.
11285 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11286 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11287 (gud-tooltip-echo-area): Make obsolete.
11288 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11290 * progmodes/js.el (js--optimize-arglist): Declare.
11292 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11294 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11295 (ediff-window-C): Declare.
11297 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11298 Tweak requires to silence compiler.
11300 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11301 (he-search-string, he-tried-table, he-expand-list)
11302 (he-init-string, he-string-member, he-substitute-string)
11303 (he-reset-string): Declare.
11305 * obsolete/options.el (list-options): Use custom-variable-p,
11306 rather than obsolete alias.
11308 2013-05-23 Sam Steingold <sds@gnu.org>
11310 * simple.el (shell-command-on-region): Pass the `replace' argument
11311 down to `call-process-region' to comply with the doc as reported on
11312 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11314 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11316 * emacs-lisp/smie.el (smie-indent-forward-token)
11317 (smie-indent-backward-token): Handle string tokens (bug#14381).
11319 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11321 * ielm.el (ielm-menu): New menu.
11322 (inferior-emacs-lisp-mode): Set comment-start.
11324 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11326 * textmodes/reftex.el (reftex-ref-style-toggle):
11327 Fix deactivate action.
11329 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11330 Add cleveref macros.
11332 * textmodes/reftex-parse.el
11333 (reftex-locate-bibliography-files): Accept options for
11334 bibliography commands.
11335 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11336 Add addbibresource. Basic Biblatex support.
11338 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11340 * net/tramp-gvfs.el (top):
11341 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11342 when loading package. (Bug#14447)
11344 2013-05-23 Glenn Morris <rgm@gnu.org>
11346 * progmodes/js.el: No need to load comint when compiling.
11347 (ring-insert, comint-send-string, comint-send-input)
11348 (comint-last-input-end, ido-chop): Declare.
11350 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11351 * vc/ediff-mult.el: Adjust requires.
11352 (ediff-directories-internal, ediff-directory-revisions-internal)
11353 (ediff-patch-file-internal): Declare.
11354 * vc/ediff-ptch.el: Adjust requires.
11355 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11356 (ediff-find-file): Autoload.
11357 * vc/ediff-util.el: No need to load ediff when compiling.
11358 (ediff-regions-internal): Declare.
11359 * vc/ediff-wind.el: Adjust requires.
11360 (ediff-compute-toolbar-width): Define when compiling.
11361 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11362 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11363 (dired-get-filename, dired-get-marked-files)
11364 (ediff-last-dir-patch, ediff-patch-default-directory)
11365 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11366 (ediff-patch-buffer-internal): Declare.
11368 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11369 (ispell-process, ispell-buffer-local-words, lm-summary)
11370 (lm-section-start, lm-section-end): Declare.
11371 (checkdoc-ispell-init): Simplify.
11373 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11374 (he-string-member, he-reset-string, he-substitute-string): Declare.
11376 * eshell/em-ls.el: Adjust requires.
11377 (eshell-glob-regexp): Declare.
11378 * eshell/em-tramp.el: Adjust requires.
11379 (eshell-parse-command): Autoload.
11380 * eshell/em-xtra.el: Adjust requires.
11381 (eshell-parse-command): Autoload.
11382 * eshell/esh-ext.el: Adjust requires.
11383 (eshell-parse-command, eshell-close-handles): Autoload.
11384 * eshell/esh-io.el: Adjust requires.
11385 (eshell-output-filter): Autoload.
11386 * eshell/esh-util.el: No need to load tramp when compiling.
11387 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11389 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11390 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11391 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11392 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11393 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11394 * eshell/esh-opt.el, eshell/esh-proc.el:
11395 * eshell/esh-var.el: Adjust requires.
11396 * eshell/eshell.el: Do not require esh-util twice.
11397 (eshell-add-input-to-history): Declare.
11398 (eshell-command): Check history module is active before using it.
11400 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11402 2013-05-22 Leo Liu <sdl.web@gmail.com>
11404 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11406 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11408 * autorevert.el (auto-revert-notify-add-watch)
11409 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11410 it indicates changes in file modification time.
11412 2013-05-22 Glenn Morris <rgm@gnu.org>
11414 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11415 Always delete the autoloaded function from the noruntime and
11416 unresolved functions lists.
11418 * allout.el: No need to load epa, epg, overlay when compiling.
11419 (epg-context-set-passphrase-callback, epg-list-keys)
11420 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11421 (epg-key-user-id-list): Declare.
11423 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11424 (viper-set-parsing-style-toggling-macro)
11425 (viper-set-emacs-state-searchstyle-macros):
11426 Use called-interactively-p on Emacs.
11427 (viper-looking-back): Make it an obsolete alias. Update callers.
11428 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11429 Use looking-back rather than viper-looking-back.
11430 (viper-tmp-insert-at-eob, viper-enlarge-region)
11431 (viper-read-string-with-history, viper-register-to-point)
11432 (viper-append-to-register, viper-change-state-to-vi)
11433 (viper-backward-char-carefully, viper-forward-char-carefully)
11434 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11435 (viper-change-state-to-emacs): Declare.
11436 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11437 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11438 * emulation/viper-mous.el: Do not load viper-cmd.
11439 (viper-backward-char-carefully, viper-forward-char-carefully)
11440 (viper-forward-word, viper-adjust-window): Declare.
11442 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11444 * progmodes/idlw-help.el (idlwave-help-fontify):
11445 Use called-interactively-p.
11447 * term/w32console.el (w32-get-console-codepage)
11448 (w32-get-console-output-codepage): Declare.
11450 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11451 Remove unnecessary declarations.
11452 (dframe-message): Doc fix.
11454 * info.el (dframe-select-attached-frame, dframe-current-frame):
11457 * speedbar.el (speedbar-message): Make it an obsolete alias.
11458 Update all callers.
11459 (speedbar-with-attached-buffer)
11460 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11461 (speedbar-with-writable): Use backquote.
11462 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11463 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11464 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11465 rather than speedbar- aliases.
11466 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11467 (speedbar-make-specialized-keymap, speedbar-insert-button)
11468 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11469 (speedbar-do-function-pointer): Declare.
11470 (rmail-speedbar-button, rmail-speedbar-find-file)
11471 (rmail-speedbar-move-message):
11472 Use dframe-with-attached-buffer rather than speedbar- alias.
11473 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11474 (dframe-message, speedbar-make-specialized-keymap)
11475 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11476 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11477 (speedbar-insert-button, dframe-select-attached-frame)
11478 (dframe-maybee-jump-to-attached-frame)
11479 (speedbar-change-initial-expansion-list)
11480 (speedbar-previously-used-expansion-list-name): Declare.
11481 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11482 Use dframe-message, dframe-with-attached-buffer rather than
11484 (gud-sentinel): Silence compiler.
11485 * progmodes/vhdl-mode.el (speedbar-refresh)
11486 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11487 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11488 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11489 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11490 (speedbar-file-lists, speedbar-make-tag-line)
11491 (speedbar-line-directory, speedbar-goto-this-file)
11492 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11493 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11494 (speedbar-make-button, speedbar-reset-scanners)
11495 (speedbar-files-item-info, speedbar-line-text)
11496 (speedbar-find-file-in-frame, speedbar-set-timer)
11497 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11498 (speedbar-with-writable): Do not (re)define it.
11499 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11500 rather than speedbar- alias.
11502 2013-05-21 Leo Liu <sdl.web@gmail.com>
11504 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11506 (octave-mode): Tweak fill-nobreak-predicate.
11507 (inferior-octave-startup): Check process to avoid infinite loop.
11508 (inferior-octave): Pop to buffer first to show abornmal process
11511 2013-05-21 Glenn Morris <rgm@gnu.org>
11513 * printing.el (pr-menu-bar): Define when compiling.
11515 2013-05-21 Leo Liu <sdl.web@gmail.com>
11517 * progmodes/octave.el (octave-auto-fill): Remove.
11518 (octave-indent-new-comment-line): Improve.
11519 (octave-mode): Use auto fill mode through
11520 comment-line-break-function and fill-nobreak-predicate.
11521 (octave-goto-function-definition): Support DEFUN_DLD.
11522 (octave-beginning-of-defun): Small tweak.
11523 (octave-help): Show parent directory.
11525 2013-05-21 Glenn Morris <rgm@gnu.org>
11527 * files.el (dired-unmark):
11528 * progmodes/gud.el (gdb-input): Update declarations.
11530 * calculator.el (electric, ehelp): No need to load when compiling.
11531 (Electric-command-loop, electric-describe-mode): Declare.
11533 * doc-view.el (doc-view-current-converter-processes): Move before use.
11535 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11536 Move MODE-set-explicitly definition before use.
11538 * international/mule-diag.el (mule-diag):
11539 Don't use obsolete window-system-version.
11541 * mail/feedmail.el (smtpmail): No need to load when compiling.
11542 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11544 * mail/mail-utils.el (rfc822): No need to load when compiling.
11545 (rfc822-addresses): Autoload it.
11546 (mail-strip-quoted-names): Trivial simplification.
11548 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11549 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11551 * net/snmp-mode.el (tempo): Don't duplicate requires.
11553 * progmodes/prolog.el (info): No need to load when compiling.
11554 (comint): Require before shell requires it.
11555 (Info-goto-node): Autoload it.
11556 (Info-follow-nearest-node): Declare.
11557 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11559 * textmodes/artist.el (picture-mode-exit): Declare.
11561 * textmodes/reftex-parse.el (reftex-parse-from-file):
11562 Trivial rewrite so the compiler can parse it better.
11564 2013-05-20 Leo Liu <sdl.web@gmail.com>
11566 * progmodes/octave.el (octave-help-mode-map)
11567 (octave-help-mode-finish-hook): New variables.
11568 (octave-help-mode, octave-help-mode-finish): New functions.
11569 (octave-help): Use octave-help-mode.
11571 2013-05-20 Glenn Morris <rgm@gnu.org>
11573 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11575 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11577 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11578 start at point, so that expansion starting right after opening
11579 slash in a regexp is recognized.
11580 (ruby-syntax-before-regexp-re): New defvar, extracted from
11581 ruby-syntax-propertize-function. Since the value of this regexp
11582 is looked up at runtime now, we should be able to turn
11583 `ruby-syntax-methods-before-regexp' into a defcustom later.
11584 (ruby-syntax-propertize-function): Split regexp matching into two
11585 parts, for opening and closing slashes. That allows us to skip
11586 over string interpolations and support multiline regexps.
11587 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11588 for them, which calls `ruby-syntax-propertize-expansion'.
11589 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11590 call to `ruby-syntax-propertize-function'.
11591 (ruby-syntax-propertize-expansion): Extracted from
11592 `ruby-syntax-propertize-expansions'. Handles one expansion.
11593 (ruby-syntax-propertize-percent-literal): Leave point right after
11594 the percent symbol, so that the expression expansion rule can
11595 propertize the contents.
11596 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11598 (ruby-syntax-propertize-expansions): Remove.
11600 2013-05-18 Juri Linkov <juri@jurta.org>
11602 * man.el (Man-default-man-entry): Remove `-' from the end
11603 of the default value. (Bug#14400)
11605 2013-05-18 Glenn Morris <rgm@gnu.org>
11607 * comint.el (comint-password-prompt-regexp):
11608 Allow "password for XXX" where XXX contains colons (eg https://...).
11610 2013-05-18 Leo Liu <sdl.web@gmail.com>
11612 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11613 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11614 (octave-source-directories): Don't check process.
11615 (octave-source-directories, octave-find-definition): Doc fix.
11617 2013-05-18 Glenn Morris <rgm@gnu.org>
11619 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11620 Remove backspace/delete bindings. (Bug#14392)
11622 * cus-dep.el (custom-make-dependencies): Sort the output.
11623 (custom-versions-load-alist): Convert comment to doc.
11625 2013-05-17 Leo Liu <sdl.web@gmail.com>
11627 * newcomment.el (comment-search-backward): Stricter in finding
11628 comment start. (Bug#14303)
11630 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11631 (octave-comment-start-skip): Properly anchored.
11633 2013-05-17 Leo Liu <sdl.web@gmail.com>
11635 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11636 Clean up when turned off. (Bug#14395)
11637 (smie--highlight-matching-block-overlay): No longer buffer-local.
11638 (smie-highlight-matching-block): Adjust.
11640 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11642 Doc string fix for "nanoseconds" (Bug#14406).
11643 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11644 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11646 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11648 * calc/calc-units.el (math-extract-units): Preserve powers
11651 2013-05-17 Leo Liu <sdl.web@gmail.com>
11653 * subr.el (delete-consecutive-dups): New function.
11654 * ido.el (ido-set-matches-1): Use it.
11655 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11656 * ido.el (ido-remove-consecutive-dups): Remove.
11658 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11660 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11661 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11662 regexp-opt's `words'.
11664 2013-05-16 Leo Liu <sdl.web@gmail.com>
11666 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11667 (smie--highlight-matching-block-overlay)
11668 (smie--highlight-matching-block-lastpos)
11669 (smie--highlight-matching-block-timer): New variables.
11670 (smie-highlight-matching-block): New function.
11671 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11672 (smie-setup): Conditionally enable smie-blink-matching-open.
11674 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11676 Sync with upstream verilog-mode r840.
11677 * progmodes/verilog-mode.el (verilog-mode-version)
11678 (verilog-mode-release-date): Update.
11679 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11680 (verilog-sig-tieoff): Fix string error on
11681 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11682 (verilog-read-decls): Fix parameters confusing
11683 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11685 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11687 * subr.el (reveal-filename): New function.
11689 * loadup.el: Compute Emacs executable versions on MS-Windows,
11690 where executables have the .exe extension. Add a hard link
11691 emacs-XX.YY.ZZ.exe on MS-Windows.
11693 * Makefile.in (XARGS_LIMIT): New variable.
11694 (custom-deps, finder-data, autoloads)
11695 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11696 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11697 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11698 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11700 2013-05-16 Leo Liu <sdl.web@gmail.com>
11702 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11703 (octave-mode-menu, octave-mode-map): Remove its uses.
11705 2013-05-16 Reto Zimmermann <reto@gnu.org>
11707 Sync with upstream vhdl mode v3.34.2.
11708 * progmodes/vhdl-mode.el: Use `push' throughout.
11709 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11710 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11711 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11712 (vhdl-actual-generic-name): New option to derive actual generic name.
11713 (vhdl-port-paste-signals): Replace formal by actual generics.
11714 (vhdl-beautify): New name for old group vhdl-align. Update users.
11715 (vhdl-beautify-options): New option.
11716 (vhdl-last-input-event): New compat alias. Use throughout.
11717 (vhdl-goto-line): Replace user level function `goto-line'.
11718 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11719 vhdl-fix-statement-buffer.
11720 (vhdl-create-mode-menu): Add some entries.
11721 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11722 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11723 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11724 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11725 to force statements on one line.
11726 (vhdl-remove-trailing-spaces-region):
11727 New, split from vhdl-remove-trailing-spaces.
11728 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11729 Respect vhdl-beautify-options.
11730 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11731 (vhdl-update-sensitivity-list): Not add with index if exists without.
11732 Not include array index with signal. Ignore keywords in comments.
11733 (vhdl-get-visible-signals): Regexp tweaks.
11734 (vhdl-template-component-inst): Handle empty library.
11735 (vhdl-template-type): Add template for 'enum' type.
11736 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11737 Use vhdl-replace-string.
11738 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11739 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11740 (vhdl-speedbar-initialize): Update for above name change.
11741 (vhdl-compose-wire-components): Fix in handling of constants.
11742 (vhdl-error-regexp-emacs-alist): New variable.
11743 (vhdl-error-regexp-add-emacs): New function;
11744 adds support for new compile.el (Emacs 22+)
11745 (vhdl-generate-makefile-1): Change target order for single lib. units.
11746 Allow use of absolute file names.
11748 2013-05-16 Leo Liu <sdl.web@gmail.com>
11750 * simple.el (prog-indent-sexp): Indent enclosing defun.
11752 2013-05-15 Glenn Morris <rgm@gnu.org>
11754 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11755 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11756 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11757 (whitespace-highlight): Move to whitespace group.
11759 * comint.el (comint-source):
11760 * pcmpl-linux.el (pcmpl-linux):
11761 * shell.el (shell-faces):
11762 * eshell/esh-opt.el (eshell-opt):
11763 * international/ccl.el (ccl): Remove empty custom groups.
11765 * completion.el (dynamic-completion-mode):
11766 * jit-lock.el (jit-lock-debug-mode):
11767 * minibuffer.el (completion-in-region-mode):
11768 * type-break.el (type-break-mode-line-message-mode)
11769 (type-break-query-mode):
11770 * emulation/tpu-edt.el (tpu-edt-mode):
11771 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11772 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11773 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11775 * term/xterm.el (xterm): Change parent group to terminals.
11777 * master.el (master): Remove empty custom group.
11778 (master-mode): Remove unused :group argument.
11779 * textmodes/refill.el (refill): Remove empty custom group.
11780 (refill-mode): Remove unused :group argument.
11782 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11784 * cus-dep.el: Provide a feature.
11785 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11786 Don't mistakenly ignore files whose basenames match a basename
11787 from preloaded-file-list (eg cedet/ede/simple.el).
11788 Add a fallback method for getting :group.
11790 2013-05-15 Juri Linkov <juri@jurta.org>
11792 * isearch.el (isearch-char-by-name): Rename from
11793 `isearch-insert-char-by-name'. Doc fix.
11794 (isearch-forward): Mention `isearch-char-by-name' in
11795 the docstring. (Bug#13348)
11797 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11798 `exit-minibuffer' instead of
11799 `isearch-nonincremental-exit-minibuffer'.
11800 (isearch-edit-string): Remove mention of
11801 `isearch-nonincremental-exit-minibuffer' from docstring.
11802 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11803 (isearch-forward-exit-minibuffer)
11804 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11806 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11808 * loadup.el: Just use unversioned DOC.
11810 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11811 literals as extending to EOB.
11812 (nxml-last-fontify-end): Remove unused variable.
11813 (nxml-after-change1): Use with-silent-modifications.
11814 (nxml-extend-after-change-region): Simplify.
11815 (nxml-extend-after-change-region1): Remove function.
11816 (nxml-after-change1): Don't adjust for dependent regions.
11817 (nxml-fontify-matcher): Simplify.
11818 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11819 (xmltok-add-dependent): Remove function.
11820 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11821 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11822 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11823 unclosed <[[, <?, comment, and other literals as extending to EOB.
11824 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11825 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11827 (rng-do-some-validation-1): Don't mark dependent regions.
11828 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11829 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11830 (nxml-clear-dependent-regions): Remove functions.
11831 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11832 (nxml-ensure-scan-up-to-date):
11833 Don't clear&mark dependent regions.
11835 2013-05-15 Leo Liu <sdl.web@gmail.com>
11837 * progmodes/octave.el (octave-goto-function-definition):
11838 Improve and fix callers.
11840 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11842 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11843 the setter (bug#14387).
11845 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11846 surrounding group (bug#14402).
11848 2013-05-14 Juri Linkov <juri@jurta.org>
11850 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11853 2013-05-14 Glenn Morris <rgm@gnu.org>
11855 * progmodes/f90.el (f90-imenu-generic-expression):
11856 Fix typo in 2013-05-08 change. (Bug#14402)
11858 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11860 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11861 Remove signals for which replies are never received.
11863 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11865 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11866 (gdb-handler-alist, gdb-handler-number): Remove variables.
11867 (gdb-handler-list): New variable.
11868 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11869 (gdb-pending-handler-p, gdb-handle-reply)
11870 (gdb-remove-all-pending-triggers): New functions.
11871 (gdb-discard-unordered-replies): New defcustom.
11872 (gdb-handler): New defstruct.
11873 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11874 instead of gdb-pending-triggers. Update docstring.
11875 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11876 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11877 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11878 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11879 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11880 (gdb-frame-handler): Pending triggers are now automatically managed.
11881 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11883 (gdb-input): Automatically handles pending triggers. Update docstring.
11884 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11885 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11887 (gdb-done-or-error): Now use gdb-handle-reply.
11889 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11891 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11894 2013-05-14 Glenn Morris <rgm@gnu.org>
11896 * subr.el (user-emacs-directory-warning): New option.
11897 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11899 2013-05-14 Leo Liu <sdl.web@gmail.com>
11901 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11903 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11904 (octave-font-lock-texinfo-comment): Fix invalid search bound
11905 error: wrong side of point.
11907 2013-05-14 Glenn Morris <rgm@gnu.org>
11909 * progmodes/flymake.el (flymake-xml-program): New option.
11910 (flymake-xml-init): Use it.
11912 * term/xterm.el: Provide a feature.
11914 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11916 2013-05-13 Glenn Morris <rgm@gnu.org>
11918 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11919 Add compat aliases as a hack workaround. (Bug#14384)
11921 2013-05-13 Leo Liu <sdl.web@gmail.com>
11923 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11925 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11927 (octave-comment-start-skip): Include %!.
11928 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11930 2013-05-12 Leo Liu <sdl.web@gmail.com>
11932 * progmodes/octave.el (inferior-octave-startup): Store the value
11933 of __octave_srcdir__ for octave-source-directories.
11934 (inferior-octave-check-process): New function refactored out of
11935 inferior-octave-send-list-and-digest.
11936 (octave-source-directories)
11937 (octave-find-definition-filename-function): New variables.
11938 (octave-source-directories)
11939 (octave-find-definition-default-filename): New functions.
11940 (octave-find-definition): Improve to find functions implemented in C++.
11942 2013-05-12 Glenn Morris <rgm@gnu.org>
11944 * calendar/diary-lib.el (diary-outlook-format-1):
11945 Don't include dayname in the output. (Bug#14349)
11947 2013-05-11 Glenn Morris <rgm@gnu.org>
11949 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11951 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11952 Treat cc-provide like provide.
11954 2013-05-11 Kevin Ryde <user42@zip.com.au>
11956 * cus-dep.el (custom-make-dependencies):
11957 Use generated-autoload-load-name for the sake of files such
11958 such cedet/semantic/bovine/c.el, where the base file name
11959 is not in load-path. (Bug#5277)
11961 2013-05-11 Glenn Morris <rgm@gnu.org>
11963 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11966 2013-05-11 Leo Liu <sdl.web@gmail.com>
11968 * progmodes/octave.el (octave-indent-comment): Improve.
11969 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11970 (octave-eldoc-function-signatures, octave-eldoc-function):
11972 (octave-mode, inferior-octave-mode): Add eldoc support.
11974 2013-05-11 Richard Stallman <rms@gnu.org>
11976 * epa.el (epa-decrypt-file): Take output file name as argument
11977 and read it using `interactive'.
11979 2013-05-11 Leo Liu <sdl.web@gmail.com>
11981 * progmodes/octave.el (octave-beginning-of-line)
11982 (octave-end-of-line): Check before using up-list because it jumps
11983 out of more syntactic contructs since moving to smie.
11984 (octave-indent-comment): New function.
11985 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11986 (octave-begin-keywords, octave-end-keywords)
11987 (octave-reserved-words, octave-smie-bnf-table)
11988 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11990 2013-05-11 Glenn Morris <rgm@gnu.org>
11992 * faces.el (internal-face-x-get-resource):
11993 * frame.el (ns-display-monitor-attributes-list):
11994 * calc/calc-aent.el (math-to-radians-2):
11995 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11998 * calc/calc-menu.el: Make it loadable in isolation.
12000 * net/eudcb-bbdb.el: Make it loadable without bbdb.
12001 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
12002 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
12003 (eudc-bbdb-query-internal): Require 'bbdb.
12005 * lpr.el (lpr-headers-switches):
12006 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
12008 * progmodes/sql.el (sql-login-params): Fix and improve :type.
12010 * emulation/edt-mapper.el: In batch mode, error rather than hang.
12012 * term.el (term-set-escape-char): Make it idempotent.
12014 2013-05-10 Leo Liu <sdl.web@gmail.com>
12016 * progmodes/octave.el (inferior-octave-completion-table):
12017 No longer a function and all uses changed. Use cache to speed up
12018 completion due to bug#11906.
12019 (octave-beginning-of-defun): Re-write to be more general.
12021 2013-05-10 Glenn Morris <rgm@gnu.org>
12023 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
12025 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
12027 * comint.el (comint-redirect-send-command-to-process): Use :around
12028 rather than :override for comint-redirect-filter.
12029 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
12030 Call it instead of comint-redirect-original-filter-function (which
12031 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
12033 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
12035 * frame.el (display-monitor-attributes-list): Add NS case.
12036 (ns-display-monitor-attributes-list): Declare.
12038 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
12040 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
12042 2013-05-09 Glenn Morris <rgm@gnu.org>
12044 * international/fontset.el (vertical-centering-font-regexp):
12045 Set standard-value.
12047 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
12049 * bookmark.el (bookmark-search-delay):
12050 * cus-start.el (vertical-centering-font-regexp):
12051 * ps-mule.el (ps-mule-font-info-database-default):
12052 * ps-print.el (ps-default-fg, ps-default-bg):
12053 * type-break.el (type-break-good-break-interval):
12054 * whitespace.el (whitespace-indentation-regexp)
12055 (whitespace-space-after-tab-regexp):
12056 * emacs-lisp/testcover.el (testcover-1value-functions)
12057 (testcover-noreturn-functions, testcover-progn-functions)
12058 (testcover-prog1-functions):
12059 * emulation/viper-init.el (viper-emacs-state-cursor-color):
12060 * eshell/em-glob.el (eshell-glob-translate-alist):
12061 * play/tetris.el (tetris-tty-colors):
12062 * progmodes/cpp.el (cpp-face-default-list):
12063 * progmodes/flymake.el (flymake-allowed-file-name-masks):
12064 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
12065 (idlwave-help-browser-generic-args):
12066 * progmodes/make-mode.el (makefile-special-targets-list):
12067 * progmodes/python.el (python-shell-virtualenv-path):
12068 * progmodes/verilog-mode.el (verilog-active-low-regexp)
12069 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
12070 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
12071 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
12072 * textmodes/reftex-vars.el (reftex-format-label-function):
12073 * textmodes/remember.el (remember-diary-file): Fix custom types.
12075 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
12078 2013-05-09 Leo Liu <sdl.web@gmail.com>
12080 * progmodes/octave.el (inferior-octave-completion-at-point):
12081 Restore file completion. (Bug#14300)
12082 (inferior-octave-startup): Fix incorrect highlighting for the
12085 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12087 * progmodes/ruby-mode.el: First cut at SMIE support.
12088 (ruby-use-smie): New var.
12089 (ruby-smie-grammar): New constant.
12090 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
12091 (ruby-smie--forward-token, ruby-smie--backward-token)
12092 (ruby-smie-rules): New functions.
12093 (ruby-mode-variables): Setup SMIE if applicable.
12095 2013-05-08 Eli Zaretskii <eliz@gnu.org>
12097 * simple.el (line-move-visual): Signal beginning/end of buffer
12098 only if vertical-motion moved less than it was requested. Avoids
12099 silly incorrect error messages when there are display strings with
12100 multiple newlines at EOL.
12102 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
12104 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
12105 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
12106 (prolog-char-quote-workaround):
12107 * progmodes/cperl-mode.el (cperl-under-as-char):
12108 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
12110 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
12112 (vhdl-mode-syntax-table-init): Remove.
12114 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
12117 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
12119 (ld-script-font-lock-keywords):
12120 Change regexps to use things like \_< and \_>.
12122 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
12123 Change all regexps to use things like \_< and \_>.
12125 * progmodes/autoconf.el (autoconf-definition-regexp)
12126 (autoconf-font-lock-keywords, autoconf-current-defun-function):
12127 Handle a _ with symbol syntax.
12128 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
12130 * progmodes/ada-mode.el (ada-mode-abbrev-table):
12131 Consolidate declaration.
12132 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
12134 (ada-create-syntax-table): Remove.
12135 (ada-capitalize-word): Don't mess with the syntax of "_" since it
12136 already has the right syntax nowadays.
12137 (ada-goto-next-word): Don't change the syntax of "_".
12139 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
12142 2013-05-08 Sam Steingold <sds@gnu.org>
12144 * thingatpt.el (thing-at-point): Accept optional second argument
12145 NO-PROPERTIES to strip the text properties from the return value.
12146 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
12147 to `thing-at-point' instead of stripping the properties ourselves.
12148 Also, when `thing-at-point' fails to find a url, prepend "http://"
12149 to the filename at point on the assumption that the user is
12150 pointing at something like gnu.org/gnu.
12152 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
12154 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12155 * faces.el (crm-separator):
12156 Silence byte-compiler.
12158 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
12159 (tool-bar-map): Remove unneeded defvars.
12161 2013-05-08 Leo Liu <sdl.web@gmail.com>
12163 Re-work a fix for bug#10994 based on Le Wang's patch.
12164 * ido.el (ido-remove-consecutive-dups): New helper.
12165 (ido-completing-read): Use it.
12166 (ido-chop): Revert fix for bug#10994.
12168 2013-05-08 Adam Spiers <emacs@adamspiers.org>
12170 * cus-edit.el (custom-save-variables):
12171 Pretty-print long values. (Bug#14187)
12173 2013-05-08 Glenn Morris <rgm@gnu.org>
12175 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
12176 (m4-mode-syntax-table): Init in the defvar.
12177 (m4-mode-abbrev-table): Let define-derived-mode define it.
12179 2013-05-08 Tom Tromey <tromey@redhat.com>
12181 * progmodes/m4-mode.el (m4-mode-syntax-table):
12182 Do not treat "_" as word constituent. (Bug#14167)
12184 2013-05-07 Glenn Morris <rgm@gnu.org>
12186 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
12187 Remove explicit eshell-isearch-cancel-map.
12189 * progmodes/f90.el (f90-smart-end-names): New option.
12190 (f90-smart-end): Doc fix.
12191 (f90-end-block-optional-name): New constant.
12192 (f90-block-match): Respect f90-smart-end-names.
12194 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
12196 * progmodes/octave.el (octave-smie-forward-token): Be more careful
12197 about implicit semi-colons (bug#14218).
12199 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
12201 * frame.el (display-monitor-attributes-list)
12202 (frame-monitor-attributes): New functions.
12204 2013-05-06 Leo Liu <sdl.web@gmail.com>
12206 * progmodes/octave.el (octave-syntax-propertize-function): Change
12207 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
12208 (octave-font-lock-keywords): Use octave-operator-regexp.
12209 (octave-completion-at-point): Rename from
12210 octave-completion-at-point-function.
12211 (inferior-octave-directory-tracker): Robustify.
12212 (octave-text-functions): Remove and fix its uses. No such things
12215 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12217 * emacs-lisp/trace.el (trace--display-buffer): New function.
12218 (trace-make-advice): Use it.
12220 2013-05-06 Juri Linkov <juri@jurta.org>
12222 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12223 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12225 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12226 in the help string. (Bug#12985)
12228 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12230 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12232 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12234 * progmodes/perl-mode.el: Add support for here documents.
12235 (perl-syntax-propertize-function): Match here-doc markers.
12236 (perl-syntax-propertize-special-constructs): Find their end.
12237 (perl-imenu-generic-expression): Use [:alnum:].
12239 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12240 (advice--add-function): Refresh the advice if already present
12243 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12245 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12247 2013-05-06 Glenn Morris <rgm@gnu.org>
12249 * w32-fns.el (w32-charset-info-alist): Declare.
12251 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12252 of its defcustom properties.
12253 (eshell-cmpl-initialize): No need to load pcomplete.
12255 * generic-x.el: No need to require comint when compiling.
12257 * net/eudc-export.el: Make it loadable without bbdb.
12258 (top-level): Use require rather than load-library.
12259 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12260 (eudc-batch-export-records-to-bbdb)
12261 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12264 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12266 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12267 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12268 some tweaks, instead.
12270 2013-05-05 Leo Liu <sdl.web@gmail.com>
12272 * progmodes/octave.el (octave-font-lock-keywords)
12273 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12274 (inferior-octave-send-list-and-digest): Improve error message.
12275 (octave-mode, inferior-octave-mode): Use setq-local.
12276 (octave-help): Set info-lookup-mode.
12278 2013-05-05 Richard Stallman <rms@gnu.org>
12280 * vc/compare-w.el (compare-windows-whitespace):
12281 Treat no-break space as whitespace.
12283 * mail/rmailsum.el (rmail-summary-rmail-update):
12284 Detect empty summary and don't change selected message.
12285 (rmail-summary-goto-msg): Likewise.
12287 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12288 Doc fixes, rename args.
12290 2013-05-05 Alan Mackenzie <acm@muc.de>
12292 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12294 2013-05-05 Juri Linkov <juri@jurta.org>
12296 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12297 to not add the length of the summary segment to the return value.
12300 2013-05-05 Leo Liu <sdl.web@gmail.com>
12302 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12303 (inferior-octave-output-filter): Remove.
12304 (octave-send-region, inferior-octave-startup): Fix callers.
12305 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12306 (octave-binary-file-extensions): New user variable.
12307 (octave-find-definition): Confirm if opening binary files.
12308 (octave-help-file): Use octave-find-definition to get the binary
12310 (octave-help): Adjust for octave-help-file change.
12312 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12314 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12315 Merge the two entries that handle function definitions.
12316 (pascal--syntax-propertize): New const.
12317 (pascal-mode): Use it. Use setq-local.
12319 2013-05-04 Glenn Morris <rgm@gnu.org>
12321 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12322 (diary-from-outlook): Respect diary-from-outlook-function.
12324 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12326 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12327 Move the declaration from C.
12328 (read-minibuffer, eval-minibuffer): Move from C.
12329 (completion-setup-function): Avoid minibuffer-completion-contents.
12331 2013-05-03 Leo Liu <sdl.web@gmail.com>
12333 * progmodes/octave.el (octave-font-lock-keywords): Do not
12334 dehighlight 'end' in comments or strings.
12335 (octave-completing-read, octave-goto-function-definition):
12337 (octave-help-buffer): New user variable.
12338 (octave-help-file, octave-help-function): New button types.
12339 (octave-help): New command and bind it to C-h ;.
12340 (octave-find-definition): New command and bind it to M-.
12341 (user-error): Alias to error if not defined.
12343 2013-05-02 Leo Liu <sdl.web@gmail.com>
12345 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12347 (octave-font-lock-keywords): Include [ and {.
12349 2013-05-02 Leo Liu <sdl.web@gmail.com>
12351 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12352 (inferior-octave): Remove calling comint-mode and return the buffer.
12353 (inferior-octave-startup): Cosmetic changes.
12355 2013-05-02 Leo Liu <sdl.web@gmail.com>
12357 * progmodes/octave.el (octave-syntax-propertize-function):
12358 Include the case when ' is at line beginning. (Bug#14336)
12360 2013-05-02 Glenn Morris <rgm@gnu.org>
12362 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12363 * desktop.el (vc-dir-mode): Just autoload it here.
12365 2013-05-02 Alan Mackenzie <acm@muc.de>
12367 Eliminate variable c-standard-font-lock-fontify-region-function.
12368 * progmodes/cc-mode.el
12369 (c-standard-font-lock-fontify-region-function): Remove.
12370 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12372 2013-05-01 Leo Liu <sdl.web@gmail.com>
12374 * progmodes/octave.el: Compatible with older emacs-24 releases.
12375 (inferior-octave-has-built-in-variables): Remove. Built-in
12376 variables were removed from Octave in 2007.
12377 (inferior-octave-startup): Fix uses.
12378 (comint-line-beginning-position): Remove compatibility code for
12381 2013-05-01 Juri Linkov <juri@jurta.org>
12383 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12385 2013-05-01 Juri Linkov <juri@jurta.org>
12387 * comint.el (comint-previous-matching-input): Don't print message
12388 "History item: %d" when `isearch-mode' is active.
12389 (comint-history-isearch-message): Print message "History item: %d"
12390 when `comint-input-ring-index' is not empty and this function is
12391 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12393 2013-05-01 Leo Liu <sdl.web@gmail.com>
12395 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12396 definitions. Use completion-at-point to insert keywords.
12397 (octave-abbrev-start): Remove.
12398 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12400 2013-04-30 Leo Liu <sdl.web@gmail.com>
12402 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12405 2013-04-30 Alan Mackenzie <acm@muc.de>
12407 Handle arbitrarily long C++ member initialisation lists.
12408 * progmodes/cc-engine.el (c-back-over-member-initializers):
12410 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12411 (most) member init lists.
12413 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12415 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12418 2013-04-30 Leo Liu <sdl.web@gmail.com>
12420 * progmodes/octave.el (octave-variables): Remove. No builtin
12421 variables any more. All converted to functions.
12422 (octave-font-lock-keywords, octave-completion-at-point-function):
12424 (octave-font-lock-texinfo-comment): New user variable.
12425 (octave-texinfo-font-lock-keywords): New variable for texinfo
12427 (octave-function-comment-block): New face.
12428 (octave-font-lock-texinfo-comment): New function.
12429 (octave-mode): Font lock texinfo comment block.
12431 2013-04-29 Leo Liu <sdl.web@gmail.com>
12433 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12434 indexing expression.
12435 (octave-continuation-string): Do not use \.
12436 (inferior-octave-complete-impossible): Remove.
12437 (inferior-octave-completion-table)
12438 (inferior-octave-completion-at-point): Remove its uses.
12439 (inferior-octave-startup): completion_matches was introduced to
12440 Octave in 1996 so safe to assume it.
12441 (octave-function-file-comment): Improve to follow how Octave does it.
12442 (octave-update-function-file-comment): Tweak.
12444 2013-04-29 Leo Liu <sdl.web@gmail.com>
12446 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12447 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12448 (octave-function-file-comment): Fix typo.
12449 (octave-sync-function-file-names): Use read-char-choice.
12451 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12453 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12454 to t for the less important warnings.
12456 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12458 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12460 2013-04-27 Glenn Morris <rgm@gnu.org>
12462 * vc/log-view.el (log-view-current-entry):
12463 Treat "---" separator lines as part of the following rev. (Bug#14169)
12465 2013-04-27 Juri Linkov <juri@jurta.org>
12467 * subr.el (read-number): Doc fix about using it by interactive
12468 code letter `n'. (Bug#14254)
12470 2013-04-27 Juri Linkov <juri@jurta.org>
12472 * desktop.el (desktop-auto-save-timeout): New option.
12473 (desktop-file-checksum): New variable.
12474 (desktop-save): Add optional arg `auto-save' and don't auto-save
12475 if nothing changed.
12476 (desktop-auto-save-timer): New variable.
12477 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12478 (after-init-hook): Call `desktop-auto-save-set-timer'.
12479 Suggested by Reuben Thomas <rrt@sc3d.org> in
12480 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12482 2013-04-27 Leo Liu <sdl.web@gmail.com>
12484 * progmodes/octave.el (octave-function-file-p)
12485 (octave-skip-comment-forward, octave-function-file-comment)
12486 (octave-update-function-file-comment): New functions.
12487 (octave-mode-map): Bind C-c ; to
12488 octave-update-function-file-comment.
12489 (octave-mode-menu): Add octave-update-function-file-comment.
12490 (octave-mode, inferior-octave-mode): Fix doc-string.
12491 (octave-insert-defun): Conform to Octave's coding convention.
12494 * files.el (basic-save-buffer): Don't let errors in
12495 before-save-hook prevent saving buffer.
12497 2013-04-20 Roland Winkler <winkler@gnu.org>
12499 * faces.el (read-face-name): Use completing-read if arg multiple
12502 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12504 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12505 displayed, move point to after the totals line.
12506 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12509 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12511 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12512 Add current dir to the load-path.
12513 (package-generate-autoloads): Don't rely on
12514 autoload-ensure-default-file.
12516 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12518 * textmodes/remember.el (remember-store-in-files): Document that
12519 the file name format is passed to `format-time-string'.
12521 2013-04-26 Leo Liu <sdl.web@gmail.com>
12523 * progmodes/octave.el (octave-sync-function-file-names): New function.
12524 (octave-mode): Use it in before-save-hook.
12526 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12528 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12531 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12532 \n and comment, even if it's not an implicit ; (bug#14218).
12534 2013-04-26 Glenn Morris <rgm@gnu.org>
12536 * subr.el (read-number): Once more use `read' rather than
12537 `string-to-number', to trap non-numeric input. (Bug#14254)
12539 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12541 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12542 Use `syntax-multiline' text property consistently instead of
12543 `font-lock-multiline'. (Bug#14237)
12545 2013-04-26 Glenn Morris <rgm@gnu.org>
12547 * emacs-lisp/shadow.el (list-load-path-shadows):
12548 No longer necessary to check for duplicate simple.el, since
12549 2012-07-07 change to init_lread to not include installation lisp
12550 directories in load-path when running uninstalled. (Bug#14270)
12552 2013-04-26 Leo Liu <sdl.web@gmail.com>
12554 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12555 (octave-mode, inferior-octave-mode): Use setq-local.
12556 (octave-not-in-string-or-comment-p): Rename to
12557 octave-in-string-or-comment-p.
12558 (octave-in-comment-p, octave-in-string-p)
12559 (octave-in-string-or-comment-p): Replace defsubst with defun.
12561 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12563 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12565 2013-04-25 Bastien Guerry <bzg@gnu.org>
12567 * textmodes/remember.el (remember-data-directory)
12568 (remember-directory-file-name-format): Fix custom types.
12570 2013-04-25 Leo Liu <sdl.web@gmail.com>
12572 * progmodes/octave.el (octave-completion-at-point-function):
12573 Make use of inferior octave process.
12574 (octave-initialize-completions): Remove.
12575 (inferior-octave-completion-table): New function.
12576 (inferior-octave-completion-at-point): Use it.
12577 (octave-completion-alist): Remove.
12579 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12581 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12582 (opascal-mode-syntax-table): New var.
12583 (opascal-literal-kind, opascal-is-literal-end)
12584 (opascal-literal-token-at): Rewrite.
12585 (opascal--literal-start-re, opascal-font-lock-keywords)
12586 (opascal--syntax-propertize): New constants.
12587 (opascal-font-lock-defaults): Adjust.
12588 (opascal-mode): Use them. Set comment-<foo> variables as well.
12589 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12590 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12591 (delphi-other-face, opascal-other-face): Remove face variables.
12592 (opascal-save-state): Remove macro.
12593 (opascal-fontifying-progress-step): Remove constant.
12594 (opascal--ignore-changes): Remove var.
12595 (opascal-set-token-property, opascal-parse-next-literal)
12596 (opascal-is-stable-literal, opascal-complete-literal)
12597 (opascal-is-literal-start, opascal-face-of)
12598 (opascal-parse-region, opascal-parse-region-until-stable)
12599 (opascal-fontify-region, opascal-after-change)
12600 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12601 (opascal-debug-parse-region, opascal-debug-parse-window)
12602 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12603 (opascal-debug-fontify-buffer): Remove.
12604 (opascal-debug-mode-map): Adjust accordingly.
12606 2013-04-25 Leo Liu <sdl.web@gmail.com>
12608 Merge octave-mod.el and octave-inf.el into octave.el with some
12610 * progmodes/octave.el: New file renamed from octave-mod.el.
12611 * progmodes/octave-inf.el: Merged into octave.el.
12612 * progmodes/octave-mod.el: Renamed to octave.el.
12614 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12616 * textmodes/reftex-vars.el
12617 (reftex-label-ignored-macros-and-environments): New defcustom.
12619 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12621 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12623 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12624 (smie-indent-keyword): Improve the check to ensure that the next
12625 comment is really on the same line.
12626 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12628 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12629 semi-colons if the line is not otherwise empty (bug#14218).
12631 2013-04-25 Glenn Morris <rgm@gnu.org>
12633 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12635 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12637 * progmodes/opascal.el (opascal-set-token-property): Rename from
12638 opascal-set-text-properties and only set `token' (bug#14134).
12639 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12640 (opascal-literal-text-properties): Remove.
12641 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12644 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12646 * textmodes/remember.el (remember-handler-functions): Add an
12647 option for a new handler `remember-store-in-files'.
12648 (remember-data-directory, remember-directory-file-name-format):
12650 (remember-store-in-files): New function to store remember notes
12651 as separate files within a directory.
12653 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12655 * progmodes/compile.el (compilation-next-error-function):
12656 Pass "formats" to compilation-find-file (bug#11777).
12658 2013-04-24 Glenn Morris <rgm@gnu.org>
12660 * vc/vc-bzr.el (vc-bzr-print-log):
12661 * vc/vc-hg.el (vc-hg-print-log):
12662 * vc/vc-svn.el (vc-svn-print-log):
12663 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12665 * vc/vc-bzr.el (vc-bzr-print-log):
12666 * vc/vc-cvs.el (vc-cvs-print-log):
12667 * vc/vc-git.el (vc-git-print-log):
12668 * vc/vc-hg.el (vc-hg-print-log):
12669 * vc/vc-mtn.el (vc-mtn-print-log):
12670 * vc/vc-rcs.el (vc-rcs-print-log):
12671 * vc/vc-sccs.el (vc-sccs-print-log):
12672 * vc/vc-svn.el (vc-svn-print-log):
12673 * vc/vc.el (vc-print-log-internal): Doc fixes.
12675 2013-04-23 Glenn Morris <rgm@gnu.org>
12677 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12678 Remove venerable code attempting to avoid substitute-command-keys.
12680 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12682 * textmodes/reftex-vars.el (reftex-label-regexps):
12683 Call `reftex-compile-variables' after changes to this variable.
12685 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12687 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12688 Use lexical-binding.
12689 (jit-lock-force-redisplay): Use markers, check buffer's continued
12690 existence and beware narrowed buffers.
12691 (jit-lock-fontify-now): Adjust call accordingly.
12693 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12695 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12696 to avoid misleading the user.
12698 2013-04-22 Leo Liu <sdl.web@gmail.com>
12700 * info-look.el: Prefer latex2e.info. (Bug#14240)
12702 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12704 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12706 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12707 * net/tramp.el (tramp-call-process): ... here.
12708 (tramp-set-completion-function, tramp-parse-putty):
12709 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12710 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12711 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12712 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12713 (tramp-call-local-coding-command): Use `tramp-call-process'
12714 instead of `tramp-compat-call-process'.
12716 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12717 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12718 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12719 (tramp-find-inline-compress): Improve traces.
12720 (tramp-maybe-send-script): Check for Perl binary.
12721 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12723 2013-04-22 Daiki Ueno <ueno@gnu.org>
12725 * epg.el (epg-context-pinentry-mode): New function.
12726 (epg-context-set-pinentry-mode): New function.
12727 (epg--start): Pass --pinentry-mode option to gpg command.
12729 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12731 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12732 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12733 `completion-at-point'. (Bug#13774)
12735 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12736 default key binding for `describe-distribution' has been moved to
12737 `C-h C-o'. (Bug#13970)
12739 2013-04-21 Glenn Morris <rgm@gnu.org>
12741 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12743 (vc-print-log): Clarify interactive prompt.
12745 2013-04-20 Glenn Morris <rgm@gnu.org>
12747 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12748 No longer include timestamp etc information.
12750 2013-04-20 Roland Winkler <winkler@gnu.org>
12752 * faces.el (read-face-name): Bug fix, return just one face if arg
12753 multiple is nil. (Bug#14209)
12755 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12757 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12758 (remove-function): Autoload.
12760 * comint.el (comint-redirect-original-filter-function): Remove.
12761 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12762 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12763 (vc-cvs-annotate-command):
12764 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12765 * progmodes/prolog.el (prolog-consult-compile):
12766 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12767 Use add/remove-function instead.
12768 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12769 (gud-tooltip-process-output, gud-tooltip-tips):
12770 Use add/remove-function instead.
12771 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12772 (scheme-interaction-mode, exit-scheme-interaction-mode):
12773 Use add/remove-function instead.
12775 * vc/vc-dispatcher.el: Use lexical-binding.
12776 (vc--process-sentinel): Rename from vc-process-sentinel.
12777 Change last arg to be the code to run. Don't use vc-previous-sentinel
12778 and vc-sentinel-commands any more.
12779 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12780 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12782 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12784 * progmodes/sh-script.el (sh-imenu-generic-expression):
12785 Handle function names with a single character. (Bug#14111)
12787 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12789 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12790 for subroutines defined in an eval (bug#14182).
12792 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12794 * bookmark.el (bookmark-completing-read): Improve handling of empty
12795 string (bug#14176).
12797 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12799 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12801 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12803 New faster Imenu implementation (bug#14058).
12804 * progmodes/python.el:
12805 (python-imenu-prev-index-position):
12806 (python-imenu-format-item-label-function)
12807 (python-imenu-format-parent-item-label-function)
12808 (python-imenu-format-parent-item-jump-label-function):
12810 (python-imenu-format-item-label)
12811 (python-imenu-format-parent-item-label)
12812 (python-imenu-format-parent-item-jump-label)
12813 (python-imenu--put-parent, python-imenu--build-tree)
12814 (python-imenu-create-index, python-imenu-create-flat-index)
12815 (python-util-popn): New functions.
12816 (python-mode): Set imenu-create-index-function to
12817 python-imenu-create-index.
12819 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12821 * winner.el (winner-active-region): Use region-active-p, activate-mark
12822 and deactivate-mark (bug#14225).
12824 * simple.el (deactivate-mark): Don't inline it.
12826 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12828 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12830 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12832 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12833 file extensions from the archive-mode entry in order to prefer
12834 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12836 2013-04-18 Leo Liu <sdl.web@gmail.com>
12838 * bindings.el (help-event-list): Add ?\?.
12840 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12842 * subr.el (with-wrapper-hook): Declare obsolete.
12843 * simple.el (filter-buffer-substring-function): New hook.
12844 (filter-buffer-substring): Use it.
12845 (filter-buffer-substring-functions): Mark obsolete.
12846 * minibuffer.el (completion-in-region-function): New hook.
12847 (completion-in-region): Use it.
12848 (completion-in-region-functions): Mark obsolete.
12849 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12850 * abbrev.el (abbrev-expand-function): New hook.
12851 (expand-abbrev): Use it.
12852 (abbrev-expand-functions): Mark obsolete.
12853 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12854 and :filter-return.
12856 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12858 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12859 and do not care about match data.
12861 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12863 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12864 completion tables when completing error conditions and
12865 `declare' arguments.
12866 (lisp-complete-symbol, field-complete): Mark as obsolete.
12867 (check-parens): Unmatched parens are user errors.
12868 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12870 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12872 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12873 command changed buffer (ie. `flyspell-pre-buffer' is not current
12874 buffer), which prevents making decisions based on invalid value of
12875 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12876 cause an error when `flyspell-pre-point' was nil after switching
12878 (flyspell-post-command-hook): No longer needs to change buffers when
12879 checking pre-word. While at it remove unnecessary progn.
12881 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12883 * textmodes/ispell.el (ispell-add-per-file-word-list):
12884 Fix `flyspell-correct-word-before-point' error when accepting
12885 words and `coment-padding' is an integer by using
12886 `comment-normalize-vars' (Bug #14214).
12888 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12890 New defun movement commands.
12891 * progmodes/python.el (python-nav--syntactically)
12892 (python-nav--forward-defun, python-nav-backward-defun)
12893 (python-nav-forward-defun): New functions.
12895 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12897 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12898 (python-syntax-context): Use named compiler-macro for backwards
12899 compatibility with Emacs 24.x.
12901 2013-04-17 Leo Liu <sdl.web@gmail.com>
12903 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12904 octave-hide-process-buffer.
12906 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12908 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12911 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12913 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12914 Fix adjustment of offset when receiving incomplete responses from GDB
12917 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12919 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12920 python-mode-abbrev-table.
12921 (python-skeleton-define): Adjust accordingly.
12922 (python-mode-abbrev-table): New table that inherits from it so that
12923 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12925 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12926 (abbrev-symbol): Use it.
12927 (abbrev--before-point): Use it since we already handle inheritance.
12929 2013-04-16 Leo Liu <sdl.web@gmail.com>
12931 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12932 binding to info-lookup-symbol.
12934 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12936 * minibuffer.el (completion--twq-all):
12937 * term/ns-win.el (ns-initialize-window-system):
12938 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12940 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12942 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12945 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12947 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12949 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12950 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12952 (ruby-end-of-defun): Remove the unused arg, change the docstring
12953 to reflect that this function is only used as the value of
12954 `end-of-defun-function'.
12955 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12956 to reflect an earlier change that beginning/end-of-defun functions
12957 jump between methods in a class definition, as well as top-level
12960 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12962 * minibuffer.el (minibuffer-complete): Don't just scroll
12963 a *Completions* that's been iconified.
12964 (minibuffer-force-complete): Make sure repetitions do cycle when going
12965 through completion-in-region -> minibuffer-complete.
12967 2013-04-15 Alan Mackenzie <acm@muc.de>
12969 Correct the placement of c-cpp-delimiters when there're #s not at
12972 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12973 place a submatch around the #.
12974 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12975 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12978 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12980 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12981 (advice--member-p): New arg `name'.
12982 (advice--add-function, advice-member-p): Use it (bug#14202).
12984 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12986 Reformulate java imenu-generic-expression.
12987 The old expression contained ill formed regexps.
12989 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12990 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12991 (cc-imenu-java-method-arg-regexp): New defconsts.
12992 (cc-imenu-java-build-type-args-regex): New defun.
12993 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12994 handling of spaces in the regexp.
12996 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12998 * textmodes/ispell.el (ispell-command-loop): Remove
12999 flyspell highlight of a word when ispell accepts it (bug #14178).
13001 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
13003 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
13004 uses code from the previous `ange-ftp-run-real-handler'.
13005 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
13006 only in case that function exist. This is needed for proper
13007 unloading of Tramp.
13009 2013-04-15 Tassilo Horn <tsdh@gnu.org>
13011 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
13013 * textmodes/reftex.el (reftex-compile-variables): Use it.
13015 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
13017 * files.el (normal-mode): Only use default major-mode if no other mode
13020 * emacs-lisp/trace.el (trace-values): New function.
13022 * files.el: Allow : in local variables (bug#14089).
13023 (hack-local-variable-regexp): New var.
13024 (hack-local-variables-prop-line, hack-local-variables): Use it.
13026 2013-04-13 Roland Winkler <winkler@gnu.org>
13028 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
13029 data before it gets modified by bibtex-beginning-of-entry.
13031 2013-04-13 Roland Winkler <winkler@gnu.org>
13033 * textmodes/bibtex.el (bibtex-url): Doc fix.
13035 2013-04-13 Roland Winkler <winkler@gnu.org>
13037 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
13038 does not visit a BibTeX file, exclude it from the list of buffers
13039 returned by bibtex-initialize.
13041 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
13043 * window.el (split-window): Remove interactive form, since as a
13044 command this function is a special case of split-window-below.
13045 Correct doc string.
13047 2013-04-12 Roland Winkler <winkler@gnu.org>
13049 * faces.el (read-face-name): Do not override value of arg default.
13050 Allow single faces and strings as default values. Remove those
13051 elements from return value that are not faces.
13052 (describe-face): Simplify.
13053 (face-at-point): New optional args thing and multiple so that this
13054 function can provide the same functionality previously provided by
13056 (make-face-bold, make-face-unbold, make-face-italic)
13057 (make-face-unitalic, make-face-bold-italic, invert-face)
13058 (modify-face, read-face-and-attribute): Use face-at-point.
13060 * cus-edit.el (customize-face, customize-face-other-window)
13061 * cus-theme.el (custom-theme-add-face)
13062 * face-remap.el (buffer-face-set)
13063 * facemenu.el (facemenu-set-face): Use face-at-point.
13065 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
13067 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
13069 2013-04-10 Tassilo Horn <tsdh@gnu.org>
13071 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
13072 off leading { and trailing } from field values.
13074 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
13076 * emacs-lisp/timer.el (timer--check): New function.
13077 (timer--time, timer-set-function, timer-event-handler): Use it.
13078 (timer-set-idle-time): Simplify.
13079 (timer--activate): CSE.
13080 (timer-event-handler): Give more info in error message.
13081 (internal-timer-start-idle): New function, moved from C.
13083 * mpc.el (mpc-proc): Add `restart' argument.
13084 (mpc-proc-cmd): Use it.
13085 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
13086 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
13089 2013-04-10 Masatake YAMATO <yamato@redhat.com>
13091 * progmodes/sh-script.el: Implement `sh-mode' own
13092 `add-log-current-defun-function' (bug#14112).
13093 (sh-current-defun-name): New function.
13094 (sh-mode): Use the function.
13096 2013-04-09 Bastien Guerry <bzg@gnu.org>
13098 * simple.el (choose-completion-string): Fix docstring (bug#14163).
13100 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
13102 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
13104 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
13107 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
13109 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
13112 2013-04-07 Leo Liu <sdl.web@gmail.com>
13114 * pcmpl-x.el: New file.
13116 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
13118 Do not set x-display-name until X connection is established.
13119 This is needed to prevent from weird situation described at
13120 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
13121 * frame.el (make-frame): Set x-display-name after call to
13122 window system initialization function, not before.
13123 * term/x-win.el (x-initialize-window-system): Add optional
13124 display argument and use it.
13125 * term/w32-win.el (w32-initialize-window-system):
13126 * term/ns-win.el (ns-initialize-window-system):
13127 * term/pc-win.el (msdos-initialize-window-system):
13128 Add compatible optional display argument.
13130 2013-04-06 Eli Zaretskii <eliz@gnu.org>
13132 * files.el (normal-backup-enable-predicate): On MS-Windows and
13133 MS-DOS compare truenames of temporary-file-directory and of the
13134 file, so that 8+3 aliases (usually found in $TEMP on Windows)
13135 don't fail comparison by compare-strings. Also, compare file
13136 names case-insensitively on MS-Windows and MS-DOS.
13138 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13140 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
13141 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
13143 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
13145 * whitespace.el (whitespace-color-on, whitespace-color-off):
13146 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
13148 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
13150 * ispell.el (ispell-set-spellchecker-params):
13151 Really set `ispell-args' for all equivs.
13153 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
13155 * ido.el (ido-completions): Use extra elements of ido-decorations
13157 (ido-decorations): Update docstring.
13159 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
13161 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
13162 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
13163 nil during initialization, in order not to miss changes since the
13164 file was opened. (Bug#14140)
13166 2013-04-05 Leo Liu <sdl.web@gmail.com>
13168 * kmacro.el (kmacro-call-macro): Fix bug#14135.
13170 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
13172 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
13174 2013-04-04 Glenn Morris <rgm@gnu.org>
13176 * electric.el (electric-pair-inhibit-predicate): Add :version.
13178 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
13180 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
13181 when a package is required several times (bug#14082).
13183 2013-04-04 Roland Winkler <winkler@gnu.org>
13185 * faces.el (read-face-name): Behave as promised by the docstring.
13186 Assume that arg default is a list of faces.
13187 (describe-face): Call read-face-name with list of default faces.
13189 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
13191 * bookmark.el: Fix deletion of bookmarks (bug#13972).
13192 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
13193 (bookmark-bmenu-execute-deletions): Only skip first line if it's
13195 (bookmark-exit-hook-internal): Save even if list is empty.
13197 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
13199 * emacs-lisp/package.el (package-pinned-packages): New var.
13200 (package--add-to-archive-contents): Obey it (bug#14118).
13202 2013-04-03 Alan Mackenzie <acm@muc.de>
13204 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
13205 Also adapt to the new values of element 7 of a parse state.
13207 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
13208 parameter `not-in-delimiter'. Handle being inside comment opener.
13209 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
13210 character in case we're typing a '*' after a '/'.
13211 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
13212 instead by passing the parameter to c-state-pp-to-literal.
13214 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
13215 for elt. 7 of a parse state.
13217 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
13219 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
13220 * international/latin1-disp.el, international/mule-util.el:
13221 * language/cyril-util.el, language/european.el, language/ind-util.el:
13222 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13223 * language/tibetan.el, language/viet-util.el:
13224 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13226 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13228 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13229 (electric-pair-post-self-insert-function): Use it.
13230 (electric-pair-default-inhibit): New function, extracted from
13231 electric-pair-post-self-insert-function.
13233 2013-03-31 Roland Winkler <winkler@gnu.org>
13235 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13237 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13239 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13241 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13243 Un-indent after "pass" and "return" statements (Bug#13888)
13244 * progmodes/python.el (python-indent-block-enders): New var.
13245 (python-indent-calculate-indentation): Use it.
13247 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13249 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13250 defun. Defining it as defalias could introduce too eager
13251 byte-compiler optimization. (Bug#14030)
13253 2013-03-30 Chong Yidong <cyd@gnu.org>
13255 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13257 2013-03-30 Leo Liu <sdl.web@gmail.com>
13259 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13260 (kmacro-execute-from-register): Pass the keyboard macro to
13261 kmacro-call-macro or repeating won't work correctly.
13263 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13265 * progmodes/subword.el: Back to using `forward-symbol'.
13267 * subr.el (forward-whitespace, forward-symbol)
13268 (forward-same-syntax): Move from thingatpt.el.
13270 2013-03-29 Leo Liu <sdl.web@gmail.com>
13272 * kmacro.el (kmacro-to-register): New command.
13273 (kmacro-execute-from-register): New function.
13274 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13276 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13278 * mpc.el: Use defvar-local and setq-local.
13279 (mpc--proc-connect): Connection failures are not bugs.
13280 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13281 (mpc-volume-map): Bind to the up-events.
13283 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13285 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13286 instead of `forward-symbol'.
13288 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13290 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13291 (edebug--recursive-edit): Use it.
13292 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13293 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13295 2013-03-28 Leo Liu <sdl.web@gmail.com>
13297 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13299 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13301 * facemenu.el (list-colors-callback): New defvar.
13302 (list-colors-redisplay): New function.
13303 (list-colors-display): Install list-colors-redisplay as the
13304 revert-buffer-function. (Bug#14063)
13306 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13308 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13309 and suffixes don't overlap (bug#14061).
13311 * case-table.el: Use lexical-binding.
13312 (case-table-get-table): New function.
13313 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13315 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13317 * progmodes/subword.el: Add `superword-mode' to do word motion
13318 over symbol_words (parallels and leverages `subword-mode' which
13319 does word motion inside MixedCaseWords).
13321 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13323 * eshell/em-unix.el: Move su and sudo to...
13324 * eshell/em-tramp.el: ...Eshell tramp module.
13326 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13328 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13329 Change return value to be a sexp. Delay `get-buffer' to after
13330 restoring the desktop (bug#13951).
13332 2013-03-26 Leo Liu <sdl.web@gmail.com>
13334 * register.el: Move semantic tag handling back to
13335 cedet/semantic/senator.el. (Bug#14052)
13337 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13339 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13340 into the prompt either (bug#13963).
13342 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13344 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13345 part of "(error-foo)".
13347 2013-03-24 Juri Linkov <juri@jurta.org>
13349 * replace.el (list-matching-lines-prefix-face): New defcustom.
13350 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13351 `occur-engine' if `face-differs-from-default-p' returns t.
13352 (occur-engine): Add `,' inside backquote construct to evaluate
13353 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13354 Pass `prefix-face' to the functions `occur-context-lines' and
13355 `occur-engine-add-prefix'.
13356 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13357 `prefix-face' and propertize the prefix with `prefix-face'.
13360 2013-03-24 Leo Liu <sdl.web@gmail.com>
13362 * nxml/rng-valid.el (rng-validate-while-idle)
13363 (rng-validate-quick-while-idle): Guard against deleted buffer.
13366 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13367 is the last entry in kill-buffer-hook.
13369 * files.el (kill-buffer-hook): Doc fix.
13371 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13373 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13374 Make it safe-local.
13376 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13378 2013-03-23 Leo Liu <sdl.web@gmail.com>
13380 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13383 * nxml/rng-valid.el (rng-validate-mode)
13384 (rng-after-change-function, rng-do-some-validation):
13385 * nxml/rng-maint.el (rng-validate-buffer):
13386 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13387 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13388 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13389 (nxml-extend-after-change-region): Use with-silent-modifications.
13391 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13394 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13395 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13396 timer-idle-list. (Bug#13999)
13398 2013-03-23 Juri Linkov <juri@jurta.org>
13400 * info.el (info-index-match): New face.
13401 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13402 main pattern and add text properties with the new face to matches
13403 in index entries relative to the beginning of the index entry.
13406 2013-03-21 Eric Ludlam <zappo@gnu.org>
13408 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13409 Inhibit read only while inserting objects.
13411 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13413 * progmodes/cfengine.el: Update docs to mention
13414 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13415 symbol motion. Remove "_" from the word syntax.
13417 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13419 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13420 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13422 2013-03-20 Juri Linkov <juri@jurta.org>
13424 * info.el (Info-next-reference-or-link)
13425 (Info-prev-reference-or-link): New functions.
13426 (Info-next-reference, Info-prev-reference): Use them.
13427 (Info-try-follow-nearest-node): Handle footnote navigation.
13428 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13430 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13432 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13433 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13435 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13437 Suppress unnecessary non-ASCII chatter during build process.
13438 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13439 (batch-skkdic-convert): Suppress most of the chatter.
13440 It's not needed so much now that machines are faster,
13441 and its non-ASCII component was confusing; see Dmitry Gutov in
13442 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13444 2013-03-20 Leo Liu <sdl.web@gmail.com>
13446 * ido.el (ido-chop): Fix bug#10994.
13448 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13450 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13452 (whitespace-color-on, whitespace-color-off):
13453 Use `font-lock-fontify-buffer' (Bug#13817).
13455 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13457 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13458 remapping in mode-line.
13459 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13461 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13463 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13464 value for `whitespace-line' face (Bug#13875).
13465 (whitespace-font-lock-keywords): Change description.
13466 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13467 the constructed keywords instead.
13468 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13470 2013-03-19 Leo Liu <sdl.web@gmail.com>
13472 * progmodes/compile.el (compilation-display-error): New command.
13473 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13476 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13478 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13480 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13482 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13484 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13486 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13488 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13489 * net/tramp-gvfs.el (top):
13490 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13491 (tramp-handle-shell-command): Use it.
13492 (tramp-dissect-file-name): Raise an error when hostname is a
13493 method name, and neither method nor user is specified.
13495 * net/trampver.el: Update release number.
13497 2013-03-18 Leo Liu <sdl.web@gmail.com>
13499 Make sure eldoc can be turned off properly.
13500 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13502 (eldoc-display-message-p): Revert last change.
13503 (eldoc-display-message-no-interference-p)
13504 (eldoc-print-current-symbol-info): Tweak.
13506 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13508 * doc-view.el (doc-view-new-window-function): Check the new window
13509 overlay's display property instead the char property of the
13510 buffer's first char. Use `with-selected-window' instead of
13511 `save-window-excursion' with `select-window'.
13512 (doc-view-document->bitmap): Check the current doc-view overlay's
13513 display property instead the char property of the buffer's first char.
13515 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13517 Automate the build of ja-dic.el (Bug#13984).
13518 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13519 from the input, rather than assume that it's been done for us by the
13520 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13521 the current date into a ja-dic.el comment, as that complicates
13522 regression testing.
13524 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13526 * whitespace.el: Fix double evaluation.
13527 (whitespace-space, whitespace-hspace, whitespace-tab)
13528 (whitespace-newline, whitespace-trailing, whitespace-line)
13529 (whitespace-space-before-tab, whitespace-indentation)
13530 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13532 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13533 (whitespace-color-on): Use a single font-lock-add-keywords call.
13534 Fix double-evaluation of face variables.
13536 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13538 * net/tramp-adb.el (tramp-adb-parse-device-names):
13539 Use `start-process' instead of `call-process'. Otherwise, the
13540 function might be blocked under MS Windows. (Bug#13299)
13542 2013-03-17 Leo Liu <sdl.web@gmail.com>
13544 Extend eldoc to display info in the mode-line. (Bug#13978)
13545 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13546 (eldoc-mode-line-string): New variable.
13547 (eldoc-minibuffer-message): New function.
13548 (eldoc-message-function): New variable.
13549 (eldoc-message): Use it.
13550 (eldoc-display-message-p)
13551 (eldoc-display-message-no-interference-p):
13552 Support eldoc-post-insert-mode.
13554 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13555 (eval-expression): Run it.
13557 2013-03-17 Roland Winkler <winkler@gnu.org>
13559 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13560 strings in the list of return values.
13562 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13564 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13565 radix before checking for HMS forms.
13567 2013-03-16 Leo Liu <sdl.web@gmail.com>
13569 * progmodes/scheme.el: Add indentation and font-locking for λ.
13572 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13574 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13575 token before point (bug#13942).
13577 2013-03-16 Leo Liu <sdl.web@gmail.com>
13579 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13581 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13583 * startup.el (command-line-normalize-file-name): Fix handling of
13584 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13585 <xfq.free@gmail.com> in
13586 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13588 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13590 Sync with Tramp 2.2.7.
13592 * net/trampver.el: Update release number.
13594 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13596 * doc-view.el: Fix bug#13887.
13597 (doc-view-insert-image): Don't modify overlay associated to
13598 non-live windows, and implement horizontal centering of image in
13599 case it's smaller than the window.
13600 (doc-view-new-window-function): Force redisplay of new windows on
13603 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13605 * saveplace.el (save-place-alist-to-file): Don't sort
13606 `save-place-alist', just pretty-print it (bug#13882).
13608 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13610 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13611 Check whether `default-file-name-coding-system' is bound.
13612 It isn't in XEmacs.
13614 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13616 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13617 backquotes for `obsolete' (bug#13929).
13619 * international/mule.el (find-auto-coding): Include file name in
13620 obsolescence warning (bug#13922).
13622 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13624 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13625 for CFEngine 3-specific indentation.
13626 (cfengine3-indent-line): Use it. Fix up category regex.
13627 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13629 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13631 * type-break.el (type-break-file-name):
13632 * textmodes/remember.el (remember-data-file):
13633 * strokes.el (strokes-file):
13634 * shadowfile.el (shadow-initialize):
13635 * saveplace.el (save-place-file):
13636 * ps-bdf.el (bdf-cache-file):
13637 * progmodes/idlwave.el (idlwave-config-directory):
13638 * net/quickurl.el (quickurl-url-file):
13639 * international/kkc.el (kkc-init-file-name):
13640 * ido.el (ido-save-directory-list-file):
13641 * emulation/viper.el (viper-custom-file-name):
13642 * emulation/vip.el (vip-startup-file):
13643 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13644 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13646 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13648 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13649 * language/thai-word.el: Switch to UTF-8.
13651 See ChangeLog.16 for earlier changes.
13653 ;; Local Variables:
13657 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13659 This file is part of GNU Emacs.
13661 GNU Emacs is free software: you can redistribute it and/or modify
13662 it under the terms of the GNU General Public License as published by
13663 the Free Software Foundation, either version 3 of the License, or
13664 (at your option) any later version.
13666 GNU Emacs is distributed in the hope that it will be useful,
13667 but WITHOUT ANY WARRANTY; without even the implied warranty of
13668 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13669 GNU General Public License for more details.
13671 You should have received a copy of the GNU General Public License
13672 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.