1 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
3 * net/tramp-sh.el (tramp-sh-handle-file-truename):
4 Preserve trailing "/". (Bug#16851)
6 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
8 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
9 after `=>' (bug#16811).
10 (ruby-smie-rules): Handle the inconsistent second element of the
11 list returned by `smie-indent--parent'.
12 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
15 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
17 * elec-pair.el (electric-pair-text-syntax-table)
18 (electric-pair-syntax-info, electric-pair--syntax-ppss)
19 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
20 (electric-pair--looking-at-unterminated-string-p): Doc fix.
21 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
23 2014-02-22 Glenn Morris <rgm@gnu.org>
25 * imenu.el (imenu--generic-function): Doc fix.
27 * register.el (frame-configuration-to-register): Make obsolete.
29 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
31 * desktop.el (desktop-save-buffer-p): Do not fail when
32 desktop-files-not-to-save is nil. Return t for true result
35 2014-02-22 Daniel Colascione <dancol@dancol.org>
37 * net/secrets.el (secrets-create-item,secrets-search-items): Check
38 that attribute values are strings, avoiding the construction of
39 invalid dbus messages.
41 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
43 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
44 defun-declarations-alist.
46 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
48 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
51 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
53 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
54 (whitespace-newline, whitespace-trailing, whitespace-line)
55 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
56 (whitespace-space-after-tab): Fix typo in docstrings.
58 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
60 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
62 * electric.el (electric-indent-functions-without-reindent):
63 Add `yaml-indent-line'.
65 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
67 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
68 It has done nothing for years; should be removed after the release.
70 * simple.el (choose-completion): Fix docstring typo.
71 (read-quoted-char-radix): Remove unneeded * in docstring.
72 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
73 Don't escape parentheses unnecessarily in docstrings.
75 2014-02-21 Martin Rudalics <rudalics@gmx.at>
77 Fix handling of window-min-height/-width (Bug#16738).
78 * window.el (window--dump-window, window--dump-frame):
80 (window--min-size-1): Account for window dividers.
81 When window-resize-pixelwise is nil, delay rounding till after the
82 sum of the window components has been calculated.
83 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
84 nil make sure at least one text line and two text columns remain
86 (window-resize): Signal an error when window-resize-apply fails.
87 (window--resize-child-windows): Fix calculation of by how many
88 pixels a window can still be shrunk via window-new-normal.
89 (adjust-window-trailing-edge): Call window--resizable with
90 correct TRAIL argument.
92 (with-temp-buffer-window): Don't evaluate BODY within
93 with-current-buffer (Bug#16816).
95 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
97 * net/tramp.el (tramp-check-cached-permissions):
98 Call `file-attributes' with `suffix' being a symbol but a string.
100 2014-02-21 Daniel Colascione <dancol@dancol.org>
102 * net/dbus.el (dbus-init-bus-1): Declare new subr.
103 (dbus-init-bus): New function: call into dbus-init-bus-1
104 and installs a handler for the disconnect signal.
105 (dbus-call-method): Rewrite to look for result in cons.
106 (dbus-call-method-handler): Store result in cons.
107 (dbus-check-event): Recognize events with nil sender as valid.
108 (dbus-handle-bus-disconnect): New function. React to bus
109 disconnection signal by synthesizing dbus error for each
110 pending synchronous or asynchronous call.
111 (dbus-notice-synchronous-call-errors): New function.
112 (dbus-handle-event): Raise errors directly only when `dbus-debug'
113 is true, not all the time.
115 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
117 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
118 Remove obsolescence declarations, these variables do not exist anymore.
120 * savehist.el (savehist-save-minibuffer-history)
121 (savehist-additional-variables, savehist-file, savehist-mode-hook)
122 (savehist-save-hook, savehist-coding-system, savehist-loaded)
123 (savehist-load, savehist-install, savehist-autosave): Fix typos;
124 mostly, refer to "Savehist mode" when talking about the mode,
125 and not the function.
127 * saveplace.el (save-place): Remove redundant info in docstring.
128 (save-place-forget-unreadable-files, toggle-save-place)
129 (save-place-forget-unreadable-files, save-place-dired-hook):
130 Fix typos and remove unneeded backslashes.
132 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
134 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
135 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
137 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
138 <insert-directory>: Use `tramp-handle-insert-directory'.
139 (tramp-gvfs-handle-insert-directory): Remove function.
141 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
142 Call `tramp-handle-insert-directory'.
144 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
146 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
147 before the start of buffer/region (bug#16799).
149 2014-02-20 Glenn Morris <rgm@gnu.org>
151 * isearch.el (search-invisible): Doc fix.
153 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
155 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
158 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
160 * frameset.el (frameset-restore): Delay removing an old frame's
161 duplicate id until the new frame has been correctly created.
163 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
165 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
166 (tramp-check-cached-permissions): Call `file-attributes' if the
169 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
170 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
172 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
173 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
174 (tramp-gvfs-maybe-open-connection): Set always connection
175 properties, even if target is mounted already.
177 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
178 Set tramp-autoload cookie.
179 (tramp-get-remote-touch): New defun.
180 (tramp-sh-handle-set-file-times): Use it.
181 (tramp-sh-handle-directory-files-and-attributes):
182 Use `tramp-handle-directory-files-and-attributes' if neither stat
183 nor perl are available on the remote host.
185 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
186 "/". Write long listing only when "l" belongs to the switches.
188 * net/trampver.el: Update release number.
190 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
192 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
194 2014-02-19 Martin Rudalics <rudalics@gmx.at>
196 * window.el (window-state-put): Allow WINDOW to refer to an
197 internal window (Bug#16793).
199 2014-02-19 Glenn Morris <rgm@gnu.org>
201 * textmodes/remember.el: Move provide statement to end.
202 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
203 (remember-notes): Doc fixes.
205 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
207 * delsel.el (delete-char): Restore incorrectly erased property
210 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
212 * frameset.el (frameset--restore-frame): When a frame is being reused
213 and its root window is not alive, delete all the frame's windows before
214 restoring the window state. This works around the issue in bug#16793.
216 2014-02-18 Glenn Morris <rgm@gnu.org>
218 * textmodes/remember.el (remember-data-directory)
219 (remember-directory-file-name-format, remember-store-in-files)
220 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
221 (remember-notes-save-and-bury-buffer)
222 (remember-notes--kill-buffer-query): Doc fixes.
224 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
226 2014-02-17 Alan Mackenzie <acm@muc.de>
228 Connect electric-indent-mode up with CC Mode. Bug #15478.
229 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
230 to electric-indent-{,local-}-mode.
231 (c-basic-common-init): Set electric-indent-inhibit.
232 Initialise c-electric-flag from electric-indent-mode.
233 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
234 New hook functions which propagate electric-indent-mode to CC mode.
236 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
237 hit, toggle electric-indent-local-mode.
239 * electric.el (electric-indent-mode-has-been-called):
242 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
244 * frameset.el (frameset-cfg-id): New function.
245 (frameset--reuse-frame, frameset-restore): Use it.
246 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
248 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
250 * ido.el (ido-file-internal): Remove unused var `d'.
251 Use \` for to match BoS. Fit within 80n columns.
253 2014-02-17 Daniel Colascione <dancol@dancol.org>
255 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
256 dbus-call-method check for completion using a busy-wait loop with
259 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
261 Sync with Tramp 2.2.9.
263 * net/trampver.el: Update release number.
265 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
267 * ido.el (ido-file-internal): Don't add the name of an existing
268 directory twice. (Bug#16747)
270 2014-02-16 Glenn Morris <rgm@gnu.org>
272 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
273 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
275 2014-02-15 Michael R. Mauger <michael@mauger.com>
277 * progmodes/sql.el: Version 3.4
278 (sql-oracle-options): New default value ("-L").
279 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
280 (sql-placeholders-filter): Correct placeholder pattern.
281 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
282 (sql-login-delay): New variable.
283 (sql-product-interactive): Use it.
285 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
287 * frameset.el (frameset--jump-to-register): Check that buffer is live
290 2014-02-15 Glenn Morris <rgm@gnu.org>
292 * info.el (info-initialize): Revert 2014-01-10 change.
294 2014-02-14 Glenn Morris <rgm@gnu.org>
296 * replace.el (map-query-replace-regexp)
297 (read-regexp-defaults-function, read-regexp): Doc fixes.
299 * dired.el (dired-read-regexp):
300 * faces.el (list-faces-display):
301 * misearch.el (multi-isearch-read-matching-buffers)
302 (multi-isearch-read-matching-files):
303 * play/cookie1.el (cookie-apropos):
304 * progmodes/grep.el (grep-read-regexp): Doc fixes.
306 * textmodes/remember.el (remember): Use frameset-to-register
307 rather than frame-configuration-to-register.
309 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
311 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
312 incorrect keybinding.
314 2014-02-13 Daniel Colascione <dancol@dancol.org>
316 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
317 when adding overlays so that line numbers from compiler match line
320 2014-02-13 Glenn Morris <rgm@gnu.org>
322 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
324 * jit-lock.el (jit-lock-mode): Doc fix.
326 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
328 * apropos.el (apropos-read-pattern): When the user passes an empty
329 string, give a more helpful error message than "Wrong type
330 argument: stringp, nil".
332 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
334 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
336 2014-02-13 Glenn Morris <rgm@gnu.org>
338 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
340 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
342 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
343 shift-select commands.
345 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
347 * progmodes/js.el (js-indent-line): Don't widen.
348 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
350 2014-02-12 Glenn Morris <rgm@gnu.org>
352 * icomplete.el (icomplete): Add info-link to defgroup.
353 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
354 (icomplete-minibuffer-map, icomplete-mode)
355 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
357 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
358 (package-menu-filter): Rename from package-menu-filter-interactive.
361 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
363 * frameset.el (frameset--jump-to-register): Select the required
364 window and buffer before restoring position (bug#16696).
366 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
368 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
370 2014-02-10 Glenn Morris <rgm@gnu.org>
372 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
374 2014-02-10 Eli Zaretskii <eliz@gnu.org>
376 * w32-common-fns.el (x-get-selection): Doc fix.
377 * select.el (x-get-selection): Doc fix. (Bug#15109)
379 * face-remap.el (face-remap-add-relative)
380 (face-remap-remove-relative, face-remap-reset-base)
381 (face-remap-set-base): Call force-mode-line-update to redisplay
382 the current buffer due to potential change in faces. (Bug#16709)
384 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
386 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
387 script more robustly.
389 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
391 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
393 * simple.el (choose-completion): Doc fix (bug#14160).
395 * subr.el (event-start): Say what a nil EVENT value means.
397 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
400 * progmodes/grep.el (find-program): Doc fix (bug#14289).
402 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
404 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
406 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
407 predicate function (bug#15455).
409 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
411 * ielm.el (inferior-emacs-lisp-mode): Instead of
412 `comment-use-global-state', set `comment-use-syntax'.
414 2014-02-10 Glenn Morris <rgm@gnu.org>
416 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
418 2014-02-09 Alan Mackenzie <acm@muc.de>
420 Fix c-invalidate-state-cache on narrowed buffers.
421 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
422 Widen when setting and clearing the CPP delimiter properties.
424 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
426 * help.el (describe-bindings): Doc fix (bug#9888).
428 * files.el (save-buffer): Use ARG as the parameter name for
429 consistency (bug#10346).
430 (save-buffer): Clarify the 0 argument (bug#10346).
432 * cus-edit.el (customize-apropos): Fix error string.
433 (custom-buffer-create): Doc fix (bug#11122).
434 (custom-sort-items): Doc fix (bug#11121).
436 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
438 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
439 (icomplete-simple-completing-p): Mention the previous variable.
441 * font-lock.el (font-lock-value-in-major-mode): Clarify the
442 meaning of the parameter (bug#12282).
444 * files.el (find-file-noselect): Clarify prompt when changing
445 readedness (bug#13261).
446 (locate-file): Suffixes aren't returned, so don't say that they
448 (backup-inhibited): Doc clarification (bug#12525).
450 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
451 before we actually start to delete things (bug#16331).
453 * subr.el (event-start): Doc fix (bug#14228).
456 2014-02-09 Glenn Morris <rgm@gnu.org>
458 * emacs-lisp/warnings.el (lwarn):
459 Empower help-enable-auto-load. (Bug#15940)
461 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
463 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
466 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
468 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
469 Insert output at end of buffer. (Bug#16120)
471 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
473 * simple.el (choose-completion-string-functions): Document new
474 calling convention (bug#14153).
475 (execute-extended-command): Clarify doc string (bug#13373).
477 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
479 * find-dired.el (find-name-dired): Doc fix (bug#14290).
480 (find-grep-dired): Doc fix (bug#14288).
482 2014-02-08 Juri Linkov <juri@jurta.org>
484 * isearch.el (isearch-quote-char): Check character validity
485 like in `quoted-insert' (bug#16677).
487 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
489 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
491 * isearch.el (isearch-hide-immediately): Doc clarification
494 * simple.el (line-move): Document utility function used many
495 places in the Emacs sources (bug#14843).
497 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
498 (dired-prev-marked-file): Doc fix (bug#14855).
499 (dired-up-directory): Doc fix (bug#14848).
501 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
503 * files.el (file-relative-name): Doc fix (bug#15159).
505 * fringe.el (fringe-styles): Doc fix (bug#15239).
507 * isearch.el (isearch-filter-predicate): Documentation typo fix
510 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
512 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
514 * replace.el (replace-match-maybe-edit): Doc clarification
517 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
519 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
521 2014-02-08 Glenn Morris <rgm@gnu.org>
523 * help-fns.el (describe-variable):
524 Check {file,dir}-local-variables-alist, and buffer-file-name,
525 in the correct buffer.
527 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
529 * help-fns.el (describe-variable): Fix the case where
530 a value is directory-local with no dir-locals file. (Bug#16635)
532 2014-02-08 Glenn Morris <rgm@gnu.org>
534 * abbrev.el (edit-abbrevs-mode):
535 Derive from fundamental-mode. (Bug#16682)
537 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
539 * simple.el (quoted-insert): Check character validity (bug#16677).
541 2014-02-07 Juri Linkov <juri@jurta.org>
543 * desktop.el (desktop-read): Claim the lock when the owner is not
544 the current process. (Bug#16157)
546 2014-02-07 Juri Linkov <juri@jurta.org>
548 * desktop.el (desktop-buffers-not-to-save): Change default from nil
549 to "\\` ". (Bug#16651)
551 2014-02-07 Juri Linkov <juri@jurta.org>
553 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
554 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
555 (desktop-auto-save-cancel-timer): New function with some code from
556 `desktop-auto-save-set-timer'.
557 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
558 Instead of setting `desktop-save-mode' to nil, call
559 `desktop-save-mode' with arg 0. (Bug#16630)
561 2014-02-07 Glenn Morris <rgm@gnu.org>
563 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
564 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
565 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
567 * obsolete/iswitchb.el: Move to obsolete/.
568 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
569 since obsolete/ is not scanned for autoloads.
570 * emacs-lisp/authors.el (authors-valid-file-names):
573 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
574 Disable now non-functional find-file-hook.
576 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
578 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
579 instead of ";" in order to avoid additional prompts. Let heredoc
580 scripts read from tty. (Bug#16582)
581 (tramp-send-command): No special handling of heredocs, it isn't
584 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
586 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
587 with a space (bug#16664). Limit the symbols considered to the ones
588 that are bound or fbound (bug#16646).
590 2014-02-06 Glenn Morris <rgm@gnu.org>
592 * epa.el (epa-mail-aliases): Doc fix.
594 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
596 * emacs-lisp/lisp.el (lisp-completion-at-point):
597 Use `completion-table-merge' instead of `completion-table-in-turn'
600 * minibuffer.el (completion-table-merge): New function.
602 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
604 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
605 (tramp-sh-handle-set-file-acl)
606 (tramp-sh-handle-start-file-process)
607 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
608 (tramp-find-executable, tramp-send-command): Use it.
610 2014-02-05 Glenn Morris <rgm@gnu.org>
612 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
614 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
616 * progmodes/python.el (python-shell-send-string):
617 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
619 2014-02-04 Anders Lindgren <andlind@gmail.com>
621 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
622 the names (bug#16620).
624 2014-02-03 Martin Rudalics <rudalics@gmx.at>
626 * faces.el (window-divider): New default value. Rewrite doc-string.
627 (window-divider-first-pixel, window-divider-last-pixel): New faces.
629 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
631 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
632 `protected' and `public' can also be called without arguments.
634 2014-02-03 Glenn Morris <rgm@gnu.org>
636 * register.el (window-configuration-to-register)
637 (frame-configuration-to-register): Unadvertise unused argument.
638 * frameset.el (frameset-to-register): Remove unused argument.
640 * frameset.el (frameset-to-register):
641 * kmacro.el (kmacro-to-register):
642 * register.el (increment-register):
643 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
644 (calc-append-to-register, calc-prepend-to-register):
645 * play/gametree.el (gametree-layout-to-register)
646 (gametree-apply-register-layout):
647 * textmodes/picture.el (picture-clear-rectangle-to-register)
648 (picture-yank-rectangle-from-register):
649 * vc/emerge.el (emerge-combine-versions-register):
650 Use register-read-with-preview to read registers.
652 2014-02-03 João Távora <joaotavora@gmail.com>
654 * elec-pair.el (electric-pair-backward-delete-char): Don't error
655 when at beginning of (possibly narrowed) buffer.
657 2014-02-02 Daniel Colascione <dancol@dancol.org>
659 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
660 Also try to display local help from just before point.
662 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
664 c-parse-state. Don't "append-lower-brace-pair" in certain
665 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
666 recognised as a comment.
668 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
669 as well as normal comment starter.
670 (c-parse-state-get-strategy): Extra return possibility
672 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
673 return value list to indicate replacement of a brace-pair cons
675 (c-parse-state-1): With 'back-and-forward, only call
676 c-append-lower-brace-pair-to state-cache when cons-separated.
678 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
680 * term/ns-win.el (ns-suspend-error): New function.
681 (ns-initialize-window-system): Add ns-suspend-error to
682 suspend-hook (Bug#16612).
684 2014-02-02 Daniel Colascione <dancol@dancol.org>
686 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
688 2014-02-02 Daniel Colascione <dancol@dancol.org>
690 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
692 2014-02-02 Glenn Morris <rgm@gnu.org>
694 * register.el (register-read-with-preview, point-to-register)
695 (window-configuration-to-register, frame-configuration-to-register)
696 (jump-to-register, number-to-register, view-register, insert-register)
697 (copy-to-register, append-to-register, prepend-to-register)
698 (copy-rectangle-to-register): Doc fixes.
700 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
702 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
703 * emacs-lisp/find-func.el (find-function-C-source): Idem.
704 * emacs-lisp/nadvice.el (advice--cd*r): New function.
705 * help-fns.el (describe-function-1): Use it.
707 2014-02-02 Glenn Morris <rgm@gnu.org>
709 * register.el (register-preview-default): New function,
710 split from register-preview.
711 (register-preview-function): Rename from register-preview-functions,
713 (register-preview): Use register-preview-function.
714 (register-read-with-preview): Error on non-character event. (Bug#16595)
716 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
718 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
719 `:' before binary operators (bug#16609). Don't check for `:'
720 before `[' and `(', or their syntax status. A percent literal
721 can't end with either.
722 (ruby-font-lock-keywords): For built-ins that require arguments,
723 check that they're followed by something that looks like argument
726 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
728 * subr.el (butlast): Document what an omitted N means (bug#13437).
731 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
733 * net/shr.el (shr-generic): Make into a defsubst to make the stack
734 depth shallower (bug#16587).
735 (shr-tag-svg): Respect `shr-inhibit-images'.
736 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
738 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
740 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
741 (ruby-smie-grammar): Make "." right-associative. Make its priority
742 lower than the ternary and all binary operators.
743 (ruby-smie-rules): Indent "(" relative to the first non-"."
744 parent, or the first "." parent at indentation.
745 Use `ruby-align-chained-calls' for indentation of "." tokens.
748 2014-01-31 Juri Linkov <juri@jurta.org>
750 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
751 from `make-hash-table'.
753 * textmodes/ispell.el (ispell-init-process): Change message format
754 to be consistent with other messages.
756 2014-01-31 Glenn Morris <rgm@gnu.org>
758 * delsel.el (delete-selection-mode): Doc fix.
760 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
761 (trace-function-background): Doc fixes.
763 * ido.el (ido-use-virtual-buffers): Doc fix.
764 Reset :version, since the default value has not changed.
766 * register.el (register-preview-delay, register-read-with-preview):
769 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
770 do not mess with mail-buffer position (fixes 2009-11-03 change).
771 * progmodes/cc-mode.el (c-submit-bug-report):
772 Check auto-fill-mode is bound. (Bug#16592)
774 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
776 * startup.el (fancy-splash-image-file): New function,
777 split from fancy-splash-head.
778 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
779 so that we are both using the same image. (Bug#16574)
781 2014-01-30 Glenn Morris <rgm@gnu.org>
783 * simple.el (eval-expression): Doc fix.
785 * hexl.el (hexl-mode-hook):
786 * ielm.el (ielm-mode-hook):
787 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
788 (lisp-interaction-mode-hook):
789 * progmodes/cfengine.e (cfengine3-documentation-function):
790 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
792 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
794 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
795 is a symbol (bug#16584).
797 2014-01-30 Glenn Morris <rgm@gnu.org>
799 * help.el (help-for-help-internal): Add "P" to text.
801 2014-01-29 Glenn Morris <rgm@gnu.org>
803 * simple.el (just-one-space, cycle-spacing): Doc fixes.
805 2014-01-28 Martin Rudalics <rudalics@gmx.at>
807 * window.el (fit-frame-to-buffer): Fix calculations for margins and
810 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
812 * progmodes/hideif.el: Extend to full CPP expression syntax.
813 (hif-token-alist): Add missing tokens.
814 (hif-token-regexp): Add support for float/octal/hex immediates.
815 (hif-string-literal-regexp): New const.
816 (hif-tokenize): Recognize strings and float/octal/hex immediates.
817 (hif-exprlist): New function.
818 (hif-parse-if-exp): Use it.
819 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
820 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
821 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
822 (hif-logxor, hif-comma): New functions.
824 2014-01-28 Glenn Morris <rgm@gnu.org>
826 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
828 * indent.el (tab-stop-list): Doc fix. Add :version.
830 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
831 (cvs-append-to-ignore): Add compatibility alias.
833 2014-01-27 Glenn Morris <rgm@gnu.org>
835 * dired.el (dired-hide-details-mode): Don't autoload it,
836 since it cannot be used outside Dired buffers anyway.
838 * emulation/cua-base.el (cua-mode): Doc fix.
840 * dired.el (dired-hide-details-hide-symlink-targets)
841 (dired-hide-details-hide-information-lines)
842 (dired-hide-details-mode): Doc fixes.
844 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
845 * strokes.el (strokes-file): Doc fix. Bump :version.
846 (strokes-help): Doc fix.
847 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
848 * emulation/viper.el (viper): Doc fix for custom group.
849 (top-level): Remove oh-so-no-longer-relevant text about vip.
850 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
852 * ido.el (ido-save-directory-list-file):
853 * saveplace.el (save-place-file):
854 * calendar/timeclock.el (timeclock-file):
855 * net/quickurl.el (quickurl-url-file):
856 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
857 * progmodes/idlwave.el (idlwave-config-directory):
858 * textmodes/remember.el (remember-data-file):
861 2014-01-26 Glenn Morris <rgm@gnu.org>
863 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
864 Doc fix. Make obsolete.
865 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
867 * sort.el (delete-duplicate-lines): Doc fix.
869 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
871 * progmodes/ada-mode.el (ada):
872 * woman.el (woman): Link to info manual and Commentary section.
874 * progmodes/flymake.el (flymake):
875 * nxml/nxml-mode.el (nxml):
877 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
878 * htmlfontify.el (htmlfontify):
881 * ido.el (ido): Link to info manual.
883 2014-01-25 Leo Liu <sdl.web@gmail.com>
885 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
887 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
889 * net/shr.el (shr-tag-img): Prefer the title over the alt text
892 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
894 * net/eww.el (eww-download-callback):
895 Fix reference to eww-download-directory.
897 * emacs-lisp/bytecomp.el (byte-compile-file):
898 Remove unused local variable `file-name'.
900 2014-01-24 Glenn Morris <rgm@gnu.org>
902 * woman.el (woman-default-faces, woman-monochrome-faces):
903 Fix obsolescence specification.
905 * subr.el (with-demoted-errors): Doc fix.
907 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
909 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
910 (cl--macroexp-fboundp): New function.
911 (cl--make-type-test): Use it.
913 2014-01-23 Glenn Morris <rgm@gnu.org>
915 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
916 * simple.el (eval-expression): Doc fixes.
918 2014-01-22 Glenn Morris <rgm@gnu.org>
920 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
922 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
924 * emacs-lisp/package.el: Write files silently.
925 (package-autoload-ensure-default-file, package--write-file-no-coding)
926 (package-generate-description-file, package--download-one-archive)
927 (package-install-from-archive): Tell `write-region' to stay quiet.
928 (package-menu-mode, package-menu--print-info): Omit the Archive column
929 if there's only one archive.
930 (package-all-keywords, package--has-keyword-p): Remove dead code.
932 2014-01-22 Glenn Morris <rgm@gnu.org>
934 * version.el (emacs-bzr-version-bzr): Fix typo.
936 * version.el (emacs-repository-get-version):
937 Check either .bzr or .git, but not both.
938 Make the git case actually use the DIR argument, and return nil
939 rather than the empty string.
940 Avoid error if .git exists but the git executable is not found.
942 2014-01-22 Martin Rudalics <rudalics@gmx.at>
944 Fixes in window size functions around Bug#16430 and Bug#16470.
945 * window.el (window-total-size, window-size): New argument ROUND.
946 (window--min-delta-1, window-min-delta, window--max-delta-1):
947 Be more conservative when calculating the numbers of lines or
948 columns a window can shrink (Bug#16430).
949 (fit-window-to-buffer): Simplify code.
950 * term.el (term-window-width): Call window-body-width again.
952 2014-01-22 Glenn Morris <rgm@gnu.org>
954 * image.el (image-format-suffixes): Doc fix.
956 * international/quail.el (quail-define-package): Doc fix.
958 * emacs-lisp/authors.el (authors-valid-file-names):
959 (authors-renamed-files-alist): Additions.
961 * vc/vc-git.el (vc-git-print-log): Remove --follow;
962 reverts 2014-01-09 change. (Bug#16422)
964 * calc/calc-embed.el (thing-at-point-looking-at):
965 * emacs-lisp/map-ynp.el (x-popup-dialog):
966 * obsolete/lmenu.el (x-popup-dialog):
967 * emacs-lisp/package.el (url-recreate-url):
968 * mail/mailclient.el (clipboard-kill-ring-save):
969 * subr.el (x-popup-dialog): Update declaration.
970 * mail/rmail.el (rmail-mime-message-p):
971 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
973 2014-01-21 Daniel Colascione <dancol@dancol.org>
975 * progmodes/sh-script.el (sh--inside-noncommand-expression):
976 Correctly detect when we're inside an arithmetic expansion form
977 containing nested parenthesis.
978 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
979 to detect cases where we shouldn't expand "<<" to a heredoc
982 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
984 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
985 (eldoc--message-command-p): New function.
986 (eldoc-display-message-p): Use it.
987 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
988 message is not automatically erased for us.
989 (eldoc-print-current-symbol-info): Erase previous message, if any.
991 2014-01-21 Tassilo Horn <tsdh@gnu.org>
993 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
994 specify it's an interactive function.
996 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
997 Fix regex used for scanning for citation keys which failed for
998 citations with optional arguments.
1000 2014-01-21 Leo Liu <sdl.web@gmail.com>
1002 * simple.el (read--expression): Don't enable eldoc-mode.
1004 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1006 * simple.el (move-beginning-of-line): Make sure we don't move forward
1009 2014-01-20 Juri Linkov <juri@jurta.org>
1011 * saveplace.el (toggle-save-place, save-place-to-alist)
1012 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1013 'dired-mode) before checking for dired-directory. (Bug#16477)
1015 2014-01-20 Juri Linkov <juri@jurta.org>
1017 * indent.el (indent-line-to): Use backward-to-indentation
1018 instead of back-to-indentation. (Bug#16461)
1020 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1022 Revert some of the CANNOT_DUMP fix (Bug#16494).
1023 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1024 but fixing this can wait until after the next release.
1025 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1027 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1029 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1030 Use `password-word-equivalents'.
1031 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1032 to t. (Bug#5664, Bug#13124)
1034 2014-01-19 Alan Mackenzie <acm@muc.de>
1036 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1038 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1039 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1040 * progmodes/cc-mode.el (c-before-change, c-after-change)
1041 (c-font-lock-fontify-region): Bind it here.
1043 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1045 * term.el (term-window-width): Call window-text-width instead of
1046 window-width (Bug#16470).
1048 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1050 * simple.el (password-word-equivalents): Remove duplicates.
1051 Sort, to make this easier next time.
1052 Downcase. Omit ": " after "jelszó".
1054 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1056 * term/common-win.el (saved-region-selection): Defvar it.
1057 (x-select-text): Set saved-region-selection (Bug#16382).
1059 2014-01-18 Glenn Morris <rgm@gnu.org>
1061 * emacs-lisp/authors.el (authors-aliases)
1062 (authors-renamed-files-alist): Add some entries.
1064 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1066 * net/tramp.el (tramp-password-prompt-regexp):
1067 Use `password-word-equivalents' if available.
1068 (tramp-action-password, tramp-process-one-action)
1069 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1071 2014-01-17 Chong Yidong <cyd@gnu.org>
1073 * simple.el (password-word-equivalents): New defcustom.
1074 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1076 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1079 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1081 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1082 (ruby-align-to-stmt-keywords): Change the default value.
1083 Use `ruby-alignable-keywords' to generate the possible customization
1085 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1086 keywords, check against the value of `ruby-alignable-keywords'
1087 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1089 2014-01-17 Glenn Morris <rgm@gnu.org>
1091 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1093 Make M-x authors return zero *Authors Errors* from current logs.
1094 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
1095 (authors-ignored-files): Add some entries, remove others.
1096 (authors-ambiguous-files, authors-valid-file-names):
1098 (authors-renamed-files-alist): Add, remove, and adjust entries.
1099 (authors-renamed-files-regexps): Add some entries.
1100 Remove some very broad ones. Make some entries `lax'.
1101 (authors-lax-changelogs): New constant.
1102 (authors-disambiguate-file-name): Treat top-level specially.
1103 (authors-lax-changelog-p): New function.
1104 (authors-canonical-file-name): Check file as written against
1105 authors-valid-file-names. Do not special-case etc/.
1106 Handle `lax' logs and authors-renamed-files-regexps elements.
1108 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1110 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1111 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1114 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1116 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1117 Assume we're already in the proper buffer.
1118 Inspired by Anders Lindgren <andlind@gmail.com>.
1119 (follow-post-command-hook): Call it from the right buffer.
1120 (follow-comint-scroll-to-bottom): Adjust call.
1121 (follow-all-followers): Use get-buffer-window-list.
1123 2014-01-15 Daniel Colascione <dancol@dancol.org>
1125 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1126 `buffer-file-name' in interactive-form so that we don't leave
1127 pathless file names in `file-name-history'.
1129 2014-01-15 Juri Linkov <juri@jurta.org>
1131 * indent.el (indent-rigidly): Set deactivate-mark to nil
1132 in transient indentation mode. (Bug#16438)
1134 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1136 * emacs-lisp/package.el (package-desc-keywords): New function
1138 (describe-package-1, package-all-keywords)
1139 (package--has-keyword-p): Use it.
1141 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1143 * simple.el (define-alternatives): When creating the
1144 COMMAND-alternatives variable, assign COMMAND as its definition
1145 name so that `describe-variable' can relocate it.
1147 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1149 * font-lock.el (font-lock-keywords): Fix typo in docstring
1152 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1154 * ispell.el (ispell-region): Reset `in-comment' for new line
1155 instead of wrongly reset `add-coment' (bug#13577).
1157 2014-01-14 Daiki Ueno <ueno@gnu.org>
1159 * epa-file.el (epa-file-write-region): Encode the region according
1160 to `buffer-file-format'. Problem reported at:
1161 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1163 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1165 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1166 so it applies in the right buffer (bug#16410).
1168 2014-01-13 Daniel Colascione <dancol@dancol.org>
1170 * textmodes/rst.el (rst-define-key): Provide deprecated
1171 keybindings through named functions instead of anonymous ones so
1172 that "??" doesn't appear in describe-mode output.
1174 2014-01-13 Bastien Guerry <bzg@gnu.org>
1176 * simple.el (define-alternatives): Call the selected command
1177 interactively. When setting `COMMAND--implementation' for the
1178 first time, tell the user how to chose another implementation.
1179 Enhance the docstring.
1181 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1183 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1184 (log-edit--match-first-line): New function.
1185 (log-edit-font-lock-keywords): Use it.
1186 (log-edit-mode): Make jit-lock-defer-multiline work.
1188 2014-01-13 Bastien Guerry <bzg@gnu.org>
1190 * rect.el (rectangle-mark-mode): When the region is not active,
1191 display a message saying that the mark as been set and that
1192 rectangle mode is in use.
1193 (rectangle--highlight-for-redisplay): Only put an overlay with a
1194 visible vertical bar when (display-graphic-p) is non-nil.
1195 This partially fixes Bug#16403.
1197 2014-01-13 Juri Linkov <juri@jurta.org>
1199 * info.el (Info-find-file): Go to DIR before displaying the error
1200 about a nonexistent file if no previous Info file is visited.
1201 Use `user-error' instead of `error' for "Info file %s does not exist".
1202 (Info-find-node-2): In case of a nonexistent node in unwind forms
1203 go to the Top node if there is no previous node to revert to.
1206 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1208 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1209 * window.el (fit-frame-to-buffer): Fix doc-string.
1210 Respect window-min-height/-width. Fit pixelwise when
1211 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1212 when avoiding that frame goes partially off-screen.
1213 (fit-window-to-buffer): Respect window-min-height/-width
1216 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1218 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1219 after an empty line.
1221 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1223 * net/shr.el (shr-render-region): Autoload.
1225 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1227 * net/eww.el (eww-download-directory): Rename from
1228 `eww-download-path' (Bug#16419).
1230 2014-01-12 Leo Liu <sdl.web@gmail.com>
1232 * dired-x.el (dired-mode-map): Fix last change.
1234 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1236 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1239 * emacs-lisp/generic.el (generic--normalize-comments):
1240 Rename from generic--normalise-comments. All uses changed.
1241 * play/bubbles.el (bubbles--neighborhood-score):
1242 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1243 (bubbles--neighborhood-available)
1244 (bubbles--update-neighborhood-score):
1245 Rename from names with 'neighbourhood'. All uses changed.
1247 2014-01-12 Leo Liu <sdl.web@gmail.com>
1249 Re-implement the feature of showing eldoc info after editing.
1250 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1251 (eldoc-edit-message-commands): New function.
1252 (eldoc-print-after-edit): New variable.
1253 (eldoc-pre-command-refresh-echo-area): Emit message only by
1254 eldoc-message-commands.
1255 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1256 if eldoc-print-after-edit is set. (Bug#16346)
1257 * simple.el (read--expression): Enable eldoc-mode.
1258 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1260 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1261 Eric S. Raymond <esr@thyrsus.com>
1263 * version.el (emacs-repository-get-version): Enhance so the
1264 function works correctly in either a Bazaar or Git repo.
1266 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1268 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1269 Goes with removal of the joke manpages from /etc.
1271 2014-01-10 Kenichi Handa <handa@gnu.org>
1273 * mail/rmail.el (rmail-get-coding-system):
1274 Check rmail-get-coding-function before "funcall"ing it.
1276 2014-01-10 Glenn Morris <rgm@gnu.org>
1278 * emacs-lisp/authors.el (authors-fixed-entries):
1279 Update for files that no longer exist.
1281 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1283 * version.el (emacs-bzr-get-version): Restore compatibilty with
1286 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1288 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1291 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1293 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1295 2014-01-10 Chong Yidong <cyd@gnu.org>
1297 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1299 2014-01-10 Anders Lindgren <andlind@gmail.com>
1301 * follow.el (follow-cache-command-list): Include right-char and
1304 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1307 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1308 * woman.el (woman-mark-horizontal-position):
1309 Rename from woman-mark-horizonal-position. Use changed.
1311 2014-01-10 Glenn Morris <rgm@gnu.org>
1313 * info.el (info-initialize): If running uninstalled, ensure our
1314 own info files are always found first, even if INFOPATH is set.
1316 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1318 2014-01-09 David Engster <deng@randomsample.de>
1320 * emacs-lisp/eieio-custom.el:
1321 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1322 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1323 * emacs-lisp/eieio.el: Regenerate autoloads.
1325 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1327 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1328 following renames. (Bug#8756)
1330 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1332 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1334 (activate-mark): Add `no-tmm' argument.
1335 (set-mark, push-mark-command): Use it instead of running
1336 activate-mark-hook by hand.
1338 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1340 In preparation for the move to git, sanitize out some
1341 Bazaar-specific names.
1343 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1345 * version.el (emacs-bzr-version): Name changed to
1346 emacs-repository-version. Obsolete-variable alias made.
1347 * loadup.el: Follow through on this name change.
1348 * mail/emacsbug.el (report-emacs-bug): Factor out any
1349 assumption about the version control system in use.
1351 2014-01-08 David Engster <deng@randomsample.de>
1353 * help-fns.el (help-fns-describe-function-functions):
1354 New variable to call functions for augmenting help buffers.
1355 (describe-function-1): Remove explicit calls to
1356 `help-fns--compiler-macro', `help-fns--parent-mode' and
1357 `help-fns--obsolete'. Put them in above new variable instead, and
1358 call them through `run-hook-with-args'.
1359 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1360 `eieio-describe-class'. Not meant for interactive use anymore,
1361 but to augment existing help buffers. Remove optional second
1362 argument. Create proper button for file location.
1363 Rewrite function to use `insert' instead of `princ' and `prin1' where
1365 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1366 (eieio-method-def, eieio-class-def): Move further up.
1367 (describe-method, describe-generic, eieio-describe-method):
1369 (eieio-help-constructor, eieio-help-generic): Rename from
1370 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1371 Rewrite to use `insert' in the current buffer and use proper help
1373 (eieio-help-find-method-definition)
1374 (eieio-help-find-class-definition): Also accept symbols as
1376 (eieio-help-mode-augmentation-maybee): Remove.
1377 (eieio-describe-class-sb): Use `describe-function'.
1378 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1379 Add `eieio-help-generic' and `eieio-help-constructor'.
1381 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1384 * language/china-util.el (hz-ascii-designation):
1385 Rename from hz-ascii-designnation.
1386 (hz-ascii-designation): Rename from hz-ascii-designnation.
1389 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1391 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1394 2014-01-08 Bastien Guerry <bzg@gnu.org>
1396 * emacs-lisp/package.el (package-delete):
1397 Correctly delete the package from package-alist.
1399 2014-01-08 Daiki Ueno <ueno@gnu.org>
1401 * emacs-lisp/package.el (url-recreate-url): Declare.
1402 (url-http-target-url): Declare.
1403 (package-handle-response): Include requested URL in the error message.
1404 (package--check-signature): Don't re-signal errors from
1405 package--with-work-buffer. Suggested by Stefan Monnier.
1407 2014-01-07 Bastien Guerry <bzg@gnu.org>
1409 * minibuffer.el (completion--try-word-completion): When both a
1410 hyphen and a space are possible candidates for the character
1411 following a word, display both candidates. (Bug#15980)
1413 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1415 * window.el (balance-windows-2): While rounding don't give a
1416 window more than the remainder. Bug#16351, bug#16383.
1418 2014-01-07 Glenn Morris <rgm@gnu.org>
1420 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1421 (menu-bar-help-menu): Use view-external-packages instead.
1423 2014-01-07 Bastien Guerry <bzg@gnu.org>
1425 * emacs-lisp/package.el (package-delete): Also delete the package
1426 name from `package-alist', not its description only.
1428 2014-01-07 Glenn Morris <rgm@gnu.org>
1430 * help.el (view-external-packages):
1431 * menu-bar.el (menu-bar-help-extra-packages):
1432 Visit efaq.info rather than etc/MORE.STUFF.
1434 2014-01-07 Juri Linkov <juri@jurta.org>
1436 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1437 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1439 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1440 that shadows RET. (Bug#16342)
1442 2014-01-07 Chong Yidong <cyd@gnu.org>
1444 * isearch.el (isearch-yank-char, isearch-yank-word)
1445 (isearch-yank-line): Doc fix.
1447 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1449 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1450 * emacs-lisp/elint.el (elint-find-builtins):
1451 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1452 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1453 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1454 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1455 * apropos.el (apropos-safe-documentation):
1456 * subr.el (symbol-file): Remove redundant fboundp.
1457 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1459 2014-01-06 Bastien Guerry <bzg@gnu.org>
1461 * hl-line.el (global-hl-line-overlay): Make a local variable.
1462 (global-hl-line-overlays): New variable to store all overlays.
1463 (global-hl-line-mode): Don't delete overlays from the current
1464 buffer when `global-hl-line-sticky-flag' is non-nil.
1465 (global-hl-line-highlight): Add new overlays to
1466 `global-hl-line-overlays'.
1467 (global-hl-line-unhighlight-all): New function to delete all
1468 overlays when turning off `global-hl-line-mode'.
1469 This fixes Bug#16183.
1471 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1473 * subr.el (set-transient-map): Fix nested case and docstring.
1475 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1477 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1480 2014-01-06 Daniel Colascione <dancol@dancol.org>
1482 Fix defun navigation in vc log view.
1484 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1485 like `beginning-of-defun'.
1486 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1487 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1488 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1489 (log-view-extract-comment): Call `log-view-current-entry' directly
1490 instead of relying on broken `log-view-beginning-of-defun' behavior.
1492 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1495 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1496 * emacs-lisp/debug.el (cancel-debug-on-entry):
1497 * epg.el (epg-error-to-string):
1498 * files.el (recover-file):
1499 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1500 * mail/emacsbug.el (report-emacs-bug-hook):
1501 * mail/sendmail.el (mail-recover):
1502 * ses.el (ses-yank-resize):
1503 * term/ns-win.el (ns-print-buffer):
1504 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1505 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1507 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1509 2014-01-06 Leo Liu <sdl.web@gmail.com>
1511 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1512 to avoid shadowing global key. (Bug#16354)
1514 2014-01-06 Daniel Colascione <dancol@dancol.org>
1516 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1519 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1521 * window.el (balance-windows): Add mising t to fix Bug#16351.
1523 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1525 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1527 (shr-insert): If we have a word that's longer than `shr-width',
1528 break after it anyway. Otherwise we'll do no breaking once we get
1531 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1533 * net/eww.el (eww): Support single/double quote for search.
1534 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1535 (eww-history-quit): Delete and use quit-window.
1536 (eww-history-kill): Delete, because it doesn't work well and
1538 (eww-history-mode-map): Delete some keys and add easy-menu.
1540 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1542 Fix misspelling of 'chinese' in rx (Bug#16237).
1543 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1546 Change subword regexps back to vars (Bug#16296).
1547 * progmodes/subword.el (subword-forward-regexp)
1548 (subword-backward-regexp): Change these back to variables.
1550 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1552 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1553 syntax-begin-function (bug#16247).
1555 2014-01-03 Chong Yidong <cyd@gnu.org>
1557 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1558 (advice--docstring): Delete variable.
1559 (advice--make-1): Leave the docstring empty.
1560 (advice-add): Use function-documentation for advised docstring.
1562 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1563 Ignore function-documentation property when getting documentation.
1564 (ad-activate-advised-definition): Use function-documentation
1565 generate the docstring.
1566 (ad-make-advised-definition): Don't call
1567 ad-make-advised-definition-docstring.
1568 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1571 * progmodes/sql.el (sql-help): Use function-documentation instead
1572 of dynamic-docstring-function property. No need to autoload now.
1573 (sql--help-docstring): New variable.
1574 (sql--make-help-docstring): Use it.
1576 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1578 * ielm.el (ielm-tab): Retarget.
1579 (ielm-map): Use ielm-tab for tab.
1580 (ielm-complete-filename): Use comint-filename-completion.
1581 (ielm-complete-symbol): Remove.
1582 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1583 remove ielm-tab from completion-at-point-functions (bug#16224).
1585 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1586 Beware signals raised by predicates (bug#16201).
1588 2014-01-02 Richard Stallman <rms@gnu.org>
1590 * dired-aux.el (dired-do-print): Handle printer-name.
1592 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1593 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1594 (rmail-epa-decrypt): Turn off mime processing.
1596 * mail/rmail.el (rmail-make-in-reply-to-field):
1597 Add parens in message-id.
1599 * mail/rmail.el (rmail-get-coding-function): Variable.
1600 (rmail-get-coding-system): Use it.
1602 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1604 * international/mule-conf.el: Unify the charset indian-is13194.
1605 (indian-is13194): Specify unify-map.
1607 2013-12-31 Leo Liu <sdl.web@gmail.com>
1609 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1611 2013-12-30 Daniel Colascione <dancol@dancol.org>
1613 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1614 of printing a useless when we resume from sleep.
1616 * progmodes/sh-script.el
1617 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
1618 in indentation code. (Bug#16233)
1620 2013-12-28 João Távora <joaotavora@gmail.com>
1622 * elec-pair.el (electric-pair-post-self-insert-function):
1623 Don't open extra newlines at beginning of buffer. (Bug#16272)
1625 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1627 * frame.el (window-system-for-display): Don't allow to create a
1628 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1630 2013-12-28 Glenn Morris <rgm@gnu.org>
1632 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1635 * apropos.el (apropos-match-face):
1636 * calculator.el (calculator-displayer):
1637 * dabbrev.el (dabbrev-search-these-buffers-only):
1638 * face-remap.el (buffer-face-mode-face):
1639 * simple.el (yank-handled-properties):
1640 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1641 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1642 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1643 (hashcash-double-spend-database):
1644 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1645 (ruby-deep-indent-paren-style):
1646 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1647 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1648 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1649 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1650 Specify custom types.
1652 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1653 * bookmark.el (bookmark-bmenu-use-header-line):
1654 * doc-view.el (doc-view-scale-internally):
1655 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1656 * register.el (register-preview-delay):
1657 * net/shr.el (shr-bullet):
1658 * progmodes/cfengine.el (cfengine-cf-promises)
1659 (cfengine-parameters-indent):
1660 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1661 * textmodes/reftex-vars.el (reftex-label-regexps):
1662 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1664 * net/tls.el (tls-certtool-program): Fix default value.
1666 * desktop.el (desktop-restore-in-current-display):
1667 * newcomment.el (comment-empty-lines):
1668 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1669 (idlwave-pad-keyword):
1670 * progmodes/tcl.el (tcl-tab-always-indent):
1671 * textmodes/reftex-vars.el (reftex-index-default-tag):
1672 * elec-pair.el (electric-pair-skip-whitespace):
1673 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1675 * emacs-lisp/authors.el (authors-ignored-files)
1676 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1678 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1680 * shell.el (shell-dynamic-complete-command): Doc fix.
1681 (shell--command-completion-data): Shell completion now matches
1682 executable filenames from the current buffer's directory, on
1683 systems in which this behavior is the default (windows-nt, ms-dos).
1685 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1687 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1689 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1691 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1694 * electric.el: Move all electric-pair-* to elec-pair.el.
1695 * elec-pair.el: New file, split from electric.el.
1697 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1699 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1700 indentation level is larger than the width, because that will
1702 (shr-insert): Fill repeatedly long texts, so that Japanese is
1703 formatted correctly (bug#16263).
1704 (shr-find-fill-point): Off by one error in comparison with the
1707 2013-12-26 João Távora <joaotavora@gmail.com>
1709 * electric.el (electric-pair-mode): More flexible engine for skip-
1710 and inhibit predicates, new options for pairing-related functionality.
1711 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1712 if that keeps or improves their balance in buffers.
1713 (electric-pair-delete-adjacent-pairs): Delete the pair when
1714 backspacing over adjacent matched delimiters.
1715 (electric-pair-open-extra-newline): Open extra newline when
1716 inserting newlines between adjacent matched delimiters.
1717 (electric--sort-post-self-insertion-hook):
1718 Sort post-self-insert-hook according to priority values when
1719 minor-modes are activated.
1720 * simple.el (newline-and-indent): Call newline with interactive
1722 (blink-paren-post-self-insert-function): Set priority to 100.
1723 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1724 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1725 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1726 electric-pair-open-newline-between-pairs to nil.
1728 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1730 * progmodes/python.el: Use lexical-binding.
1731 (python-nav-beginning-of-defun): Stop searching ASAP.
1733 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1735 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1736 Fix interactive spec. Doc fix. (Bug#15754)
1738 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1740 * emacs-lisp/byte-run.el (eval-when-compile):
1741 * progmodes/cc-defs.el (cc-eval-when-compile):
1742 Fix edebug spec (bug#16184).
1744 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1746 * net/shr.el (shr-visit-file): Remove debugging function.
1747 (shr-insert): Don't infloop if we can't find a good place to break
1748 the line (bug#16256).
1750 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1752 * progmodes/python.el:
1753 (python-nav--lisp-forward-sexp): New function.
1754 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1755 python-nav-lisp-forward-sexp-safe.
1756 (python-nav--forward-sexp): New argument SAFE allows switching
1757 forward sexp movement behavior for parens.
1758 (python-nav-forward-sexp): Throw errors on unterminated parens
1760 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1761 (python-nav-backward-sexp-safe): New functions.
1762 (python-shell-buffer-substring):
1763 Use `python-nav-forward-sexp-safe'.
1765 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1767 * net/shr.el (shr-find-fill-point): Don't break lines before a
1769 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1770 (shr-find-fill-point): Remove the special checks for the quotation
1771 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1773 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1775 * net/eww.el (eww-form-textarea): Use a different face for
1776 textareas than text input since they have different keymaps
1779 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1781 * progmodes/python.el (python-nav-beginning-of-statement):
1782 Speed up (Bug#15295).
1784 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1786 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1787 the window configuration.
1789 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1791 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1792 we run on MS-Windows or MS-DOS.
1794 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1796 * window.el (balance-windows-area): Call window-size instead of
1797 window-height and window-width. Bug#16241.
1799 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1801 * net/eww.el (eww-bookmark-quit): Remove.
1802 (eww-bookmark-browse): Restore the window configuration when you
1803 choose a bookmark (bug#16144).
1805 2013-12-24 Daniel Colascione <dancol@dancol.org>
1807 * icomplete.el: Remove redundant :group arguments to `defcustom'
1809 (icomplete-show-matches-on-no-input): New customizable variable.
1810 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1811 we have something to show.
1812 (icomplete-exhibit): Compute completions even if we have no user input.
1814 2013-12-23 Daniel Colascione <dancol@dancol.org>
1816 * icomplete.el: Move `provide' to end of file.
1818 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1820 * net/gnutls.el (gnutls-verify-error): Add version tag.
1822 2013-12-23 Chong Yidong <cyd@gnu.org>
1824 * subr.el (set-transient-map): Rename from
1825 set-temporary-overlay-map. Doc fix.
1827 * face-remap.el (text-scale-adjust):
1828 * indent.el (indent-rigidly):
1829 * kmacro.el (kmacro-call-macro):
1830 * minibuffer.el (minibuffer-force-complete):
1831 * repeat.el (repeat):
1832 * simple.el (universal-argument--mode):
1833 * calendar/todo-mode.el (todo-insert-item--next-param):
1834 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1836 * indent.el (indent-rigidly): Use substitute-command-keys.
1838 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1840 * net/eww.el (eww-tag-select): Add text-property to jump to next
1842 (eww): Add non-supported ftp error.
1844 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1846 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1847 comments. Handle electric indent after typing `?' and `!'.
1849 2013-12-22 Chong Yidong <cyd@gnu.org>
1851 * faces.el (face-spec-recalc): If the theme specs are not
1852 applicable to a frame, fall back on the defface spec.
1853 This prevents themes from obliterating faces on low-color terminals.
1855 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1857 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1858 after `{'. We need it after block openers, and it doesn't seem
1859 to hurt after hash openers.
1861 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1863 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1864 extracted from `ruby-smie-rules'.
1865 (ruby--electric-indent-chars): New variable.
1866 (ruby--electric-indent-p): New function.
1867 (ruby-mode): Use `electric-indent-functions' instead of
1868 `electric-indent-chars'.
1870 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1872 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1874 (ruby-smie-rules): Indent plus one level after `=>'.
1876 2013-12-21 Richard Stallman <rms@gnu.org>
1878 * simple.el (newline): Doc fix.
1880 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1882 * net/eww.el (eww-list-histories, eww-list-histories)
1883 (eww-history-browse, eww-history-quit, eww-history-kill)
1884 (eww-history-mode-map, eww-history-mode): New command and
1885 functions to list browser histories.
1886 (eww-form-text): Support text form with disabled
1887 and readonly attributes.
1888 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1890 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1892 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1893 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1894 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1895 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1897 (eww-bookmark-mode-map): Add menu.
1898 (eww-render, eww-mode): Use `setq-local'.
1899 (eww-tool-bar-map): New variable.
1900 (eww-mode): Set `tool-bar-map'.
1901 (eww-view-source): Check for `html-mode' with `fboundp'.
1903 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1905 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1906 elements with text inside. Also remove debugging.
1908 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1910 * cus-start.el (all): Add ns-use-srgb-colorspace.
1912 2013-12-21 Chong Yidong <cyd@gnu.org>
1914 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1915 undefined. Thus, theme settings for undefined faces do not take
1916 effect until the faces are defined with defface, the same as with
1919 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1920 (face-spec-reset-face): Don't assign extra properties in temacs.
1921 (face-spec-recalc): Apply X resources too.
1923 2013-12-21 Chong Yidong <cyd@gnu.org>
1925 * faces.el (face-spec-set):
1926 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1927 * custom.el (defface): Doc fixes (Bug#16203).
1929 * indent.el (indent-rigidly-map): Add docstring, and move commands
1930 into named functions.
1931 (indent-rigidly-left, indent-rigidly-right)
1932 (indent-rigidly-left-to-tab-stop)
1933 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1934 indentation direction based on bidi direction, and accumulate
1935 sequential commands in a single undo boundary.
1936 (indent-rigidly--pop-undo): New utility function.
1938 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1940 * faces.el (read-face-name): Require crm.el when using crm-separator.
1942 2013-12-20 Daniel Colascione <dancol@dancol.org>
1944 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1945 so that we don't reflow comments into the shebang line.
1947 2013-12-20 Juri Linkov <juri@jurta.org>
1949 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1950 a position when `dired-directory' is non-nil. Check integer
1951 positions with `integerp'.
1952 (toggle-save-place, save-places-to-alist): Add check for
1954 (save-place-find-file-hook): Check integer positions with
1956 (save-place-dired-hook): Use `dired-goto-file' when
1957 `dired-filename' is found in the assoc list. Check integer
1958 positions with `integerp'.
1959 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1961 * dired.el (dired-initial-position-hook): Rename back from
1962 `dired-initial-point-hook'.
1963 (dired-initial-position): Rename `dired-initial-point-hook' to
1964 `dired-initial-position-hook'.
1965 (dired-file-name-at-point): Doc fix. (Bug#15329)
1967 2013-12-20 Juri Linkov <juri@jurta.org>
1969 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1970 (read-regexp-suggestions): New function.
1971 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1972 Use `read-regexp-suggestions'. Add non-empty default to history
1974 (occur-read-regexp-defaults-function): Remove function.
1975 (occur-read-primary-args): Use `regexp-history-last' instead of
1976 `occur-read-regexp-defaults-function'.
1978 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1979 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1980 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1981 `hi-lock-read-regexp-defaults-function'. Doc fix.
1982 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1983 with `find-tag-default-as-symbol-regexp'. Doc fix.
1984 (hi-lock-read-regexp-defaults): Remove function.
1985 (hi-lock-regexp-okay): Add check for null.
1987 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1988 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1990 * subr.el (find-tag-default-as-symbol-regexp): New function.
1991 (find-tag-default-as-regexp): Move symbol regexp formatting to
1992 `find-tag-default-as-symbol-regexp'.
1994 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1996 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1999 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2001 * calendar/todo-mode.el: New implementation of item insertion
2002 commands and key bindings.
2003 (todo-key-prompt): New face.
2004 (todo-insert-item): New command.
2005 (todo-insert-item--parameters): New defconst, replacing defvar
2006 todo-insertion-commands-args-genlist.
2007 (todo-insert-item--param-key-alist): New defconst, replacing
2008 defvar todo-insertion-commands-arg-key-list.
2009 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2010 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2011 (todo-insert-item--next-param): New functions.
2012 (todo-insert-item--args, todo-insert-item--argleft)
2013 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2015 (todo-key-bindings-t): Change binding of "i" from
2016 todo-insertion-map to todo-insert-item.
2017 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2018 (todo-insertion-command-name, todo-insertion-commands-names)
2019 (todo-define-insertion-command, todo-insertion-commands)
2020 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2022 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2024 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2025 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2027 (todo-move-category): Allow choosing a non-existing todo file to
2028 move the category to, and create that file.
2029 (todo-default-priority): New user option.
2030 (todo-set-item-priority): Use it.
2031 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2032 (desktop-restore-file-buffer): Declare.
2033 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2034 (todo-modes-set-2): Locally set desktop-save-buffer to
2035 todo-desktop-save-buffer.
2036 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2037 (auto-mode-alist): Add autoload cookie.
2039 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2041 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2042 helpers.el was a poor choice of name.
2043 (string-remove-prefix): New function.
2044 (string-remove-suffix): New function.
2046 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2048 Fix assignment for new window total sizes.
2049 * window.el (window--pixel-to-size): Remove function.
2050 (window--pixel-to-total-1, window--pixel-to-total):
2051 Fix calculation of new total sizes.
2053 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2055 * comint.el (comint-output-filter): Fix rear-nonsticky property
2056 placement (Bug#16010).
2058 2013-12-20 Chong Yidong <cyd@gnu.org>
2060 * faces.el (read-color): Minor fix for completion function.
2062 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2064 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2065 New option. (Bug#16182)
2066 (ruby-smie--indent-to-stmt-p): Use it.
2067 (ruby-smie-rules): Revert the logic in the handling of `when'.
2068 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2069 (ruby-deep-arglist, ruby-deep-indent-paren)
2070 (ruby-deep-indent-paren-style): Update docstrings to note that the
2071 vars don't have any effect with SMIE.
2073 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2075 * calc/calc.el (calc-enter, calc-pop): Use the variable
2076 `calc-context-sensitive-enter'.
2078 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2080 * net/shr.el (shr-insert): Protect against infloops in degenerate
2083 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2085 * progmodes/octave.el (octave): Add link to manual and octave
2087 (octave-mode-menu): Link to octave-mode manual.
2089 2013-12-20 Leo Liu <sdl.web@gmail.com>
2091 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2092 insertion using skeleton-end-newline. (Bug#16138)
2094 2013-12-20 Juri Linkov <juri@jurta.org>
2096 * replace.el (occur-engine): Use `add-face-text-property'
2097 to add the face property to matches and titles. (Bug#14645)
2099 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2100 the palette of other hi-lock colors.
2101 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2103 2013-12-19 Juri Linkov <juri@jurta.org>
2105 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2106 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2107 (minibuffer-history-symbol): Move variable declaration closer to
2110 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2113 2013-12-19 Juri Linkov <juri@jurta.org>
2115 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2117 (log-edit-hook): Add it to :options. (Bug#16170)
2119 2013-12-19 Juri Linkov <juri@jurta.org>
2121 * simple.el (eval-expression-print-format): Don't check for
2122 command names and the last command. Always display additional
2123 formats of the integer result in the echo area, and insert them
2124 to the current buffer only with a zero prefix arg.
2125 Display character when char-displayable-p is non-nil.
2126 (eval-expression): With a zero prefix arg, set `print-length' and
2127 `print-level' to nil, and insert the integer values from
2128 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2130 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2131 `eval-last-sexp-arg-internal'. Doc fix.
2132 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2133 `eval-last-sexp-print-value'. Doc fix.
2134 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2135 Set `print-length' and `print-level' to nil when arg is zero.
2136 (eval-last-sexp): Doc fix.
2137 (eval-defun-2): Print the integer values from
2138 `eval-expression-print-format' at the end.
2140 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2141 values from `eval-expression-print-format' at the end.
2143 * ielm.el (ielm-eval-input): Print the integer
2144 values from `eval-expression-print-format' at the end.
2146 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2148 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2149 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2151 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2153 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2154 (hl-line-highlight, global-hl-line-highlight): Use it.
2155 (hl-line-overlay): Use defvar-local.
2157 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2159 * term/ns-win.el: Require dnd.
2160 (global-map): Remove drag items.
2161 (ns-insert-text, ns-set-foreground-at-mouse)
2162 (ns-set-background-at-mouse):
2163 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2164 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2167 2013-12-19 Glenn Morris <rgm@gnu.org>
2169 * emacs-lisp/ert.el (ert-select-tests):
2170 Fix string/symbol mixup. (Bug#16121)
2172 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2174 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2175 keywords to their parent.
2177 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2179 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2180 first arg to be a string (fixed dead code), or an operator symbol.
2181 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2183 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2184 did nothing. Don't respond to `(:after ".")', it will be called
2185 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2186 change anything. Only return indentation for binary operators
2187 when they are hanging. De-dent opening paren when its parent is
2188 `.', otherwise it looks bad when the dot is not at bol or eol
2191 2013-12-19 Juri Linkov <juri@jurta.org>
2193 * replace.el (query-replace-read-args): Split a non-negative arg
2194 and a negative arg into separate elements.
2195 (query-replace, query-replace-regexp, replace-string)
2196 (replace-regexp): Add arg `backward'. Doc fix.
2197 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2198 move point to the beginning of the match.
2199 (replace-search, replace-highlight): Use new arg `backward'
2200 to set the value of `isearch-forward'.
2201 (perform-replace): Add arg `backward' and use it to perform
2202 replacement backward. (Bug#14979)
2204 * isearch.el (isearch-query-replace): Use a negative prefix arg
2205 to call `perform-replace' with a non-nil arg `backward'.
2207 2013-12-18 Juri Linkov <juri@jurta.org>
2209 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2210 to the default list. Move `log-edit-show-files' to the end.
2211 Add more available functions to options.
2212 (log-edit): Move default specific settings to
2213 `log-edit-insert-message-template'. Don't move point.
2214 (log-edit-insert-message-template): New function.
2215 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2218 2013-12-18 Juri Linkov <juri@jurta.org>
2220 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2221 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2223 2013-12-18 Leo Liu <sdl.web@gmail.com>
2225 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2228 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2230 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2231 formats for displaying file sizes when the -s switch is given.
2232 Instead, compute a separate format for displaying the size in
2233 blocks, which is displayed in addition to the "regular" size.
2234 When -h is given in addition to -s, produce size in blocks in
2235 human-readable form as well. (Bug#16179)
2237 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2239 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2240 Reference tables with ~\ref{...} instead of only \ref{...}.
2242 2013-12-18 Chong Yidong <cyd@gnu.org>
2244 * cus-edit.el (custom-magic-alist): Fix "themed" description
2247 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2248 is non-nil, do not create a new entry in the symbol's theme-value
2249 or theme-face property; update theme-settings only (Bug#14664).
2250 (custom-available-themes): Doc fix.
2252 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2255 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2257 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2259 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2262 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2264 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2266 2013-12-18 Glenn Morris <rgm@gnu.org>
2268 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2269 * cus-start.el (load-prefer-newer): New option.
2271 2013-12-18 Le Wang <l26wang@gmail.com>
2273 * comint.el (comint-previous-matching-input-from-input):
2274 Retain point (Bug#13404).
2276 2013-12-18 Chong Yidong <cyd@gnu.org>
2278 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2280 2013-12-18 Glenn Morris <rgm@gnu.org>
2282 * mail/emacsbug.el (report-emacs-bug):
2283 Only mention enable-multibyte-characters if non-standard.
2285 2013-12-17 Juri Linkov <juri@jurta.org>
2287 * arc-mode.el (archive-extract-by-file): Check if directory exists
2288 before deletion to not show irrelevant errors if it doesn't exist.
2290 2013-12-17 Juri Linkov <juri@jurta.org>
2292 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2295 * net/eww.el (browse-web): Add alias to `eww'.
2296 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2297 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2299 * net/browse-url.el (browse-url-browser-function): Move `eww'
2300 closer to similar functions.
2302 * startup.el (fancy-startup-screen, fancy-about-screen):
2303 Set browse-url-browser-function to eww-browse-url locally.
2306 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2308 * window.el (window--pixel-to-total): Remove unused `mini' var.
2309 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2310 (split-window): Remove unused `new' var.
2311 (window--display-buffer): Remove unused `frame' and `delta' vars.
2312 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2315 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2317 * dired.el (dired-mark-pop-up):
2318 * register.el (register-preview): Don't bind
2319 split-height-threshold here since it's now done in
2320 display-buffer-below-selected.
2322 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2324 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2325 xterm-rgb-convert-to-16bit.
2326 (rxvt-register-default-colors): Standardize with
2327 xterm-register-default-colors (Bug#14078).
2329 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2331 * simple.el (kill-region): Pass mark first, then point, so that
2332 kill-append works right (Bug#12819).
2333 (copy-region-as-kill, kill-ring-save): Likewise.
2335 2013-12-17 Leo Liu <sdl.web@gmail.com>
2337 * net/rcirc.el (rcirc-add-face):
2338 * eshell/em-prompt.el (eshell-emit-prompt):
2339 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2342 2013-12-17 Chong Yidong <cyd@gnu.org>
2344 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2345 Suggested by Xue Fuqiao.
2347 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2349 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2351 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2353 * net/shr.el (shr-insert-document): Remove unused var
2354 `shr-preliminary-table-render'.
2355 (shr-rescale-image): Remove unused arg `force'.
2356 (shr-put-image): Update calls accordingly.
2357 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2359 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2361 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2362 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2363 :close-all, to see which indentation method to use (Bug#16116).
2364 (smie-rules-function): Document the method :close-all.
2366 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2368 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2370 * net/eww.el (eww-display-html): If we can't find the anchor we're
2371 looking for, then go to point-min.
2373 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2375 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2376 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2377 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2378 Expand dir too, in case it's relative.
2380 2013-12-16 Juri Linkov <juri@jurta.org>
2382 * desktop.el (desktop-auto-save-timeout): Change default to
2383 `auto-save-timeout'. Doc fix.
2384 (desktop-save): Skip the timestamp in desktop-saved-frameset
2385 when checking for auto-save changes.
2386 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2387 `desktop-auto-save' is called repeatedly by the idle timer.
2388 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2389 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2392 2013-12-16 Juri Linkov <juri@jurta.org>
2394 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2396 (isearch-pre-command-hook): Check `this-command' for symbolp.
2398 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2400 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2402 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2404 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2405 (cfengine3--current-function): Bring in the current-function
2406 functionality from `cfengine3--current-word'.
2407 (cfengine3-completion-function): Bring in the
2408 bounds-of-current-word functionality from
2409 `cfengine3--current-word'.
2411 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2413 * window.el (display-buffer-below-selected):
2414 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2416 2013-12-16 Leo Liu <sdl.web@gmail.com>
2418 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2419 Remove NOMSG arg and all uses changed.
2421 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2423 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2424 (cua--deactivate-rectangle): Don't deactivate the mark.
2425 (cua-set-rectangle-mark): Don't set mark-active since
2426 cua--activate-rectangle already does it for us.
2427 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2428 non-rectangular region.
2430 * emulation/cua-base.el (cua-repeat-replace-region):
2431 Use with-current-buffer.
2433 * net/gnutls.el: Use cl-lib.
2434 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2436 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2438 * emacs-lisp/package.el (package-built-in-p): Support both
2439 built-in and the package.el converted package descriptions.
2440 (package-show-package-list): Allow keywords.
2441 (package-keyword-button-action): Use it instead of
2442 `finder-list-matches'.
2443 (package-menu-filter-interactive): Interactive filtering (by
2445 (package-menu--generate): Support keywords and change keymappings
2446 and headers when they are given.
2447 (package--has-keyword-p): Helper function.
2448 (package-menu--refresh): Use it.
2449 (package--mapc): Helper function.
2450 (package-all-keywords): Use it.
2451 (package-menu-mode-map): Set up menu items and keybindings to
2452 provide a filtering UI.
2454 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2456 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2457 the behavior when a certificate fails validation. Defaults to
2458 old behavior: never abort, just warn.
2459 (gnutls-negotiate): Use it.
2461 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2463 * window.el (display-buffer-below-selected): Never split window
2464 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2466 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2468 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2469 (package-buffer-info): Use it (bug#15108).
2471 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2473 * icomplete.el (icomplete-completions): Make sure the prefix is already
2474 displayed elsewhere before hiding it (bug#16219).
2476 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2478 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2479 open-paren tokens when preceded by a open-paren, too.
2480 (ruby-smie-rules): Handle virtual indentation after open-paren
2481 tokens specially. If there is code between it and eol, return the
2482 column where is starts (Bug#16118).
2484 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2486 * progmodes/cfengine.el: Fix `add-hook' doc.
2487 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2488 (cfengine3--current-word): Fix parameters.
2489 (cfengine3-make-syntax-cache): Simplify further.
2490 (cfengine3-completion-function, cfengine3--current-function):
2491 Use `assq' for symbols.
2492 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2494 2013-12-13 Glenn Morris <rgm@gnu.org>
2496 * loadup.el (load-path): Warn if site-load or site-init changes it.
2497 No more need to reset it when bootstrapping.
2499 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2501 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2502 locations for cf-promises.
2503 (cfengine-mode-syntax-functions-regex): New caching variable.
2504 (cfengine3-fallback-syntax): Fallback syntax for cases where
2505 cf-promises doesn't run.
2506 (cfengine3--current-word): Reimplement using
2507 `cfengine-mode-syntax-functions-regex'.
2508 (cfengine3-completion-function, cfengine3--current-function):
2509 Use `cfengine3-make-syntax-cache' directly.
2510 (cfengine3-clear-syntax-cache): New function.
2511 (cfengine3-make-syntax-cache): Simplify and create
2512 `cfengine-mode-syntax-functions-regex' on demand.
2513 (cfengine3-format-function-docstring): Don't call
2514 `cfengine3-make-syntax-cache' explicitly.
2516 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2518 Fix windmove-find-other-window broken after pixelwise resizing
2520 * windmove.el (windmove-other-window-loc): Revert change from
2522 (windmove-find-other-window): Call window-in-direction.
2523 * window.el (window-in-direction): New arguments SIGN, WRAP and
2524 MINI to emulate original windmove-find-other-window behavior.
2526 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2528 * simple.el (blink-matching--overlay): New variable.
2529 (blink-matching-open): Instead of moving point, highlight the
2530 matching paren with an overlay
2531 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2533 * faces.el (paren-showing-faces, show-paren-match)
2534 (show-paren-mismatch): Move from paren.el.
2536 2013-12-13 Leo Liu <sdl.web@gmail.com>
2538 * indent.el (indent-region): Disable progress reporter in
2539 minibuffer. (Bug#16108)
2541 * bindings.el (visual-order-cursor-movement): Fix version.
2543 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2545 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2546 Also match after beginning of line.
2547 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2548 files. Thanks to Russell Sim. (Bug#15378)
2550 2013-12-13 Juri Linkov <juri@jurta.org>
2552 * simple.el <Keypad support>: Remove key bindings duplicated
2553 with bindings.el. (Bug#14397)
2555 2013-12-13 Juri Linkov <juri@jurta.org>
2557 * comint.el (comint-mode-map): Replace `delete-char' with
2558 `delete-forward-char'. (Bug#16109)
2560 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2562 * progmodes/python.el (python-indent-calculate-indentation):
2563 Fix de-denters cornercase. (Bug#15731)
2565 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2567 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2568 (advice--make): Pay attention to `depth'.
2569 (advice--make-1): Don't autoload commands eagerly.
2570 * emacs-lisp/elp.el (elp-instrument-function):
2571 * emacs-lisp/trace.el (trace-function-internal):
2572 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2574 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2576 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2578 * term/w32-win.el (w32-handle-dropped-file):
2579 * startup.el (normal-top-level):
2580 * net/browse-url.el (browse-url-file-url):
2581 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2582 decode file names using 'utf-8' rather than
2583 file-name-coding-system.
2585 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2587 * progmodes/python.el (python-indent-context)
2588 (python-indent-calculate-indentation): Fix auto-identation
2589 behavior for comment blocks. (Bug#15916)
2591 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2593 * progmodes/python.el (python-indent-calculate-indentation):
2594 When determining indentation, don't treat "return", "pass", etc., as
2595 operators when they are just string constituents. (Bug#15812)
2597 2013-12-12 Juri Linkov <juri@jurta.org>
2599 * uniquify.el (uniquify-buffer-name-style): Change default to
2600 `post-forward-angle-brackets'.
2602 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2603 `uniquify'. Change default to `post-forward-angle-brackets'.
2605 2013-12-11 Glenn Morris <rgm@gnu.org>
2607 * emacs-lisp/package.el (finder-list-matches):
2608 Autoload rather than falsely declaring.
2610 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2612 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2613 (eww-mode-map): Use them.
2615 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2617 * window.el (display-buffer-in-side-window): Fix doc-string
2620 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2622 * vc/vc-git.el: Silence byte-compiler warnings.
2623 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2624 (log-edit-set-header): Declare.
2626 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2628 * Makefile.in (custom-deps, finder-data): Run output file names
2629 through unmsys--file-name. (Bug#16099)
2631 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2633 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2634 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2636 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2637 instead of deleting the selection "by hand" (bug#16098).
2638 Rely on insert-for-yank to yank rectangles.
2639 (cua-highlight-region-shift-only): Mark obsolete.
2640 (cua-mode): Don't enable/disable transient-mark-mode,
2641 shift-select-mode (cua-mode works both with and without them), and
2642 pc-selection-mode (obsolete).
2643 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2644 (cua--deactivate-rectangle): Deactivate it.
2646 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2647 (delete-selection-helper): Make sure yank starts at the top of the
2649 (minibuffer-keyboard-quit): Use region-active-p.
2651 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2653 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2654 to `delete' (bug#16109).
2656 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2658 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2659 info manual and show keybindings and set `:group' keyword.
2661 2013-12-11 Juri Linkov <juri@jurta.org>
2663 * delsel.el (delete-active-region): Let-bind `this-command'
2664 to prevent `kill-region' from changing its original value.
2665 (delete-selection-helper): Handle `overwrite-mode' for the type
2666 `kill' exactly the same way as for the type `t'.
2667 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2668 Support more commands. (Bug#13312)
2670 2013-12-11 Juri Linkov <juri@jurta.org>
2672 * bindings.el: Map kp keys to non-kp keys systematically
2673 with basic modifiers control, meta and shift. (Bug#14397)
2675 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2677 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2678 "Close browser" menu items. Fix wrong function of "List
2681 2013-12-11 Juri Linkov <juri@jurta.org>
2683 * misearch.el (multi-isearch-buffers): Set the value of
2684 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2685 arg of isearch-forward to t.
2686 (multi-isearch-buffers-regexp): Set the value of
2687 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2688 arg of isearch-forward-regexp to t.
2689 (multi-isearch-files): Set the value of
2690 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2691 arg of isearch-forward to t.
2692 (multi-isearch-files-regexp): Set the value of
2693 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2694 arg of isearch-forward-regexp to t. (Bug#16035)
2696 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2697 arg of isearch-forward to t.
2698 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2699 arg of isearch-forward-regexp to t.
2700 (dired-isearch-filter-filenames): Remove unnecessary check for
2701 `dired-isearch-filenames'.
2703 * comint.el (comint-history-isearch-backward):
2704 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2705 (comint-history-isearch-backward-regexp):
2706 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2708 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2710 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2711 unmsys--file-name. (Bug#16099)
2713 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2715 * emacs-lisp/package.el (package-keyword-button-action):
2716 Remove finder.el require dependency.
2718 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2720 * emacs-lisp/package.el: Require finder.el.
2721 (describe-package-1): Add keyword buttons.
2722 (package-make-button): New convenience function.
2723 (package-keyword-button-action): Keyword button action using
2724 `finder-list-matches'.
2726 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2728 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2731 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2733 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2736 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2738 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2739 after the end of a percent literal.
2741 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2743 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2744 Handle caret-delimited strings (Bug#16079).
2746 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2748 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2749 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2750 `ruby-parse-partial' (Bug#16078).
2752 2013-12-09 Leo Liu <sdl.web@gmail.com>
2754 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2756 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2758 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2759 (js-switch-indent-offset): New option.
2760 (js--proper-indentation): Use it. And handle the case when
2761 "default" is actually a key in an object literal.
2762 (js--same-line): New function.
2763 (js--multi-line-declaration-indentation): Use it.
2764 (js--indent-in-array-comp, js--array-comp-indentation):
2766 (js--proper-indentation): Use them, to handle array comprehension
2769 2013-12-08 Leo Liu <sdl.web@gmail.com>
2771 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2772 (flymake-make-overlay): Remove arg MOUSE-FACE.
2773 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2775 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2777 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2779 (redisplay-highlight-region-function): Use it.
2781 * emulation/cua-base.el (cua--explicit-region-start)
2782 (cua--last-region-shifted): Remove.
2783 (cua--deactivate): Use deactivate-mark.
2784 (cua--pre-command-handler-1): Don't handle shift-selection.
2785 (cua--post-command-handler-1): Don't change transient-mark-mode.
2786 (cua--select-keymaps): Use region-active-p rather than
2787 cua--explicit-region-start or cua--last-region-shifted.
2788 (cua-mode): Enable shift-select-mode.
2790 2013-12-08 Leo Liu <sdl.web@gmail.com>
2792 * progmodes/flymake.el (flymake-popup-current-error-menu):
2793 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2794 (flymake-posn-at-point-as-event, flymake-popup-menu)
2795 (flymake-make-emacs-menu): Remove. (Bug#16077)
2797 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2799 * rect.el (rectangle-mark-mode): Activate mark even if
2800 transient-mark-mode is off (bug#16066).
2801 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2802 is > mark and at bolp.
2804 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2805 (region-extract-function): Use it.
2806 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2807 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2809 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2810 kill-ring-save, kill-region, delete-char, delete-forward-char.
2811 Ignore self-insert-iso.
2813 * emulation/cua-gmrk.el (cua--init-global-mark):
2814 Ignore `self-insert-iso'.
2816 * emulation/cua-base.el (cua--prefix-copy-handler)
2817 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2818 checking cua--rectangle.
2819 (cua-delete-region): Use region-extract-function.
2820 (cua-replace-region): Delete function.
2821 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2822 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2823 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2824 (cua--init-keymaps): Don't remap delete-selection commands.
2825 (cua-mode): Use delete-selection-mode instead of rolling our own
2828 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2829 Obey region-extract-function.
2831 Make registers and delete-selection-mode work on rectangles.
2832 * register.el (describe-register-1): Don't modify the register's value.
2833 (copy-to-register): Obey region-extract-function.
2834 * delsel.el (delete-active-region): Obey region-extract-function.
2836 2013-12-08 Leo Liu <sdl.web@gmail.com>
2838 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2839 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2840 (flymake-compilation-prevents-syntax-check)
2841 (flymake-start-syntax-check-on-newline)
2842 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2843 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2844 (flymake-xml-program, flymake-master-file-dirs)
2845 (flymake-master-file-count-limit)
2846 (flymake-allowed-file-name-masks): Relocate.
2847 (flymake-makehash, flymake-float-time)
2848 (flymake-replace-regexp-in-string, flymake-split-string)
2849 (flymake-get-temp-dir): Remove.
2850 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2851 (flymake-current-row, flymake-selected-frame)
2852 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2853 related functions. (Bug#16077)
2855 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2857 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2859 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2861 * help-fns.el (describe-function-1): Use new advice-* functions
2862 rather than old ad-* functions. Fix function type description and
2863 source links for advised functions and subrs.
2865 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2867 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2869 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2871 * progmodes/compile.el (compilation-start):
2872 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2874 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2875 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2877 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2879 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2880 Touch up the last change.
2882 2013-12-06 Leo Liu <sdl.web@gmail.com>
2884 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2885 (inferior-octave-startup): Always use "octave> " for prompt.
2886 (octave-goto-function-definition)
2887 (octave-sync-function-file-names)
2888 (octave-find-definition-default-filename): Remove redundant backquotes.
2890 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2892 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2894 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2895 where appropriate already.
2896 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2897 end of method names (Bug#15874).
2899 2013-12-06 Juri Linkov <juri@jurta.org>
2901 * isearch.el (isearch--saved-overriding-local-map):
2902 New internal variable.
2903 (isearch-mode): Set it to the initial value of
2904 `overriding-terminal-local-map'.
2905 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2906 with `isearch--saved-overriding-local-map'. (Bug#16035)
2908 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2910 * progmodes/octave.el (inferior-octave-completion-table):
2911 Turn back into function, use `completion-table-with-cache'
2912 (Bug#11906). Update all references.
2914 * minibuffer.el (completion-table-with-cache): New function.
2916 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2918 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2920 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2922 * net/eww.el (eww-current-source): New variable to store page
2924 (eww-display-html, eww-mode, eww-save-history)
2925 (eww-restore-history): Use it.
2926 (eww-view-source): New command to view page source.
2927 Opportunistically uses `html-mode' to highlight the buffer.
2928 (eww-mode-map): Install it.
2930 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2932 * net/dbus.el (dbus-unregister-service)
2933 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2935 (dbus-unregister-service): Skip :serial entries in
2936 `dbus-registered-objects-table'.
2937 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2939 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2941 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2942 around keywords with extra `split-string' argument.
2944 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2946 * windmove.el (windmove-other-window-loc): Handle navigation
2947 between windows (excluding the minibuffer window - Bug#16017).
2949 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2951 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2952 in D-Bus type syntax.
2953 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2954 preserve unibyte strings. (Bug#16048)
2956 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2958 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2959 Call force-mode-line-update is the proper buffer (bug#16042).
2961 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2963 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2964 `log-edit-remember-comment', make argument optional. Adjust all
2966 (log-edit-mode): Add `log-edit-remember-comment' to
2967 `kill-buffer-hook' locally.
2968 (log-edit-kill-buffer): Don't remember comment explicitly since
2969 the buffer is killed anyway.
2971 2013-12-04 Juri Linkov <juri@jurta.org>
2973 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2974 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2976 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2978 * notifications.el (notifications-close-notification): Call the
2979 D-Bus method with ID being a `:uint32'. (Bug#16030)
2981 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2983 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2985 2013-12-03 Juri Linkov <juri@jurta.org>
2987 * progmodes/compile.el (compilation-start): Rename window alist
2988 entry `no-display-ok' to `allow-no-window'.
2990 * simple.el (shell-command): Add window alist entry
2991 `allow-no-window' to `display-buffer'.
2992 (async-shell-command): Doc fix.
2994 * window.el (display-buffer-no-window): New action function.
2995 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2997 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2999 * vc/log-edit.el (log-edit-set-header): Extract from
3000 `log-edit-toggle-header'.
3001 (log-edit-extract-headers): Separate the summary, when extracted
3002 from header, from the rest of the message with an empty line.
3004 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3005 line, if present, to the Summary header.
3007 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3009 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3010 in current-buffer (bug#16029).
3012 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3014 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3015 (debugger-mode-map): Bind it.
3016 (debugger--backtrace-base): New function.
3017 (debugger-eval-expression): Use it.
3018 (debugger-frame-number): Skip local vars when present.
3019 (debugger--locals-visible-p, debugger--insert-locals)
3020 (debugger--show-locals, debugger--hide-locals): New functions.
3022 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3024 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3026 (tramp-get-remote-locale): New defun.
3027 (tramp-open-connection-setup-interactive-shell): Use it.
3029 2013-12-02 Leo Liu <sdl.web@gmail.com>
3031 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3033 * progmodes/sh-script.el (sh-shell-process):
3034 * progmodes/octave.el (inferior-octave-process-live-p):
3035 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3036 (gdb-inferior-io-sentinel):
3037 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3039 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3041 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3042 `save-selected-window' to `log-edit-hide-buf'. This makes
3043 `log-edit-show-files' idempotent.
3044 (log-edit-show-files): Mark the new window as dedicated.
3046 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3048 * vc/log-edit.el (log-edit-mode-map): Add binding for
3049 `log-edit-kill-biffer'.
3050 (log-edit-hide-buf): Add a FIXME comment.
3051 (log-edit-add-new-comment): New function, extracted from
3053 (log-edit-done, log-edit-add-to-changelog): Use it.
3054 (log-edit-kill-buffer): New command.
3056 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3058 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3059 instead of killing the buffer.
3061 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3063 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3065 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3067 * net/eww.el (eww-form-checkbox-selected-symbol)
3068 (eww-form-checkbox-symbol): New customizable variable.
3069 (eww-form-checkbox, eww-toggle-checkbox):
3070 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3072 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3073 (shr--get-media-pref, shr--extract-best-source): New function.
3074 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3075 no :src tag was specified.
3077 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3078 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3079 Use \\` to match beginning of string instead of ^.
3080 (eww-browse-with-external-browser): Provide optional URL parameter.
3081 (eww-render): Set `eww-current-title' back to "".
3083 * net/shr.el (shr-tag-video): Display content for video if no
3084 poster is available.
3085 (shr-tag-audio): Add support for <audio> tag.
3087 * net/eww.el (eww-text-input-types): New const.
3088 (eww-process-text-input): Treat input types in
3089 `eww-text-input-types' as text.
3091 * net/shr.el (shr-tag-table): Fix comment typo.
3093 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3095 * net/eww.el (eww-follow-link): New command to avoid reloading
3096 pages when we follow #target links (bug#15243).
3097 (eww-quit): Special mode buffers shouldn't query before exiting.
3099 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3101 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3104 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3106 * net/eww.el (eww-restore-history): Update the window title after
3107 moving in the history.
3108 (eww-current-dom): New variable used to save the current DOM.
3110 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3112 * vc/log-edit.el (log-edit-mode-map): Add binding for
3113 `log-edit-beginning-of-line'.
3114 (log-edit-setup-add-author): New user option.
3115 (log-edit-beginning-of-line): New command.
3116 (log-edit): Move major mode call above the contents setup so that
3117 the local variable values are already applied.
3118 (log-edit): Only insert "Author: " when
3119 `log-edit-setup-add-author' is non-nil.
3120 (log-edit): When SETUP is non-nil, position point after ": "
3121 instead of point-min.
3123 2013-12-01 Glenn Morris <rgm@gnu.org>
3125 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3127 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3129 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3130 redisplay to make sure the initial frame gets a chance to become
3131 visible. (Bug#16014)
3133 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3135 Support resizing frames and windows pixelwise.
3136 * cus-start.el (frame-resize-pixelwise)
3137 (window-resize-pixelwise): New entries.
3138 * emacs-lisp/debug.el (debug): Use window-total-height instead
3139 of window-total-size.
3140 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3141 * help.el (describe-bindings-internal): Call help-buffer
3142 (temp-buffer-max-width): New option.
3143 (resize-temp-buffer-window, help-window-setup)
3144 (with-help-window): Rewrite.
3145 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3147 * window.el (frame-char-size, window-min-pixel-height)
3148 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3149 (window-min-pixel-width, window-safe-min-pixel-size)
3150 (window-combination-p, window-safe-min-size)
3151 (window-resizable-p, window--size-to-pixel)
3152 (window--pixel-to-size, window--resize-apply-p): New functions.
3153 (window-safe-min-height): Fix doc-string.
3154 (window-size, window-min-size, window--min-size-1)
3155 (window-sizable, window-sizable-p, window--min-delta-1)
3156 (window-min-delta, window--max-delta-1, window-max-delta)
3157 (window--resizable, window--resizable-p, window-resizable)
3158 (window-full-height-p, window-full-width-p, window-at-side-p)
3159 (window--in-direction-2, window-in-direction)
3160 (window--resize-reset-1, window--resize-mini-window)
3161 (window-resize, window-resize-no-error)
3162 (window--resize-child-windows-normal)
3163 (window--resize-child-windows, window--resize-siblings)
3164 (window--resize-this-window, window--resize-root-window)
3165 (window--resize-root-window-vertically)
3166 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3167 (maximize-window, minimize-window, delete-window)
3168 (quit-restore-window, window-split-min-size, split-window)
3169 (balance-windows-2, balance-windows)
3170 (balance-windows-area-adjust, balance-windows-area)
3171 (window--state-get-1, window-state-get, window--state-put-1)
3172 (window--state-put-2, window-state-put)
3173 (display-buffer-record-window, window--display-buffer):
3174 Make functions handle pixelwise sizing of windows.
3175 (display-buffer--action-function-custom-type)
3176 (display-buffer-fallback-action):
3177 Add display-buffer-in-previous-window.
3178 (display-buffer-use-some-window): Resize window to height it had
3180 (fit-window-to-buffer-horizontally): New option.
3181 (fit-frame-to-buffer): Describe new values.
3182 (fit-frame-to-buffer-bottom-margin): Replace with
3183 fit-frame-to-buffer-margins.
3184 (window--sanitize-margin): New function.
3185 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3186 using window-text-pixel-size.
3188 2013-11-30 Glenn Morris <rgm@gnu.org>
3190 * emacs-lisp/bytecomp.el (byte-compile-form):
3191 Make the `interactive-only' warning like the `obsolete' one.
3192 * comint.el (comint-run):
3193 * files.el (insert-file-literally, insert-file):
3194 * replace.el (replace-string, replace-regexp):
3195 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3196 (goto-line, insert-buffer, next-line, previous-line):
3197 Tweak `interactive-only' spec.
3199 Stop keeping (most) generated cedet grammar files in the repository.
3200 * Makefile.in (semantic): New.
3201 (compile-main): Depend on semantic.
3203 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3205 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3206 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3208 * uniquify.el (uniquify-buffer-name-style): Change default.
3210 * loadup.el: Preload "uniquify".
3212 * time.el (display-time-update): Update all mode lines (bug#15999).
3214 * electric.el (electric-indent-mode): Enable by default.
3215 * loadup.el: Preload "electric".
3217 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3219 * emacs-lisp/helpers.el (string-empty-p): New function.
3220 (string-blank-p): New function.
3222 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3224 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3227 2013-11-29 Andreas Politz <politza@fh-trier.de>
3228 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3229 allow non-lambda lists as functions.
3230 (imenu--in-alist): Don't recurse into non-subalists.
3231 (imenu): Don't pass function itself as an argument (Bug#14029).
3233 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3235 * progmodes/python.el (python-mode-map): Remove binding for ":".
3236 (python-indent-electric-colon): Remove command.
3237 (python-indent-post-self-insert-function): Integrate the previous code
3238 of python-indent-electric-colon. Make it conditional on
3239 electric-indent-mode.
3240 (python-mode): Add ?: to electric-indent-chars.
3241 Move python-indent-post-self-insert-function to the end of
3242 post-self-insert-hook.
3244 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3246 * doc-view.el (doc-view-goto-page): Update mode-line.
3248 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3250 2013-11-27 Glenn Morris <rgm@gnu.org>
3252 * international/charprop.el, international/uni-bidi.el:
3253 * international/uni-category.el, international/uni-combining.el:
3254 * international/uni-comment.el, international/uni-decimal.el:
3255 * international/uni-decomposition.el, international/uni-digit.el:
3256 * international/uni-lowercase.el, international/uni-mirrored.el:
3257 * international/uni-name.el, international/uni-numeric.el:
3258 * international/uni-old-name.el, international/uni-titlecase.el:
3259 * international/uni-uppercase.el:
3260 Remove generated files from VCS repository.
3262 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3264 * filenotify.el (file-notify-add-watch): Don't special-case
3265 w32notify when computing the directory to watch.
3267 2013-11-27 Glenn Morris <rgm@gnu.org>
3269 Make bootstrap without generated uni-*.el files possible again.
3270 * loadup.el: Update command-line-args checking for unidata-gen.
3271 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3272 * composite.el, international/characters.el:
3273 Handle unicode tables being undefined.
3275 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3276 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3277 (compile-main): Depend on leim rule.
3279 * loadup.el: Move leim-list.el to leim/ subdirectory.
3280 * startup.el (normal-top-level): No more leim directory.
3281 * international/ja-dic-cnv.el (skkdic-convert):
3282 Disable version-control and autoloads in output files.
3283 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3284 Disable version-control and autoloads in output files.
3285 * leim/quail: Move here from ../leim.
3286 * leim/quail/hangul.el (hangul-input-method-activate):
3287 Add autoload cookie.
3288 (generated-autoload-load-name): Set file-local value.
3289 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3290 (generated-autoload-load-name): Set file-local value.
3292 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3294 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3295 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3296 (eww-quit): Ask confirmation before quitting eww.
3298 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3300 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3301 reading output from Diff on MS-Windows and MS-DOS.
3303 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3305 * emacs-lisp/helpers.el (string-reverse): New function.
3307 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3309 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3310 names on MS Windows, like "/[::1]:".
3312 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3315 2013-11-26 Glenn Morris <rgm@gnu.org>
3317 * progmodes/python.el (python-indent-guess-indent-offset):
3318 Avoid corner-case error. (Bug#15975)
3320 Preload leim-list.el. (Bug#4789)
3321 * loadup.el: Load leim-list.el when found.
3322 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3324 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3326 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3328 * emacs-lisp/helpers.el (string-join): New function.
3330 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3332 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3333 Mark as obsolete and replace it with a symbol property.
3334 (byte-compile-form): Use new 'interactive-only property.
3335 * comint.el, files.el, replace.el, simple.el:
3336 Apply new 'interactive-only properly.
3338 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3340 * window.el (display-buffer-at-bottom): Make sure that
3341 split-window-sensibly creates the new window on bottom
3344 2013-11-23 David Kastrup <dak@gnu.org>
3346 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3347 on the conflict markers when available.
3348 (smerge--get-marker): New function.
3349 (smerge-end-re, smerge-base-re): Add subgroup.
3351 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3353 * frame.el (handle-focus-in, handle-focus-out): Add missing
3356 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3358 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3359 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3361 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3363 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3364 (gomoku--last-pos): New var.
3365 (gomoku--intangible-chars): New const.
3366 (gomoku--intangible): New function.
3367 (gomoku-mode): Use it. Derive from special-mode.
3368 (gomoku-move-up): Adjust line count.
3369 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3370 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3371 Simplify accordingly.
3373 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3374 Remove blink-cursor code.
3375 (blink-cursor-timer-function, blink-cursor-suspend):
3376 Don't special-case GUIs.
3377 (blink-cursor-mode): Use focus-in/out-hook.
3379 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3381 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3382 work when annotation is invisible (Bug#13886).
3384 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3386 * json.el (json-alist-p): Only return non-nil if the alist has
3387 simple keys (Bug#13518).
3389 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3391 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3392 when control-statement is the first statement in a buffer (Bug#15956).
3394 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3396 * imenu.el (imenu-generic-skip-comments-and-strings):
3397 New option (Bug#15560).
3398 (imenu--generic-function): Use it.
3400 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3402 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3405 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3407 * emacs-lisp/helpers.el: Add some string helpers.
3408 (string-trim-left): Removes leading whitespace.
3409 (string-trim-right): Removes trailing whitespace.
3410 (string-trim): Removes leading and trailing whitespace.
3412 * subr.el (string-suffix-p): New function.
3414 2013-11-23 Glenn Morris <rgm@gnu.org>
3416 * progmodes/python.el (python-shell-send-file):
3417 Add option to delete file when done. (Bug#15647)
3418 (python-shell-send-string, python-shell-send-region): Use it.
3420 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3422 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3423 to set buffer-read-only to t, never to nil. (Bug#15938)
3425 * textmodes/tex-mode.el (latex-noindent-environments):
3426 Add safe-local-variable property. (Bug#15936)
3428 2013-11-23 Glenn Morris <rgm@gnu.org>
3430 * textmodes/enriched.el (enriched-mode): Doc fix.
3431 * emacs-lisp/authors.el (authors-renamed-files-alist):
3432 Add enriched.doc -> enriched.txt.
3434 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3436 2013-11-22 Leo Liu <sdl.web@gmail.com>
3438 * progmodes/octave.el (inferior-octave-startup): Spit out error
3441 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3443 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3446 (ruby-encoding-magic-comment-style): Add :version.
3448 2013-11-22 Leo Liu <sdl.web@gmail.com>
3450 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3452 (octave-help-mode): Adapt to change to help-mode-finish to use
3453 derived-mode-p on 2013-09-17.
3454 (inferior-octave-prompt): Also match octave-gui.
3455 (octave-kill-process): Don't ask twice. (Bug#10564)
3457 2013-11-22 Leo Liu <sdl.web@gmail.com>
3459 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3460 (inferior-octave-startup, inferior-octave-check-process)
3461 (inferior-octave-track-window-width-change)
3462 (octave-completion-at-point, octave-eldoc-function): Use it.
3463 (octave-kill-process): Provide confirmation. (Bug#10564)
3465 2013-11-21 Leo Liu <sdl.web@gmail.com>
3467 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3468 Fix obsolete variable comment-use-global-state.
3470 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3472 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3473 Add `octave-source-file'.
3474 (octave-source-file): New function. (Bug#15935)
3476 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3478 * net/eww.el (eww-local-regex): New variable.
3479 (eww): Use it to detect localhost and similar.
3481 2013-11-21 Leo Liu <sdl.web@gmail.com>
3483 Add completion for command `ag'.
3484 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3485 (pcomplete/ag): New function.
3486 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3488 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3490 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3492 (make-obsolete): Remove interactive spec.
3494 2013-11-21 Glenn Morris <rgm@gnu.org>
3496 * startup.el (command-line-1): Use path-separator with -L.
3498 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3500 * emacs-lisp/package.el (describe-package-1): Add package archive
3503 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3505 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3506 Change default to "# encoding: %s" to differentiate it from the
3507 default Ruby encoding comment template.
3509 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3511 * ses.el (ses-mode): Doc fix. (Bug#14748)
3513 2013-11-20 Leo Liu <sdl.web@gmail.com>
3515 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3517 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3519 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3520 when rebase or bisect are in progress.
3522 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3524 * filenotify.el (file-notify-add-watch): Doc fix.
3526 2013-11-19 Leo Liu <sdl.web@gmail.com>
3528 * obsolete/rcompile.el: Mark obsolete.
3530 * progmodes/compile.el (compilation-start)
3531 (compilation-goto-locus, compilation-find-file):
3532 Pass no-display-ok and handle nil value from display-buffer.
3535 * window.el (display-buffer-alist, display-buffer): Document the
3536 new parameter no-display-ok. Return either a window or nil
3537 but never a non-window value.
3539 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3541 * electric.el (electric-indent-mode-map): Remove.
3542 (electric-indent-mode): Change the global-map instead (bug#15915).
3544 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3547 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3549 * emacs-lisp/nadvice.el (remove-function): Align with
3550 add-function's behavior.
3552 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3553 (gdb--string-regexp): New constant.
3554 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3555 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3556 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3558 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3559 Adjust use accordingly.
3560 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3562 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3564 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3565 interpolation curlies (Bug#15914).
3567 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3569 * calc/calc.el (calc-context-sensitive-enter): New variable.
3570 (calc-enter): Use `calc-context-sensitive-enter'.
3572 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3574 * progmodes/cfengine.el: Version bump.
3575 (cfengine-cf-promises): New defcustom to locate cf-promises.
3576 (cfengine3-vartypes): Add new "data" type.
3577 (cfengine3--current-word): New function to get current name-like
3579 (cfengine3--current-function): New function to look up a CFEngine
3580 function's definition.
3581 (cfengine3-format-function-docstring): New function.
3582 (cfengine3-make-syntax-cache): New function.
3583 (cfengine3-documentation-function): New function: ElDoc glue.
3584 (cfengine3-completion-function): New function: completion glue.
3585 (cfengine3-mode): Set `compile-command',
3586 `eldoc-documentation-function', and add to
3587 `completion-at-point-functions'.
3589 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3591 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3592 `tramp-current-connection'.
3594 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3596 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3597 nil/self/true/false with "end of symbol".
3599 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3601 * subr.el (version-regexp-alist): Fix a typo.
3603 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3605 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3606 "en_US.utf8" and "LC_CTYPE" to "".
3607 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3608 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3610 2013-11-15 Leo Liu <sdl.web@gmail.com>
3612 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3614 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3616 * progmodes/gud.el (ctl-x-map):
3617 Remove C-x SPC binding. (Bug#12342)
3618 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3620 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3622 * subr.el (version-regexp-alist):
3623 Recognize hg, svn and darcs versions as snapshot versions.
3625 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3626 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3627 (ruby--encoding-comment-required-p): Extract from
3628 `ruby-mode-set-encoding'.
3629 (ruby-mode-set-encoding): Add the ability to always insert an
3630 utf-8 encoding comment. Fix and simplify coding comment update
3633 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3635 * net/tramp-gvfs.el (top): Run init code only when
3636 `tramp-gvfs-enabled' is not nil.
3637 (tramp-gvfs-enabled): Check also :system bus.
3639 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3641 Sync with upstream verilog-mode revision 78e66ba.
3642 * progmodes/verilog-mode.el (verilog-end-of-defun)
3643 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3644 (verilog-get-end-of-defun): Remove unused argument.
3645 (verilog-comment-depth): Remove unused local `e'.
3646 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3647 Don't pass arg to verilog-get-end-of-defun.
3649 2013-11-14 Glenn Morris <rgm@gnu.org>
3651 * obsolete/assoc.el (aget): Prefix dynamic variable.
3653 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3655 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3657 * widget.el, hfy-cmap.el: Remove bogus package version number.
3659 2013-11-13 Glenn Morris <rgm@gnu.org>
3661 * replace.el (replace-eval-replacement):
3662 Try to give more helpful error message. (Bug#15836)
3664 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3665 (archive-7z-update): Avoid custom type mismatches.
3667 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3669 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3671 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3672 address can be empty.
3674 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3675 Accept nil SWITCHES.
3676 (tramp-gvfs-handle-write-region): Implement APPEND.
3678 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3680 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3681 binary "|" operator and closing block args delimiter.
3682 Remove FIXME comment referring to Ruby 1.8-only syntax.
3683 (ruby-smie--implicit-semi-p): Not after "|" operator.
3684 (ruby-smie--closing-pipe-p): New function.
3685 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3686 (ruby-smie-rules): Indent after "|".
3688 2013-11-12 Glenn Morris <rgm@gnu.org>
3690 * ps-print.el (ps-face-attribute-list):
3691 Handle anonymous faces. (Bug#15827)
3693 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3695 * window.el (display-buffer-other-frame): Fix doc-string.
3698 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3700 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3702 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3704 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3705 (tramp-sh-handle-file-local-copy): Don't write a message when
3706 saving temporary files.
3708 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3709 both directories are remote.
3710 (tramp-smb-handle-directory-files): Do not return double entries.
3711 Do not expand full file names.
3712 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3713 (tramp-smb-handle-write-region): Implement APPEND.
3714 (tramp-smb-get-stat-capability): Fix a stupid bug.
3716 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3718 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3720 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3722 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3723 throwing error over malformed let/let* (bug#15814).
3725 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3727 * iswitchb.el (iswitchb-mode): Mark obsolete.
3729 2013-11-11 Glenn Morris <rgm@gnu.org>
3731 * international/uni-bidi.el, international/uni-category.el:
3732 * international/uni-name.el, international/uni-numeric.el:
3733 Regenerate for Unicode 6.3.0.
3735 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3737 * net/tramp.el (tramp-methods):
3738 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3739 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3741 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3743 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3744 Force highlighting text after Summary keyword in doc face for rpm.
3746 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3748 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3749 available and the word has no wildcards, append one to the grep pattern.
3750 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3751 (ispell-complete-word): Call `ispell-lookup-words' with the value
3752 independent of `ispell-look-p'.
3754 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3756 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3758 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3761 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3763 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3764 (ruby-font-lock-keywords): Use backquote.
3766 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3768 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3769 (ruby-smie--backward-token): Only consider full-string matches.
3771 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3773 * faces.el (describe-face): Add distant-foreground.
3775 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3777 * progmodes/ruby-mode.el: Improve encoding comment handling.
3778 (ruby-encoding-magic-comment-style): New option.
3779 (ruby-custom-encoding-magic-comment-template): New option.
3780 (ruby--insert-coding-comment, ruby--detect-encoding):
3781 New functions extracted from `ruby-mode-set-encoding'.
3782 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3783 to control the style of the auto-inserted encoding comment.
3785 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3787 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3788 Use `smie-backward-sexp' with token argument.
3790 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3792 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3793 Remove instrumentation code.
3795 2013-11-08 Glenn Morris <rgm@gnu.org>
3797 * progmodes/autoconf.el (autoconf-mode):
3798 Tweak comment-start-skip. (Bug#15822)
3800 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3802 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3803 at bobp (bug#15826).
3804 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3806 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3808 * man.el (Man-start-calling): New macro, extracted from
3809 Man-getpage-in-background.
3810 (Man-getpage-in-background): Use it.
3811 (Man-update-manpage): New command.
3812 (Man-mode-map): Bind it.
3814 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3816 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3817 of "and", "or", "&&" and "||".
3818 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3819 argument. Prohibit opening curly brace because it could only be a
3820 block opener in that position.
3821 (ruby-smie--forward-token, ruby-smie--backward-token):
3822 Separate "|" from "&" or "*" going after it. That can happen in block
3824 (ruby-smie--indent-to-stmt): New function, seeks the end of
3825 previous statement or beginning of buffer.
3826 (ruby-smie-rules): Use it.
3827 (ruby-smie-rules): Check if there's a ":" before a curly block
3828 opener candidate; if there is, it's a hash.
3830 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3832 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3833 (cl--block-wrapper): Fix last accidental change.
3835 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3837 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3838 Instrument, in order to hunt failure on hydra.
3840 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3842 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3843 malformed bindings form (bug#15814).
3845 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3847 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3848 "." compared to " @ ". This incidentally fixes some indentation
3850 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3851 (ruby-smie-grammar): New tokens: "and" and "or".
3852 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3853 Exclude "and" and "or". Remove "do" in order to work around token
3855 (ruby-smie-rules): Add all infix tokens. Handle the case of
3856 beginning-of-buffer.
3858 2013-11-06 Glenn Morris <rgm@gnu.org>
3860 * Makefile.in (setwins_almost, setwins_for_subdirs):
3861 Avoid accidental matches.
3863 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3865 * menu-bar.el (popup-menu): Use key-binding.
3867 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3869 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3870 menus, support also the menus produced by minor modes.
3873 2013-11-06 Leo Liu <sdl.web@gmail.com>
3875 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3876 DISTANCE to bound the search. All uses changed. (Bug#15808)
3878 2013-11-06 Glenn Morris <rgm@gnu.org>
3880 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3881 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3882 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3884 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3886 * electric.el (electric-indent-just-newline): New command.
3887 (electric-indent-mode-map): New keymap.
3888 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3889 Re-add :group which weren't redundant.
3891 * electric.el (electric-indent-local-mode): New minor mode.
3892 (electric-indent-functions-without-reindent): New var.
3893 (electric-indent-post-self-insert-function): Use it.
3894 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3896 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3898 * international/quail.el (quail-help): Be more explicit about the
3899 meaning of the labels shown on the keys. (Bug#15800)
3901 * startup.el (normal-top-level): Load the subdirs.el files before
3902 setting the locale environment. (Bug#15805)
3904 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3906 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3907 via arguments so as to get the right ones (bug#15418).
3909 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3911 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3913 Fix problems found while writing a test suite.
3915 * net/tramp-compat.el (tramp-compat-load): New defun.
3916 * net/tramp.el (tramp-handle-load): Use it.
3918 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3919 "(numberp ok-if-already-exists)" correctly.
3921 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3923 * international/characters.el (glyphless-char-display-control):
3926 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3928 * progmodes/python.el (python-mode):
3929 * progmodes/scheme.el (scheme-mode):
3930 * progmodes/prolog.el (prolog-mode):
3931 * progmodes/ruby-mode.el (ruby-mode):
3932 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3933 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3935 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3937 * rect.el (rectangle--highlight-for-redisplay):
3938 * emacs-lisp/smie.el (smie--next-indent-change):
3939 Use buffer-chars-modified-tick.
3941 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3943 * electric.el (electric-indent-post-self-insert-function):
3944 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3946 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3948 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3950 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3952 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3955 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3957 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3959 * progmodes/python.el: Fix up last change.
3960 (python-shell--save-temp-file): New function.
3961 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3962 `string' comes from the current buffer.
3963 (python-shell-send-string-no-output): Remove `msg' arg.
3964 (python--use-fake-loc): New var.
3965 (python-shell-buffer-substring): Obey it. Try to compensate for the
3966 extra coding line added by python-shell--save-temp-file.
3967 (python-shell-send-region): Use python-shell--save-temp-file and
3968 python-shell-send-file directly. Add `nomain' argument.
3969 (python-shell-send-buffer): Use python-shell-send-region.
3970 (python-electric-pair-string-delimiter): New function.
3971 (python-mode): Use it.
3973 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3975 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3976 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3977 environment and decoding all of the default-directory's to here
3979 (command-line): Decode also argv[0].
3981 * loadup.el: Error out if default-directory is a multibyte string
3982 when we are dumping.
3984 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3986 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3988 * emacs-lisp/package.el (package-menu-mode)
3989 (package-menu--print-info, package-menu--archive-predicate):
3990 Add Archive column to package list.
3992 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3994 Fix problems found while writing a test suite.
3996 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3997 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3998 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3999 to nil when running original file name handler. Otherwise,
4000 there are problems with constructs like "$$FOO".
4002 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4005 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4007 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4009 * subr.el (version<, version<=, version=):
4010 Update docstrings with information for snapshot versions.
4012 * helpers.el: New library for misc helper functions.
4013 (hash-table-keys): New function returning a list of hash keys.
4014 (hash-table-values): New function returning a list of hash values.
4016 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4018 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4019 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4021 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4023 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4024 checking whether point is after a 1-letter word.
4026 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4028 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4029 Don't infloop when expanding region over `multiline' syntax-type that
4030 begins a line (bug#15778).
4032 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4034 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4035 Make it into a proper minor mode.
4036 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4037 (rectangle-mark-mode-map): New keymap.
4038 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4040 2013-11-04 Glenn Morris <rgm@gnu.org>
4042 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4044 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4046 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4047 (ruby-smie-rules): Use smie-rule-parent instead.
4049 * emacs-lisp/smie.el (smie-rule-parent): Always call
4050 smie-indent-virtual rather than only for hanging tokens.
4051 (smie--next-indent-change): New helper command.
4053 2013-11-03 Glenn Morris <rgm@gnu.org>
4055 * Makefile.in (abs_srcdir): Remove.
4056 (emacs): Unset EMACSLOADPATH.
4058 2013-11-02 Glenn Morris <rgm@gnu.org>
4060 * Makefile.in (EMACS): Use a relative filename.
4061 (abs_top_builddir): Remove.
4062 (custom-deps, finder-data, autoloads): Use --chdir.
4064 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4066 Use relative filenames in TAGS files.
4067 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4068 (lisptagsfiles4, TAGS): Use relative file names.
4069 (TAGS-LISP): Remove.
4070 (maintainer-clean): No more TAGS-LISP file.
4072 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4073 (lisptagsfiles4): Use absolute filenames again.
4074 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4075 Remove all *loaddefs files, not just the first. Remove esh-groups.
4076 (maintainer-clean): Delete TAGS, TAGS-LISP.
4078 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4080 * emacs-lisp/package.el (package-version-join):
4081 Recognize snapshot versions.
4083 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4085 * subr.el (version-regexp-alist): Add support for snapshot versions.
4087 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4089 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4090 New function, replacement for `smie-rule-parent' for when we want to
4091 skip over our direct parent if it's an assignment token..
4092 (ruby-smie-rules): Use it.
4094 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4096 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4097 unconditionally. Remove now unnecessary forward declarations.
4098 Remove XEmacs-specific setup.
4099 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4100 (ruby-font-lock-syntactic-keywords)
4101 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4102 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4103 (ruby-here-doc-end-syntax): Remove.
4104 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4105 defined as function.
4107 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4109 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4111 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4113 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4114 table and abbrev table, `define-derived-mode' does that for us
4117 2013-11-01 Glenn Morris <rgm@gnu.org>
4119 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4120 files is atomic for some time, so no parallel compilation issues).
4122 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4124 * faces.el (face-x-resources): Add :distant-foreground.
4125 (region): Use :distant-foreground for gtk and ns.
4127 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4129 Allow multiple bibliographies when BibLaTeX is used rather than
4131 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4132 (reftex-locate-bibliography-files): Us it.
4134 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4136 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4137 allow comments in pbm files.
4139 * term/w32-win.el (dynamic-library-alist): Support newer versions
4140 of libjpeg starting with v7: look only for the DLL from the
4141 version against which Emacs was built.
4142 Support versions of libpng beyond 1.4.x.
4143 Support libtiff v4.x.
4145 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4147 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4148 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4150 (ruby-deep-arglist): Add property :type.
4152 2013-10-31 Glenn Morris <rgm@gnu.org>
4154 * Makefile.in (custom-deps, finder-data): No need to setq the target
4155 variables, we are in the right directory and the defaults work fine.
4157 2013-10-30 Glenn Morris <rgm@gnu.org>
4159 * Makefile.in (autoloads): Do not use abs_lisp.
4161 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4162 `newline' does not respect `standard-output', so use `princ'.
4164 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4166 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4167 * buff-menu.el (Buffer-menu--unmark): New function.
4168 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4170 2013-10-30 Glenn Morris <rgm@gnu.org>
4172 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4174 * emacs-lisp/package.el (lm-homepage): Declare.
4176 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4179 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4181 * Makefile.in (finder-data, autoloads, update-subdirs)
4182 (compile-main, compile-clean, compile-always, bootstrap-clean):
4183 Check return value of cd.
4184 (compile-calc): Remove.
4186 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4188 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4190 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4191 (byte-compile-and-folded): New function.
4192 (=, <, >, <=, >=): Use it.
4194 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4195 (path-separator, null-device, buffer-file-coding-system)
4196 (lpr-headers-switches): Check system-type before modifying them.
4197 (find-buffer-file-type-coding-system): Mark obsolete.
4198 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4199 find-file-not-found-set-buffer-file-coding-system.
4200 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
4201 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4202 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
4203 (w32-direct-print-region-helper, w32-direct-print-region-function)
4204 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4205 * startup.el (normal-top-level-add-subdirs-to-load-path):
4206 * ps-print.el (ps-print-region-function):
4207 * lpr.el (print-region-function): Use new name.
4209 * subr.el (custom-declare-variable-early): Remove function.
4210 (custom-declare-variable-list): Remove var.
4211 (error, user-error): Remove `while' loop.
4212 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4213 (user-emacs-directory-warning, locate-user-emacs-file):
4215 * simple.el (read-quoted-char-radix, read-quoted-char):
4216 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4218 * custom.el (custom-declare-variable-list): Don't process
4219 custom-declare-variable-list.
4221 * progmodes/python.el (python-shell-get-buffer): New function.
4222 (python-shell-get-process): Use it.
4223 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4224 Python which encoding was used. Don't split-string since we only care
4225 about the first line. Return the temp-file, if applicable.
4226 (python-shell-send-region): Tell compile.el how to turn locations in
4227 the temp-file into locations in the source buffer.
4229 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4231 * subr.el (undefined): Add missing behavior from the C code for
4234 * rect.el: Use lexical-binding. Add new rectangular region support.
4235 (rectangle-mark): New command.
4236 (rectangle--region): New var.
4237 (deactivate-mark-hook): Reset rectangle--region.
4238 (rectangle--extract-region, rectangle--insert-for-yank)
4239 (rectangle--highlight-for-redisplay)
4240 (rectangle--unhighlight-for-redisplay): New functions.
4241 (region-extract-function, redisplay-unhighlight-region-function)
4242 (redisplay-highlight-region-function): Use them to handle
4244 * simple.el (region-extract-function): New var.
4245 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4246 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4247 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4248 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4249 (redisplay-unhighlight-region-function)
4250 (redisplay-highlight-region-function): New vars.
4251 (redisplay--update-region-highlight): New function.
4252 (pre-redisplay-function): Use it.
4253 (exchange-point-and-mark): Don't deactivate the mark before
4254 reactivate-it anyway.
4255 * comint.el (comint-kill-region): Remove yank-handler argument.
4256 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4257 (delete-char): Remove property, since it's now part of their
4259 (self-insert-iso): Remove property since this command doesn't exist.
4261 * emacs-lisp/package.el (package--download-one-archive)
4262 (describe-package-1): Don't query the user about final newline.
4264 2013-10-29 Daniel Colascione <dancol@dancol.org>
4266 * net/tramp.el (tramp-methods): Document new functionality.
4267 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4268 tramp-hostname-checker if method provides one instead of scanning
4269 argument list for "%h" to decide hostname acceptability.
4271 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4273 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4274 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4275 Handle COPY-CONTENTS. (Bug#15737)
4277 2013-10-28 Daiki Ueno <ueno@gnu.org>
4280 (epa-file-cache-passphrase-for-symmetric-encryption):
4281 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4283 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4285 * image.el (defimage):
4286 (image-load-path): Doc fixes.
4288 2013-10-27 Alan Mackenzie <acm@muc.de>
4290 Indent statements in macros following "##" correctly.
4291 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4292 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4294 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4296 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4298 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4300 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4301 after `=' is probably a new expression.
4303 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4305 * man.el (man-imenu-title): New option.
4306 (Man-mode-map): Add menu. (Bug#15722)
4307 (Man-mode): Add imenu to menu.
4309 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4311 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4312 specific in what the first arg can be: a non-keyword word,
4313 string/regexp/percent literal opener, opening paren, or unary
4314 operator followed directly by word.
4316 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4318 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4319 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4320 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4321 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4322 Remove vars, they do not apply any more.
4323 (prolog-mode-abbrev-table): Remove redundant declaration.
4324 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4325 (prolog-use-smie): Remove.
4326 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4327 supported by prolog-electric-if-then-else-flag.
4328 (prolog-mode-variables, prolog-menu): Use setq-local.
4329 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4330 Remove binding to `Backspace' since this key doesn't exist anyway.
4331 Remove bindings for electric self-inserting keys.
4332 (prog-mode): Assume it's defined.
4333 (prolog-post-self-insert): New function.
4334 (prolog-mode): Use it.
4335 (prolog-indent-line, prolog-indent-level)
4336 (prolog-find-indent-of-matching-paren)
4337 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4338 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4339 (prolog-goto-next-paren, prolog-in-string-or-comment)
4340 (prolog-tokenize, prolog-inside-mline-comment)
4341 (prolog-find-start-of-mline-comment): Remove functions.
4342 (prolog-find-unmatched-paren, prolog-clause-end)
4343 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4344 (prolog-electric--if-then-else): Rename from
4345 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4346 (prolog-tokenize-searchkey): Remove const.
4347 (prolog-clause-info): Use forward-sexp.
4348 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4349 (prolog-electric-if-then-else): Remove commands.
4350 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4351 for use in post-self-insert-hook.
4352 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4353 for use in post-self-insert-hook.
4354 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4355 for use in post-self-insert-hook.
4356 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4357 adapt it for use in post-self-insert-hook.
4359 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4361 * emacs-lisp/ert.el (ert-run-tests-interactively):
4362 Use `completing-read'. (Bug#9756)
4364 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4366 * simple.el (line-move): Call line-move-1 instead of
4367 line-move-visual when the current window hscroll is zero, but
4368 temporary-goal-column indicates we will need to hscroll as result
4369 of the movement. (Bug#15712)
4371 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4373 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4374 capitalization. Use :visible instead of :active.
4375 Fix `ruby-indent-exp' reference. Add menu items for the generic
4376 commands that are used with SMIE.
4377 (ruby-do-end-to-brace): Insert space after `{'.
4379 2013-10-25 John Anthony <john@jo.hnanthony.com>
4381 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4383 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4385 2013-10-25 Glenn Morris <rgm@gnu.org>
4387 * vc/vc.el (vc-print-log): Don't use a working revision unless
4388 one was explicitly specified. (Bug#15322)
4390 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4392 * subr.el (add-to-list): Preserve return value in compiler-macro
4395 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4397 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4398 result. Ask user to retry using '-all' flag. (Bug#15701)
4400 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4402 * emacs-lisp/smie.el: New smie-config system.
4403 (smie-config): New defcustom.
4404 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4405 (smie-config-guess, smie-config-save): New commands.
4406 (smie-config--mode-local, smie-config--buffer-local)
4407 (smie-config--trace, smie-config--modefuns): New vars.
4408 (smie-config--advice, smie-config--mode-hook)
4409 (smie-config--setter, smie-config-local, smie-config--get-trace)
4410 (smie-config--guess-value, smie-config--guess): New functions.
4411 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4412 text properties. Treat "string fence" syntax like string syntax.
4414 * progmodes/sh-script.el (sh-use-smie): Change default.
4415 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4416 (sh-var-value): Simplify by CSE.
4417 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4418 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4420 (sh-guess-basic-offset): Use cl-incf.
4421 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4423 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4425 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4428 2013-10-24 Glenn Morris <rgm@gnu.org>
4430 * Makefile.in (abs_top_srcdir): Remove.
4431 (update-subdirs): Use relative path to update-subdirs.
4433 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4435 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4436 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4437 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4438 Call unmsys--file-name before expand-file-name, not after it.
4440 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4442 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4443 (ert-test-skipped): New error.
4444 (ert-skip, ert-stats-skipped): New defuns.
4445 (ert--skip-unless): New macro.
4446 (ert-test-skipped): New struct.
4447 (ert--run-test-debugger, ert-test-result-type-p)
4448 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4449 (ert--stats-set-test-and-result, ert-char-for-test-result)
4450 (ert-string-for-test-result, ert-run-tests-batch)
4451 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4452 Handle skipped tests. (Bug#9803)
4454 2013-10-24 Glenn Morris <rgm@gnu.org>
4456 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4458 * Makefile.in (abs_top_srcdir): New, set by configure.
4459 (update-subdirs): Correct build-aux location.
4461 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4463 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4464 value, whether we could auto-deduce `backend', or not.
4466 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4467 with parameters" example. Simplify the "is it block or is it
4468 hash" check, but also make it more thorough.
4470 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4472 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4474 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4476 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4479 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4482 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4484 * progmodes/compile.el (compilation-directory-matcher)
4485 (compilation-page-delimiter):
4486 Support GNU Make-4.0 directory quoting. (Bug#15678)
4488 2013-10-23 Leo Liu <sdl.web@gmail.com>
4490 * ido.el (ido-tidy): Handle read-only text.
4492 2013-10-23 Glenn Morris <rgm@gnu.org>
4494 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4495 (emacs, compile, compile-always):
4496 Quote entities that might contain whitespace.
4497 (custom-deps, finder-data, autoloads): Use abs_lisp.
4498 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4499 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4500 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4502 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4504 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4505 Use `following-char'.
4507 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4509 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4510 * progmodes/ruby-mode.el (ruby-smie-rules):
4511 Remove corresponding workaround. Fix indentation rule of ";" so it
4512 also applies when ";" is the parent.
4514 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4516 * frame.el (display-screens, display-pixel-height)
4517 (display-pixel-width, display-mm-width, display-backing-store)
4518 (display-save-under, display-planes, display-color-cells)
4519 (display-visual-class, display-monitor-attributes-list):
4520 Mention the optional ‘display’ argument in doc strings.
4522 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4524 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4525 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4527 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4529 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4530 TODO. Add "." after " @ ".
4531 (ruby-smie--at-dot-call): New function. Checks if point at method
4532 call with explicit target.
4533 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4534 to the method name tokens when it precedes them.
4535 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4536 (ruby-smie-rules): Add rule for indentation before and after "."
4539 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4541 * textmodes/remember.el (remember-diary-extract-entries):
4544 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4547 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4549 * progmodes/ruby-mode.el (ruby-smie-grammar):
4550 Add (almost) all infix operators.
4551 (ruby-smie--implicit-semi-p): Add new operator chars.
4553 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4555 (ruby-smie--args-separator-p): Check that there's no newline
4556 between method call and its arguments.
4558 2013-10-20 Alan Mackenzie <acm@muc.de>
4560 Allow comma separated lists after Java "implements".
4562 * progmodes/cc-engine.el (c-backward-over-enum-header):
4564 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4565 from a "disallowed" list in enum fontification.
4567 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4569 * startup.el (default-frame-background-mode): Remove unused defvar.
4571 * progmodes/verilog-mode.el (verilog-mode): Don't set
4572 comment-indent-function globally.
4574 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4576 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4577 Move Info menu item creation to ns-win.el.
4579 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4582 * menu-bar.el: Move GNUstep specific menus...
4584 * term/ns-win.el (ns-initialize-window-system): ... to here.
4586 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4588 * simple.el (newline): Only run post-self-insert-hook when
4589 called interactively.
4591 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4593 * icomplete.el (icomplete-with-completion-tables): Add :version.
4595 2013-10-19 Alan Mackenzie <acm@muc.de>
4597 Fix fontification bugs with constructors and const.
4599 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4600 CASE 2) Remove the check for the absence of a suffix construct
4601 after a function declaration with only types (no identifiers) in
4602 the parentheses. Also, accept a function declaration with just a
4603 type inside the parentheses, if this type can be positively
4604 recognised as such, or if a prefix keyword like "explicit" nails
4605 down the construct as a declaration.
4607 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4609 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4610 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4611 the problem whereby selecting a menu item that leads to a
4612 minibuffer prompt moves the cursor out of the minibuffer window,
4613 making it hard to type at the prompt. Suggested by Stefan Monnier
4614 <monnier@iro.umontreal.ca>.
4616 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4618 * menu-bar.el: Don't make Services menu.
4620 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4622 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4623 (ffap-alist): Use ffap-c++-mode for c++-mode.
4624 (ffap-c++-path): New variable.
4625 (ffap-c++-mode): New function.
4627 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4629 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4631 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4633 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4634 introduced on 2013-09-08, which results in an infinite loop
4635 requesting a password.
4637 2013-10-18 Glenn Morris <rgm@gnu.org>
4639 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4641 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4643 Sync with upstream verilog-mode revision 1a6ecec7.
4644 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4645 (verilog-mode-release-date): Remove.
4646 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4647 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4648 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4649 (verilog-auto-tieoff-ignore-regexp)
4650 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4651 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4652 (verilog-signals-with, verilog-dir-cache-preserving)
4653 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4655 (verilog-case-fold): New option, to control case folding in
4656 regexp searches, bug597.
4657 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4658 (verilog-string-match-fold, verilog-in-paren-count)
4659 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4660 (verilog-at-close-struct-p): New functions.
4661 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4662 (verilog-forward-sexp, verilog-set-auto-endcomments):
4663 (verilog-leap-to-case-head): Handle "unique0" case.
4664 (verilog-in-constraint-re): New constant.
4665 (verilog-keywords, verilog-type-font-keywords):
4666 Add some SystemVerilog 1800-2012 keywords.
4667 (verilog-label-be): Remove unimplemented argument, bug669.
4668 (verilog-batch-execute-func): When batch expanding clear
4669 create-lockfiles to prevent spurious user locks when a file ends
4671 (verilog-calculate-indent, verilog-calc-1)
4672 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4673 (verilog-do-indent): Fix indentation of nested constraints
4675 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4676 (verilog-auto-inst-param): Use verilog-string-match-fold.
4677 (verilog-read-inst-module-matcher):
4678 Fix AUTOINST on gate primitives with #1.
4679 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4680 Reads all user-defined typed variables.
4681 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4682 (verilog-signals-matching-regexp)
4683 (verilog-signals-not-matching-regexp, verilog-auto):
4684 Respect verilog-case-fold.
4685 (verilog-diff-report): Fix line count.
4686 (verilog-auto-assign-modport): Remove unused local `modi'.
4687 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4688 better handle multidimensional arrays.
4689 Fix packed array ports misadding bit index in AUTOINST, bug637.
4690 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4691 to not double-declare existing outputs and inputs, respectively.
4692 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4693 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4694 (verilog-sk-uvm-component): New skeleton.
4695 (verilog-submit-bug-report): Add verilog-case-fold,
4696 remove verilog-mode-release-date.
4698 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4700 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4703 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4705 * textmodes/remember.el (remember): Set buffer-offer-save in
4706 remember buffers (bug#13566).
4708 2013-10-18 Daniel Colascione <dancol@dancol.org>
4710 When evaluating forms in ielm, direct standard output to ielm
4711 buffer. Add new ielm-return-for-effect command. Remove trailing
4712 whitespace throughout.
4714 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4715 (ielm-return-for-effect): New command.
4716 (ielm-send-input): Accept optional `for-effect' parameter.
4717 (ielm-eval-input): Accept optional `for-effect' parameter.
4718 Bind `standard-output' to stream we create using
4719 `ielm-standard-output-impl'. Suppress printing result when
4721 (ielm-standard-output-impl): New function.
4722 (inferior-emacs-lisp-mode): Explain new features in documentation.
4724 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4728 * net/tramp.el (tramp-debug-message): Do not check for connection
4730 (tramp-message): Use "vector" connection property.
4732 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4733 (tramp-equal-remote, tramp-eshell-directory-change)
4734 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4735 (tramp-adb-handle-rename-file)
4736 * net/tramp-cmds.el (tramp-list-remote-buffers)
4737 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4738 * net/tramp-compat.el (tramp-compat-process-running-p)
4739 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4740 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4741 (tramp-gvfs-handle-rename-file)
4742 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4743 (tramp-set-file-uid-gid)
4744 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4745 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4748 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4749 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4750 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4751 (tramp-gw-open-network-stream): Suppress unrelated traces.
4753 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4754 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4755 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4756 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4757 connection property.
4759 * net/tramp-cache.el (top): Suppress traces when reading
4762 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4763 Refactor common code. Improve debug message.
4764 (tramp-maybe-open-connection)
4765 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4766 connection buffer too early.
4768 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4769 from `tramp-smb-actions-with-acl'.
4770 (tramp-smb-actions-set-acl): New defconst.
4771 (tramp-smb-handle-copy-directory)
4772 (tramp-smb-action-get-acl): New defun, renamed from
4773 `tramp-smb-action-with-acl'.
4774 (tramp-smb-action-set-acl): New defun.
4775 (tramp-smb-handle-set-file-acl): Rewrite.
4777 2013-10-17 Glenn Morris <rgm@gnu.org>
4779 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4781 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4783 * skeleton.el (skeleton-newline): Remove.
4784 (skeleton-internal-1): Use (insert "\n") instead.
4786 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4789 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4790 forward-sexp-function while we redo its job (bug#15613).
4792 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4794 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4795 represented by lists.
4797 2013-10-16 Glenn Morris <rgm@gnu.org>
4799 * tmm.el (tmm--history): New dynamic variable.
4800 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4802 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4804 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4805 (tramp-smb-errors): Add error messages.
4806 (tramp-smb-actions-with-acl): New defconst.
4807 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
4808 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4809 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4810 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4811 (tramp-smb-get-stat-capability): Fix tests.
4813 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4815 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4818 2013-10-16 Glenn Morris <rgm@gnu.org>
4820 * ansi-color.el (ansi-color-drop-regexp):
4821 Add 1J, 1K, 2K. (Bug#15617)
4823 * files.el (hack-local-variables--warned-lexical): New.
4824 (hack-local-variables):
4825 Warn about misplaced lexical-binding. (Bug#15616)
4827 * net/eww.el (eww-render): Always set eww-current-url,
4828 and update header line. (Bug#15622)
4829 (eww-display-html): ... Rather than just doing it here.
4831 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4833 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4834 menu navigations commands.
4836 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4838 * progmodes/subword.el (subword-capitalize): Be careful when
4839 the search for [[:alpha:]] fails (bug#15580).
4841 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4843 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4844 to commands that scroll the menu.
4846 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4848 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4849 Handle methods ending with `?' and `!'.
4851 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4853 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4854 `japanese-cp932' to `cp932' to fix the problem where saving a
4855 source file written in Shift_JIS twice would end up having
4856 `coding: japanese-cp932' which Ruby could not recognize.
4857 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4858 in `ruby-encoding-map'.
4859 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4860 doesn't need to be explicitly declared in magic comment.
4861 (ruby-encoding-map): Add type declaration for better customize UI.
4863 2013-10-13 Glenn Morris <rgm@gnu.org>
4865 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4866 Occur buffers are read-only. http://bugs.debian.org/720775
4868 * emacs-lisp/authors.el (authors-fixed-entries):
4869 Comment out old alpha stuff.
4871 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4873 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4874 to `after-save-hook' instead of `before-save-hook'.
4875 (ruby-mode-set-encoding): Use the value of coding system used to
4876 write the file. Call `basic-save-buffer-1' after modifying the
4879 2013-10-13 Alan Mackenzie <acm@muc.de>
4881 Fix indentation/fontification of Java enum with
4882 "implements"/generic.
4884 * progmodes/cc-engine.el (c-backward-over-enum-header):
4885 Extracted from the three other places and enhanced to handle generics.
4886 (c-inside-bracelist-p): Uses new function above.
4887 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4889 (c-font-lock-enum-tail): Uses new function above.
4891 2013-10-13 Kenichi Handa <handa@gnu.org>
4893 * international/mule-cmds.el (select-safe-coding-system): Remove a
4894 superfluous condition in chekcing whether a coding system is safe
4897 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4899 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4901 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4903 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4905 2013-10-13 Glenn Morris <rgm@gnu.org>
4907 * menu-bar.el (menu-bar-update-buffers):
4908 Unify Buffers menu prompt string. (Bug#15576)
4910 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4912 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4914 (authors-fixed-entries): Use accented form of name.
4916 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4918 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4919 method calls (bug#15594).
4920 (ruby-smie--args-separator-p): New function.
4921 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4922 recognize paren-free method calls.
4924 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4925 internals of universal-argument.
4927 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4929 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4930 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4931 dropped menu on second mouse click on the menu bar.
4933 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4935 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4936 (explicit-shell-file-name): Declare.
4937 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4938 (sh-completion-at-point-function): New function.
4940 (sh-smie--keyword-p): Remove unused argument.
4941 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4943 (sh-set-shell): Always setup SMIE, even if we use the
4944 old indentation code.
4946 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4948 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4950 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4951 predicate would return nil are almost non-existent.
4952 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4954 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4955 cache also after commands that modify the buffer but don't move
4958 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4960 * env.el (substitute-env-in-file-name): New function.
4961 (substitute-env-vars): Extend the meaning of the optional arg.
4963 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4965 * term/w32-win.el (dynamic-library-alist): Define separate lists
4966 of GIF DLLs for versions before and after 5.0.0 of giflib.
4969 2013-10-10 João Távora <joaotavora@gmail.com>
4971 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4972 not locked, use last revision and current source as
4973 defaults. (Bug#15569)
4975 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4977 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4980 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4982 * window.el (pop-to-buffer-same-window): Fix doc-string.
4985 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4987 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4989 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4991 * calendar/icalendar.el (icalendar-import-file):
4992 Fix interactive spec. (Bug#15482)
4994 2013-10-10 Glenn Morris <rgm@gnu.org>
4996 * desktop.el (desktop-save): Default to saving in .emacs.d,
4997 since PWD is no longer in desktop-path by default. (Bug#15319)
4999 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5000 now that text mode has a menu with the same entry.
5001 (menu-bar-text-mode-auto-fill): Remove now unused func.
5002 * textmodes/text-mode.el (text-mode-map):
5003 Use auto-fill help text from menu-bar.el.
5005 2013-10-10 John Anthony <john@jo.hnanthony.com>
5007 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5009 2013-10-09 Juri Linkov <juri@jurta.org>
5011 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5012 instead of this-command-keys. Add universal-argument-more and
5013 universal-argument-minus to the list of prefix commands. (Bug#15568)
5015 2013-10-09 Glenn Morris <rgm@gnu.org>
5017 * vc/vc-svn.el (vc-svn-create-repo):
5018 Expand paths in file://... url. (Bug#15446)
5020 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5022 (authors): Remove unused local variables.
5024 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5026 * profiler.el: Create a more coherent calltree from partial backtraces.
5027 (profiler-format): Hide the tail with `invisible' so that C-s can still
5028 find the hidden elements.
5029 (profiler-calltree-depth): Don't recurse so enthusiastically.
5030 (profiler-function-equal): New hash-table-test.
5031 (profiler-calltree-build-unified): New function.
5032 (profiler-calltree-build): Use it.
5033 (profiler-report-make-name-part): Indent the calltree less.
5034 (profiler-report-mode): Add visibility specs for profiler-format.
5035 (profiler-report-expand-entry, profiler-report-toggle-entry):
5036 Expand the whole subtree when provided with a prefix arg.
5038 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5040 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5042 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5043 hanging iuwu-mod token.
5044 (ruby-smie--forward-token): Do not include a dot after a token in
5046 (ruby-smie--backward-token): Likewise.
5048 2013-10-08 Juri Linkov <juri@jurta.org>
5050 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5051 to isearch-other-control-char.
5052 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5053 and isearch-post-command-hook to post-command-hook.
5054 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5055 and isearch-post-command-hook from post-command-hook.
5056 (isearch-unread-key-sequence)
5057 (isearch-reread-key-sequence-naturally)
5058 (isearch-lookup-scroll-key, isearch-other-control-char)
5059 (isearch-other-meta-char): Remove functions.
5060 (isearch-pre-command-hook, isearch-post-command-hook):
5061 New functions based on isearch-other-meta-char rewritten
5062 relying on the new behavior of overriding-terminal-local-map
5063 that does not replace the local keymaps any more. (Bug#15200)
5065 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5067 Support menus on text-mode terminals.
5068 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5071 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5073 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5074 Move here from mouse.el.
5075 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5077 (tty-menu-navigation-map): New map for TTY menu navigation.
5079 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5081 * frame.el (display-mouse-p): Report text-mode mouse as available
5083 (display-popup-menus-p): Report availability if mouse is
5084 available; don't condition on window-system.
5086 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5087 (tty-menu-selected-face): New faces.
5089 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5091 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5092 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5093 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5094 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5096 (lisp-mode-variables): New `elisp' argument.
5097 (emacs-lisp-mode): Use it.
5098 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5099 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5101 * indent.el: Use lexical-binding.
5102 (indent-region): Add progress reporter.
5103 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5105 (indent--next-tab-stop): New function to implement this behavior.
5106 (tab-to-tab-stop, move-to-tab-stop): Use it.
5108 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5110 * indent.el (indent-rigidly--current-indentation): New function.
5111 (indent-rigidly-map): New var.
5112 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5114 2013-10-08 Bastien Guerry <bzg@gnu.org>
5116 * register.el (insert-register): Fix 2013-10-07 change.
5118 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5120 * progmodes/perl-mode.el: Use lexical-binding.
5121 Remove redundant :group args.
5122 (perl-nochange): Change default to be closer to other major modes's
5124 (perl-indent-line): Don't consider text on current line as a
5125 valid beginning of function from which to indent.
5127 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5128 with more than one argument (bug#15538).
5130 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5132 * vc/pcvs.el: Use lexical-binding.
5133 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5134 environment of `eval'.
5135 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5136 than a list of expressions. Adjust callers.
5137 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5139 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5141 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5142 case of the dot in a chained method call being on the following line.
5144 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5146 * electric.el (electric-indent-inhibit): New var.
5147 (electric-indent-post-self-insert-function): Use it.
5148 * progmodes/python.el (python-mode): Set it.
5150 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5153 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5155 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5156 (css-mode): Use electric-indent-chars.
5158 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5159 (font-lock-beg, font-lock-end): Move before first use.
5160 (nxml-mode): Use syntax-propertize-function.
5161 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5162 (nxml-extend-after-change-region): Remove.
5163 * nxml/xmltok.el: Use lexical-binding.
5164 (xmltok-save): Use `declare'.
5165 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5166 * nxml/nxml-util.el: Use lexical-binding.
5167 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5169 * nxml/nxml-ns.el: Use lexical-binding.
5170 (nxml-ns-save): Use `declare'.
5171 (nxml-ns-prefixes-for): Avoid add-to-list.
5172 * nxml/rng-match.el: Use lexical-binding.
5173 (rng--ipattern): Use cl-defstruct.
5174 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5175 (rng-cons-group-after, rng-subst-group-after)
5176 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5177 Use closures instead of `(lambda...).
5179 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5181 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5184 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5185 Use `tramp-handle-insert-file-contents'.
5186 (tramp-gvfs-handle-insert-file-contents): Remove function.
5188 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5189 Use `save-restriction' in order to keep markers.
5191 * net/trampver.el: Update release number.
5193 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5195 * progmodes/compile.el (compilation-parse-errors):
5196 Use compilation--put-prop.
5197 (compilation--ensure-parse): Check compilation-multiline.
5199 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5201 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5204 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5206 * progmodes/ruby-mode.el: Fix recently added tests.
5207 (ruby-smie-grammar): Add - and +.
5208 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5209 (ruby-smie--backward-id): New functions.
5210 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5211 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5214 2013-10-07 Leo Liu <sdl.web@gmail.com>
5216 * register.el (register-preview-delay)
5217 (register-preview-functions): New variables.
5218 (register-read-with-preview, register-preview)
5219 (register-describe-oneline): New functions.
5220 (point-to-register, window-configuration-to-register)
5221 (frame-configuration-to-register, jump-to-register)
5222 (number-to-register, view-register, insert-register)
5223 (copy-to-register, append-to-register, prepend-to-register)
5224 (copy-rectangle-to-register): Use register-read-with-preview to
5225 read register. (Bug#15525)
5227 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5229 * net/network-stream.el (network-stream-open-starttls): Don't add
5230 --insecure if it's already present, because that gnutls-cli
5231 rejects getting that parameter twice.
5233 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5235 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5238 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5240 * newcomment.el (comment-use-global-state): Change default value
5241 to t, mark obsolete (Bug#15251).
5242 (comment-beginning): In addition to `comment-to-syntax', check the
5243 value of `comment-use-global-state'.
5245 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5247 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5248 (ruby-comment-column): Follow the global default, by default.
5249 (ruby-smie-grammar): Add assignment syntax.
5250 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5251 open-paren, a comma, or a \.
5252 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5253 and line continuations.
5254 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5255 followed by implicit semi-colons. Add rule for string concatenation
5256 and for indentation at BOB.
5257 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5259 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5260 calling next-sexp, since next-token may have skipped chars which
5261 next-sexp doesn't know should be skipped!
5263 2013-10-05 Leo Liu <sdl.web@gmail.com>
5265 * progmodes/octave.el (octave-send-region):
5266 Call compilation-forget-errors.
5268 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5270 * vc/vc-svn.el (vc-svn-find-admin-dir):
5271 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5272 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5273 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5274 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5276 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5278 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5280 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5282 * subr.el (read-passwd): Hide chars even when called within a context
5283 where after-change-functions is disabled (bug#15501).
5284 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5285 until we removed ourself from overriding-terminal-local-map.
5287 2013-10-04 Leo Liu <sdl.web@gmail.com>
5289 * progmodes/octave.el (inferior-octave-mode):
5290 Call compilation-forget-errors.
5292 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5294 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5296 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5298 * net/secrets.el (secrets-create-collection): Add optional
5299 argument ALIAS. Use proper Label keyword. Append ALIAS as
5300 dbus-call-method argument. (Bug#15516)
5302 2013-10-04 Leo Liu <sdl.web@gmail.com>
5304 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5305 (inferior-octave-compilation-font-lock-keywords): New variables.
5306 (compilation-error-regexp-alist)
5307 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5308 (inferior-octave-mode): Use compilation-shell-minor-mode.
5310 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5312 * minibuffer.el (completion--replace): Be careful that `end' might be
5315 2013-10-03 Daiki Ueno <ueno@gnu.org>
5317 Add support for package signature checking.
5318 * emacs-lisp/package.el (url-http-file-exists-p)
5319 (epg-make-context, epg-context-set-home-directory)
5320 (epg-verify-string, epg-context-result-for)
5321 (epg-signature-status, epg-signature-to-string)
5322 (epg-check-configuration, epg-configuration)
5323 (epg-import-keys-from-file): Declare.
5324 (package-check-signature): New user option.
5325 (package-unsigned-archives): New user option.
5326 (package-desc): Add `signed' field.
5327 (package-load-descriptor): Set `signed' field if .signed file exists.
5328 (package--archive-file-exists-p): New function.
5329 (package--check-signature): New function.
5330 (package-install-from-archive): Check package signature.
5331 (package--download-one-archive): Check archive signature.
5332 (package-delete): Remove .signed file.
5333 (package-import-keyring): New command.
5334 (package-refresh-contents): Import default keyring.
5335 (package-desc-status): Add "unsigned" status.
5336 (describe-package-1, package-menu--print-info)
5337 (package-menu-mark-delete, package-menu--find-upgrades)
5338 (package-menu--status-predicate): Support "unsigned" status.
5340 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5342 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5343 the new compilation scheme using the new byte-codes.
5345 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5346 (byte-pophandler): New byte codes.
5347 (byte-goto-ops): Adjust accordingly.
5348 (byte-compile--use-old-handlers): New var.
5349 (byte-compile-catch): Use new byte codes depending on
5350 byte-compile--use-old-handlers.
5351 (byte-compile-condition-case--old): Rename from
5352 byte-compile-condition-case.
5353 (byte-compile-condition-case--new): New function.
5354 (byte-compile-condition-case): New function that dispatches depending
5355 on byte-compile--use-old-handlers.
5356 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5359 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5360 Optimize under `condition-case' and `catch' if
5361 byte-compile--use-old-handlers is nil.
5362 (disassemble-offset): Handle new bytecodes.
5364 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5366 * subr.el (error): Use `declare'.
5367 (decode-char, encode-char): Use advertised-calling-convention instead
5368 of the docstring to discourage use of the `restriction' arg.
5370 2013-10-03 Daiki Ueno <ueno@gnu.org>
5372 * epg.el (epg-verify-file): Add a comment saying that it does not
5373 notify verification error as a return value nor a signal.
5374 (epg-verify-string): Ditto.
5376 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5378 * progmodes/compile.el (compilation-start): Try globbing the arg to
5381 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5383 Sync with Tramp 2.2.8.
5385 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5386 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5387 * net/trampver.el: Update release number.
5389 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5391 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5392 and default-process-coding-system for darwin only.
5394 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5396 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5398 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5400 * vc/vc-git.el (vc-git-grep): Disable pager.
5402 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5404 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5405 Use :url instead of :homepage, as per
5406 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5408 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5409 non-nil, use `syntax-ppss' (Bug#15251).
5411 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5413 * progmodes/octave.el (inferior-octave-startup-file):
5414 Prefer ~/.emacs.d/init_octave.m.
5416 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5418 * emacs-lisp/package.el (package-desc-from-define):
5419 Accept additional arguments as plist, convert them to an alist and store
5420 them in the `extras' slot.
5421 (package-generate-description-file): Convert extras alist back to
5422 plist and append to the `define-package' form arguments.
5423 (package--alist-to-plist): New function.
5424 (package--ac-desc): Add `extras' slot.
5425 (package--add-to-archive-contents): Check if the archive-contents
5426 vector is long enough, and if it is, pass its `extras' slot value
5427 to `package-desc-create'.
5428 (package-buffer-info): Call `lm-homepage', pass the returned value
5429 to `package-desc-from-define'.
5430 (describe-package-1): Render the homepage button (Bug#13291).
5432 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5433 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5435 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5437 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5438 and default-process-coding-system to utf-8-unix (Bug#15402).
5440 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5442 * subr.el (looking-back): Do not recommend using looking-back.
5444 2013-09-28 Alan Mackenzie <acm@muc.de>
5446 Fix indentation/fontification of Java enum with "implements".
5448 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5449 regexp which matches "implements", etc., in Java.
5450 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5451 specifier clauses coming after "enum".
5452 * progmodes/cc-fonts.el (c-font-lock-declarations)
5453 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5456 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5458 * faces.el (region): Change ns_selection_color to
5459 ns_selection_fg_color, add ns_selection_bg_color.
5461 2013-09-28 Leo Liu <sdl.web@gmail.com>
5463 * progmodes/octave.el (inferior-octave-completion-table)
5464 (inferior-octave-completion-at-point): Minor tweaks.
5466 * textmodes/ispell.el (ispell-lookup-words): Rename from
5467 lookup-words. (Bug#15460)
5468 (lookup-words): Obsolete.
5469 (ispell-complete-word, ispell-command-loop): All uses changed.
5471 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5473 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5474 (octave-mode-menu): Add octave-send-buffer.
5475 (octave-send-buffer): New function.
5477 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5479 * progmodes/octave.el (octave-mode-map): Add key binding for
5481 (octave-mode-menu): Add octave-lookfor.
5482 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5484 (octave-lookfor): New function.
5486 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5488 * emacs-lisp/cl-macs.el:
5489 (cl--loop-destr-temps): Remove.
5490 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5492 (cl--loop-set-iterator-function): New function.
5493 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5494 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5495 Bind `it' with `let' instead of substituting it with `cl-subst'.
5496 (cl--unused-var-p): New function.
5497 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5498 Eliminate some unused variable warnings (bug#15326).
5500 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5502 * doc-view.el (doc-view-scale-reset): Rename from
5503 `doc-view-reset-zoom-level'.
5504 (doc-view-scale-adjust): New command.
5505 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5506 `doc-view-scale-adjust'.
5508 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5510 * doc-view.el (doc-view-reset-zoom-level): New command.
5511 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5512 zoom commands (bug#15466).
5514 2013-09-26 Kenichi Handa <handa@gnu.org>
5516 * international/quail.el (quail-help): Make it not a command.
5518 2013-09-26 Leo Liu <sdl.web@gmail.com>
5520 * minibuffer.el (completion-all-sorted-completions): Make args
5521 optional as they are.
5523 2013-09-25 Daniel Colascione <dancol@dancol.org>
5525 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5526 specs are and that they're not evaluated.
5528 2013-09-24 Sam Steingold <sds@gnu.org>
5530 * midnight.el (clean-buffer-list-kill-regexps)
5531 (clean-buffer-list-kill-buffer-names): Update for the new Man
5532 buffer naming which includes the object name.
5534 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5536 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5537 (eshell-parse-command, eshell-parse-pipeline): Use it since
5538 eshell-separate-commands requires a dynamic scoped var.
5539 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5541 2013-09-23 Leo Liu <sdl.web@gmail.com>
5543 * autoinsert.el (auto-insert-alist): Make the value of
5544 lexical-binding match its file setting.
5546 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5548 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5550 * autoarg.el (autoarg-kp-digit-argument):
5551 * electric.el (Electric-command-loop):
5552 * kmacro.el (kmacro-step-edit-insert):
5553 Do not set universal-argument-num-events.
5555 2013-09-22 Leo Liu <sdl.web@gmail.com>
5557 * files.el (interpreter-mode-alist): Add octave.
5559 2013-09-21 Alan Mackenzie <acm@muc.de>
5561 C++: fontify identifier in declaration following "public:" correctly.
5562 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5563 to match "public", etc.
5564 (c-decl-prefix-re): Add ":" into the C++ value.
5565 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5566 bit. Add a check for a ":" preceded by "public", etc.
5568 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5570 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5571 recognized by GDB 7.5 and later.
5573 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5575 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5577 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5579 * subr.el (internal--call-interactively): New const.
5580 (called-interactively-p): Use it (bug#3984).
5582 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5584 * vc/pcvs.el (cvs-mode-ignore):
5585 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5586 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5588 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5590 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5591 (eshell-ls-orig-insert-directory): Remove.
5592 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5593 (eshell-ls-use-in-dired): Use advice-add/remove.
5594 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5595 Add `orig-fun' arg for use in :around advice.
5596 Make it check (redundantly) eshell-ls-use-in-dired.
5598 2013-09-19 Glenn Morris <rgm@gnu.org>
5600 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5602 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5604 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5606 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5608 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5609 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5610 (tramp-get-remote-python): New defuns.
5611 (tramp-get-remote-uid-with-perl)
5612 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5613 contributed by yary <not.com@gmail.com> (tiny change).
5614 (tramp-get-remote-uid-with-python)
5615 (tramp-get-remote-gid-with-python): New defuns. Python code
5616 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5617 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5619 2013-09-19 Glenn Morris <rgm@gnu.org>
5621 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5623 * eshell/em-unix.el (eshell-remove-entries):
5624 Rename argument to avoid name-clash with global `top-level'.
5626 * eshell/esh-proc.el (eshell-kill-process-function):
5627 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5628 (eshell-reset-after-proc): Remove unused arg `proc'.
5630 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5631 (directory-files-and-attributes): Mark unused arg.
5633 * eshell/em-unix.el (eshell-remove-entries):
5634 Remove unused arg `path'. Update callers.
5636 * eshell/em-hist.el (eshell-hist-parse-arguments):
5637 Remove unused arg `silent'. Update callers.
5639 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5640 Fix (f)boundp mix-up.
5642 * eshell/em-smart.el (eshell-smart-scroll-window)
5643 (eshell-disable-after-change):
5644 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5646 2013-09-18 Alan Mackenzie <acm@muc.de>
5648 Fix fontification of type when followed by "const".
5649 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5650 "known" types from fontification.
5652 2013-09-18 Glenn Morris <rgm@gnu.org>
5654 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5655 (chart-face-list): Drop Emacsen without display-color-p.
5657 * net/eww.el (libxml-parse-html-region): Declare.
5658 (eww-display-html): Explicit error if no libxml2 support.
5660 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5662 * image.el (image-type-from-buffer, image-multi-frame-p):
5663 Remove --without-x warning/error.
5665 * mouse.el (mouse-yank-primary):
5666 * term.el (term-mouse-paste):
5667 Reorder to silence --without-x compilation.
5669 * mpc.el (doc-view-mode): Silence --without-x compilation.
5671 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5672 Silence --without-x compilation.
5674 * progmodes/gud.el (gud-find-file, gud-mode):
5675 Silence --without-x compilation.
5676 (tooltip-mode): Declare.
5678 * wdired.el (dired-backup-overwrite): Remove declaration.
5679 (wdired-mode-map): Add doc string.
5681 * custom.el (x-get-resource): Declare.
5683 * eshell/em-glob.el (ange-cache):
5684 * eshell/em-unix.el (ange-cache): Declare.
5686 * faces.el (x-display-list, x-open-connection, x-get-resource):
5689 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5690 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5693 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5695 * net/gnutls.el (gnutls-log-level): Declare.
5697 * net/shr.el (image-size, image-animate): Declare.
5699 * simple.el (font-info): Declare.
5701 * subr.el (x-popup-dialog): Declare.
5703 * term/common-win.el (x-select-enable-primary)
5704 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5707 * term/ns-win.el (x-handle-args): Declare.
5709 * term/x-win.el (x-select-enable-clipboard): Declare.
5711 * term/w32-win.el (create-default-fontset): Declare.
5713 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5716 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5717 (fit-frame-to-buffer): Explicit error if --without-x.
5718 (mouse-autoselect-window-select): Silence compiler.
5720 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5722 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5723 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5724 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5725 * eshell/esh-util.el (eshell-sublist):
5726 Remove unused local variables.
5728 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5730 * textmodes/two-column.el: Make 2C-split work for --without-x.
5731 (scroll-bar-columns): Autoload.
5732 (top-level): Require fringe when compiling.
5734 2013-09-18 Leo Liu <sdl.web@gmail.com>
5736 * subr.el (add-hook): Robustify to handle closure as well.
5738 2013-09-17 Glenn Morris <rgm@gnu.org>
5740 * simple.el (messages-buffer-mode-map): Unbind "g".
5742 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5744 * help-mode.el (help-mode-finish): Use derived-mode-p.
5745 Remove obsolete highlighting.
5747 * play/life.el (life-mode): Use define-derived-mode. Derive from
5749 (life): Let-bind inhibit-read-only.
5750 (life-setup): Avoid `setq'. Use `life-mode'.
5752 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5753 which should not be needed any more.
5754 (package-menu-refresh, package-menu-describe-package): Use user-error.
5756 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5757 (eshell-post-rewrite-command-hook): Make obsolete.
5758 (eshell-parse-command): Simplify.
5759 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5760 (eshell--cmd): Declare.
5761 (eshell-parse-pipeline): Remove unused var `final-p'.
5762 Pass a dynvar to eshell-post-rewrite-command-hook.
5763 Implement the new eshell-post-rewrite-command-function.
5764 (eshell-invoke-directly): Remove unused arg `input'.
5765 * eshell/esh-io.el (eshell-io-initialize):
5766 Use eshell-post-rewrite-command-function (bug#15399).
5767 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5768 adjust to new calling convention.
5769 (eshell-create-handles): Rename args to avoid clashing with dynvar
5772 2013-09-17 Glenn Morris <rgm@gnu.org>
5774 * simple.el (messages-buffer-mode): New major mode.
5775 (messages-buffer): New function.
5776 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5777 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5778 (ert-run-test): Use `messages-buffer' function.
5779 (ert--force-message-log-buffer-truncation): Ignore read-only.
5780 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5781 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5783 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5785 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5787 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5789 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5791 * icomplete.el (icomplete-in-buffer): New var.
5792 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5793 vars and replace them with functions.
5794 (icomplete-minibuffer-setup): Adjust accordingly.
5795 (icomplete--completion-table, icomplete--completion-predicate)
5796 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5798 (icomplete-forward-completions, icomplete-backward-completions)
5799 (icomplete-simple-completing-p, icomplete-exhibit)
5800 (icomplete-completions): Use them.
5801 (icomplete--in-region-buffer): New var.
5802 (icomplete--in-region-setup): New function.
5803 (icomplete-mode): Use it.
5805 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5807 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5808 return args and options.
5809 (eshell-eval-using-options): Use the new return value of
5810 eshell--do-opts to set the options's vars in their scope.
5811 (eshell--set-option): Rename from eshell-set-option.
5813 (eshell--process-option): Rename from eshell-process-option.
5815 (eshell--process-args): Use an `opt-vals' alist to store the options's
5816 values during their processing and return them additionally to the
5819 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5821 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5822 continuation character an operator, as far as indentation is
5823 concerned (Bug#15369).
5825 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5827 * window.el (window--state-put-2): Don't process buffer state
5828 when buffer doesn't exist any more (Bug#15382).
5830 2013-09-15 Glenn Morris <rgm@gnu.org>
5832 * eshell/em-unix.el (eshell/rm):
5833 Make -f ignore missing files. (Bug#15373)
5835 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5836 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5837 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5839 2013-09-14 Glenn Morris <rgm@gnu.org>
5841 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5843 2013-09-13 Glenn Morris <rgm@gnu.org>
5845 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5846 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5848 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5850 * frame.el (x-focus-frame): Mark as declared in frame.c.
5852 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5854 * ls-lisp.el: Use advice-add.
5855 (original-insert-directory): Remove.
5856 (ls-lisp--insert-directory): Rename from insert-directory; add
5857 `orig-fun' argument.
5858 (insert-directory): Advise.
5860 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5862 * term.el (term-emulate-terminal): Decode the command string
5863 before passing it to term-command-hook. (Bug#15337)
5865 2013-09-13 Glenn Morris <rgm@gnu.org>
5867 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5869 * eshell/esh-ext.el (eshell-search-path): Declare.
5871 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5872 Otherwise an error occurs if eshell-dirs module not loaded.
5874 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5876 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5878 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5879 `tramp-check-proper-host'. Check for a valid method name.
5881 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5882 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5883 * net/tramp-sh.el (tramp-maybe-open-connection):
5884 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5886 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5887 also for hash values.
5889 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5891 * term/ns-win.el (parameters): Don't declare as dynamic.
5892 (before-make-frame-hook): Don't add ineffective function.
5894 * eshell/*.el: Use lexical-binding (bug#15231).
5896 2013-09-12 Kenichi Handa <handa@gnu.org>
5898 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5900 2013-09-12 Glenn Morris <rgm@gnu.org>
5902 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5903 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5905 * subr.el (do-after-load-evaluation): Also give compiler warnings
5906 when obsolete files are used (except by obsolete files).
5908 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5909 in the status output, assume `filename' is the first. (Bug#15322)
5911 * vc/vc.el (vc-deduce-fileset): Doc fix.
5913 * calc/calc-help.el (Info-goto-node):
5914 * progmodes/cperl-mode.el (Info-find-node):
5915 * vc/ediff.el (Info-goto-node): Update declarations.
5917 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5919 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5920 (vc-bzr-pull): Require vc-dispatcher.
5921 * vc/vc-git.el (vc-compilation-mode): Declare.
5922 (vc-git-pull): Require vc-dispatcher.
5924 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5926 * progmodes/octave.el (help-button-action): Declare.
5928 * shell.el (shell-directory-tracker): Output error as a message
5929 rather than just returning it as a string.
5930 (shell-process-pushd): Remove useless use of message.
5932 * dframe.el (dframe-timer-fn):
5933 * files.el (dir-locals-read-from-file):
5934 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5936 * reveal.el (reveal-post-command):
5937 * saveplace.el (load-save-place-alist-from-file):
5938 * shell.el (shell-resync-dirs):
5939 * w32-common-fns.el (x-get-selection-value):
5940 * emacs-lisp/copyright.el (copyright-find-copyright):
5941 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5942 * emulation/tpu-edt.el (tpu-copy-keyfile):
5943 * play/bubbles.el (bubbles--mark-neighbourhood):
5944 * progmodes/executable.el
5945 (executable-make-buffer-file-executable-if-script-p):
5946 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5948 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5950 Cleanup Eshell to rely less on dynamic scoping.
5951 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5952 last-value, and ext-command here. Bind `args' closer to `body'.
5953 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5954 (eshell--args): Declare new dynamic var.
5955 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5956 last-value, and ext-command. Pass `args' to `body'.
5957 (eshell-process-args): Bind eshell--args.
5958 (eshell-set-option): Use eshell--args.
5959 * eshell/eshell.el (eshell): Use derived-mode-p.
5960 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5961 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5962 (eshell-glob-function): Declare.
5963 * eshell/esh-util.el: Require cl-lib.
5964 (eshell-read-hosts-file): Avoid add-to-list.
5965 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5967 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5969 (eshell/diff): Remove unused var `err'.
5970 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5972 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5973 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5975 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5976 Move declaration before first use.
5977 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5978 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5981 2013-09-12 Glenn Morris <rgm@gnu.org>
5983 * term/ns-win.el (global-map): Remove binding for ispell-next,
5984 deleted 1999-05-29. (Bug#15357)
5986 2013-09-11 Glenn Morris <rgm@gnu.org>
5988 * echistory.el (electric-command-history): Remove call to deleted func.
5990 * play/landmark.el (landmark-mode): Fix typos.
5992 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5993 Check cvs-sort-ignore-file is bound.
5995 * savehist.el: No need for cl when compiling on Emacs.
5997 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5999 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6001 (eshell-self-insert-command, eshell-send-invisible):
6002 Remove unused argument.
6003 (eshell-handle-control-codes): Remove unused var `orig'.
6004 Avoid delete-backward-char.
6006 * files.el (set-auto-mode): Simplify a bit further.
6008 2013-09-11 Glenn Morris <rgm@gnu.org>
6010 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6011 (set-auto-mode): Don't regexp-quote elements.
6012 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6013 * progmodes/cc-mode.el (interpreter-mode-alist):
6014 * progmodes/ruby-mode.el (interpreter-mode-alist):
6015 Revert previous change.
6017 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6019 * play/snake.el (snake-mode):
6020 * play/mpuz.el (mpuz-mode):
6021 * play/landmark.el (lm-mode):
6022 * play/blackbox.el (blackbox-mode):
6023 * play/5x5.el (5x5-mode):
6024 * obsolete/options.el (Edit-options-mode):
6025 * net/quickurl.el (quickurl-list-mode):
6026 * net/newst-treeview.el (newsticker-treeview-mode):
6027 * mail/rmailsum.el (rmail-summary-mode):
6028 * mail/mspools.el (mspools-mode):
6029 * locate.el (locate-mode):
6030 * ibuffer.el (ibuffer-mode):
6031 * emulation/ws-mode.el (wordstar-mode):
6032 * emacs-lisp/debug.el (debugger-mode):
6033 * array.el (array-mode):
6034 * net/eudc.el (eudc-mode): Use define-derived-mode.
6035 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6036 Move initialization into declaration.
6037 (mairix-searches-mode): Use define-derived-mode.
6038 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6039 (eudc-edit-hotlist): Use dolist.
6040 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6041 (Man-mode): Use define-derived-mode.
6042 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6043 (Info-edit-mode): Use define-derived-mode.
6044 (Info-cease-edit): Use Info-mode.
6045 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6047 (eshell-mode): Use define-derived-mode.
6048 * chistory.el (command-history-mode-map): Rename from
6049 command-history-map.
6050 (command-history-mode): Use define-derived-mode.
6051 (Command-history-setup): Remove function.
6052 * calc/calc.el (calc-trail-mode-map): New var.
6053 (calc-trail-mode): Use define-derived-mode.
6054 (calc-trail-buffer): Set calc-main-buffer manually.
6055 * bookmark.el (bookmark-insert-annotation): New function.
6056 (bookmark-edit-annotation): Use it.
6057 (bookmark-edit-annotation-mode): Make it a proper major mode.
6058 (bookmark-send-edited-annotation): Use derived-mode-p.
6059 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6060 closer to its ideal place. Use \' to match EOS.
6062 * profiler.el (profiler-calltree-find): Use function-equal.
6064 2013-09-10 Glenn Morris <rgm@gnu.org>
6066 * files.el (interpreter-mode-alist): Convert to regexps.
6067 (set-auto-mode): Adapt for this. (Bug#15306)
6068 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6069 Comment out unused variable.
6070 * progmodes/cc-mode.el (interpreter-mode-alist):
6071 * progmodes/python.el (interpreter-mode-alist):
6072 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6073 * progmodes/sh-script.el (sh-set-shell):
6074 No longer use interpreter-mode-alist to get list of shells.
6076 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6078 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6080 * simple.el: Use set-temporary-overlay-map for universal-argument.
6081 (universal-argument-map): Don't use default-bindings (bug#15317).
6082 Bind switch-frame explicitly. Replace universal-argument-minus with
6083 a conditional binding.
6084 (universal-argument-num-events, saved-overriding-map): Remove.
6085 (restore-overriding-map): Remove.
6086 (universal-argument--mode): Rename from save&set-overriding-map,
6088 (universal-argument, universal-argument-more, negative-argument)
6089 (digit-argument): Adjust accordingly.
6090 (universal-argument-minus): Remove.
6091 (universal-argument-other-key): Remove.
6093 * subr.el (with-demoted-errors): Add `format' argument.
6095 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6097 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6098 `tramp-cleanup-connection'.
6100 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6101 parameters KEEP-DEBUG and KEEP-PASSWORD.
6103 * net/tramp.el (tramp-file-name-handler):
6104 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6105 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6106 (tramp-maybe-open-connection):
6107 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6108 Use `tramp-cleanup-connection'.
6110 * net/tramp-sh.el (tramp-maybe-open-connection):
6111 Catch 'uname-changed inside the progress reporter.
6113 2013-09-10 Glenn Morris <rgm@gnu.org>
6115 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6117 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6118 returns "alternate access method" in mode (eg "-rw-r--r--.").
6120 2013-09-08 Glenn Morris <rgm@gnu.org>
6122 * saveplace.el (load-save-place-alist-from-file):
6123 Demote errors. (Bug#15305)
6125 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6127 Improve compatibility with older Emacsen, and XEmacs.
6129 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6130 only if it is bound. It isn't for XEmacs.
6131 (with-tramp-progress-reporter): Do not let-bind `result'.
6132 This yields to scoping errors in XEmacs.
6133 (tramp-handle-make-auto-save-file-name): New function, moved from
6136 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6137 for `make-auto-save-file-name'.
6138 (tramp-adb--gnu-switches-to-ash):
6139 Use `tramp-compat-replace-regexp-in-string'.
6141 * net/tramp-cache.el (tramp-cache-print): Call
6142 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6144 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6145 bound. It isn't for XEmacs.
6147 * net/tramp-compat.el (tramp-compat-copy-file):
6148 Catch `wrong-number-of-arguments' error.
6149 (tramp-compat-replace-regexp-in-string): New defun.
6151 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6152 for `make-auto-save-file-name'.
6153 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6155 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6156 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6157 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6159 * net/tramp-gw.el (tramp-gw-open-network-stream):
6160 Use `tramp-compat-replace-regexp-in-string'.
6162 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6163 Call `tramp-handle-make-auto-save-file-name'.
6164 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6165 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6166 (tramp-sh-file-inotifywait-process-filter):
6167 Use `tramp-compat-replace-regexp-in-string'.
6168 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6170 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6171 for `make-auto-save-file-name'.
6172 (tramp-smb-handle-copy-directory):
6173 Call `tramp-compat-replace-regexp-in-string'.
6174 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6175 (tramp-smb-handle-copy-file): Improve error message.
6176 (tramp-smb-handle-rename-file): Rename directly only in case
6177 `newname' does not exist yet. This is a restriction of smbclient.
6178 (tramp-smb-maybe-open-connection): Rerun the function only when
6179 `auth-sources' is non-nil.
6181 2013-09-08 Kenichi Handa <handa@gnu.org>
6183 * international/characters.el: Set category "^" (Combining) for
6186 2013-09-07 Alan Mackenzie <acm@muc.de>
6188 Correctly fontify Java class constructors.
6189 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6191 (c-recognize-typeless-decls): Set the Java value to t.
6192 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6193 While handling a "(", add a check for, effectively, Java, and handle a
6194 "typeless" declaration there.
6196 2013-09-07 Roland Winkler <winkler@gnu.org>
6198 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6199 field subtitle for entry type book.
6201 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6203 * minibuffer.el: Make minibuffer-complete call completion-in-region
6204 rather than other way around.
6205 (completion--some, completion-pcm--find-all-completions):
6206 Don't delay signals when debugging.
6207 (minibuffer-completion-contents): Beware fields within the
6208 minibuffer contents.
6209 (completion-all-sorted-completions): Use defvar-local.
6210 (completion--do-completion, completion--cache-all-sorted-completions)
6211 (completion-all-sorted-completions, minibuffer-force-complete):
6212 Add args `beg' and `end'.
6213 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6214 (minibuffer-complete): Use completion-in-region.
6215 (completion-complete-and-exit): New fun, extracted from
6216 minibuffer-complete-and-exit.
6217 (minibuffer-complete-and-exit): Use it.
6218 (completion--complete-and-exit): Rename from
6219 minibuffer--complete-and-exit.
6220 (completion-in-region--single-word): New function, extracted from
6221 minibuffer-complete-word.
6222 (minibuffer-complete-word): Use it.
6223 (display-completion-list): Make `common-substring' argument obsolete.
6224 (completion--in-region): Call completion--in-region-1 instead of
6225 minibuffer-complete.
6226 (completion-help-at-point): Pass boundaries to
6227 minibuffer-completion-help as args rather than via an overlay.
6228 (completion-pcm--string->pattern): Use `any-delim'.
6229 (completion-pcm--optimize-pattern): New function.
6230 (completion-pcm--pattern->regex): Handle `any-delim'.
6231 * icomplete.el (icomplete-forward-completions)
6232 (icomplete-backward-completions, icomplete-completions):
6233 Adjust calls to completion-all-sorted-completions and
6234 completion--cache-all-sorted-completions.
6235 (icomplete-with-completion-tables): Default to t.
6236 * emacs-lisp/crm.el (crm--current-element): Rename from
6237 crm--select-current-element. Don't put an overlay but return the
6239 (crm--completion-command): Take two new args to bind to the boundaries.
6240 (crm-completion-help): Adjust accordingly.
6241 (crm-complete): Use completion-in-region.
6242 (crm-complete-word): Use completion-in-region--single-word.
6243 (crm-complete-and-exit): Use completion-complete-and-exit.
6245 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6247 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6250 2013-09-06 Juri Linkov <juri@jurta.org>
6252 * info.el (Info-display-images-node): When image file doesn't exist
6253 display text version of the image if it's provided in the Info file.
6254 Otherwise, display the location of missing image from SRC attribute.
6255 Add help-echo text property from ALT attribute. (Bug#15279)
6257 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6259 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6260 (edit-abbrevs-mode): Use define-derived-mode.
6262 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6263 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6265 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6266 Use define-derived-mode.
6268 * epg.el (epg-start-encrypt): Minor CSE simplification.
6270 2013-09-06 William Xu <william.xwl@gmail.com>
6272 * arc-mode.el: Add support for 7za (bug#15264).
6273 (archive-7z-program): New var.
6274 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6275 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6276 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6278 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6282 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6283 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6284 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6285 (tramp-postfix-host-format, tramp-file-name-regexp)
6286 (tramp-completion-file-name-regexp)
6287 (tramp-completion-dissect-file-name)
6288 (tramp-handle-substitute-in-file-name): Remove 'url case.
6289 (tramp-file-name-regexp-url)
6290 (tramp-completion-file-name-regexp-url): Remove constants.
6292 2013-09-06 Glenn Morris <rgm@gnu.org>
6294 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6296 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6298 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6299 keywords" below "here-doc beginnings" (Bug#15270).
6301 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6303 * subr.el (pop): Use `car-safe'.
6304 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6305 to detect unused `pop' return value.
6307 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6309 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6310 (python-fill-string): Remove unused var `marker'.
6311 (python-skeleton-add-menu-items): Remove unused var `items'.
6313 * international/mule-cmds.el: Require CL.
6314 (find-coding-systems-for-charsets): Avoid add-to-list.
6315 (sanitize-coding-system-list): New function, extracted from
6316 select-safe-coding-system-interactively.
6317 (select-safe-coding-system-interactively): Use it.
6318 (read-input-method-name): Accept symbols for `default'.
6320 * emacs-lisp/advice.el (defadvice): Add indent rule.
6322 2013-09-05 Daniel Hackney <dan@haxney.org>
6326 * net/browse-url.el:
6329 * net/eudcb-ldap.el:
6342 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6343 byte compiler. Remove some unused let-bound variables.
6345 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6347 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6348 a "ref-cell", since it gets better optimized (bug#14883).
6350 2013-09-05 Glenn Morris <rgm@gnu.org>
6352 * progmodes/cc-awk.el (c-forward-sws): Declare.
6354 2013-09-04 Glenn Morris <rgm@gnu.org>
6356 * generic-x.el [rul-generic-mode]: Require cc-mode.
6357 (c++-mode-syntax-table): Declare.
6358 (rul-generic-mode-syntax-table): Init in the defvar.
6360 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6362 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6363 (vc-do-command, vc-set-async-update):
6364 * vc/vc-mtn.el (vc-mtn-dir-status):
6365 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6366 (vc-hg-pull, vc-hg-merge-branch):
6367 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6368 (vc-git-merge-branch):
6369 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6370 (vc-cvs-dir-status-files):
6371 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6372 (vc-bzr-dir-status-files):
6373 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6374 * vc/vc-annotate.el: Use lexical-binding.
6375 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6376 (vc-sentinel-movepoint): Declare.
6377 (vc-annotate): Don't use `goto-line'.
6378 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6379 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6380 (vc-sentinel-movepoint): Declare.
6381 * vc/vc-svn.el: Use lexical-binding.
6382 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6384 * vc/vc-rcs.el: Use lexical-binding.
6386 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6387 `deleted'. Don't drop errors silently.
6389 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6391 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6393 * vc/vc.el (vc-ignore): Rewrite.
6394 (vc-default-ignore): New function.
6395 (vc-default-ignore-completion-table): Use find-ignore-file.
6397 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6398 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6399 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6400 Remove. Most code moved to vc.el.
6402 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6404 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6405 * net/tramp-smb.el (tramp-smb-get-file-entries):
6406 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6407 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6409 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6411 (eww-change-select): Remove unused var `properties'.
6412 (eww-make-unique-file-name): Remove unused var `base'.
6414 * finder.el (finder-compile-keywords): Don't mess with windows.
6416 * calculator.el (calculator-funcall): Fix typo in last change.
6418 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6420 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6421 <pkg>-autoloads.el file stop us.
6423 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6424 warnings, and factor out common code.
6426 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6428 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6429 two-character operators and whether the character preceding them
6430 changes their meaning (Bug#15208).
6432 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6434 Format code sent to Python shell for robustness.
6435 * progmodes/python.el (python-shell-buffer-substring):
6437 (python-shell-send-region, python-shell-send-buffer): Use it.
6439 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6441 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6442 * net/tramp.el (tramp-user-error): ... here.
6443 (tramp-find-method, tramp-check-proper-host)
6444 (tramp-dissect-file-name, tramp-debug-message)
6445 (tramp-handle-shell-command):
6446 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6447 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6449 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6451 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6453 * avoid.el (mouse-avoidance-point-position)
6454 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6457 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6459 * progmodes/python.el (python-shell-completion-get-completions):
6460 Drop use of deleted `comint-last-prompt-overlay'.
6461 (python-nav-if-name-main): New command.
6463 2013-09-01 Glenn Morris <rgm@gnu.org>
6465 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6466 Avoid leading space in $wins. Otherwise the sed command used by
6467 eg compile-main ends up containing "/*.el". (Bug#15170)
6469 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6471 2013-08-30 Glenn Morris <rgm@gnu.org>
6473 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6474 Fix is-this-a-directory logic. (Bug#15220)
6476 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6478 * textmodes/css-mode.el: Use SMIE.
6479 (css-smie-grammar): New var.
6480 (css-smie--forward-token, css-smie--backward-token)
6481 (css-smie-rules): New functions.
6482 (css-mode): Use them.
6483 (css-navigation-syntax-table): Remove var.
6484 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6485 (css-indent-calculate, css-indent-line): Remove functions.
6487 Misc changes to reduce use of `(lambda...); and other cleanups.
6488 * cus-edit.el: Use lexical-binding.
6489 (customize-push-and-save, customize-apropos)
6490 (custom-buffer-create-internal): Use closures.
6491 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6492 * progmodes/ada-xref.el: Use setq.
6493 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6494 * dframe.el: Use lexical-binding.
6495 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6496 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6497 * descr-text.el: Use lexical-binding.
6498 (describe-text-widget, describe-text-sexp, describe-property-list):
6500 * comint.el (comint-history-isearch-push-state): Use a closure.
6501 * calculator.el: Use lexical-binding.
6502 (calculator-number-to-string): Make it work with lexical-binding.
6503 (calculator-funcall): Same and use cl-letf.
6505 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6506 (lisp--company-doc-string, lisp--company-location): New functions.
6507 (lisp-completion-at-point): Use them to improve Company support.
6509 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6510 params of lambda expressions.
6511 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6512 (ruby-smie--opening-pipe-p): New function.
6513 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6514 symbols and matched |...| for formal params.
6515 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6516 from being treated as hanging. Handle "rescue".
6518 2013-08-29 Glenn Morris <rgm@gnu.org>
6520 * progmodes/cc-engine.el (c-pull-open-brace):
6521 Move definition before use.
6523 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6525 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6526 are immutable. Don't use `unsafe' any more.
6527 (cl--defsubst-expand): Don't substitute at the same time as keeping
6528 a residual unused let-binding. Don't use `unsafe' any more.
6530 2013-08-29 Glenn Morris <rgm@gnu.org>
6532 * calendar/cal-china.el (calendar-chinese-year-cache):
6535 * nxml/nxml-util.el (nxml-debug-clear-inside):
6536 Use cl-loop rather than loop.
6538 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6540 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6542 2013-08-28 Glenn Morris <rgm@gnu.org>
6544 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6546 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6548 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6550 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6552 * simple.el (repeat-complex-command--called-interactively-skip):
6554 (repeat-complex-command): Use it (bug#14136).
6556 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6557 (c-define-abbrev-table): Add `doc' argument.
6558 (c-mode-abbrev-table, c++-mode-abbrev-table)
6559 (objc-mode-abbrev-table, java-mode-abbrev-table)
6560 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6561 (awk-mode-abbrev-table): Use it.
6562 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6563 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6564 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6565 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6566 Move initialization into the declaration; and remove any
6569 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6570 and dynamic let binding.
6572 * vc/smerge-mode.el: Remove redundant :group args.
6574 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6577 2013-08-28 Juri Linkov <juri@jurta.org>
6579 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6580 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6581 (isearch-other-meta-char): Handle an undefined shifted printing
6582 character by downshifting it. (Bug#15200)
6584 2013-08-28 Juri Linkov <juri@jurta.org>
6586 * isearch.el (isearch-search): Change regexp error message for
6587 non-regexp searches. (Bug#15166)
6589 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6591 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6592 for portability to hosts where /bin/sh has problems.
6594 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6596 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6598 2013-08-27 Juri Linkov <juri@jurta.org>
6600 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6601 in the keyboard macro. (Bug#15126)
6603 2013-08-27 Juri Linkov <juri@jurta.org>
6605 * isearch.el (isearch-quote-char): Comment out converting unibyte
6606 to multibyte, thus syncing with its `quoted-insert' counterpart.
6609 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6611 * window.el (display-buffer-use-some-window): Add missing
6612 argument in call of get-largest-window (Bug#15185).
6613 Reported by Stephen Leake.
6615 2013-08-27 Glenn Morris <rgm@gnu.org>
6617 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6619 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6621 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6622 from a matcher-function unless there's no more matches (bug#15161).
6624 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6626 * minibuffer.el: Revert change from 2013-08-20.
6628 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6629 with text property `tramp-default', if appropriate.
6630 (tramp-check-proper-host): New defun.
6631 (tramp-dissect-file-name): Do not check hostname. Revert change
6633 (tramp-backtrace): Make VEC-OR-PROC optional.
6635 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6636 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6637 * net/tramp-sh.el (tramp-maybe-open-connection):
6638 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6639 Apply `tramp-check-proper-host'.
6641 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6643 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6644 lambda expression in order to have `describe-variable' display it.
6646 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6648 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6649 BUF can be optional. (Bug#15186)
6651 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6653 * progmodes/flymake.el (flymake-get-real-file-name-function):
6654 Fix broken customization. (Bug#15184)
6656 2013-08-25 Alan Mackenzie <acm@muc.de>
6658 Improve indentation of bracelists defined by macros (without "=").
6660 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6661 expansion begins with "{", regard it as bracelist when it doesn't
6664 Parse C++ inher-intro when there's a template split over 2 lines.
6666 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6667 rigorously the search for "class" etc. followed by ":".
6669 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6670 random languages a regexp which never matches rather than nil.
6672 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6674 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6675 (c-awk-regexp-one-line-possibly-open-char-list-re)
6676 (c-awk-one-line-possibly-open-regexp-re)
6677 (c-awk-one-line-non-syn-ws*-re): Remove.
6678 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6679 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6680 (c-awk-space*-unclosed-regexp-/-re): New constants.
6681 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6682 aren't regexp delimiters.
6684 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6685 handling for a rare situation in AWK Mode involving unterminated
6688 2013-08-23 Glenn Morris <rgm@gnu.org>
6690 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6692 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6694 * files.el (create-file-buffer): If the result would begin with
6695 spaces, prepend a "|" instead of removing them. (Bug#15162)
6697 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6699 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6700 text-properties (bug#15155).
6702 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6704 (calc-keypad-redraw): Remove unused var `pad'.
6705 (calc-keypad-press): Remove unused var `menu'.
6707 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6709 * window.el (display-buffer-pop-up-frame):
6710 Call pop-up-frame-function with BUFFER current so `make-frame' will
6711 use it as the new frame's buffer (Bug#15133).
6713 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6715 * calendar/timeclock.el: Minor cleanups.
6716 (timeclock-ask-before-exiting, timeclock-use-display-time):
6718 (timeclock-modeline-display): Define as alias before the
6720 (timeclock-mode-line-display): Use define-minor-mode.
6721 (timeclock-day-list-template): Make it a function, add an argument.
6722 (timeclock-day-list-required, timeclock-day-list-length)
6723 (timeclock-day-list-debt, timeclock-day-list-span)
6724 (timeclock-day-list-break): Adjust calls accordingly.
6726 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6728 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6729 Use read--expression so that completion works again.
6731 2013-08-21 Sam Steingold <sds@gnu.org>
6733 Add rudimentary inferior shell interaction
6734 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6735 (sh-set-shell): Reset it.
6736 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6737 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6739 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6741 * align.el: Use lexical-binding.
6742 (align-region): Simplify accordingly.
6744 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6746 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6748 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6751 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6755 * net/tramp-cmds.el:
6757 * net/tramp-gvfs.el:
6759 * net/tramp-sh.el: Don't wrap external variable declarations by
6760 `eval-when-compile'.
6762 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6764 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6765 now that Emacs supports ImageMagick animations.
6767 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6769 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6770 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6772 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6774 * window.el (mouse-autoselect-window-select): Do autoselect when
6775 mouse pointer is on margin.
6777 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6779 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6781 2013-08-16 Glenn Morris <rgm@gnu.org>
6783 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6784 Handle "Remote Directory" response of some clients. (Bug#15058)
6786 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6787 Tweak warning. (Bug#14926)
6789 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6790 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6792 * image-mode.el (image-mode-map): Add menu items to reverse,
6793 increase, decrease, reset animation speed.
6794 (image--set-speed, image-increase-speed, image-decrease-speed)
6795 (image-reverse-speed, image-reset-speed): New functions.
6796 (image-mode-map): Add bindings for speed commands.
6798 * image.el (image-animate-get-speed, image-animate-set-speed):
6800 (image-animate-timeout): Respect image :speed property.
6802 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6804 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6805 previous line (bug#15101).
6806 (debugger-eval-expression, debugger-record-expression):
6807 Use read--expression (bug#15102).
6809 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6811 Remove byte compiler warnings, visible when compiling with
6812 `byte-compile-force-lexical-warnings' set to t.
6814 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6815 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6816 (tramp-handle-unhandled-file-name-directory)
6817 (tramp-handle-file-notify-add-watch, tramp-action-login)
6818 (tramp-action-succeed, tramp-action-permission-denied)
6819 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6822 * net/tramp-adb.el (tramp-adb-parse-device-names)
6823 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6824 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6825 (tramp-adb-handle-file-truename): Remove unused arguments.
6827 * net/tramp-cache.el (tramp-flush-directory-property)
6828 (tramp-flush-connection-property, tramp-list-connections)
6829 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6831 * net/tramp-compat.el (tramp-compat-make-temp-file):
6832 Rename FILENAME to F.
6834 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6835 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6836 (tramp-zeroconf-parse-workstation-device-names)
6837 (tramp-zeroconf-parse-webdav-device-names)
6838 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6840 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6841 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6843 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6845 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6846 (tramp-sh-handle-insert-file-contents-literally)
6847 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6849 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6850 Remove unused variables.
6852 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6853 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6854 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6856 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6857 Make them a defconst.
6858 (tramp-uuencode-region): Remove unused variable.
6860 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6862 * frameset.el (frameset--prop-setter): New function.
6863 (frameset-prop): Add gv-setter declaration.
6864 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6865 parameter was already set in FILTERED. Doc fix.
6866 (frameset--record-minibuffer-relationships): Allow saving a
6867 minibufferless frame without its corresponding minibuffer frame.
6868 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6869 frame, if the frame id matches.
6870 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6871 frames before orphaned ones.
6872 (frameset-restore): Warn about orphaned windows, instead of error out.
6874 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6876 * window.el (window-make-atom): Don't overwrite parameter
6878 (display-buffer-in-atom-window): Handle special case where we
6879 split an already atomic window.
6880 (window--major-non-side-window, display-buffer-in-side-window)
6881 (window--side-check): Ignore minibuffer window when walking
6883 (window-deletable-p): Return 'frame only if no other frame uses
6884 our minibuffer window.
6885 (record-window-buffer): Run buffer-list-update-hook.
6886 (split-window): Make sure window--check-frame won't destroy an
6887 existing atomic window in case the new window gets nested
6889 (display-buffer-at-bottom): Ignore minibuffer window when
6890 walking window tree. Don't split a side window.
6891 (pop-to-buffer): Don't set-buffer here, the select-window call
6893 (mouse-autoselect-window-select): Autoselect only if we are in the
6894 text portion of the window.
6896 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6898 * net/shr.el (shr-parse-image-data): New function to grab both the
6899 data itself and the Content-Type.
6900 (shr-put-image): Use it.
6902 * net/eww.el (eww-display-image): Ditto.
6904 * image.el (image-content-type-suffixes): New variable.
6906 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6908 * progmodes/python.el (python-imenu--build-tree)
6909 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6911 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6913 * simple.el (backward-word): Mention the optional argument.
6915 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6917 * frameset.el (frameset--make): Rename constructor from make-frameset.
6918 (frameset-p, frameset-valid-p): Don't autoload.
6919 (frameset-valid-p): Use normal accessors.
6921 2013-08-13 Glenn Morris <rgm@gnu.org>
6923 * progmodes/compile.el (compile-command): Tweak example in doc.
6924 * obsolete/scribe.el (scribe-mode):
6925 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6927 * mail/feedmail.el (feedmail-confirm-outgoing)
6928 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6930 * cus-start.el (truncate-partial-width-windows): Fix type.
6932 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6934 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6936 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6938 * emacs-lisp/timer.el (timer--time-setter): New function.
6939 (timer--time): Use it as gv-setter.
6941 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6942 setter is not a symbol.
6944 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6946 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6947 if sending fails. This makes debugging easier.
6949 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6951 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6952 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6953 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6955 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6957 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6959 2013-08-12 Glenn Morris <rgm@gnu.org>
6961 * format.el (format-annotate-function):
6962 Handle read-only text properties in the source. (Bug#14887)
6964 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6966 * net/eww.el (eww-display-html): Ignore coding system errors.
6967 One web site uses "utf-8lias" as the coding system.
6969 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6971 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6973 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6975 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6976 (tutorial--detailed-help): Remove unused local variables.
6977 (tutorial--save-tutorial-to): Use ignore-errors.
6978 (help-with-tutorial): Use looking-at-p.
6980 * view.el (view-buffer-other-window, view-buffer-other-frame):
6981 Mark unused arguments.
6983 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6984 (woman-select-symbol-fonts, woman, woman-find-file)
6985 (woman-insert-file-contents, woman-non-underline-faces):
6987 (woman1-unquote): Move declaration.
6989 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6990 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6991 argument. Remove unused local variable.
6992 (xml-parse-elem-type): Use string-match-p.
6993 (xml-substitute-numeric-entities): Use ignore-errors.
6995 * calculator.el (calculator): Mark unused argument.
6996 (calculator-paste, calculator-quit, calculator-integer-p):
6998 (calculator-string-to-number, calculator-decimal, calculator-exp)
6999 (calculator-op-or-exp): Use string-match-p.
7001 * dired.el (dired-buffer-more-recently-used-p): Declare.
7002 (dired-insert-set-properties, dired-insert-old-subdirs):
7005 * dired-aux.el (dired-compress): Use ignore-errors.
7006 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7007 (dired-do-async-shell-command, dired-do-shell-command)
7008 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7009 (dired-insert-subdir-validate): Use string-match-p.
7010 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7011 (dired-add-entry): Use string-match-p, looking-at-p.
7012 (dired-insert-subdir-newpos): Remove unused local variable.
7014 * filenotify.el (file-notify-callback): Remove unused local variable.
7016 * filesets.el (filesets-error): Mark unused argument.
7017 (filesets-which-command-p, filesets-filter-dir-names)
7018 (filesets-directory-files, filesets-get-external-viewer)
7019 (filesets-ingroup-get-data): Use string-match-p.
7021 * find-file.el (ff-other-file-name, ff-other-file-name)
7022 (ff-find-the-other-file, ff-cc-hh-converter):
7023 Remove unused local variables.
7024 (ff-get-file-name): Use string-match-p.
7025 (ff-all-dirs-under): Use ignore-errors.
7027 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7028 (follow-select-if-visible): Remove unused local variable.
7030 * forms.el (read-file-filter): Move declaration.
7031 (forms--make-format, forms--make-parser, forms-insert-record):
7032 Quote function with #'.
7033 (forms--update): Use string-match-p. Quote function with #'.
7035 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7036 (help-make-xrefs): Use looking-at-p.
7037 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7039 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7040 (ibuffer-confirm-operation-on): Use string-match-p.
7042 * msb.el (msb-item-handler, msb-dired-item-handler):
7043 Mark unused arguments.
7045 * ses.el (ses-decode-cell-symbol)
7046 (ses-kill-override): Remove unused local variable.
7047 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7048 (ses-load): Use ignore-errors, looking-at-p.
7049 (ses-jump-safe): Use ignore-errors.
7050 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7052 * tabify.el (untabify, tabify): Mark unused arguments.
7054 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7055 Mark unused argument.
7056 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7057 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7059 * emacs-lisp/timer.el (timer--time): Define setter with
7060 gv-define-setter to avoid deprecation warning.
7062 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7063 (*record-cmpl-statistics-p*): Remove (was commented out).
7064 (cmpl-statistics-block): Remove (body was commented out).
7065 All callers changed.
7066 (add-completions-from-buffer, load-completions-from-file):
7067 Remove unused variables.
7069 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7071 * filecache.el (file-cache-delete-file-list):
7072 Print message only when told so.
7073 (file-cache-files-matching): Use #' in mapconcat argument.
7075 * ffap.el (ffap-url-at-point): Fix reference to variable
7076 thing-at-point-default-mail-uri-scheme.
7078 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7080 * subr.el (define-error): New function.
7081 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7082 error-file-not-found and define with define-error.
7083 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7084 and define with define-error.
7085 * userlock.el (file-locked, file-supersession):
7086 * simple.el (mark-inactive):
7087 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7088 * progmodes/ada-mode.el (ada-mode-errors):
7089 * play/life.el (life-extinct):
7090 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7091 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7092 * nxml/rng-util.el (rng-error):
7093 * nxml/rng-uri.el (rng-uri-error):
7094 * nxml/rng-match.el (rng-compile-error):
7095 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7096 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7097 * nxml/nxml-rap.el (nxml-scan-error):
7098 * nxml/nxml-outln.el (nxml-outline-error):
7099 * net/soap-client.el (soap-error):
7100 * net/gnutls.el (gnutls-error):
7101 * net/ange-ftp.el (ftp-error):
7102 * mpc.el (mpc-proc-error):
7103 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7104 (json-number-format, json-string-escape, json-string-format)
7105 (json-key-format, json-object-format):
7106 * jka-compr.el (compression-error):
7107 * international/quail.el (quail-error):
7108 * international/kkc.el (kkc-error):
7109 * emacs-lisp/ert.el (ert-test-failed):
7110 * calc/calc.el (calc-error, inexact-result, math-overflow)
7112 * bookmark.el (bookmark-error-no-filename):
7113 * epg.el (epg-error): Define with define-error.
7115 * time.el (display-time-event-handler)
7116 (display-time-next-load-average): Don't call sit-for since it seems
7117 unnecessary (bug#15045).
7119 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7120 Use #' instead of ' to quote functions.
7121 (checkdoc-output-mode): Use setq-local.
7122 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7123 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7124 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7125 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7126 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7127 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7128 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7129 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7131 * ido.el (ido-completion-help): Fix up compiler warning.
7133 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7135 * frameset.el (frameset-p): Add autoload cookie.
7136 (frameset--jump-to-register): New function, based on code moved from
7138 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7140 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7141 (frameset-restore, frameset-save, frameset-session-filter-alist):
7142 Remove declarations.
7143 (register-alist): Doc fix.
7144 (frameset-to-register): Move to frameset.el.
7145 (jump-to-register, describe-register-1): Remove frameset-specific code.
7147 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7149 * allout-widgets.el (allout-widgets-pre-command-business)
7150 (allout-widgets-post-command-business)
7151 (allout-widgets-after-change-handler)
7152 (allout-decorate-item-and-context, allout-set-boundary-marker)
7153 (allout-body-modification-handler)
7154 (allout-graphics-modification-handler): Mark ignored arguments.
7155 (allout-widgets-post-command-business)
7156 (allout-widgets-exposure-change-processor)
7157 (allout-widgets-exposure-undo-processor)
7158 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7159 (allout-parse-item-at-point, allout-decorate-item-guides)
7160 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7161 * allout.el (epa-passphrase-callback-function): Declare.
7162 (allout-overlay-insert-in-front-handler)
7163 (allout-overlay-interior-modification-handler)
7164 (allout-isearch-end-handler, allout-chart-siblings)
7165 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7166 (allout-yank-processing, allout-process-exposed)
7167 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7168 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7169 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7170 (lisp-indent-defform): Mark ignored arguments.
7171 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7172 (calculate-lisp-indent): Remove unused variables.
7173 * international/characters.el (indian-2-column, arabic-2-column)
7174 (tibetan): Mark ignored arguments.
7175 (use-cjk-char-width-table): Mark ignored arguments.
7176 Remove unused variables.
7177 * international/fontset.el (build-default-fontset-data)
7178 (x-compose-font-name, create-fontset-from-fontset-spec):
7179 Mark ignored arguments.
7180 (fontset-plain-name): Remove unused variables.
7181 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7182 (keyboard-coding-system): Mark ignored arguments.
7183 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7184 * help.el (resize-temp-buffer-window):
7185 * window.el (display-buffer-in-major-side-window)
7186 (display-buffer-in-side-window, display-buffer-in-previous-window):
7187 Remove unused variables.
7188 * isearch.el (isearch-forward-symbol):
7189 * version.el (emacs-bzr-version-bzr):
7190 * international/mule-cmds.el (current-language-environment):
7191 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7193 * term/pc-win.el (x-list-fonts, x-display-planes)
7194 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7195 (x-server-version, x-display-screens, x-display-mm-height)
7196 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7197 (x-selection-owner-p, x-own-selection-internal)
7198 (x-disown-selection-internal, x-get-selection-internal)
7199 (msdos-initialize-window-system):
7200 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7201 * term/x-win.el (x-handle-no-bitmap-icon):
7202 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7203 (vc-default-find-file-hook, vc-default-extra-menu):
7204 Mark ignored arguments.
7206 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7208 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7209 break-condition in the context of the debugged code (bug#12685).
7211 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7214 Do not use an overlay to highlight the last prompt. (Bug#14744)
7215 (comint-mode): Make comint-last-prompt buffer local.
7216 (comint-last-prompt): New variable.
7217 (comint-last-prompt-overlay): Remove. Superseded by
7219 (comint-snapshot-last-prompt, comint-output-filter):
7220 Use comint-last-prompt.
7222 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7224 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7225 (frameset-save): Check validity of the resulting frameset.
7227 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7229 * ido.el (ido-record-command): Add doc string.
7231 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7233 * frameset.el (frameset): Do not disable creation of the default
7234 frameset-p predicate. Doc fix.
7235 (frameset-valid-p): New function, copied from the old predicate-p.
7236 Add additional checks.
7237 (frameset-restore): Check with frameset-valid-p.
7238 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7239 (frameset-name, frameset-description, frameset-properties)
7240 (frameset-states): Add docstring.
7241 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7242 (frameset-filter-alist): Doc fixes.
7244 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7246 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7248 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7250 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7251 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7252 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7253 (byte-compile-normal-call): Remove obsolescence check.
7255 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7257 * frameset.el (frameset-restore): Doc fix.
7259 * register.el (frameset-frame-id, frameset-frame-with-id)
7260 (frameset-p, frameset-restore, frameset-save): Declare.
7261 (register-alist): Document framesets.
7262 (frameset-session-filter-alist): Declare.
7263 (frameset-to-register): New function.
7264 (jump-to-register): Implement jumping to framesets. Doc fix.
7265 (describe-register-1): Describe framesets.
7267 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7269 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7271 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7272 Use lexical-binding.
7274 * frameset.el (frameset): Use type vector, not list (incompatible
7275 change). Do not declare a new constructor, use the default one.
7276 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7277 `name' and `description', respectively, and add read-only slot
7278 `timestamp'. Doc fixes.
7279 (frameset-copy, frameset-persistent-filter-alist)
7280 (frameset-filter-alist, frameset-switch-to-gui-p)
7281 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7282 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7283 (frameset-filter-iconified, frameset-keep-original-display-p):
7285 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7286 Rename from frameset-filter-(save|restore)-param. All callers changed.
7288 (frameset-p): Adapt to change to vector and be more thorough.
7289 Change arg name to OBJECT. Doc fix.
7290 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7291 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7292 All callers changed.
7293 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7294 All callers changed.
7295 (frameset--record-minibuffer-relationships): Rename from
7296 frameset--process-minibuffer-frames. All callers changed.
7297 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7298 Use new default constructor (again). Doc fix.
7299 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7300 All callers changed.
7301 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7302 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7304 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7305 PARAMETERS and WINDOW-STATE, respectively.
7306 (frameset-restore): Add new keyword argument PREDICATE.
7307 Reset frameset--target-display to nil. Doc fix.
7309 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7311 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7313 (bat-mode-syntax-table): Mark \n as end-of-comment.
7314 (bat-font-lock-keywords): Remove comment rule.
7316 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7317 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7319 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7320 (byte-compile-callargs-warn): Use `push'.
7321 (byte-compile-arglist-warn): Ignore higher-order "calls".
7322 (byte-compile-file-form-autoload): Use `pcase'.
7323 (byte-compile-function-form): If quoting a symbol, check that it exists.
7325 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7327 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7328 and add a few popular commands found in batch files.
7329 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7330 (dos-mode): Doc fixes.
7332 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7334 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7335 (dos-mode): Use setq-local. Add space after "rem".
7336 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7337 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7339 2013-08-07 Arni Magnusson <arnima@hafro.is>
7341 * progmodes/dos.el: New file.
7342 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7345 2013-08-06 Glenn Morris <rgm@gnu.org>
7347 * calendar/calendar.el: Add new faces, and day-header-array.
7348 (calendar-weekday-header, calendar-weekend-header)
7349 (calendar-month-header): New faces.
7350 (calendar-day-header-construct): New function.
7351 (calendar-day-header-width): Also :set calendar-day-header-array.
7352 (calendar-american-month-header, calendar-european-month-header)
7353 (calendar-iso-month-header): Use calendar- faces.
7354 (calendar-generate-month):
7355 Use calendar-day-header-array for day headers; apply faces to them.
7356 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7357 (calendar-abbrev-construct): Add optional maxlen argument.
7358 (calendar-day-name-array): Doc fix.
7359 (calendar-day-name-array, calendar-abbrev-length)
7360 (calendar-day-abbrev-array):
7361 Also :set calendar-day-header-array, and maybe redraw.
7362 (calendar-day-header-array): New option. (Bug#15007)
7363 (calendar-font-lock-keywords): Set to nil and make obsolete.
7364 (calendar-day-name): Add option to use header array.
7366 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7368 * net/shr.el (shr-render-td): Remove debugging.
7369 (shr-render-td): Make width computation consistent by defaulting
7370 all zero-width columns to 10 characters. This may not be optimal,
7371 but it's at least consistent.
7372 (shr-make-table-1): Redo last change to fix the real problem in
7375 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7377 * files.el (cache-long-line-scans):
7378 Make obsolete alias to `cache-long-scans'.
7380 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7382 * frameset.el (frameset, frameset-filter-alist)
7383 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7384 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7385 (frameset-compute-pos): Rename from frameset--compute-pos,
7387 (frameset-move-onscreen): Use frameset-compute-pos.
7388 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7390 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7391 Fix typos in docstrings.
7393 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7395 * frame.el (get-other-frame): Tiny cleanup.
7397 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7399 * vc/vc.el (vc-default-ignore-completion-table):
7400 Silence byte-compiler warning.
7402 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7403 slot, which can indeed be nil.
7404 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7405 Move entry for `left' from persistent to live filter alist.
7406 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7408 (frameset-filter-params): When restoring a frame, copy items added to
7409 `filtered', to avoid unwittingly modifying the original parameters.
7410 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7411 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7413 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7414 to use looking-at-p instead of looking-at. (Bug#15028)
7416 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7418 Revert introduction of isearch-filter-predicates (bug#14714).
7419 Rely on add-function instead.
7420 * isearch.el (isearch-filter-predicates): Rename it back to
7421 isearch-filter-predicate.
7422 (isearch-message-prefix): Use advice-function-mapc and advice
7423 properties to get the isearch-message-prefix.
7424 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7425 instead of run-hook-with-args-until-failure.
7426 (isearch-filter-visible): Not obsolete any more.
7427 * loadup.el: Preload nadvice.
7428 * replace.el (perform-replace): Revert to funcall
7429 instead of run-hook-with-args-until-failure.
7430 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7431 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7432 dired-isearch-filenames-toggle; make it into a proper minor mode.
7433 Use add/remove-function.
7434 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7435 Call the minor-mode rather than add/remove-hook.
7436 (dired-isearch-filter-filenames):
7437 Remove isearch-message-prefix property.
7438 * info.el (Info--search-loop): New function, extracted from Info-search.
7439 Funcall isearch-filter-predicate instead of
7440 run-hook-with-args-until-failure isearch-filter-predicates.
7441 (Info-search): Use it.
7442 (Info-mode): Use isearch-filter-predicate instead of
7443 isearch-filter-predicates.
7445 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7447 Do not call to `selected-window' where it is assumed by default.
7448 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7449 `window-hscroll', `window-width', `window-height', `window-buffer',
7450 `window-frame', `window-start', `window-point', `next-window'
7451 and `window-display-table'.
7452 * abbrev.el (abbrev--default-expand):
7453 * bs.el (bs--show-with-configuration):
7454 * buff-menu.el (Buffer-menu-mouse-select):
7455 * calc/calc.el (calc):
7456 * calendar/calendar.el (calendar-generate-window):
7457 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7459 * comint.el (send-invisible, comint-dynamic-complete-filename)
7460 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7461 * completion.el (complete):
7462 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7463 * disp-table.el (describe-current-display-table):
7464 * doc-view.el (doc-view-insert-image):
7465 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7466 * ehelp.el (with-electric-help):
7467 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7468 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7469 * emacs-lisp/helper.el (Helper-help-scroller):
7470 * emulation/cua-base.el (cua--post-command-handler-1):
7471 * eshell/esh-mode.el (eshell-output-filter):
7472 * ffap.el (ffap-gnus-wrapper):
7473 * help-macro.el (make-help-screen):
7474 * hilit-chg.el (highlight-compare-buffers):
7475 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7476 * hl-line.el (global-hl-line-highlight):
7477 * icomplete.el (icomplete-simple-completing-p):
7478 * isearch.el (isearch-done):
7479 * jit-lock.el (jit-lock-stealth-fontify):
7480 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7481 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7482 * mpc.el (mpc-tagbrowser, mpc):
7483 * net/rcirc.el (rcirc-any-buffer):
7484 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7485 * play/landmark.el (landmark-max-width, landmark-max-height):
7486 * play/zone.el (zone):
7487 * progmodes/compile.el (compilation-goto-locus):
7488 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7489 * progmodes/etags.el (find-tag-other-window):
7490 * progmodes/fortran.el (fortran-column-ruler):
7491 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7492 * progmodes/verilog-mode.el (verilog-point-text):
7493 * reposition.el (reposition-window):
7494 * rot13.el (toggle-rot13-mode):
7495 * server.el (server-switch-buffer):
7496 * shell.el (shell-dynamic-complete-command)
7497 (shell-dynamic-complete-environment-variable):
7498 * simple.el (insert-buffer, set-selective-display)
7499 (delete-completion-window):
7500 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7501 (speedbar-recenter):
7502 * startup.el (fancy-splash-head):
7503 * textmodes/ispell.el (ispell-command-loop):
7504 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7505 * tutorial.el (help-with-tutorial):
7506 * vc/add-log.el (add-change-log-entry):
7507 * vc/compare-w.el (compare-windows):
7508 * vc/ediff-help.el (ediff-indent-help-message):
7509 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7510 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7511 (ediff-setup-control-frame):
7512 * vc/emerge.el (emerge-position-region):
7513 * vc/pcvs-util.el (cvs-bury-buffer):
7514 * window.el (walk-windows, mouse-autoselect-window-select):
7515 * winner.el (winner-set-conf, winner-undo): Related users changed.
7517 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7519 * frameset.el (frameset--set-id): Doc fix.
7520 (frameset-frame-id, frameset-frame-id-equal-p)
7521 (frameset-locate-frame-id): New functions.
7522 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7523 (frameset-restore): Use them.
7525 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7527 Do not call to `selected-frame' where it is assumed by default.
7528 Affected functions are `raise-frame', `redraw-frame',
7529 `frame-first-window', `frame-terminal' and `delete-frame'.
7530 * calendar/appt.el (appt-disp-window):
7531 * epg.el (epg-wait-for-completion):
7532 * follow.el (follow-delete-other-windows-and-split)
7533 (follow-avoid-tail-recenter):
7534 * international/mule.el (set-terminal-coding-system):
7535 * mail/rmail.el (rmail-mail-return):
7536 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7537 * progmodes/f90.el (f90-add-imenu-menu):
7538 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7539 * server.el (server-switch-buffer):
7540 * simple.el (delete-completion-window):
7542 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7543 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7544 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7545 * vc/ediff.el (ediff-documentation): Related users changed.
7546 * frame.el (selected-terminal): Remove the leftover.
7548 2013-08-05 Glenn Morris <rgm@gnu.org>
7550 * calendar/calendar.el (calendar-generate-month):
7551 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7552 (calendar-generate-month, calendar-font-lock-keywords):
7553 Fix for calendar-day-header-width > length of any day name.
7555 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7557 * desktop.el (desktop-clear): Use new name of sort predicate.
7559 * frameset.el (frameset): Add docstring. Move :version property to its
7561 (frameset-copy): Rename from copy-frameset.
7562 (frameset-p): Check more thoroughly.
7563 (frameset-prop): Do not check for :version, which is no longer a prop.
7564 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7565 Use new :never value instead of t.
7566 (frameset-filter-alist): Expand and clarify docstring.
7567 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7568 (frameset-filter-minibuffer, frameset-filter-save-param)
7569 (frameset-filter-restore-param, frameset-filter-iconified):
7570 Add pointer to docstring of frameset-filter-alist.
7571 (frameset-filter-params): Rename filter values to be more meaningful:
7572 :never instead of t, and reverse the meanings of :save and :restore.
7573 (frameset--process-minibuffer-frames): Clarify error message.
7574 (frameset-save): Avoid unnecessary and confusing call to framep.
7575 Use new BOA constructor for framesets.
7576 (frameset--reuse-list): Doc fix.
7577 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7578 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7579 (frameset-minibufferless-first-p): Doc fix.
7580 Rename from frameset-sort-frames-for-deletion.
7581 (frameset-restore): Doc fixes. Use new function names.
7582 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7584 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7586 * desktop.el (desktop-restore-forces-onscreen)
7587 (desktop-restore-reuses-frames): Document :keyword constant values.
7588 (desktop-filter-parameters-alist): Remove, now identical to
7589 frameset-filter-alist.
7590 (desktop--filter-tty*): Remove, moved to frameset.el.
7591 (desktop-save-frameset, desktop-restore-frameset):
7592 Do not pass :filters argument.
7594 * frameset.el (frameset-live-filter-alist)
7595 (frameset-persistent-filter-alist): New variables.
7596 (frameset-filter-alist): Use them. Add autoload cookie.
7597 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7598 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7599 `frameset--id' (it's supposed to be internal to frameset.el).
7600 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7601 (frameset--initial-params): New function.
7602 (frameset--get-frame): Use it. Doc fix.
7603 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7604 Accept :all, not 'all.
7605 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7606 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7607 with fbound symbols. Fix frame id matching, and remove matching ids if
7608 the frame being restored is deleted. Obey :delete.
7610 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7612 * subr.el (macrop): New function.
7613 (text-clone--maintaining): New var.
7614 (text-clone--maintain): Rename from text-clone-maintain. Use it
7615 instead of inhibit-modification-hooks.
7617 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7618 a proxy, so as handle autoloads and redefinitions of the target.
7619 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7621 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7622 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7623 (pcase--mutually-exclusive-p): New function.
7624 (pcase--split-consp): Use it.
7625 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7626 mutually exclusive with the current predicate.
7628 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7629 (edebug-macrop): Remove. Use `macrop' instead.
7630 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7632 * eshell/esh-cmd.el (eshell-macrop):
7633 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7635 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7637 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7638 (advice-mapc): New function, using it.
7639 (advice-function-member-p): New function.
7640 (advice--normalize): Store the cdr in advice--saved-rewrite since
7641 that's the part that will be changed.
7642 (advice--symbol-function): New function.
7643 (advice-remove): Handle removal before the function is defined.
7644 Adjust to new advice--saved-rewrite.
7645 (advice-member-p): Use advice-function-member-p and
7646 advice--symbol-function.
7648 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7650 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7651 (frameset-filter-minibuffer): Doc fix.
7652 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7653 (frameset--set-id, frameset--process-minibuffer-frames)
7654 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7655 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7657 * desktop.el (desktop-clear): Only delete frames when called
7658 interactively and desktop-restore-frames is non-nil. Doc fix.
7659 (desktop-read): Set desktop-saved-frameset to nil.
7661 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7663 * vc/vc.el (vc-ignore): Rewrite.
7664 (vc-default-ignore-completion-table):
7666 (vc--add-line, vc--remove-regexp): New functions.
7668 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7669 (vc-svn-ignore-completion-table): New function.
7671 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7672 (vc-hg-ignore-completion-table):
7673 (vc-hg-find-ignore-file): New functions.
7675 * vc/vc-git.el (vc-git-ignore): Rewrite.
7676 (vc-git-ignore-completion-table):
7677 (vc-git-find-ignore-file): New functions.
7679 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7681 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7682 (vc-bzr-ignore-completion-table):
7683 (vc-bzr-find-ignore-file): New functions.
7685 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7687 * frameset.el (frameset-prop): New function and setter.
7688 (frameset-save): Do not modify frame list passed by the caller.
7690 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7692 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7694 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7696 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7697 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7699 * custom.el (custom-initialize-default, custom-initialize-set)
7700 (custom-initialize-reset, custom-initialize-changed): Affect the
7701 toplevel-default-value (bug#6275, bug#14586).
7702 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7705 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7707 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7708 Add cl-def* expressions.
7710 * frameset.el (frameset-filter-params): Fix order of arguments.
7712 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7714 Move code related to saving frames to frameset.el.
7715 * desktop.el: Require frameset.
7716 (desktop-restore-frames): Doc fix.
7717 (desktop-restore-reuses-frames): Rename from
7718 desktop-restoring-reuses-frames.
7719 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7720 (desktop-clear): Clear frames too.
7721 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7722 (desktop--filter-tty*, desktop-save, desktop-read):
7723 Use frameset functions.
7724 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7725 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7726 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7727 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7728 (desktop--process-minibuffer-frames, desktop-save-frames)
7729 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7730 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7731 (desktop--sort-states, desktop-restoring-frames-p)
7732 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7733 (desktop-restoring-frameset-p, desktop-restore-frameset)
7734 (desktop--check-dont-save, desktop-save-frameset): New functions.
7735 (desktop--app-id): New constant.
7736 (desktop-first-buffer, desktop-buffer-ok-count)
7737 (desktop-buffer-fail-count): Move before first use.
7738 * frameset.el: New file.
7740 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7742 * files.el: Use lexical-binding.
7743 (dir-locals-read-from-file): Remove unused `err' variable.
7744 (hack-dir-local-variables--warned-coding): New var.
7745 (hack-dir-local-variables): Use it to avoid repeated warnings.
7746 (make-backup-file-name--default-function): New function.
7747 (make-backup-file-name-function): Use it as default.
7748 (buffer-stale--default-function): New function.
7749 (buffer-stale-function): Use it as default.
7750 (revert-buffer-insert-file-contents--default-function): New function.
7751 (revert-buffer-insert-file-contents-function): Use it as default.
7752 (insert-directory): Avoid add-to-list.
7754 * autorevert.el (auto-revert-handler): Simplify.
7755 Use buffer-stale--default-function.
7757 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7759 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7761 * whitespace.el (whitespace-ensure-local-variables): New function.
7762 (whitespace-cleanup-region): Call it.
7763 (whitespace-turn-on): Call it.
7765 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7767 Complete file name handlers.
7769 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7770 (tramp-handle-verify-visited-file-modtime)
7771 (tramp-handle-file-notify-rm-watch): New functions.
7772 (tramp-call-process): Do not bind `default-directory'.
7774 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7775 Order alphabetically.
7776 <access-file, add-name-to-file, dired-call-process>:
7777 <dired-compress-file, file-acl, file-notify-rm-watch>:
7778 <file-ownership-preserved-p, file-selinux-context>:
7779 <make-directory-internal, make-symbolic-link, set-file-acl>:
7780 <set-file-selinux-context, set-visited-file-modtime>:
7781 <verify-visited-file-modtime>: Add handler.
7782 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7784 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7785 <file-notify-add-watch, file-notify-rm-watch>:
7786 <set-file-times, set-visited-file-modtime>:
7787 <verify-visited-file-modtime>: Add handler.
7788 (with-tramp-gvfs-error-message)
7789 (tramp-gvfs-handle-set-visited-file-modtime)
7790 (tramp-gvfs-fuse-file-name): Remove.
7791 (tramp-gvfs-handle-file-notify-add-watch)
7792 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7793 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7795 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7796 Order alphabetically.
7797 <file-notify-rm-watch>: Use default Tramp handler.
7798 <executable-find>: Remove private handler.
7799 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7800 `default-directory'.
7801 (tramp-sh-handle-executable-find)
7802 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7803 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7804 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7805 Do not use `format' in `tramp-message'.
7807 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7808 <file-notify-rm-watch, set-visited-file-modtime>:
7809 <verify-visited-file-modtime>: Add handler.
7810 (tramp-smb-call-winexe): Do not bind `default-directory'.
7812 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7814 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7816 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7818 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7820 (log-view-diff-changeset): Same.
7821 (log-view-diff-common): Call backend command `previous-revision'
7822 to find out the previous revision, in both cases. Swap the
7823 variables `to' and `fr', so that `fr' usually refers to the
7824 earlier revision (Bug#14989).
7826 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7828 * ibuf-ext.el (ibuffer-filter-by-filename):
7829 Make it work with dired buffers too.
7831 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7833 * emacs-lisp/re-builder.el (reb-color-display-p):
7834 * files.el (save-buffers-kill-terminal):
7835 * net/browse-url.el (browse-url):
7836 * server.el (server-save-buffers-kill-terminal):
7837 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7838 Prefer nil to selected-frame for the first arg of frame-parameter.
7840 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7842 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7844 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7846 * minibuffer.el (completion--twq-all): Try and preserve each
7847 completion's case choice (bug#14907).
7849 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7851 * net/network-stream.el (open-network-stream): Mention the new
7852 :nogreeting parameter.
7853 (network-stream-open-starttls): Use the :nogreeting parameter
7856 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7858 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7859 more natural than popping.
7861 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7862 (shr-urlify): Highlight under mouse.
7864 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7866 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7868 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7870 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7873 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7874 point-min==1. Fix search string. Fix parentheses missing.
7876 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7877 assume point-min==1. Fix search string. Fix parentheses missing.
7879 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7881 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7884 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7886 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7887 initial frame is minibuffer-less. (Bug#14841)
7889 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7891 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7894 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7895 (tramp-maybe-open-connection): Use it.
7897 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7899 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7900 minimal set of parameters passed when creating a frame, because
7901 the minibuffer status of a frame cannot be changed later.
7903 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7905 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7906 replace-regexp-in-string and inadvertent omissions in previous change.
7907 (todo-filter-items): Ensure only file names are comma-separated in
7908 name of filtered items buffer.
7910 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7912 * desktop.el: Optionally force offscreen frames back onscreen.
7913 (desktop-restoring-reuses-frames): New option.
7914 (desktop--compute-pos, desktop--move-onscreen): New functions.
7915 (desktop--make-frame): Use desktop--move-onscreen.
7917 2013-07-27 Alan Mackenzie <acm@muc.de>
7919 Fontify a Java generic method as a function.
7920 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7923 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7925 * calendar/todo-mode.el: Add command to rename todo files.
7926 (todo-rename-file): New command.
7927 (todo-key-bindings-t): Add key binding for it. Change the
7928 bindings of todo-filter-regexp-items(-multifile) to use `x'
7929 instead of `r', since the latter is better suited to the new
7932 2013-07-27 Alan Mackenzie <acm@muc.de>
7934 Make Java try-with-resources statement parse properly.
7935 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7936 (c-block-stmt-1-2-key): New language constants/variables.
7937 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7938 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7939 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7940 with c-block-stmt-1-2-key.
7942 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7944 * desktop.el (desktop--make-frame): Apply most frame parameters after
7945 creating the frame to force (partially or totally) offscreen frames to
7946 be restored as such.
7948 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7950 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7953 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7955 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7956 `base' arg of backtrace-frame.
7958 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7960 * simple.el (list-processes): Doc fix.
7962 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7964 * desktop.el (desktop--select-frame):
7965 Try harder to reuse existing frames.
7967 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7969 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7970 (edebug-eval): Use backtrace-eval.
7971 (edebug--display, edebug--recursive-edit): Don't let-bind the
7972 edebug-outer-* vars that keep track of variables we locally let-bind.
7973 (edebug-outside-excursion): Don't restore outside values of locally
7975 (edebug--display): Use user-error.
7976 (cl-lexical-debug, cl-debug-env): Remove.
7978 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7980 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7981 are restored to be sure that they are visible before deleting any
7984 2013-07-26 Matthias Meulien <orontee@gmail.com>
7986 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7987 vc-print-root-log. (Bug#14948)
7989 2013-07-26 Richard Stallman <rms@gnu.org>
7991 Add aliases for encrypting mail.
7992 * epa.el (epa-mail-aliases): New option.
7993 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7994 Bind inhibit-read-only so read-only text doesn't ruin everything.
7995 (epa-mail-default-recipients): New subroutine broken out.
7996 Handle epa-mail-aliases.
7998 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8000 Add support for lexical variables to the debugger's `e' command.
8001 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8002 vars, except for debugger-outer-match-data.
8003 (debugger-frame-number): Move check for "on a function call" from
8004 callers into it. Add `skip-base' argument.
8005 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8006 (debugger-env-macro): Only reset the state stored in non-variables,
8007 i.e. current-buffer and match-data.
8008 (debugger-eval-expression): Rewrite using backtrace-eval.
8009 * subr.el (internal--called-interactively-p--get-frame): Remove.
8010 (called-interactively-p):
8011 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8012 `base' arg of backtrace-frame instead.
8014 2013-07-26 Glenn Morris <rgm@gnu.org>
8016 * align.el (align-regexp): Doc fix. (Bug#14857)
8017 (align-region): Explicit error if subexpression missing/does not match.
8019 * simple.el (global-visual-line-mode):
8020 Do not duplicate the mode lighter. (Bug#14858)
8022 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8024 * window.el (display-buffer): In display-buffer bind
8025 split-window-keep-point to t, bug#14829.
8027 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8029 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8030 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8031 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8032 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8034 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8035 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8037 2013-07-25 Glenn Morris <rgm@gnu.org>
8039 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8041 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8043 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8044 parameter to modify-frame-parameters if the value has not changed;
8045 this is a workaround for bug#14949.
8046 (desktop--make-frame): On cl-delete-if call, check parameter name,
8049 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8051 * vc/vc.el (vc-ignore): New function.
8053 * vc/vc-svn.el (vc-svn-ignore): New function.
8055 * vc/vc-hg.el (vc-hg-ignore): New function.
8057 * vc/vc-git.el (vc-git-ignore): New function.
8059 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8060 (vc-dir-ignore): New function.
8062 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8063 (cvs-append-to-ignore): Move here from pcvs.el.
8065 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8067 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8069 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8071 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8072 (desktop-restore-frames): Warn when deleting an existing frame failed.
8074 2013-07-24 Glenn Morris <rgm@gnu.org>
8076 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8078 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8080 * filenotify.el (file-notify-supported-p):
8081 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8084 * autorevert.el (auto-revert-use-notify):
8085 (auto-revert-notify-add-watch):
8086 * net/tramp.el (tramp-file-name-for-operation):
8087 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8088 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8089 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8090 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8091 Remove `file-notify-supported-p' entry.
8093 2013-07-24 Glenn Morris <rgm@gnu.org>
8095 * printing.el: Replace all uses of deleted ps-windows-system,
8096 ps-lp-system, ps-flatten-list with lpr- versions.
8098 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8100 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8101 checked with memq (bug#14935).
8103 * files.el (revert-buffer-function): Use a non-nil default.
8104 (revert-buffer-preserve-modes): Declare var to
8105 provide access to the `preserve-modes' argument.
8106 (revert-buffer): Let-bind it.
8107 (revert-buffer--default): New function, extracted from revert-buffer.
8109 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8111 * lpr.el: Signal print errors more prominently.
8112 (print-region-function): Don't default to nil.
8113 (lpr-print-region): New function, extracted from print-region-1.
8114 Check lpr's return value and signal an error in case of problem.
8115 (print-region-1): Use it.
8116 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8118 (ps-printer-name): Default to nil.
8119 (ps-printer-name-option): Default to lpr-printer-switch.
8120 (ps-print-region-function): Don't default to nil.
8121 (ps-postscript-code-directory): Simplify default.
8122 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8123 (ps-string-list, ps-eval-switch, ps-flatten-list)
8124 (ps-flatten-list-1): Remove.
8125 (ps-multibyte-buffer): Avoid setq.
8126 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8127 (print-region-function, ps-print-region-function): Don't set them here.
8129 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8131 * ido.el (ido-fractionp):
8132 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
8133 (ido-max-file-prompt-width, ido-unc-hosts-cache)
8134 (ido-max-directory-size, ido-max-dir-file-cache)
8135 (ido-decorations): Doc fix.
8137 * ansi-color.el: Fix old URL.
8139 2013-07-23 Michael R. Mauger <michael@mauger.com>
8141 * progmodes/sql.el: Version 3.3
8142 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8143 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8144 (sql-interactive-remove-continuation-prompt): Rewrite, use
8145 functions above. Fix continuation prompt and complete output line
8147 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8148 redirected output buffer.
8149 (sql-mode): Restore deleted code (Bug#13591).
8151 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8153 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8155 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8157 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8159 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8160 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8161 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8163 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8165 * desktop.el (desktop-clear): Simplify; remove useless checks
8166 against invalid buffer names.
8167 (desktop-list*): Use cl-list*.
8168 (desktop-buffer-info, desktop-create-buffer): Simplify.
8170 2013-07-23 Leo Liu <sdl.web@gmail.com>
8172 * bookmark.el (bookmark-make-record): Restore NAME as a default
8175 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8177 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8178 extracted from autoload--insert-text.
8179 (autoload--insert-text): Remove.
8180 (autoload--print-cookie-text): New function, extracted from
8181 autoload--insert-cookie-text.
8182 (autoload--insert-cookie-text): Remove.
8183 (autoload-generate-file-autoloads): Adjust calls accordingly.
8185 * winner.el (winner-hook-installed-p): Remove.
8186 (winner-mode): Simplify accordingly.
8188 * subr.el (add-to-list): Fix compiler-macro when `append' is
8189 not constant. Don't use `cl-member' for the base case.
8191 * progmodes/subword.el: Fix boundary case (bug#13758).
8192 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8194 (subword-backward-regexp): Make it a constant.
8195 (subword-forward-internal): Don't treat a trailing capital as the
8196 beginning of a word.
8198 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8200 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8201 global value of tabulated-list-revert-hook (bug#14930).
8203 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8205 * desktop.el: Require 'cl-lib.
8206 (desktop-before-saving-frames-functions): New hook.
8207 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8208 for frames being saved. Rename from desktop--save-minibuffer-frames.
8209 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8210 Do not save frames with non-nil `desktop-dont-save' parameter.
8211 Filter out deleted frames.
8212 (desktop--find-frame): Use cl-find-if.
8213 (desktop--select-frame): Use cl-(first|second|third) to access values
8215 (desktop--make-frame): Use cl-delete-if.
8216 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8217 (desktop-restore-frames): Use cl-(first|second|third) to access values
8218 of desktop-mini. Look for visible frame at the end, not while
8221 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8222 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8223 Use string-match-p, looking-at-p (bug#14927).
8225 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8227 * desktop.el (desktop-saved-frame-states):
8228 Rename from desktop--saved-states; all users changed.
8229 (desktop-save-frames): Rename from desktop--save-frames.
8230 Do not save state to desktop file.
8231 (desktop-save): Save desktop-saved-frame-states to desktop file
8233 (desktop-restoring-frames-p): New function.
8234 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8235 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8236 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8238 * desktop.el: Correctly restore iconified frames.
8239 (desktop--filter-iconified-position): New function.
8240 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8242 2013-07-20 Glenn Morris <rgm@gnu.org>
8244 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8245 Let `message' do the formatting.
8246 (def-gdb-preempt-display-buffer): Add explicit format.
8248 * image-dired.el (image-dired-track-original-file):
8249 Use with-current-buffer.
8250 (image-dired-track-thumbnail): Use with-current-buffer.
8251 Avoid changing point of wrong window.
8253 * image-dired.el (image-dired-track-original-file):
8254 Avoid changing point of wrong window. (Bug#14909)
8256 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8258 * progmodes/gdb-mi.el (gdb-done-or-error):
8259 Guard against "%" in gdb output. (Bug#14127)
8261 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8263 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8266 * international/mule.el (coding-system-iso-2022-flags): Fix last
8269 2013-07-20 Kenichi Handa <handa@gnu.org>
8271 * international/mule.el (coding-system-iso-2022-flags):
8272 Add `8-bit-level-4'. (Bug#8522)
8274 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8276 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8279 * net/eww.el (eww-process-text-input): Allow inputting when the
8280 point is at the start of the line, as the properties aren't
8283 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8286 2013-07-19 Richard Stallman <rms@gnu.org>
8288 * epa.el (epa-popup-info-window): Doc fix.
8290 * subr.el (split-string): New arg TRIM.
8292 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8294 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8295 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8297 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8299 * filenotify.el (file-notify--library): Rename from
8300 `file-notify-support'. Do not autoload. Adapt all uses.
8301 (file-notify-supported-p): New defun.
8303 * autorevert.el (auto-revert-use-notify):
8304 Use `file-notify-supported-p' instead of `file-notify-support'.
8306 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8308 * net/tramp.el (tramp-file-name-for-operation):
8309 Add `file-notify-supported-p'.
8311 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8313 (tramp-sh-file-name-handler-alist): Add it as handler for
8314 `file-notify-supported-p '.
8316 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8317 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8318 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8319 Add `ignore' as handler for `file-notify-*' functions.
8321 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8323 * simple.el (line-move-partial, line-move): Don't start vscroll or
8324 scroll-up if the current line is not taller than the window.
8327 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8329 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8330 highlight question marks in the method names as strings.
8331 (ruby-block-beg-keywords): Inline.
8332 (ruby-font-lock-keyword-beg-re): Extract from
8333 `ruby-font-lock-keywords'.
8335 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8337 * frame.el (blink-cursor-blinks): New defcustom.
8338 (blink-cursor-blinks-done): New defvar.
8339 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8340 (blink-cursor-timer-function): Check if number of blinks has been
8342 (blink-cursor-suspend, blink-cursor-check): New defuns.
8344 2013-07-15 Glenn Morris <rgm@gnu.org>
8346 * edmacro.el (edmacro-format-keys): Fix previous change.
8348 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8350 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8351 The hack didn't work outside English locales anyway.
8353 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8355 * simple.el (define-alternatives): Rename from alternatives-define,
8356 per RMS' suggestion.
8358 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8360 * desktop.el (desktop-restore-frames): Change default to t.
8361 (desktop-restore-in-current-display): Now offer more options.
8362 (desktop-restoring-reuses-frames): New customization option.
8363 (desktop--saved-states): Doc fix.
8364 (desktop-filter-parameters-alist): New variable, renamed and expanded
8365 from desktop--excluded-frame-parameters.
8366 (desktop--target-display): New variable.
8367 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8368 (desktop--filter-tty*, desktop--filter-*-color)
8369 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8370 (desktop--filter-save-desktop-parm)
8371 (desktop-restore-in-original-display-p): New functions.
8372 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8373 (desktop--save-minibuffer-frames): New function, inspired by a similar
8374 function from Martin Rudalics.
8375 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8376 (desktop--restore-in-this-display-p): Remove.
8377 (desktop--find-frame): Rename from desktop--find-frame-in-display
8378 and add predicate argument.
8379 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8380 (desktop--reuse-list): New variable.
8381 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8383 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8385 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8387 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8389 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8391 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8392 Highlight conversion methods on Kernel.
8394 2013-07-13 Alan Mackenzie <acm@muc.de>
8396 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8397 and comment it out. This out-commenting enables certain C++
8398 declarations to be parsed correctly.
8400 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8402 * international/mule.el (define-coding-system): Doc fix.
8404 * simple.el (default-font-height): Don't call font-info if the
8405 frame's default font didn't change since the frame was created.
8408 2013-07-13 Leo Liu <sdl.web@gmail.com>
8410 * ido.el (ido-read-file-name): Guard against non-symbol value.
8412 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8414 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8417 2013-07-13 Leo Liu <sdl.web@gmail.com>
8419 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8420 ido-set-matches call. (Bug#6852)
8422 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8424 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8425 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8427 (ruby-font-lock-keywords): Distinguish calls to functions with
8428 module-like names from module references. Highlight character
8431 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8433 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8434 (gdb-send): Handle continued commands. (Bug#14847)
8436 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8438 * desktop.el (desktop--v2s): Remove unused local variable.
8439 (desktop-save-buffer): Make defvar-local; adjust docstring.
8440 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8441 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8443 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8445 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8447 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8449 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8452 2013-07-12 Glenn Morris <rgm@gnu.org>
8454 * doc-view.el: Require cl-lib at runtime too.
8455 (doc-view-remove-if): Remove.
8456 (doc-view-search-next-match, doc-view-search-previous-match):
8459 * edmacro.el: Require cl-lib at runtime too.
8460 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8461 (edmacro-mismatch, edmacro-subseq): Remove.
8463 * shadowfile.el: Require cl-lib.
8464 (shadow-remove-if): Remove.
8465 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8468 * wid-edit.el: Require cl-lib.
8469 (widget-choose): Use cl-remove-if.
8470 (widget-remove-if): Remove.
8472 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8473 (ebrowse-delete-if-not): Remove.
8474 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8475 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8476 Use cl-delete-if-not.
8478 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8480 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8481 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8483 2013-07-12 Leo Liu <sdl.web@gmail.com>
8485 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8487 2013-07-11 Glenn Morris <rgm@gnu.org>
8489 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8490 (edebug-gensym-index, edebug-gensym):
8491 Remove reimplementation of cl-gensym.
8492 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8494 * thumbs.el: Require cl-lib at run-time too.
8495 (thumbs-gensym-counter, thumbs-gensym):
8496 Remove reimplementation of cl-gensym.
8497 (thumbs-temp-file): Use cl-gensym.
8499 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8500 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8501 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8502 (ert--union, ert--gensym-counter, ert--gensym-counter)
8503 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8504 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8505 (ert-make-test-unbound, ert--expand-should-1)
8506 (ert--expand-should, ert--should-error-handle-error)
8507 (should-error, ert--explain-equal-rec)
8508 (ert--plist-difference-explanation, ert-select-tests)
8509 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8510 Use cl-lib functions rather than reimplementations.
8512 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8514 * net/tramp.el (tramp-methods): Extend docstring.
8515 (tramp-connection-timeout): New defcustom.
8516 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8517 (with-tramp-progress-reporter): Simplify.
8518 (tramp-process-actions): Improve messages.
8520 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8521 * net/tramp-sh.el (tramp-maybe-open-connection):
8522 Use `tramp-connection-timeout'.
8523 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
8526 2013-07-11 Leo Liu <sdl.web@gmail.com>
8528 * ido.el (ido-read-file-name): Conform to the requirements of
8529 read-file-name. (Bug#11861)
8530 (ido-read-directory-name): Conform to the requirements of
8531 read-directory-name.
8533 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8535 * subr.el (delay-warning): New function.
8537 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8539 * simple.el (default-line-height): New function.
8540 (line-move-partial, line-move): Use it instead of computing the
8542 (line-move-partial): Always compute ROWH. If the last line is
8543 partially-visible, but its text is completely visible, allow
8544 cursor to enter such a partially-visible line.
8546 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8548 Improve error messages. (Bug#14808)
8550 * net/tramp.el (tramp-current-connection): New defvar, moved from
8552 (tramp-message-show-progress-reporter-message): Remove, not
8554 (tramp-error-with-buffer): Show message in minibuffer.
8555 Discard input before waiting. Reset connection timestamp.
8556 (with-tramp-progress-reporter): Improve messages.
8557 (tramp-process-actions): Use progress reporter. Delete process in
8558 case of error. Improve messages.
8560 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8561 Call `tramp-error-with-buffer' with vector and buffer.
8562 (tramp-current-connection): Remove.
8563 (tramp-maybe-open-connection): The car of
8564 `tramp-current-connection' are the first 3 slots of the vector.
8566 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8568 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8569 inside continued strings.
8571 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8573 Timestamp fixes for undo (Bug#14824).
8574 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8576 2013-07-10 Leo Liu <sdl.web@gmail.com>
8578 * files.el (require-final-newline): Allow safe local value.
8581 2013-07-09 Leo Liu <sdl.web@gmail.com>
8583 * ido.el (ido-read-directory-name): Handle fallback.
8584 (ido-read-file-name): Update DIR to ido-current-directory.
8586 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8588 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8590 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8591 "autoload". Remove "warn lower camel case" section, previously
8592 commented out. Highlight negation char. Do not highlight the
8593 target in singleton method definitions.
8595 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8597 * faces.el (tty-setup-hook): Declare the hook.
8599 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8600 and detect when a guard/pred depends on local vars (bug#14773).
8601 (pcase--u1): Adjust caller.
8603 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8605 * simple.el (line-move-partial, line-move): Account for
8607 (line-move-partial): Avoid setting vscroll when the last
8608 partially-visible line in window is of default height.
8610 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8612 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8615 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8617 * subr.el (read-quoted-char): Remove unused local variable `char'.
8619 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8621 * ediff.el (ediff-version): Version update.
8622 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8623 (ediff-merge-with-ancestor-command, ediff-directories-command)
8624 (ediff-directories3-command, ediff-merge-directories-command)
8625 (ediff-merge-directories-with-ancestor-command): New functions.
8626 All are command-line interfaces to ediff: to facilitate calling
8627 Emacs with the appropriate ediff functions invoked.
8629 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8630 (viper-save-kill-buffer): Check if buffer is modified.
8632 * viper.el (viper-version): Version update.
8633 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8635 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8637 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8638 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8639 (viper-intercept-ESC-key): Simplify.
8640 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8641 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8642 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8643 (viper-setup-ESC-to-escape): New functions.
8644 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8645 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8647 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8649 * simple.el (default-font-height, window-screen-lines):
8651 (line-move, line-move-partial): Use them instead of
8652 frame-char-height and window-text-height. This makes scrolling
8653 text smoother when the buffer's default face uses a font that is
8654 different from the frame's default font.
8656 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8658 * files.el (write-file): Do not display confirm dialog for NS,
8659 it does its own dialog, which can't be canceled (Bug#14578).
8661 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8663 * simple.el (line-move-partial): Adjust the row returned by
8664 posn-at-point for the current window-vscroll. (Bug#14567)
8666 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8668 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8669 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8672 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8674 * window.el (window-state-put-stale-windows): New variable.
8675 (window--state-put-2): Save list of windows without matching buffer.
8676 (window-state-put): Remove "bufferless" windows if possible.
8678 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8680 * simple.el (alternatives-define): Remove leftover :group keyword.
8683 2013-07-06 Leo Liu <sdl.web@gmail.com>
8685 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8686 (ido-enable-virtual-buffers): New variable.
8687 (ido-buffer-internal, ido-toggle-virtual-buffers)
8688 (ido-make-buffer-list): Use it.
8689 (ido-exhibit): Support turning on and off virtual buffers
8692 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8694 * simple.el (alternatives-define): New macro.
8696 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8698 * subr.el (read-quoted-char): Use read-key.
8699 (sit-for): Let read-event decode tty input (bug#14782).
8701 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8703 * calendar/todo-mode.el: Add handling of file deletion, both by
8704 mode command and externally. Fix various related bugs.
8705 Clarify Commentary and improve some documentation strings and code.
8706 (todo-delete-file): New command.
8707 (todo-check-file): New function.
8708 (todo-show): Handle external deletion of the file we're trying to
8709 show (bug#14688). Replace called-interactively-p by an optional
8710 prefix argument to avoid problematic interaction with catch form
8711 when byte compiled (bug#14702).
8712 (todo-quit): Handle external deletion of the archive's todo file.
8713 Make sure the buffer that was visiting the archive file is still
8714 live before trying to bury it.
8715 (todo-category-completions): Handle external deletion of any
8716 category completion files.
8717 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8718 of todo files, in case of external deletion.
8719 (todo-add-file): Replace unnecessary setq by let-binding.
8720 (todo-find-archive): Check whether there are any archives.
8721 Replace unnecessary setq by let-binding.
8722 (todo-archive-done-item): Use find-file-noselect to get the
8723 archive buffer whether or not the archive already exists.
8724 Remove superfluous code. Use file size instead of buffer-file-name to
8725 check if the archive is new; if it is, update list of archives.
8726 (todo-default-todo-file): Allow nil to be a valid value for when
8727 there are no todo files.
8728 (todo-reevaluate-default-file-defcustom): Use corrected definition
8729 of todo-default-todo-file.
8730 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8731 (todo-delete-category, todo-show-categories-table)
8732 (todo-category-number): Clarify comment.
8733 (todo-filter-items): Clarify documentation string.
8734 (todo-show-current-file, todo-display-as-todo-file)
8735 (todo-reset-and-enable-done-separator): Tweak documentation string.
8736 (todo-done-separator): Make separator length window-width, since
8737 bug#2749 is now fixed.
8739 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8741 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8742 Support both "gvfs-monitor-dir" and "inotifywait".
8743 (tramp-sh-file-inotifywait-process-filter): Rename from
8744 `tramp-sh-file-notify-process-filter'.
8745 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8746 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8748 2013-07-05 Leo Liu <sdl.web@gmail.com>
8750 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8752 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8754 * frame.el (display-pixel-height, display-pixel-width)
8755 (display-mm-height, display-mm-width): Mention behavior on
8756 multi-monitor setups in docstrings.
8757 (w32-display-monitor-attributes-list): Declare function.
8758 (display-monitor-attributes-list): Use it.
8760 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8762 * filenotify.el: New package.
8764 * autorevert.el (top): Require filenotify.el.
8765 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8767 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8768 (auto-revert-notify-handler): Use `file-notify-*' functions.
8770 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8772 * net/tramp.el (tramp-file-name-for-operation):
8773 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8775 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8776 for `file-notify-add-watch' and `file-notify-rm-watch'.
8777 (tramp-process-sentinel): Improve trace.
8778 (tramp-sh-handle-file-notify-add-watch)
8779 (tramp-sh-file-notify-process-filter)
8780 (tramp-sh-handle-file-notify-rm-watch)
8781 (tramp-get-remote-inotifywait): New defuns.
8783 2013-07-03 Juri Linkov <juri@jurta.org>
8785 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8786 call of `occur-read-primary-args' to interactive spec.
8788 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8789 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8791 2013-07-03 Matthias Meulien <orontee@gmail.com>
8793 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8794 `Buffer-menu-multi-occur'. Add it to the menu.
8795 (Buffer-menu-mode): Document it in docstring.
8796 (Buffer-menu-multi-occur): New command. (Bug#14673)
8798 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8800 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8801 keywords and built-ins.
8803 2013-07-03 Glenn Morris <rgm@gnu.org>
8805 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8807 Make info-xref checks case-sensitive by default
8808 * info.el (Info-find-node, Info-find-in-tag-table)
8809 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8810 Add option for exact case matching of nodes.
8811 * info-xref.el (info-xref): New custom group.
8812 (info-xref-case-fold): New option.
8813 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8815 2013-07-03 Leo Liu <sdl.web@gmail.com>
8817 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8819 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8821 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8822 middle of block statement initially, lower the depth. Remove
8823 FIXME comment, not longer valid. Remove middle of block statement
8824 detection, no need to do that anymore since we've been using
8825 `ruby-parse-region' here.
8827 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8829 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8831 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8833 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8835 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8837 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8838 (desktop-restore-in-current-display): New customization option.
8839 (desktop--excluded-frame-parameters): Add `font'.
8840 (desktop--save-frames): Rename from desktop--save-windows.
8841 (desktop--restore-in-this-display-p): New function.
8842 (desktop--make-full-frame): Remove unwanted width/height from
8843 full(width|height) frames.
8844 (desktop--restore-frames): Rename from desktop--restore-windows.
8845 Obey desktop-restore-current-display. Do not delete old frames or
8846 select a new frame unless we were able to restore at least one frame.
8848 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8850 * files.el (find-file-noselect): Simplify conditional expression.
8852 * textmodes/remember.el (remember-append-to-file):
8853 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8855 Add `remember-notes' function to store random notes across Emacs
8857 * textmodes/remember.el (remember-data-file): Add :set callback to
8858 affect notes buffer (if any).
8859 (remember-notes): New command.
8860 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8861 New defcustoms for the `remember-notes' function.
8862 (remember-notes-save-and-bury-buffer): New command.
8863 (remember-notes-mode-map): New variable.
8864 (remember-mode): New minor mode.
8865 (remember-notes--kill-buffer-query): New function.
8866 * startup.el (initial-buffer-choice): Add notes to custom type.
8868 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8870 * bindings.el (right-char, left-char): Don't call sit-for, this is
8871 no longer needed. Use arithmetic comparison only for numerical
8874 * international/mule-cmds.el (select-safe-coding-system):
8875 Handle the case of FROM being a string correctly. (Bug#14755)
8877 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8879 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8880 progression on degenerate tables.
8881 (shr-rescale-image): ImageMagick animated images currently don't work.
8883 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8885 Some fixes and improvements for desktop frame restoration.
8886 It is still experimental and disabled by default.
8887 * desktop.el (desktop--save-windows): Put the selected frame at
8888 the head of the list.
8889 (desktop--make-full-frame): New function.
8890 (desktop--restore-windows): Try to re-select the frame that was
8891 selected upon saving. Do not abort if some frames fail to restore,
8892 just show an error message and continue. Set up maximized frames
8893 so they have default non-maximized dimensions.
8895 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8897 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8898 Don't start heredoc inside a string or comment.
8900 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8902 * bindings.el (visual-order-cursor-movement): New defcustom.
8903 (right-char, left-char): Provide visual-order cursor motion by
8904 calling move-point-visually. Update the doc strings.
8906 2013-06-28 Kenichi Handa <handa@gnu.org>
8908 * international/mule.el (define-coding-system): New coding system
8909 properties :inhibit-null-byte-detection,
8910 :inhibit-iso-escape-detection, and :prefer-utf-8.
8911 (set-buffer-file-coding-system): If :charset-list property of
8912 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8913 appropriate for setting.
8915 * international/mule-cmds.el (select-safe-coding-system):
8916 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8917 multibyte characters, return utf-8 (or one of its siblings).
8919 * international/mule-conf.el (prefer-utf-8): New coding system.
8920 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8923 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8925 * net/shr.el (shr-render-region): New function.
8927 * net/eww.el: Autoload `eww-browse-url'.
8929 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8931 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8932 Adapt to `package-desc-version' being a list.
8933 Use `package--ac-desc-version' to retrieve version from a package
8936 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8938 New experimental feature to save&restore window and frame setup.
8939 * desktop.el (desktop-save-windows): New defcustom.
8940 (desktop--saved-states): New var.
8941 (desktop--excluded-frame-parameters): New defconst.
8942 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8943 (desktop--restore-windows, desktop--save-windows): New functions.
8944 (desktop-save): Call `desktop--save-windows'.
8945 (desktop-read): Call `desktop--restore-windows'.
8947 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8949 * net/shr.el (add-face-text-property): Remove compat definition.
8951 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8953 * info.el (Info-try-follow-nearest-node): Move search for footnote
8954 above search for node name to prevent missing a footnote (bug#14717).
8956 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8958 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8960 2013-06-27 Leo Liu <sdl.web@gmail.com>
8962 * net/eww.el (eww-read-bookmarks): Check file size.
8964 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8966 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8967 advice--pending if newdef is nil or an autoload (bug#13820).
8968 (advice-mapc): New function.
8970 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8972 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8974 (eww-mode-map): Add a menu bar.
8975 (eww-add-bookmark): New command.
8976 (eww-bookmark-mode): New mode and commands.
8977 (eww-add-bookmark): Remove newlines from the title.
8978 (eww-bookmark-browse): Don't bug out if it's the only window.
8980 2013-06-26 Glenn Morris <rgm@gnu.org>
8982 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8983 (hfy-size): Handle ttys. (Bug#14668)
8985 * info-xref.el: Update for Texinfo 5 change in *note format.
8986 (info-xref-node-re, info-xref-note-re): New constants.
8987 (info-xref-check-buffer): Use info-xref-note-re.
8989 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8991 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8993 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8994 nil terminate the loop (bug#14718).
8996 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8998 * net/eww.el: Rework history traversal. When going forward/back,
8999 put these actions into the history, too, so that they can be
9001 (eww-render): Move the history reset to the correct buffer.
9003 2013-06-25 Juri Linkov <juri@jurta.org>
9005 * files-x.el (modify-dir-local-variable): Change the header comment
9006 in the file with directory local variables. (Bug#14692)
9008 * files-x.el (read-file-local-variable-value): Add `default'.
9011 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9013 * net/eww.el (eww-make-unique-file-name): Create a unique file
9014 name before saving to entering `y' accidentally asynchronously.
9016 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9018 * net/eww.el (eww-download): New command and keystroke.
9020 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9022 * net/eww.el (eww-copy-page-url): Change name of command.
9024 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9025 be more consistent with Info and dired.
9027 * net/eww.el (eww-mode-map): Ditto.
9029 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9031 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9032 packages from archives.
9033 (package-archive-contents): Change format; include obsolete packages.
9034 (package-desc): Use `dir' to mark builtin packages.
9035 (package--from-builtin): Set the `dir' field to `builtin'.
9036 (generated-autoload-file, version-control): Declare.
9037 (package-compute-transaction): Change first arg and return value to be
9038 lists of package-descs. Adjust to new package-archive-contents format.
9039 (package--add-to-archive-contents): Adjust to new
9040 package-archive-contents format.
9041 (package-download-transaction): Arg is now a list of package-descs.
9042 (package-install): If `pkg' is a package name, pass it as
9043 a requirement, so it is subject to the usual (e.g. disabled) checks.
9044 (describe-package): Accept package-desc as well.
9045 (describe-package-1): Describe a specific package-desc. Add links to
9046 other package-descs for the same package name.
9047 (package-menu-describe-package): Pass the actual package-desc.
9048 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9050 (package-desc-status): New function.
9051 (package-menu--refresh): New function, extracted
9052 from package-menu--generate.
9053 (package-menu--generate): Use it.
9054 (package-delete): Update package-alist.
9055 (package-menu-execute): Don't call package-initialize.
9057 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9058 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9059 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9060 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9061 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9062 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9064 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9066 * window.el (window--state-get-1): Workaround for bug#14527.
9067 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9069 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9071 * net/eww.el (eww-back-url): Implement the history by stashing all
9072 the data into a list.
9073 (eww-forward-url): Allow going forward in the history, too.
9075 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9077 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9078 for values and use read--expression for expressions (bug#14710).
9079 (read-file-local-variable): Avoid setq.
9080 (read-file-local-variable-mode): Use minor-mode-list.
9082 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9084 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9087 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9089 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9090 Update imenu-support when dialect changes.
9092 2013-06-25 Leo Liu <sdl.web@gmail.com>
9094 * ido.el (ido-read-internal): Allow forward slash on windows.
9096 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9098 * net/eww.el (eww): Start of strings is \\`, not ^.
9100 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9102 * net/shr.el (shr-browse-url): Fix interactive spec.
9104 * net/eww.el (eww): Add a trailing slash to domain names.
9106 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9108 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9110 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9112 * net/shr.el (shr-browse-url): Use an external browser if given a
9115 * net/eww.el (eww-external-browser): Move to shr.
9117 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9119 * net/eww.el (eww): Work more correctly for file: URLs.
9120 (eww-detect-charset): Allow quoted charsets.
9121 (eww-yank-page-url): New command and keystroke.
9123 2013-06-24 Daiki Ueno <ueno@gnu.org>
9125 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9126 file name of gpg executable.
9127 (epg-context-program): New function.
9128 (epg-context-home-directory): New function.
9129 (epg-context-set-program): New function.
9130 (epg-context-set-home-directory): New function.
9131 (epg--start): Use `epg-context-program' instead of
9133 (epg--list-keys-1): Likewise.
9135 2013-06-24 Leo Liu <sdl.web@gmail.com>
9137 * ido.el (ido-read-internal): Fix bug#14620.
9139 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9141 * faces.el (face-documentation): Simplify.
9142 (read-face-attribute, tty-find-type, x-resolve-font-name):
9143 Use `string-match-p'.
9144 (list-faces-display): Use `string-match-p'. Simplify.
9145 (face-spec-recalc): Check face to avoid face alias loops.
9146 (read-color): Use `string-match-p' and non-capturing parenthesis.
9148 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9150 * net/shr.el (shr-rescale-image): Use the new
9151 :max-width/:max-height functionality.
9153 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9155 * net/eww.el (eww-search-prefix): New variable.
9157 (eww-external-browser): New variable.
9158 (eww-mode-map): New keystroke.
9159 (eww-browse-with-external-browser): New command.
9161 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9163 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9165 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9166 Don't skip aligning the next header field when padding is 0;
9167 otherwise, field width is not respected unless the title is as
9170 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9172 * emacs-lisp/package.el (package-el-version): Remove.
9173 (package-process-define-package): Fix inf-loop.
9174 (package-install): Allow symbols as arguments again.
9176 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9178 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9179 add some more keyword-like methods.
9180 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9182 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9184 * bs.el (bs-buffer-show-mark): Make defvar-local.
9185 (bs-mode): Use setq-local.
9187 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9188 (emacs-lock--try-unlocking): Make defvar-local.
9190 2013-06-22 Glenn Morris <rgm@gnu.org>
9192 * play/cookie1.el (cookie-apropos): Minor simplification.
9194 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9196 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9198 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9199 `regexp-opt', it breaks the build during dumping.
9201 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9203 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9204 Highlight keyword-like methods on Kernel and Module with
9205 font-lock-builtin-face.
9206 (auto-mode-alist): Consolidate different entries into one regexp
9207 and add more *file-s.
9209 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9211 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9213 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9214 (diary-entry): Use it in the action of this button type instead of
9217 * calendar/todo-mode.el: New version.
9218 (todo-add-category): Append new category to end of file and give
9219 it the highest number, instead of putting it at the beginning and
9220 giving it 0. Incorporate noninteractive functionality.
9221 (todo-forward-category): Adapt to 1-based category numbering.
9222 Allow skipping over archived categories.
9223 (todo-backward-category): Derive from todo-forward-category.
9224 (todo-backward-item, todo-forward-item): Make noninteractive and
9225 delegate interactive part to new commands. Make sensitive to done items.
9226 (todo-categories): Make value an alist of category names and
9227 vectors of item counts.
9228 (todo-category-beg): Make a defconst.
9229 (todo-category-number): Use 1 instead of 0 as initial value.
9230 (todo-category-select): Make sensitive to overlays, optional item
9231 highlighting and done items.
9232 (todo-delete-item): Make sensitive to overlays and marked and done items.
9233 (todo-edit-item): Make sensitive to overlays and editing of
9234 date/time header optional. Add format checks.
9235 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9236 no-op if point is not on an item. Advertise using todo-edit-quit.
9237 (todo-edit-mode): Make sensitive to new format, font-locking, and
9238 multiple todo files.
9239 (todo-insert-item, todo-insert-item-here): Derive from
9240 todo-basic-insert-item and extend functionality.
9241 (todo-item-end, todo-item-start): Make sensitive to done items.
9242 (todo-item-string): Don't return text properties. Restore point.
9243 (todo-jump-to-category): Make sensitive to multiple todo files and
9244 todo archives. Use extended category completion.
9245 (todo-lower-item, todo-raise-item): Rename to *-priority and
9246 derive from todo-set-item-priority.
9247 (todo-mode): Derive from special-mode. Make sensitive to new
9248 format, font-locking and multiple todo files. Make read-only.
9249 (todo-mode-map): Don't suppress digit keys, so they can supply
9250 prefix arguments. Add many new key bindings.
9251 (todo-prefix): Insert as an overlay instead of file text.
9252 Change semantics from diary date expression to purely visual mark.
9253 (todo-print): Rename to todo-print-buffer. Make buffer display
9254 features printable. Remove option to restrict number of items
9255 printed. Add option to print to file.
9256 (todo-print-function): Rename to todo-print-buffer-function.
9257 (todo-quit): Extend to handle exiting new todo modes.
9258 (todo-remove-item): Make sensitive to overlays.
9259 (todo-save): Extend to buffers of filtered items.
9260 (todo-show): Make sensitive to done items, multiple todo files and
9261 new todo modes. Offer to convert legacy todo file before creating
9262 first new todo file.
9263 (todo-show-priorities): Rename to todo-top-priorities.
9264 Change semantics of value 0.
9265 (todo-top-priorities): Rename to todo-filter-top-priorities,
9266 derive from todo-filter-items and extend functionality.
9267 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9268 and extend functionality to other types of filtered items.
9269 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9270 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9271 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9272 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9273 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9274 (todo-edit-mode-hook, todo-entry-prefix-function)
9275 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9276 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9277 (todo-initials, todo-insert-threshold, todo-item-string-start)
9278 (todo-line-string, todo-menu, todo-mode-hook)
9279 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9280 (todo-print-priorities, todo-remove-separator)
9281 (todo-save-top-priorities-too, todo-string-count-lines)
9282 (todo-string-multiline-p, todo-time-string-format)
9283 (todo-tmp-buffer-name): Remove.
9284 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9285 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9286 (todo-edit-category-diary-inclusion)
9287 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9288 (todo-edit-file, todo-edit-item-date-day)
9289 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9290 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9291 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9292 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9293 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9294 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9295 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9296 (todo-filter-top-priorities-multifile, todo-find-archive)
9297 (todo-find-filtered-items-file, todo-go-to-source-item)
9298 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9299 (todo-jump-to-archive-category, todo-lower-category)
9300 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9301 (todo-move-category, todo-move-item, todo-next-button)
9302 (todo-next-item, todo-padded-string, todo-powerset)
9303 (todo-previous-button, todo-previous-item)
9304 (todo-print-buffer-to-file, todo-raise-category)
9305 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9306 (todo-set-category-number, todo-set-item-priority)
9307 (todo-set-top-priorities-in-category)
9308 (todo-set-top-priorities-in-file, todo-show-categories-table)
9309 (todo-sort-categories-alphabetically-or-numerically)
9310 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9311 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9312 (todo-toggle-item-header, todo-toggle-item-highlighting)
9313 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9314 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9315 (todo-unarchive-items, todo-unmark-category): New commands.
9316 (todo-absolute-file-name, todo-add-to-buffer-list)
9317 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9318 (todo-basic-insert-item, todo-category-completions)
9319 (todo-category-number, todo-category-string-matcher-1)
9320 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9321 (todo-check-format, todo-clear-matches)
9322 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9323 (todo-current-category, todo-date-string-matcher)
9324 (todo-define-insertion-command, todo-diary-expired-matcher)
9325 (todo-diary-goto-entry, todo-diary-item-p)
9326 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9327 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9328 (todo-done-item-section-p, todo-done-separator)
9329 (todo-done-string-matcher, todo-files, todo-filter-items)
9330 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9331 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9332 (todo-insert-category-line, todo-insert-item-from-calendar)
9333 (todo-insert-sort-button, todo-insert-with-overlays)
9334 (todo-insertion-command-name, todo-insertion-key-bindings)
9335 (todo-label-to-key, todo-longest-category-name-length)
9336 (todo-make-categories-list, todo-mode-external-set)
9337 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9338 (todo-modes-set-3, todo-multiple-filter-files)
9339 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9340 (todo-read-category, todo-read-date, todo-read-dayname)
9341 (todo-read-file-name, todo-read-time)
9342 (todo-reevaluate-category-completions-files-defcustom)
9343 (todo-reevaluate-default-file-defcustom)
9344 (todo-reevaluate-filelist-defcustoms)
9345 (todo-reevaluate-filter-files-defcustom)
9346 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9347 (todo-reset-done-separator, todo-reset-done-separator-string)
9348 (todo-reset-done-string, todo-reset-global-current-todo-file)
9349 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9350 (todo-reset-prefix, todo-set-categories)
9351 (todo-set-date-from-calendar, todo-set-show-current-file)
9352 (todo-set-top-priorities, todo-short-file-name)
9353 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9354 (todo-total-item-counts, todo-update-buffer-list)
9355 (todo-update-categories-display, todo-update-categories-sexp)
9356 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9358 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9360 (todo-categories, todo-display, todo-edit, todo-faces)
9361 (todo-filtered): New defgroups.
9362 (todo-archived-only, todo-button, todo-category-string, todo-date)
9363 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9364 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9365 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9366 (todo-add-item-if-new-category, todo-always-add-time-string)
9367 (todo-categories-align, todo-categories-archived-label)
9368 (todo-categories-category-label, todo-categories-diary-label)
9369 (todo-categories-done-label, todo-categories-number-separator)
9370 (todo-categories-todo-label, todo-categories-totals-label)
9371 (todo-category-completions-files, todo-completion-ignore-case)
9372 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9373 (todo-done-separator-string, todo-done-string)
9374 (todo-files-function, todo-filter-done-items, todo-filter-files)
9375 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9376 (todo-initial-category, todo-initial-file, todo-item-mark)
9377 (todo-legacy-date-time-regexp, todo-mode-line-function)
9378 (todo-nondiary-marker, todo-number-prefix)
9379 (todo-print-buffer-function, todo-show-current-file)
9380 (todo-show-done-only, todo-show-first, todo-show-with-done)
9381 (todo-skip-archived-categories, todo-top-priorities-overrides)
9382 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9383 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9385 (todo-category-done, todo-date-pattern, todo-date-string-start)
9386 (todo-diary-items-buffer, todo-done-string-start)
9387 (todo-filtered-items-buffer, todo-item-start)
9388 (todo-month-abbrev-array, todo-month-name-array)
9389 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9390 (todo-top-priorities-buffer): New defconsts.
9391 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9392 (todo-categories-with-marks, todo-category-string-face)
9393 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9394 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9395 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9396 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9397 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9398 (todo-font-lock-keywords, todo-global-current-todo-file)
9399 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9400 (todo-insertion-commands-args)
9401 (todo-insertion-commands-args-genlist)
9402 (todo-insertion-commands-names, todo-insertion-map)
9403 (todo-key-bindings-t, todo-key-bindings-t+a)
9404 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9405 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9406 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9407 (todo-visited): New variables.
9409 2013-06-21 Glenn Morris <rgm@gnu.org>
9411 * play/cookie1.el (cookie-apropos): Add optional display argument.
9412 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9413 (psychoanalyze-pinhead): Use cookie-doctor.
9415 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9417 * emacs-lisp/package.el (tar-get-file-descriptor)
9418 (tar--extract): Declare.
9420 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9422 Extend flymake's warning predicate to be a function (bug#14217).
9423 * progmodes/flymake.el (flymake-warning-predicate): New.
9424 (flymake-parse-line): Use it.
9425 (flymake-warning-re): Make obsolete alias to
9426 `flymake-warning-predicate'.
9428 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9430 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9431 (package-obsolete-list): Remove.
9432 (package-activate): Remove min-version argument. Add `force' argument.
9433 Adjust to new package-alist format.
9434 (package-mark-obsolete): Remove.
9435 (package-unpack): Force reload of the package's autoloads.
9436 (package-installed-p): Check builtins if the installed package is not
9438 (package-initialize): Don't reset package-obsolete-list.
9439 Don't specify which package version to activate.
9440 (package-process-define-package, describe-package-1)
9441 (package-menu--generate): Adjust to new package-alist format.
9443 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9445 * allout-widgets.el (allout-widgets-mode-off)
9446 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9447 (allout-widgets-post-command-business)
9448 (allout-widgets-after-copy-or-kill-function)
9449 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9450 (allout-decorate-item-and-context)
9451 (allout-graphics-modification-handler): Fix typos in docstrings.
9452 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9454 * cmuscheme.el (scheme-start-file): Doc fix.
9455 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9456 (scheme-input-filter): Use `string-match-p'.
9458 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9460 * dired-x.el: Use Dired consistently in docstrings.
9462 * dired.el: Use Dired consistently in docstrings.
9463 (dired-readin, dired-mode): Use `setq-local'.
9464 (dired-switches-alist): Make defvar-local.
9465 (dired-buffers-for-dir): Use `zerop'.
9466 (dired-safe-switches-p, dired-switches-escape-p)
9467 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9468 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9469 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9470 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9471 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9472 (dired-toggle-marks, dired-mark-files-containing-regexp)
9473 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9474 (dired-flag-auto-save-files, dired-flag-backup-files):
9476 (dired-mark-files-regexp, dired-build-subdir-alist):
9477 Use `string-match-p', `looking-at-p'.
9479 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9480 (direct-print-region-helper): Use `string-match-p'.
9482 2013-06-21 Leo Liu <sdl.web@gmail.com>
9484 * comint.el (comint-redirect-results-list-from-process):
9487 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9489 * net/eww.el (eww-update-header-line-format): Quote % characters.
9491 2013-06-21 Glenn Morris <rgm@gnu.org>
9493 * play/cookie1.el (cookie): New custom group.
9494 (cookie-file): New option.
9495 (cookie-check-file): New function.
9496 (cookie): Make it interactive. Make start and end messages optional.
9497 Interactively, display the result. Default to cookie-file.
9498 (cookie-insert): Default to cookie-file.
9499 (cookie-snarf): Make start and end messages optional.
9500 Default to cookie-file. Use with-temp-buffer.
9501 (cookie-read): Rename from read-cookie.
9502 Make start and end messages optional. Default to cookie-file.
9503 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9505 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9506 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9508 2013-06-21 Leo Liu <sdl.web@gmail.com>
9510 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9512 2013-06-21 Glenn Morris <rgm@gnu.org>
9514 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9516 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9517 Daniel Hackney <dan@haxney.org>
9519 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9520 Consolidate the single-file vs tarball code.
9521 (package-desc-suffix): New function.
9522 (package-desc-full-name): Don't bother inlining it.
9523 (package-load-descriptor): Return the new package-desc.
9524 (package-mark-obsolete): Remove unused arg `package'.
9525 (package-unpack): Make it work for single files as well.
9526 Make it update package-alist.
9527 (package--make-autoloads-and-stuff): Rename from
9528 package--make-autoloads-and-compile. Don't compile any more.
9529 (package--compile): New function.
9530 (package-generate-description-file): New function, extracted from
9531 package-unpack-single.
9532 (package-unpack-single): Remove.
9533 (package--with-work-buffer): Add indentation and debugging info.
9534 (package-download-single): Remove.
9535 (package-install-from-archive): Rename from package-download-tar, make
9536 it take a pkg-desc, and make it work for single files as well.
9537 (package-download-transaction): Simplify.
9538 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9539 external tar program.
9540 (package-install-from-buffer): Remove `pkg-desc' argument.
9541 Use package-tar-file-info for tar-mode buffers.
9542 (package-install-file): Simplify accordingly.
9543 (package-archive-base): Change to take a pkg-desc.
9544 * tar-mode.el (tar--check-descriptor): New function, extracted from
9546 (tar-get-descriptor): Use it.
9547 (tar-get-file-descriptor): New function.
9548 (tar--extract): New function, extracted from tar-extract.
9549 (tar--extract): Use it.
9550 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9551 case the summary uses non-ascii. Adjust to new calling convention of
9552 package-tar-file-info.
9554 2013-06-21 Leo Liu <sdl.web@gmail.com>
9556 * comint.el (comint-redirect-results-list-from-process):
9557 Fix random delay. (Bug#14681)
9559 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9561 * profiler.el (profiler-format-number): Use log, not log10.
9563 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9565 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9567 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9569 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9570 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9572 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9573 (AUTOGENEL): ... here.
9574 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9575 (cl--defsubst-expand): Use it.
9577 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9579 * subr.el (log10): Move here from C code, and declare as obsolete.
9580 All uses of (log10 X) replaced with (log X 10).
9582 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9584 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9585 Declare with `defvar-local'.
9586 (tabulated-list-use-header-line, tabulated-list-entries)
9587 (tabulated-list-padding, tabulated-list-printer)
9588 (tabulated-list-sort-key): Declare with `defvar-local'.
9589 (tabulated-list-init-header, tabulated-list-print-fake-header):
9592 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9594 * arc-mode.el (archive-mode): Add `archive-write-file' to
9595 `write-contents-functions' also for remote files. (Bug#14652)
9597 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9599 * cus-edit.el (custom-commands): Fix typos.
9600 (custom-display): Fix tooltip text.
9601 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9602 Fix typos in docstrings.
9603 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9604 (custom-unlispify-menu-entry, custom-magic-value-create)
9605 (custom-add-see-also, custom-group-value-create): Use ?\s.
9606 (custom-guess-type, customize-apropos, editable-field)
9607 (custom-face-value-create): Use `string-match-p'.
9608 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9610 * custom.el (custom-load-symbol): Use `string-match-p'.
9612 * ansi-color.el: Convert to lexical binding.
9613 (ansi-colors): Fix URL.
9614 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9615 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9616 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9618 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9620 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9622 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9624 2013-06-19 Tom Tromey <tromey@redhat.com>
9626 * net/eww.el (eww-top-url): Remove.
9627 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9628 (eww-render): Set new variables. Don't set eww-top-url.
9629 (eww-handle-link): Handle "prev", "home", and "contents".
9630 Downcase the rel text.
9631 (eww-top-url): Choose best top URL.
9633 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9635 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9636 relying in widget.el. Using widget.el leads to too many
9637 user interface inconsistencies.
9638 (eww-self-insert): Implement entering commands in text fields.
9639 (eww-process-text-input): New function to make text input field editing
9641 (eww-submit): Rewrite to use the new-style form methods.
9642 (eww-select-display): Display the correct selected item.
9643 (eww-change-select): Implement changing the select value.
9644 (eww-toggle-checkbox): Implement radio/checkboxes.
9645 (eww-update-field): Fix compilation error.
9646 (eww-tag-textarea): Implement <textarea>.
9648 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9649 we don't shadow mode-specific bindings.
9651 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9654 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9656 2013-06-19 Glenn Morris <rgm@gnu.org>
9658 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9660 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9662 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9665 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9667 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9669 * net/browse-url.el (browse-url-browser-function):
9670 `eww-browse-url' has the right calling signature, `eww' does not.
9672 2013-06-19 Glenn Morris <rgm@gnu.org>
9674 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9675 Only eval autoloaded macros.
9676 (byte-compile-autoload): Only give the macro warning for macros.
9678 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9679 (ps-underlined-faces): Declare.
9681 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9682 (speedbar-add-supported-extension): Declare.
9684 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9685 Don't include a date stamp in the header of the generated file;
9686 it leads to needless differences between output files.
9688 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9690 * net/secrets.el (secrets-struct-secret-content-type):
9691 Replace check of introspection data by a test call of "CreateItem".
9692 Some servers do not offer introspection.
9694 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9696 * electric.el (electric-pair-mode): Improve interaction with
9697 electric-layout-mode.
9698 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9699 (electric-pair-syntax): Use text-mode-syntax-table in comments
9701 (electric-pair--insert): New function.
9702 (electric-pair-post-self-insert-function): Use it and
9703 electric--after-char-pos.
9705 2013-06-19 Leo Liu <sdl.web@gmail.com>
9707 * progmodes/octave.el (octave-help): Fix regexp.
9709 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9711 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9712 (shr-table-horizontal-line): Allow nil as a value, and change the
9714 (shr-insert-table-ruler): Respect the nil value.
9716 2013-06-18 Tom Tromey <tromey@barimba>
9718 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9720 (eww-open-file): New defun.
9721 (eww-render): Initialize new variables.
9722 (eww-display-html): Handle "link" and "a".
9723 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9724 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9725 (eww-back-url): Rename from eww-previous-url.
9726 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9729 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9731 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9732 Distinguish ternary operator tokens from slash symbol and slash
9735 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9737 Convert symbol prettification into minor mode and global minor mode.
9739 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9740 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9741 (prettify-symbols--keywords): Rename from
9742 `prog-prettify-symbols-alist' and make a local defvar.
9743 (prettify-symbols--compose-symbol): Rename from
9744 `prog--prettify-font-lock-compose-symbol'.
9745 (prettify-symbols--make-keywords): Rename from
9746 `prog-prettify-font-lock-symbols-keywords' and simplify.
9747 (prog-prettify-install): Remove.
9748 (prettify-symbols-mode): New minor mode, based on
9749 `prog-prettify-install'.
9750 (turn-on-prettify-symbols-mode): New function.
9751 (global-prettify-symbols-mode): New globalized minor mode.
9753 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9754 * progmodes/cfengine.el (cfengine3-mode):
9755 * progmodes/perl-mode.el (perl-mode): Don't call
9756 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9758 2013-06-18 Juri Linkov <juri@jurta.org>
9760 * files-x.el (modify-file-local-variable-message): New function.
9761 (modify-file-local-variable)
9762 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9763 and call `modify-file-local-variable-message' when it's non-nil.
9764 (add-file-local-variable, delete-file-local-variable)
9765 (add-file-local-variable-prop-line)
9766 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9767 and use it. (Bug#9820)
9769 2013-06-18 Juri Linkov <juri@jurta.org>
9771 * emulation/vi.el (vi-shell-op):
9772 * emulation/vip.el (vip-execute-com, ex-command):
9773 * emulation/viper-cmd.el (viper-exec-bang):
9774 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9775 the call of `shell-command-on-region'. (Bug#14637)
9777 * simple.el (shell-command-on-region): Doc fix.
9779 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9781 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9784 2013-06-18 Glenn Morris <rgm@gnu.org>
9786 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9788 * newcomment.el (comment-search-forward, comment-search-backward):
9789 Doc fix. (Bug#14376)
9791 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9793 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9794 (buffer-face-mode-invoke): Doc fix.
9796 2013-06-18 Matthias Meulien <orontee@gmail.com>
9798 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9799 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9801 2013-06-18 Glenn Morris <rgm@gnu.org>
9803 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9804 Replace obsolete function generic-make-keywords with its expansion.
9806 * progmodes/python.el (ffap-alist): Declare.
9808 * textmodes/reftex.el (bibtex-mode-map): Declare.
9810 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9812 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9813 (package-unpack, package-unpack-single): Return the pkg-dir.
9814 (package-download-transaction): Use it to update package-alist.
9816 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9818 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9821 2013-06-17 Juri Linkov <juri@jurta.org>
9823 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9825 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9827 * emacs-lisp/package.el (package-load-descriptor):
9828 Remove `with-syntax-table' call, `read' doesn't need it.
9829 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9831 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9833 * startup.el (command-line): Expand package name returned by
9834 `package--description-file' (bug#14639).
9836 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9838 * emacs-lisp/package.el (package-load-descriptor): Do not call
9839 `emacs-lisp-mode', just use its syntax table.
9841 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9843 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9844 `font-lock-extra-managed-props' if any prettifying keyword is added.
9845 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9846 (prog-mode): Use `setq-local'.
9848 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9850 * international/characters.el (standard-case-table): Set syntax of ?»
9851 and ?« to punctuation.
9853 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9855 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9856 Save relevant match data before calling `syntax-ppss' (bug#14595).
9858 2013-06-15 Juri Linkov <juri@jurta.org>
9860 * files-x.el (modify-file-local-variable-prop-line): Add local
9861 variables to the end of the existing comment on the first line.
9862 Use `file-auto-mode-skip' to skip interpreter magic line,
9863 and also skip XML declaration.
9865 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9867 * startup.el (package--builtin-versions): New var.
9868 (package-subdirectory-regexp): Remove.
9869 (package--description-file): Hard code its value instead.
9871 * emacs-lisp/package.el: Don't activate packages older than builtin.
9872 (package-obsolete-list): Rename from package-obsolete-alist, and make
9873 it into a simple list of package-desc.
9874 (package-strip-version): Remove.
9875 (package-built-in-p): Use package--builtin-versions.
9876 (package-mark-obsolete): Simplify.
9877 (package-process-define-package): Mark it obsolete if older than the
9879 (package-handle-response): Use line-end-position.
9880 (package-read-archive-contents, package--download-one-archive):
9882 (package--add-to-archive-contents): Skip if older than the builtin or
9884 (package-menu-describe-package): Fix last change.
9885 (package-list-unversioned): New var.
9886 (package-menu--generate): Use it.
9888 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9889 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9890 (autoload-builtin-package-versions): New variable.
9891 (autoload-generate-file-autoloads): Use them.
9892 Remove the list of autoloaded functions/macros from the
9893 (autoload...) comments.
9895 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9897 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9899 * simple.el (line-move-partial): Don't jump to the next screen
9900 line as soon as it becomes visible. Instead, continue enlarging
9901 the vscroll until the portion of a tall screen line that's left on
9902 display is about the height of the frame's default font.
9905 2013-06-15 Glenn Morris <rgm@gnu.org>
9907 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9908 compilation-error-regexp-alist void, or local while let-bound.
9910 * progmodes/make-mode.el (makefile-mode-syntax-table):
9911 Treat "=" as punctuation. (Bug#14614)
9913 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9915 * help-fns.el (describe-variable):
9916 Add extra line for permanent-local variables.
9918 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9920 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9921 Add export, import, library. (Bug#9164)
9922 (library): Set indent function.
9924 2013-06-14 Glenn Morris <rgm@gnu.org>
9926 * term/xterm.el (xterm--query):
9927 Stop after first matching handler. (Bug#14615)
9929 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9931 Add support for dired in saveplace.
9932 * dired.el (dired-initial-position-hook): New variable.
9933 (dired-initial-position): Call hook to place cursor position.
9934 * saveplace.el (save-place-to-alist): Add dired position.
9935 (save-place-dired-hook): New function.
9937 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9939 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9940 through a symbol rather than letrec.
9942 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9943 (package-desc): Add `dir' field.
9944 (package-desc-full-name): New function.
9945 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9946 (package-maybe-load-descriptor): Remove.
9947 (package-load-all-descriptors): Just call package-load-descriptor.
9948 (package--disabled-p): New function.
9949 (package-desc-vers, package-desc-doc): Remove aliases.
9950 (package--dir): Remove function.
9951 (package-activate): Check if a package is disabled.
9952 (package-process-define-package): New function, extracted from
9954 (define-package): Turn into a place holder.
9955 (package-unpack-single, package-tar-file-info):
9956 Use package--description-file.
9957 (package-compute-transaction): Use package--disabled-p.
9958 (package-download-transaction): Don't call
9959 package-maybe-load-descriptor since they're all loaded anyway.
9960 (package-install): Change argument to be a pkg-desc.
9961 (package-delete): Use a single pkg-desc argument.
9962 (describe-package-1): Use package-desc-dir instead of package--dir.
9963 Use package-desc property instead of package-symbol.
9964 (package-install-button-action): Adjust accordingly.
9965 (package--push): Rewrite.
9966 (package-menu--print-info): Adjust accordingly. Change the ID format
9968 (package-menu-describe-package, package-menu-get-status)
9969 (package-menu--find-upgrades, package-menu-mark-upgrades)
9970 (package-menu-execute, package-menu--name-predicate):
9972 * startup.el (package--description-file): New function.
9973 (command-line): Use it.
9974 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9975 Use package-desc-version.
9977 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9978 (byte-compile-preprocess): Use it.
9979 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9980 can't quite recognize.
9981 (byte-compile-add-to-list): Remove.
9982 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9983 (cconv-closure-convert): Add assertion.
9985 * emacs-lisp/map-ynp.el: Use lexical-binding.
9986 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9987 Factor out some repeated code.
9989 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9991 * subr.el (with-eval-after-load): New macro.
9992 (eval-after-load): Allow form to be a function.
9993 take advantage of lexical-binding.
9994 (do-after-load-evaluation): Use dolist and adjust to new format.
9995 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9997 2013-06-13 Juri Linkov <juri@jurta.org>
9999 * replace.el (perform-replace): Display "symbol " and other search
10000 modes from `isearch-message-prefix' in the *Help* buffer.
10002 * isearch.el (isearch-query-replace): Add " symbol" and other
10003 possible search modes from `isearch-message-prefix' to the prompt.
10004 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10005 when reading a regexp to collect.
10007 2013-06-13 Juri Linkov <juri@jurta.org>
10009 * isearch.el (word-search-regexp): Match whitespace if the search
10010 string begins or ends in whitespace. The LAX arg is applied to
10011 both ends of the search string. Use `regexp-quote' and explicit
10012 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10013 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10014 boundaries are replaced with symbol boundaries, and characters
10015 between symbols match non-word non-symbol syntax. (Bug#14602)
10017 2013-06-13 Juri Linkov <juri@jurta.org>
10019 * isearch.el (isearch-del-char): Don't exceed the length of
10020 `isearch-string' by the prefix arg. (Bug#14563)
10022 2013-06-13 Juri Linkov <juri@jurta.org>
10024 * isearch.el (isearch-yank-word, isearch-yank-line)
10025 (isearch-char-by-name, isearch-quote-char)
10026 (isearch-printing-char, isearch-process-search-char):
10027 Add optional count prefix arg. (Bug#14563)
10029 * international/isearch-x.el
10030 (isearch-process-search-multibyte-characters):
10031 Add optional count prefix arg.
10033 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10035 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10036 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10039 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10041 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10043 2013-06-13 Glenn Morris <rgm@gnu.org>
10045 * startup.el (tty-handle-args):
10046 Don't just discard "--" and anything after. (Bug#14608)
10048 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10050 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10052 Implement changes in Secret Service API. Make it backward compatible.
10053 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10054 (secrets-create-item): Use it. Prefix properties with interface.
10056 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10058 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10059 (term-emulate-terminal): Respect term-suppress-hard-newline.
10061 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10063 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10064 Only remove a `thumb-file' overlay. (Bug#14548)
10066 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10068 * mail/reporter.el (reporter-submit-bug-report):
10069 Handle missing package-name. (Bug#14600)
10071 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10073 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10074 (reftex-citation-prompt, reftex-default-bibliography)
10075 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10076 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10077 (reftex-bib-sort-author, reftex-bib-sort-year)
10078 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10079 (reftex-extract-bib-entries-from-thebibliography)
10080 (reftex-get-bibkey-default, reftex-get-bib-names)
10081 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10082 (reftex-format-bib-entry, reftex-parse-bibitem)
10083 (reftex-format-bibitem, reftex-do-citation)
10084 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10085 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10086 (reftex-insert-bib-matches, reftex-format-citation)
10087 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10088 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10089 existing comments into docstrings.
10091 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10093 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10095 2013-06-12 Andreas Schwab <schwab@suse.de>
10097 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10098 for auto-save files.
10100 2013-06-12 Glenn Morris <rgm@gnu.org>
10102 * ido.el (ido-delete-ignored-files): Remove.
10103 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10104 Go back to calling ido-ignore-item-p directly.
10106 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10108 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10110 * ido.el (ido-delete-ignored-files): New function,
10111 split from ido-make-file-list-1.
10112 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10113 (ido-make-file-list-1): Use ido-delete-ignored-files.
10115 2013-06-12 Leo Liu <sdl.web@gmail.com>
10117 * progmodes/octave.el (inferior-octave-startup)
10118 (inferior-octave-completion-table)
10119 (inferior-octave-track-window-width-change)
10120 (octave-eldoc-function-signatures, octave-help)
10121 (octave-find-definition): Use single quoted strings.
10122 (inferior-octave-startup-args): Change default value.
10123 (inferior-octave-startup): Do not hard code "-i" and
10124 "--no-line-editing".
10125 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10126 (inferior-octave-directory-tracker): Use it.
10127 (octave-goto-function-definition): Robustify.
10128 (octave-help): Support highlighting operators in 'See also'.
10129 (octave-find-definition): Find subfunctions only in Octave mode.
10131 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10133 * help-fns.el (help-fns--compiler-macro): If the handler function is
10134 named, then put a link to it.
10135 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10136 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10137 (cl-typep): Use it.
10138 (cl-eval-when): Simplify debug spec.
10139 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10140 compiler-macro function instead of setting `compiler-macro-file'.
10142 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10144 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10145 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10147 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10148 Daniel Hackney <dan@haxney.org>
10150 First part of Daniel Hackney's patch to package.el.
10151 * emacs-lisp/package.el: Use defstruct.
10152 (package-desc): New, main struct.
10153 (package--bi-desc, package--ac-desc): New structs, used to describe the
10154 format in external files.
10155 (package-desc-vers): Replace with package-desc-version accessor.
10156 (package-desc-doc): Replace with package-desc-summary accessor.
10157 (package-activate-1): Remove `package' arg since the pkg-vec now
10159 (define-package): Use package-desc-from-define.
10160 (package-unpack-single): Change file-name arg to be a symbol.
10161 (package--add-to-archive-contents): Use package-desc-create and new
10162 accessor functions to package--ac-desc.
10163 (package-buffer-info, package-tar-file-info): Return a package-desc.
10164 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10165 arg to be a package-desc.
10166 (package-install-file): Adjust accordingly. Use \' to match EOS.
10167 (package--from-builtin): New function.
10168 (describe-package-1, package-menu--generate): Use it.
10169 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10170 (package-generate-autoloads): Idem and return the name of the file.
10171 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10172 Change pkg-info arg to be a package-desc.
10173 Use package-make-ac-desc.
10174 (package-upload-file): Use \' to match EOS.
10175 * finder.el (finder-compile-keywords): Use package-make-builtin.
10177 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10179 * vc/vc.el (vc-deduce-fileset): Change error message.
10180 (vc-read-backend): New function.
10181 (vc-next-action): Use it.
10183 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10185 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10186 (prolog-font-lock-keywords): Use regexp-opt instead.
10187 Don't manually highlight strings.
10188 (prolog-mode-variables): Simplify comment-start-skip.
10189 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10191 * emacs-lisp/generic.el (generic--normalise-comments)
10192 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10193 (generic-mode-set-comments): Use them.
10194 (generic-bracket-support): Use setq-local.
10195 (generic-make-keywords-list): Declare obsolete.
10197 2013-06-11 Glenn Morris <rgm@gnu.org>
10199 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10200 Prettify after setting font-lock-defaults. (Bug#14574)
10202 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10204 * replace.el (query-replace, occur-read-regexp-defaults-function)
10206 * subr.el (declare-function, number-sequence, local-set-key)
10207 (substitute-key-definition, locate-user-emacs-file)
10208 (with-silent-modifications, split-string, eval-after-load):
10209 Fix typos, remove unneeded backslashes and reflow some docstrings.
10211 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10213 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10214 default for Elisp files.
10216 2013-06-11 Glenn Morris <rgm@gnu.org>
10218 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10219 although define-derived-mode was doing this anyway. (Bug#14583)
10221 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10223 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10224 Fix make-variable-buffer-local call to refer to the correct variable.
10226 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10228 * eshell/em-term.el (eshell-visual-commands)
10229 (eshell-visual-subcommands, eshell-visual-options):
10230 Add summary line to docstrings. Add cross-references.
10232 2013-06-10 Glenn Morris <rgm@gnu.org>
10234 * epa.el (epa-read-file-name): New function. (Bug#14510)
10235 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10237 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10239 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10240 output redirection to be ignored with visual commands.
10242 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10244 * eshell/em-term.el (eshell-visual-command-p): New function.
10245 (eshell-term-initialize): Move long lambda to separate function
10246 eshell-visual-command-p.
10247 * eshell/em-dirs.el (eshell-dirs-initialise):
10248 * eshell/em-script.el (eshell-script-initialize):
10249 Add missing #' to lambda.
10251 2013-06-08 Leo Liu <sdl.web@gmail.com>
10253 * progmodes/octave.el (octave-add-log-current-defun): New function.
10254 (octave-mode): Set add-log-current-defun-function.
10255 (octave-goto-function-definition): Do not move point if not found.
10256 (octave-find-definition): Enhance to try subfunctions first.
10258 2013-06-08 Glenn Morris <rgm@gnu.org>
10260 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10261 (byte-compile-backward-char, byte-compile-backward-word):
10262 Improve previous change, to handle non-explicit nil.
10264 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10266 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10267 (smie--opener/closer-at-point): New function.
10268 (smie--matching-block-data): Use it. Don't match from right after an
10269 opener or right before a closer. Obey smie-blink-matching-inners.
10270 Don't signal a mismatch for repeated inners like "switch..case..case".
10272 2013-06-07 Leo Liu <sdl.web@gmail.com>
10274 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10276 (octave-function-header-regexp): Fix. (Bug#14570)
10277 (octave-help-mode-finish-hook, octave-help-mode-finish):
10278 Remove. Just use temp-buffer-show-hook.
10280 * newcomment.el (comment-search-backward): Revert last change.
10283 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10285 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10287 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10288 through xargs, to avoid failure due to MS-Windows limitations on
10289 command-line length.
10291 2013-06-06 Glenn Morris <rgm@gnu.org>
10293 * font-lock.el (lisp-font-lock-keywords-2):
10294 Treat user-error like error.
10296 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10297 (byte-compile-backward-char, byte-compile-backward-word):
10298 Handle explicit nil arguments. (Bug#14565)
10300 2013-06-05 Alan Mackenzie <acm@muc.de>
10302 * isearch.el (isearch-allow-prefix): New user option.
10303 (isearch-other-meta-char): Don't exit isearch when a prefix
10304 argument is typed whilst `isearch-allow-prefix' is non-nil.
10307 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10309 * autorevert.el (auto-revert-notify-handler): Use memq.
10310 Hide assertion failure.
10312 * skeleton.el: Use cl-lib.
10313 (skeleton-further-elements): Use defvar-local.
10314 (skeleton-insert): Use cl-progv.
10316 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10318 * progmodes/prog-mode.el (prog-prettify-symbols)
10319 (prog-prettify-install): Update docstrings.
10321 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10323 * simple.el: Move all the prog-mode code to prog-mode.el.
10324 * progmodes/prog-mode.el: New file.
10325 * loadup.el: Add prog-mode.el.
10327 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10329 * simple.el (prog-prettify-symbols): Add version.
10330 (prog-prettify-install): Add convenience function to prettify symbols.
10332 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10333 (perl--augmented-font-lock-keywords-1)
10334 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10335 variables and use it.
10337 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10338 (cfengine3-mode): Remove unneeded variable and use it.
10340 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10341 (lisp--augmented-font-lock-keywords-1)
10342 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10343 Remove unneeded variables and use it.
10345 2013-06-05 João Távora <joaotavora@gmail.com>
10347 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10348 to point when opening the connection. (Bug#14380)
10350 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10352 * subr.el (load-history-regexp, load-history-filename-element)
10353 (eval-after-load, after-load-functions, do-after-load-evaluation)
10354 (eval-next-after-load, display-delayed-warnings)
10355 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10356 definition of save-match-data.
10357 (overriding-local-map): Remove accidental obsolescence declaration.
10359 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10361 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10363 Generalize symbol prettify support to prog-mode and implement it
10364 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10365 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10366 (prog--prettify-font-lock-compose-symbol)
10367 (prog-prettify-font-lock-symbols-keywords): New variables and
10368 functions to support symbol prettification.
10369 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10370 (lisp--augmented-font-lock-keywords-1)
10371 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10372 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10373 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10374 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10375 Implement prettify of -> => :: strings.
10376 * progmodes/perl-mode.el (perl-prettify-symbols)
10377 (perl--font-lock-compose-symbol)
10378 (perl--font-lock-symbols-keywords): Move to prog-mode.
10379 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10380 (perl-font-lock-keywords-1)
10381 (perl-font-lock-keywords-2): Remove explicit prettify support.
10382 (perl--augmented-font-lock-keywords)
10383 (perl--augmented-font-lock-keywords-1)
10384 (perl--augmented-font-lock-keywords-2, perl-mode):
10385 Implement prettify support.
10387 2013-06-05 Leo Liu <sdl.web@gmail.com>
10389 Re-implement smie matching block highlight using
10390 show-paren-data-function. (Bug#14395)
10391 * emacs-lisp/smie.el (smie-matching-block-highlight)
10392 (smie--highlight-matching-block-overlay)
10393 (smie--highlight-matching-block-lastpos)
10394 (smie-highlight-matching-block)
10395 (smie-highlight-matching-block-mode): Remove.
10396 (smie--matching-block-data-cache): New variable.
10397 (smie--matching-block-data): New function.
10398 (smie-setup): Use smie--matching-block-data for
10399 show-paren-data-function.
10401 * progmodes/octave.el (octave-mode-menu): Fix.
10402 (octave-find-definition): Skip garbage lines.
10404 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10406 Fix compilation error with simultaneous dynamic+lexical scoping.
10407 Add warning when a defvar appears after the first let-binding.
10408 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10409 (byte-compile-close-variables): Initialize it.
10410 (byte-compile--declare-var): New function.
10411 (byte-compile-file-form-defvar)
10412 (byte-compile-file-form-define-abbrev-table)
10413 (byte-compile-file-form-custom-declare-variable): Use it.
10414 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10415 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10416 (byte-compile-bind): Handle dynamic bindings that shadow
10418 (byte-compile-unbind): Make arg non-optional.
10419 (byte-compile-let): Simplify.
10420 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10421 (cconv--analyse-function, cconv-analyse-form): Populate it.
10422 Protect byte-compile-bound-variables to limit the scope of defvars.
10423 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10424 Remove unneeded rule for `declare'.
10426 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10427 so as to avoid depending on cl-adjoin at run-time.
10428 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10430 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10431 (macroexp--warn-and-return): Use it.
10433 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10435 * subr.el: Convert to lexical binding.
10436 (overriding-local-map): Make obsolete.
10437 (add-to-list): Doc fix. Add compiler macro.
10438 (read-key): Swap values of local maps.
10440 2013-06-05 Leo Liu <sdl.web@gmail.com>
10442 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10444 2013-06-04 Leo Liu <sdl.web@gmail.com>
10446 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10447 (compilation-auto-jump): Suppress the "Mark set" message to give
10448 way to exit message.
10450 2013-06-04 Alan Mackenzie <acm@muc.de>
10452 Remove faulty optimisation from indentation calculation.
10453 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10454 search limit based on 2000 characters back from indent-point.
10456 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10458 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10460 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10462 * emacs-lisp/lisp.el: Use lexical-binding.
10463 (lisp--local-variables-1, lisp--local-variables): New functions.
10464 (lisp--local-variables-completion-table): New var.
10465 (lisp-completion-at-point): Use it complete let-bound vars.
10467 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10468 eagerly (bug#14422).
10470 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10472 * autorevert.el (auto-revert-notify-enabled)
10473 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10474 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10475 (auto-revert-notify-handler): Handle also gfilenotify.
10477 * subr.el (file-notify-handle-event): New defun. Replacing ...
10478 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10481 2013-06-03 Juri Linkov <juri@jurta.org>
10483 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10484 `M-s h .'. (Bug#14427)
10486 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10487 command `hi-lock-face-symbol-at-point'.
10488 (hi-lock-face-symbol-at-point): New command.
10489 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10490 (hi-lock-menu): Add `highlight-symbol-at-point'.
10491 (hi-lock-mode): Doc fix.
10493 * isearch.el (isearch-forward-symbol-at-point): New command.
10494 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10495 (isearch-highlight-regexp): Add a regexp which matches
10496 words/symbols for word/symbol mode.
10498 * subr.el (find-tag-default-bounds): New function with the body
10499 mostly moved from `find-tag-default'.
10500 (find-tag-default): Move most code to `find-tag-default-bounds',
10501 call it and apply `buffer-substring-no-properties' afterwards.
10503 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10505 * eshell/em-term.el (eshell-term-initialize):
10506 Use `cl-intersection' rather than `intersection'.
10508 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10510 * vc/log-view.el: Doc fix.
10511 (log-view-mode-map): Copy keymap from `special-mode-map'.
10513 2013-06-02 Eric Ludlam <zappo@gnu.org>
10515 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10516 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10517 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10518 (eieio-unbound, eieio-default-superclass)
10519 (eieio--define-field-accessors, method-static, method-before)
10520 (method-primary, method-after, method-num-lists)
10521 (method-generic-before, method-generic-primary)
10522 (method-generic-after, method-num-slots)
10523 (eieio-specialized-key-to-generic-key)
10524 (eieio--check-type, class-v, class-p)
10525 (eieio-class-name, define-obsolete-function-alias)
10526 (eieio-class-parents-fast, eieio-class-children-fast)
10527 (same-class-fast-p, class-constructor, generic-p)
10528 (generic-primary-only-p, generic-primary-only-one-p)
10529 (class-option-assoc, class-option, eieio-object-p)
10530 (class-abstract-p, class-method-invocation-order)
10531 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10532 (eieio-class-un-autoload, eieio-defclass)
10533 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10534 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10535 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10536 (eieio-defgeneric-reset-generic-form)
10537 (eieio-defgeneric-form-primary-only)
10538 (eieio-defgeneric-reset-generic-form-primary-only)
10539 (eieio-defgeneric-form-primary-only-one)
10540 (eieio-defgeneric-reset-generic-form-primary-only-one)
10541 (eieio-unbind-method-implementations)
10542 (eieio--defmethod, eieio--typep)
10543 (eieio-perform-slot-validation, eieio-validate-slot-value)
10544 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10545 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10546 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10547 (eieio-slot-name-index, eieio-class-slot-name-index)
10548 (eieio-set-defaults, eieio-initarg-to-attribute)
10549 (eieio-attribute-to-initarg, eieio-c3-candidate)
10550 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10551 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10552 (eieio-class-precedence-list, eieio-generic-call-methodname)
10553 (eieio-generic-call-arglst, eieio-generic-call-key)
10554 (eieio-generic-call-next-method-list)
10555 (eieio-pre-method-execution-functions, eieio-generic-call)
10556 (eieio-generic-call-primary-only, eieiomt-method-list)
10557 (eieiomt-optimizing-obarray, eieiomt-install)
10558 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10559 (eieio-generic-form, eieio-defmethod, make-obsolete)
10560 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10561 (defclass): Remove `eval-and-compile' from macro.
10562 (call-next-method, shared-initialize): Instead of using
10563 `scoped-class' variable, use new eieio--scoped-class, and
10564 eieio--with-scoped-class.
10565 (initialize-instance): Rename local variable 'scoped-class' to
10566 'this-class' to remove ambiguitity from old global.
10568 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10570 (eieio--scoped-class-stack): New variable.
10571 (eieio--scoped-class): New fcn.
10572 (eieio--with-scoped-class): New scoping macro.
10573 (eieio-defclass): Use pushnew instead of add-to-list.
10574 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10575 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10576 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10577 `scoped-class' variable, use new eieio--scoped-class, and
10578 eieio--with-scoped-class.
10580 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10582 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10584 * eshell/esh-ext.el (eshell-external-command): Pass args to
10585 `eshell-find-interpreter'.
10586 (eshell-find-interpreter): Add new second parameter ARGS.
10588 * eshell/em-script.el (eshell-script-initialize): Add second arg
10589 to the function added as MATCH to `eshell-interpreter-alist'.
10591 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10592 the function added as MATCH to `eshell-interpreter-alist'.
10594 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10595 (eshell-visual-options): New defcustom.
10596 (eshell-escape-control-x): Adapt docstring.
10597 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10598 `eshell-visual-options' in addition to `eshell-visual-commands'.
10599 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10601 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10603 * progmodes/python.el (python-indent-block-enders): Add break,
10604 continue and raise keywords.
10606 2013-06-01 Glenn Morris <rgm@gnu.org>
10608 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10610 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10611 * progmodes/cc-cmds.el (delete-forward-p):
10612 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10613 * progmodes/cc-engine.el (buffer-syntactic-context):
10614 * progmodes/cc-fonts.el (face-property-instance):
10615 * progmodes/cc-mode.el (set-keymap-parents):
10616 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10617 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10618 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10619 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10620 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10622 * progmodes/cc-vars.el (other): Emacs has this widget since
10623 at least 21.1, so don't (re)define it.
10625 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10626 Replace the obsolete alias pcomplete-arg-quote-list.
10628 2013-06-01 Leo Liu <sdl.web@gmail.com>
10630 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10631 punctuation syntax.
10632 (inferior-octave-minimal-columns)
10633 (inferior-octave-last-column-width): New variables.
10634 (inferior-octave-track-window-width-change): New function.
10635 (inferior-octave-mode): Adjust column width so that Octave output,
10636 for example from 'ls', can fit into the window nicely.
10638 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10640 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10641 Highlight expansions inside regexp literals.
10643 2013-05-31 Glenn Morris <rgm@gnu.org>
10645 * obsolete/sym-comp.el (symbol-complete):
10646 Replace obsolete completion-annotate-function.
10648 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10650 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10652 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10653 New function, checks if point is inside a literal that allows
10654 expression expansion.
10655 (ruby-syntax-propertize-expansion): Use it.
10656 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10659 2013-05-30 Juri Linkov <juri@jurta.org>
10661 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10663 (isearch-invisible): New variable.
10664 (isearch-forward): Doc fix.
10665 (isearch-mode): Set `isearch-invisible'
10666 to the value of `search-invisible'.
10667 (isearch-toggle-case-fold): Doc fix.
10668 (isearch-toggle-invisible): New command.
10669 (isearch-query-replace): Let-bind `search-invisible'
10670 to the value of `isearch-invisible'.
10671 (isearch-search): Use `isearch-invisible' instead of
10672 `search-invisible'. Let-bind `search-invisible'
10673 to the value of `isearch-invisible'. (Bug#11378)
10675 2013-05-30 Juri Linkov <juri@jurta.org>
10677 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10678 call when `query-flag' is nil and `search-invisible' is non-nil.
10681 2013-05-30 Glenn Morris <rgm@gnu.org>
10683 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10685 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10686 (cc-require): Suppress spurious "noruntime" warnings.
10687 (cc-require-when-compile): Use fboundp, for sake of compiler.
10689 * progmodes/cc-mode.el: Move load of cc-vars before that of
10690 cc-langs (which in turn loads cc-vars), to quieten compiler.
10692 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10694 * paren.el: Simplify the code.
10695 (show-paren-mode): Always start the timer.
10696 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10697 (show-paren--overlay, show-paren--overlay-1): Rename from
10698 show-paren-overlay and show-paren-overlay-1, and initialize to an
10699 overlay rather than to nil.
10700 (show-paren-function): Misc cleanup and simplifications.
10702 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10704 * paren.el (show-paren-data-function): New hook.
10705 (show-paren--default): New function, extracted from show-paren-function.
10706 (show-paren-function): Use show-paren-data-function.
10708 2013-05-30 Glenn Morris <rgm@gnu.org>
10710 * ielm.el (ielm-map, ielm-complete-symbol):
10711 Use completion-at-point rather than obsolete functions.
10712 (inferior-emacs-lisp-mode): Doc fix.
10713 Set completion-at-point-functions, rather than
10714 comint-dynamic-complete-functions.
10716 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10717 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10718 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10720 * image.el (image-animated-p): Tweak definition.
10722 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10723 (rlogin-process-connection-type): Tweak default. Add set-after.
10724 (rlogin-host): Doc fix.
10725 (rlogin): Tweak prompt.
10726 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10728 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10729 * progmodes/tcl.el (inferior-tcl-mode-map):
10730 Use completion-at-point rather than obsolete alias.
10732 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10734 * minibuffer.el (read-file-name-completion-ignore-case):
10735 Move before completion--in-region, for eager macro expansion.
10737 2013-05-29 Juri Linkov <juri@jurta.org>
10739 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10740 for total count of matching lines. Add `global-matches' for total
10741 count of matches. Rename `matches' to `lines' for count of
10742 matching lines. Add `matches' for count of matches.
10743 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10744 to `prev-line' for line number of prev match endpt.
10745 Increment `matches' for every match. Print the number of
10746 matching lines in the header.
10747 (occur-context-lines): Rename `lines' to `curr-line'.
10748 Rename `prev-lines' to `prev-line'. (Bug#14017)
10750 2013-05-29 Juri Linkov <juri@jurta.org>
10752 * replace.el (perform-replace): Add `skip-read-only-count',
10753 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10754 Increment them for corresponding conditions and report the number
10755 of skipped occurrences in the final message. (Bug#11746)
10756 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10757 (replace-string, replace-regexp): Doc fix.
10759 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10761 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10763 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10764 prog-mode-map (bug#14504).
10766 2013-05-29 Leo Liu <sdl.web@gmail.com>
10768 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10769 (octave-help): Small simplification.
10771 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10772 off the highlight first.
10774 2013-05-29 Glenn Morris <rgm@gnu.org>
10776 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10777 Handle idlwave-last-system-routine-info-cons-cell being nil.
10779 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10780 (idlwave-write-paths): Simplify via with-temp-buffer.
10782 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10783 * emulation/cua-rect.el: Also load cua-base at run time.
10785 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10786 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10787 (cperl-imenu-on-info): Require imenu.
10789 2013-05-28 Alan Mackenzie <acm@muc.de>
10791 Handle "capitalised keywords" correctly.
10792 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10794 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10796 * eshell/em-unix.el: Add -r option to cp.
10798 2013-05-28 Glenn Morris <rgm@gnu.org>
10800 * vc/vc-arch.el (vc-exec-after): Declare.
10801 (vc-switches): Autoload.
10802 * vc/vc-bzr.el: No need to require vc when compiling.
10803 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10804 (vc-resynch-buffer, vc-dir-refresh): Declare.
10805 (vc-setup-buffer, vc-switches): Autoload.
10806 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10807 (vc-resynch-buffer): Declare.
10808 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10809 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10810 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10811 (grep-read-regexp, grep-read-files, grep-expand-template)
10812 (vc-dir-refresh): Declare.
10813 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10814 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10815 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10816 * vc/vc-mtn.el (vc-exec-after): Declare.
10817 (vc-switches): Autoload.
10818 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10819 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10820 (vc-file-tree-walk): Declare.
10821 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10822 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10823 (vc-tag-precondition, vc-rename-master): Autoload.
10824 * vc/vc-svn.el (vc-exec-after): Declare.
10825 (vc-switches, vc-setup-buffer): Autoload.
10826 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10828 (vc-resynch-buffer): Declare.
10830 * obsolete/fast-lock.el (byte-compile-warnings):
10831 Don't warn about obsolete features in this obsolete file.
10833 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10834 Move definition before use.
10836 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10837 (dun-unix-verbs): Remove dun-zippy.
10838 (dun-zippy): Remove function.
10840 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10842 2013-05-27 Juri Linkov <juri@jurta.org>
10844 * replace.el (replace-search): New function with code moved out
10845 from `perform-replace'.
10846 (replace-highlight, replace-dehighlight): Move function definitions
10847 up closer to `replace-search'. (Bug#11746)
10849 2013-05-27 Juri Linkov <juri@jurta.org>
10851 * replace.el (perform-replace): Ignore invisible matches.
10852 In addition to checking `query-replace-skip-read-only', also
10853 filter out matches by calling `run-hook-with-args-until-failure'
10854 on `isearch-filter-predicates', and also check `search-invisible'
10855 for t or call `isearch-range-invisible'.
10856 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10858 2013-05-27 Juri Linkov <juri@jurta.org>
10860 * isearch.el (isearch-filter-predicates): Rename from
10861 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10862 (isearch-message-prefix): Display text from the property
10863 `isearch-message-prefix' of the currently active filters.
10864 (isearch-search): Don't compare `isearch-filter-predicate' with
10865 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10866 on `isearch-filter-predicates'. Also check `search-invisible' for t
10867 or call `isearch-range-invisible'.
10868 (isearch-filter-visible): Make obsolete.
10869 (isearch-lazy-highlight-search):
10870 Call `run-hook-with-args-until-failure' on
10871 `isearch-filter-predicates' and use `isearch-range-invisible'.
10873 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10874 `isearch-filter-predicates' instead of `funcall'ing
10875 `isearch-filter-predicate'.
10876 (Info-mode): Set `Info-isearch-filter' to
10877 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10879 * dired-aux.el (dired-isearch-filter-predicate-orig):
10881 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10882 (dired-isearch-filenames-end): Add and remove
10883 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10884 instead of changing the value of `isearch-filter-predicate'.
10885 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10886 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10887 Put property `isearch-message-prefix' to "filename " on
10888 `dired-isearch-filter-filenames'.
10890 * wdired.el (wdired-change-to-wdired-mode):
10891 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10892 locally instead of changing `isearch-filter-predicate'.
10893 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10895 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10897 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10898 return the commit hash (Bug#14459). Also set the
10899 `vc-git-detached' property.
10900 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10901 (vc-git-mode-line-string): Use the same help-echo format whether
10902 in detached mode or not, because we know the actual revision now.
10903 When in detached mode, shorten the revision to 7 chars.
10905 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10907 * emacs-lisp/easy-mmode.el (define-minor-mode):
10908 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10909 mode hook and provide a docstring.
10911 2013-05-27 Alan Mackenzie <acm@muc.de>
10913 Remove spurious syntax-table text properties inserted by C-y.
10914 * progmodes/cc-mode.el (c-after-change): Also clear hard
10915 syntax-table property with value nil.
10917 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10919 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10920 when reading the events; the buffer layout shall not be changed.
10922 2013-05-27 Leo Liu <sdl.web@gmail.com>
10924 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10926 (inferior-octave-directory-tracker): Automatically re-sync
10928 (octave-help): Improve handling of 'See also'.
10930 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10932 * doc-view.el: Minor naming convention tweaks.
10933 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10935 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10936 even if there's no `display' property yet (bug#14435).
10938 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10940 * subr.el (unmsys--file-name): Rename from reveal-filename.
10942 * Makefile.in (custom-deps, finder-data, autoloads)
10943 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10944 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10945 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10947 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10949 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10950 error-completion on the first 2 args of condition-case (bug#14446).
10953 2013-05-25 Leo Liu <sdl.web@gmail.com>
10955 * comint.el (comint-previous-matching-input): Do not flood the
10956 *Messages* buffer with trivial messages.
10958 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10960 * progmodes/flymake.el (flymake-nop): Don't return a string.
10961 (flymake-set-at): Fix typo.
10963 * simple.el (read--expression): New function, extracted from
10964 eval-expression. Set completion-at-point-functions (bug#14465).
10965 (eval-expression, eval-minibuffer): Use it.
10967 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10969 * progmodes/flymake.el (flymake-save-buffer-in-file)
10970 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10971 (flymake-selected-frame, flymake-log, flymake-ins-after)
10972 (flymake-set-at, flymake-get-buildfile-from-cache)
10973 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10974 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10975 Refine the doc string.
10976 (flymake-get-file-name-mode-and-masks): Reformat.
10977 (flymake-get-real-file-name-function): Fix a minor bug.
10979 2013-05-24 Juri Linkov <juri@jurta.org>
10981 * progmodes/grep.el (grep-mode-font-lock-keywords):
10982 Support =linenumber= format used by git-grep for lines with
10983 function names. (Bug#13549)
10985 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10987 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10988 0 after a semi-colon; it works better for smie-auto-fill.
10989 (octave--indent-new-comment-line): New function.
10990 (octave-indent-new-comment-line): Use it (indirectly).
10991 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10992 modify comment-line-break-function.
10994 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10995 (smie-setup): Use add-function to set it.
10997 2013-05-24 Sam Steingold <sds@gnu.org>
10999 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11000 argument (before the `interactive' argument).
11002 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11004 * image-mode.el (image-mode-winprops): Add winprops to
11005 image-mode-winprops-alist before running
11006 image-mode-new-window-functions.
11007 * doc-view.el (doc-view-new-window-function): Don't delay
11008 doc-view-goto-page via timers (bug#14435).
11010 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11012 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11013 (doc-view-desktop-save-buffer): New function.
11014 (doc-view-restore-desktop-buffer): New function.
11015 (desktop-buffer-mode-handlers):
11016 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11018 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11019 `desktop-save-buffer' function.
11021 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11023 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11024 (tramp-gvfs-file-name-handler): Raise a user error when
11025 `tramp-gvfs-enabled' is nil.
11026 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11027 Do not raise a user error when loading package. (Bug#14447)
11029 * net/xesam.el: Move to obsolete/.
11031 2013-05-24 Glenn Morris <rgm@gnu.org>
11033 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11035 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11037 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11038 (Info-find-node, Man-getpage-in-background): Declare.
11040 * mail/unrmail.el (unrmail):
11041 Replace obsolete detect-coding-with-priority.
11043 * net/socks.el (socks-split-string): Use this rather than split-string.
11044 (socks-nslookup-host): Update for above change.
11045 (dynamic-choice, s5-dynamic-choice-match)
11046 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11047 Comment out unused code.
11049 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11050 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11051 (gud-tooltip-echo-area): Make obsolete.
11052 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11054 * progmodes/js.el (js--optimize-arglist): Declare.
11056 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11058 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11059 (ediff-window-C): Declare.
11061 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11062 Tweak requires to silence compiler.
11064 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11065 (he-search-string, he-tried-table, he-expand-list)
11066 (he-init-string, he-string-member, he-substitute-string)
11067 (he-reset-string): Declare.
11069 * obsolete/options.el (list-options): Use custom-variable-p,
11070 rather than obsolete alias.
11072 2013-05-23 Sam Steingold <sds@gnu.org>
11074 * simple.el (shell-command-on-region): Pass the `replace' argument
11075 down to `call-process-region' to comply with the doc as reported on
11076 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11078 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11080 * emacs-lisp/smie.el (smie-indent-forward-token)
11081 (smie-indent-backward-token): Handle string tokens (bug#14381).
11083 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11085 * ielm.el (ielm-menu): New menu.
11086 (inferior-emacs-lisp-mode): Set comment-start.
11088 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11090 * textmodes/reftex.el (reftex-ref-style-toggle):
11091 Fix deactivate action.
11093 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11094 Add cleveref macros.
11096 * textmodes/reftex-parse.el
11097 (reftex-locate-bibliography-files): Accept options for
11098 bibliography commands.
11099 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11100 Add addbibresource. Basic Biblatex support.
11102 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11104 * net/tramp-gvfs.el (top):
11105 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11106 when loading package. (Bug#14447)
11108 2013-05-23 Glenn Morris <rgm@gnu.org>
11110 * progmodes/js.el: No need to load comint when compiling.
11111 (ring-insert, comint-send-string, comint-send-input)
11112 (comint-last-input-end, ido-chop): Declare.
11114 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11115 * vc/ediff-mult.el: Adjust requires.
11116 (ediff-directories-internal, ediff-directory-revisions-internal)
11117 (ediff-patch-file-internal): Declare.
11118 * vc/ediff-ptch.el: Adjust requires.
11119 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11120 (ediff-find-file): Autoload.
11121 * vc/ediff-util.el: No need to load ediff when compiling.
11122 (ediff-regions-internal): Declare.
11123 * vc/ediff-wind.el: Adjust requires.
11124 (ediff-compute-toolbar-width): Define when compiling.
11125 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11126 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11127 (dired-get-filename, dired-get-marked-files)
11128 (ediff-last-dir-patch, ediff-patch-default-directory)
11129 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11130 (ediff-patch-buffer-internal): Declare.
11132 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11133 (ispell-process, ispell-buffer-local-words, lm-summary)
11134 (lm-section-start, lm-section-end): Declare.
11135 (checkdoc-ispell-init): Simplify.
11137 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11138 (he-string-member, he-reset-string, he-substitute-string): Declare.
11140 * eshell/em-ls.el: Adjust requires.
11141 (eshell-glob-regexp): Declare.
11142 * eshell/em-tramp.el: Adjust requires.
11143 (eshell-parse-command): Autoload.
11144 * eshell/em-xtra.el: Adjust requires.
11145 (eshell-parse-command): Autoload.
11146 * eshell/esh-ext.el: Adjust requires.
11147 (eshell-parse-command, eshell-close-handles): Autoload.
11148 * eshell/esh-io.el: Adjust requires.
11149 (eshell-output-filter): Autoload.
11150 * eshell/esh-util.el: No need to load tramp when compiling.
11151 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11153 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11154 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11155 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11156 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11157 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11158 * eshell/esh-opt.el, eshell/esh-proc.el:
11159 * eshell/esh-var.el: Adjust requires.
11160 * eshell/eshell.el: Do not require esh-util twice.
11161 (eshell-add-input-to-history): Declare.
11162 (eshell-command): Check history module is active before using it.
11164 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11166 2013-05-22 Leo Liu <sdl.web@gmail.com>
11168 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11170 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11172 * autorevert.el (auto-revert-notify-add-watch)
11173 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11174 it indicates changes in file modification time.
11176 2013-05-22 Glenn Morris <rgm@gnu.org>
11178 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11179 Always delete the autoloaded function from the noruntime and
11180 unresolved functions lists.
11182 * allout.el: No need to load epa, epg, overlay when compiling.
11183 (epg-context-set-passphrase-callback, epg-list-keys)
11184 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11185 (epg-key-user-id-list): Declare.
11187 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11188 (viper-set-parsing-style-toggling-macro)
11189 (viper-set-emacs-state-searchstyle-macros):
11190 Use called-interactively-p on Emacs.
11191 (viper-looking-back): Make it an obsolete alias. Update callers.
11192 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11193 Use looking-back rather than viper-looking-back.
11194 (viper-tmp-insert-at-eob, viper-enlarge-region)
11195 (viper-read-string-with-history, viper-register-to-point)
11196 (viper-append-to-register, viper-change-state-to-vi)
11197 (viper-backward-char-carefully, viper-forward-char-carefully)
11198 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11199 (viper-change-state-to-emacs): Declare.
11200 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11201 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11202 * emulation/viper-mous.el: Do not load viper-cmd.
11203 (viper-backward-char-carefully, viper-forward-char-carefully)
11204 (viper-forward-word, viper-adjust-window): Declare.
11206 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11208 * progmodes/idlw-help.el (idlwave-help-fontify):
11209 Use called-interactively-p.
11211 * term/w32console.el (w32-get-console-codepage)
11212 (w32-get-console-output-codepage): Declare.
11214 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11215 Remove unnecessary declarations.
11216 (dframe-message): Doc fix.
11218 * info.el (dframe-select-attached-frame, dframe-current-frame):
11221 * speedbar.el (speedbar-message): Make it an obsolete alias.
11222 Update all callers.
11223 (speedbar-with-attached-buffer)
11224 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11225 (speedbar-with-writable): Use backquote.
11226 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11227 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11228 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11229 rather than speedbar- aliases.
11230 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11231 (speedbar-make-specialized-keymap, speedbar-insert-button)
11232 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11233 (speedbar-do-function-pointer): Declare.
11234 (rmail-speedbar-button, rmail-speedbar-find-file)
11235 (rmail-speedbar-move-message):
11236 Use dframe-with-attached-buffer rather than speedbar- alias.
11237 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11238 (dframe-message, speedbar-make-specialized-keymap)
11239 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11240 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11241 (speedbar-insert-button, dframe-select-attached-frame)
11242 (dframe-maybee-jump-to-attached-frame)
11243 (speedbar-change-initial-expansion-list)
11244 (speedbar-previously-used-expansion-list-name): Declare.
11245 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11246 Use dframe-message, dframe-with-attached-buffer rather than
11248 (gud-sentinel): Silence compiler.
11249 * progmodes/vhdl-mode.el (speedbar-refresh)
11250 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11251 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11252 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11253 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11254 (speedbar-file-lists, speedbar-make-tag-line)
11255 (speedbar-line-directory, speedbar-goto-this-file)
11256 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11257 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11258 (speedbar-make-button, speedbar-reset-scanners)
11259 (speedbar-files-item-info, speedbar-line-text)
11260 (speedbar-find-file-in-frame, speedbar-set-timer)
11261 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11262 (speedbar-with-writable): Do not (re)define it.
11263 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11264 rather than speedbar- alias.
11266 2013-05-21 Leo Liu <sdl.web@gmail.com>
11268 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11270 (octave-mode): Tweak fill-nobreak-predicate.
11271 (inferior-octave-startup): Check process to avoid infinite loop.
11272 (inferior-octave): Pop to buffer first to show abornmal process
11275 2013-05-21 Glenn Morris <rgm@gnu.org>
11277 * printing.el (pr-menu-bar): Define when compiling.
11279 2013-05-21 Leo Liu <sdl.web@gmail.com>
11281 * progmodes/octave.el (octave-auto-fill): Remove.
11282 (octave-indent-new-comment-line): Improve.
11283 (octave-mode): Use auto fill mode through
11284 comment-line-break-function and fill-nobreak-predicate.
11285 (octave-goto-function-definition): Support DEFUN_DLD.
11286 (octave-beginning-of-defun): Small tweak.
11287 (octave-help): Show parent directory.
11289 2013-05-21 Glenn Morris <rgm@gnu.org>
11291 * files.el (dired-unmark):
11292 * progmodes/gud.el (gdb-input): Update declarations.
11294 * calculator.el (electric, ehelp): No need to load when compiling.
11295 (Electric-command-loop, electric-describe-mode): Declare.
11297 * doc-view.el (doc-view-current-converter-processes): Move before use.
11299 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11300 Move MODE-set-explicitly definition before use.
11302 * international/mule-diag.el (mule-diag):
11303 Don't use obsolete window-system-version.
11305 * mail/feedmail.el (smtpmail): No need to load when compiling.
11306 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11308 * mail/mail-utils.el (rfc822): No need to load when compiling.
11309 (rfc822-addresses): Autoload it.
11310 (mail-strip-quoted-names): Trivial simplification.
11312 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11313 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11315 * net/snmp-mode.el (tempo): Don't duplicate requires.
11317 * progmodes/prolog.el (info): No need to load when compiling.
11318 (comint): Require before shell requires it.
11319 (Info-goto-node): Autoload it.
11320 (Info-follow-nearest-node): Declare.
11321 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11323 * textmodes/artist.el (picture-mode-exit): Declare.
11325 * textmodes/reftex-parse.el (reftex-parse-from-file):
11326 Trivial rewrite so the compiler can parse it better.
11328 2013-05-20 Leo Liu <sdl.web@gmail.com>
11330 * progmodes/octave.el (octave-help-mode-map)
11331 (octave-help-mode-finish-hook): New variables.
11332 (octave-help-mode, octave-help-mode-finish): New functions.
11333 (octave-help): Use octave-help-mode.
11335 2013-05-20 Glenn Morris <rgm@gnu.org>
11337 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11339 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11341 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11342 start at point, so that expansion starting right after opening
11343 slash in a regexp is recognized.
11344 (ruby-syntax-before-regexp-re): New defvar, extracted from
11345 ruby-syntax-propertize-function. Since the value of this regexp
11346 is looked up at runtime now, we should be able to turn
11347 `ruby-syntax-methods-before-regexp' into a defcustom later.
11348 (ruby-syntax-propertize-function): Split regexp matching into two
11349 parts, for opening and closing slashes. That allows us to skip
11350 over string interpolations and support multiline regexps.
11351 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11352 for them, which calls `ruby-syntax-propertize-expansion'.
11353 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11354 call to `ruby-syntax-propertize-function'.
11355 (ruby-syntax-propertize-expansion): Extracted from
11356 `ruby-syntax-propertize-expansions'. Handles one expansion.
11357 (ruby-syntax-propertize-percent-literal): Leave point right after
11358 the percent symbol, so that the expression expansion rule can
11359 propertize the contents.
11360 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11362 (ruby-syntax-propertize-expansions): Remove.
11364 2013-05-18 Juri Linkov <juri@jurta.org>
11366 * man.el (Man-default-man-entry): Remove `-' from the end
11367 of the default value. (Bug#14400)
11369 2013-05-18 Glenn Morris <rgm@gnu.org>
11371 * comint.el (comint-password-prompt-regexp):
11372 Allow "password for XXX" where XXX contains colons (eg https://...).
11374 2013-05-18 Leo Liu <sdl.web@gmail.com>
11376 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11377 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11378 (octave-source-directories): Don't check process.
11379 (octave-source-directories, octave-find-definition): Doc fix.
11381 2013-05-18 Glenn Morris <rgm@gnu.org>
11383 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11384 Remove backspace/delete bindings. (Bug#14392)
11386 * cus-dep.el (custom-make-dependencies): Sort the output.
11387 (custom-versions-load-alist): Convert comment to doc.
11389 2013-05-17 Leo Liu <sdl.web@gmail.com>
11391 * newcomment.el (comment-search-backward): Stricter in finding
11392 comment start. (Bug#14303)
11394 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11395 (octave-comment-start-skip): Properly anchored.
11397 2013-05-17 Leo Liu <sdl.web@gmail.com>
11399 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11400 Clean up when turned off. (Bug#14395)
11401 (smie--highlight-matching-block-overlay): No longer buffer-local.
11402 (smie-highlight-matching-block): Adjust.
11404 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11406 Doc string fix for "nanoseconds" (Bug#14406).
11407 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11408 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11410 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11412 * calc/calc-units.el (math-extract-units): Preserve powers
11415 2013-05-17 Leo Liu <sdl.web@gmail.com>
11417 * subr.el (delete-consecutive-dups): New function.
11418 * ido.el (ido-set-matches-1): Use it.
11419 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11420 * ido.el (ido-remove-consecutive-dups): Remove.
11422 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11424 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11425 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11426 regexp-opt's `words'.
11428 2013-05-16 Leo Liu <sdl.web@gmail.com>
11430 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11431 (smie--highlight-matching-block-overlay)
11432 (smie--highlight-matching-block-lastpos)
11433 (smie--highlight-matching-block-timer): New variables.
11434 (smie-highlight-matching-block): New function.
11435 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11436 (smie-setup): Conditionally enable smie-blink-matching-open.
11438 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11440 Sync with upstream verilog-mode r840.
11441 * progmodes/verilog-mode.el (verilog-mode-version)
11442 (verilog-mode-release-date): Update.
11443 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11444 (verilog-sig-tieoff): Fix string error on
11445 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11446 (verilog-read-decls): Fix parameters confusing
11447 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11449 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11451 * subr.el (reveal-filename): New function.
11453 * loadup.el: Compute Emacs executable versions on MS-Windows,
11454 where executables have the .exe extension. Add a hard link
11455 emacs-XX.YY.ZZ.exe on MS-Windows.
11457 * Makefile.in (XARGS_LIMIT): New variable.
11458 (custom-deps, finder-data, autoloads)
11459 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11460 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11461 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11462 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11464 2013-05-16 Leo Liu <sdl.web@gmail.com>
11466 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11467 (octave-mode-menu, octave-mode-map): Remove its uses.
11469 2013-05-16 Reto Zimmermann <reto@gnu.org>
11471 Sync with upstream vhdl mode v3.34.2.
11472 * progmodes/vhdl-mode.el: Use `push' throughout.
11473 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11474 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11475 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11476 (vhdl-actual-generic-name): New option to derive actual generic name.
11477 (vhdl-port-paste-signals): Replace formal by actual generics.
11478 (vhdl-beautify): New name for old group vhdl-align. Update users.
11479 (vhdl-beautify-options): New option.
11480 (vhdl-last-input-event): New compat alias. Use throughout.
11481 (vhdl-goto-line): Replace user level function `goto-line'.
11482 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11483 vhdl-fix-statement-buffer.
11484 (vhdl-create-mode-menu): Add some entries.
11485 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11486 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11487 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11488 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11489 to force statements on one line.
11490 (vhdl-remove-trailing-spaces-region):
11491 New, split from vhdl-remove-trailing-spaces.
11492 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11493 Respect vhdl-beautify-options.
11494 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11495 (vhdl-update-sensitivity-list): Not add with index if exists without.
11496 Not include array index with signal. Ignore keywords in comments.
11497 (vhdl-get-visible-signals): Regexp tweaks.
11498 (vhdl-template-component-inst): Handle empty library.
11499 (vhdl-template-type): Add template for 'enum' type.
11500 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11501 Use vhdl-replace-string.
11502 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11503 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11504 (vhdl-speedbar-initialize): Update for above name change.
11505 (vhdl-compose-wire-components): Fix in handling of constants.
11506 (vhdl-error-regexp-emacs-alist): New variable.
11507 (vhdl-error-regexp-add-emacs): New function;
11508 adds support for new compile.el (Emacs 22+)
11509 (vhdl-generate-makefile-1): Change target order for single lib. units.
11510 Allow use of absolute file names.
11512 2013-05-16 Leo Liu <sdl.web@gmail.com>
11514 * simple.el (prog-indent-sexp): Indent enclosing defun.
11516 2013-05-15 Glenn Morris <rgm@gnu.org>
11518 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11519 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11520 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11521 (whitespace-highlight): Move to whitespace group.
11523 * comint.el (comint-source):
11524 * pcmpl-linux.el (pcmpl-linux):
11525 * shell.el (shell-faces):
11526 * eshell/esh-opt.el (eshell-opt):
11527 * international/ccl.el (ccl): Remove empty custom groups.
11529 * completion.el (dynamic-completion-mode):
11530 * jit-lock.el (jit-lock-debug-mode):
11531 * minibuffer.el (completion-in-region-mode):
11532 * type-break.el (type-break-mode-line-message-mode)
11533 (type-break-query-mode):
11534 * emulation/tpu-edt.el (tpu-edt-mode):
11535 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11536 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11537 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11539 * term/xterm.el (xterm): Change parent group to terminals.
11541 * master.el (master): Remove empty custom group.
11542 (master-mode): Remove unused :group argument.
11543 * textmodes/refill.el (refill): Remove empty custom group.
11544 (refill-mode): Remove unused :group argument.
11546 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11548 * cus-dep.el: Provide a feature.
11549 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11550 Don't mistakenly ignore files whose basenames match a basename
11551 from preloaded-file-list (eg cedet/ede/simple.el).
11552 Add a fallback method for getting :group.
11554 2013-05-15 Juri Linkov <juri@jurta.org>
11556 * isearch.el (isearch-char-by-name): Rename from
11557 `isearch-insert-char-by-name'. Doc fix.
11558 (isearch-forward): Mention `isearch-char-by-name' in
11559 the docstring. (Bug#13348)
11561 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11562 `exit-minibuffer' instead of
11563 `isearch-nonincremental-exit-minibuffer'.
11564 (isearch-edit-string): Remove mention of
11565 `isearch-nonincremental-exit-minibuffer' from docstring.
11566 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11567 (isearch-forward-exit-minibuffer)
11568 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11570 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11572 * loadup.el: Just use unversioned DOC.
11574 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11575 literals as extending to EOB.
11576 (nxml-last-fontify-end): Remove unused variable.
11577 (nxml-after-change1): Use with-silent-modifications.
11578 (nxml-extend-after-change-region): Simplify.
11579 (nxml-extend-after-change-region1): Remove function.
11580 (nxml-after-change1): Don't adjust for dependent regions.
11581 (nxml-fontify-matcher): Simplify.
11582 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11583 (xmltok-add-dependent): Remove function.
11584 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11585 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11586 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11587 unclosed <[[, <?, comment, and other literals as extending to EOB.
11588 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11589 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11591 (rng-do-some-validation-1): Don't mark dependent regions.
11592 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11593 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11594 (nxml-clear-dependent-regions): Remove functions.
11595 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11596 (nxml-ensure-scan-up-to-date):
11597 Don't clear&mark dependent regions.
11599 2013-05-15 Leo Liu <sdl.web@gmail.com>
11601 * progmodes/octave.el (octave-goto-function-definition):
11602 Improve and fix callers.
11604 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11606 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11607 the setter (bug#14387).
11609 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11610 surrounding group (bug#14402).
11612 2013-05-14 Juri Linkov <juri@jurta.org>
11614 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11617 2013-05-14 Glenn Morris <rgm@gnu.org>
11619 * progmodes/f90.el (f90-imenu-generic-expression):
11620 Fix typo in 2013-05-08 change. (Bug#14402)
11622 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11624 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11625 Remove signals for which replies are never received.
11627 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11629 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11630 (gdb-handler-alist, gdb-handler-number): Remove variables.
11631 (gdb-handler-list): New variable.
11632 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11633 (gdb-pending-handler-p, gdb-handle-reply)
11634 (gdb-remove-all-pending-triggers): New functions.
11635 (gdb-discard-unordered-replies): New defcustom.
11636 (gdb-handler): New defstruct.
11637 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11638 instead of gdb-pending-triggers. Update docstring.
11639 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11640 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11641 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11642 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11643 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11644 (gdb-frame-handler): Pending triggers are now automatically managed.
11645 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11647 (gdb-input): Automatically handles pending triggers. Update docstring.
11648 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11649 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11651 (gdb-done-or-error): Now use gdb-handle-reply.
11653 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11655 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11658 2013-05-14 Glenn Morris <rgm@gnu.org>
11660 * subr.el (user-emacs-directory-warning): New option.
11661 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11663 2013-05-14 Leo Liu <sdl.web@gmail.com>
11665 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11667 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11668 (octave-font-lock-texinfo-comment): Fix invalid search bound
11669 error: wrong side of point.
11671 2013-05-14 Glenn Morris <rgm@gnu.org>
11673 * progmodes/flymake.el (flymake-xml-program): New option.
11674 (flymake-xml-init): Use it.
11676 * term/xterm.el: Provide a feature.
11678 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11680 2013-05-13 Glenn Morris <rgm@gnu.org>
11682 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11683 Add compat aliases as a hack workaround. (Bug#14384)
11685 2013-05-13 Leo Liu <sdl.web@gmail.com>
11687 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11689 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11691 (octave-comment-start-skip): Include %!.
11692 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11694 2013-05-12 Leo Liu <sdl.web@gmail.com>
11696 * progmodes/octave.el (inferior-octave-startup): Store the value
11697 of __octave_srcdir__ for octave-source-directories.
11698 (inferior-octave-check-process): New function refactored out of
11699 inferior-octave-send-list-and-digest.
11700 (octave-source-directories)
11701 (octave-find-definition-filename-function): New variables.
11702 (octave-source-directories)
11703 (octave-find-definition-default-filename): New functions.
11704 (octave-find-definition): Improve to find functions implemented in C++.
11706 2013-05-12 Glenn Morris <rgm@gnu.org>
11708 * calendar/diary-lib.el (diary-outlook-format-1):
11709 Don't include dayname in the output. (Bug#14349)
11711 2013-05-11 Glenn Morris <rgm@gnu.org>
11713 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11715 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11716 Treat cc-provide like provide.
11718 2013-05-11 Kevin Ryde <user42@zip.com.au>
11720 * cus-dep.el (custom-make-dependencies):
11721 Use generated-autoload-load-name for the sake of files such
11722 such cedet/semantic/bovine/c.el, where the base file name
11723 is not in load-path. (Bug#5277)
11725 2013-05-11 Glenn Morris <rgm@gnu.org>
11727 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11730 2013-05-11 Leo Liu <sdl.web@gmail.com>
11732 * progmodes/octave.el (octave-indent-comment): Improve.
11733 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11734 (octave-eldoc-function-signatures, octave-eldoc-function):
11736 (octave-mode, inferior-octave-mode): Add eldoc support.
11738 2013-05-11 Richard Stallman <rms@gnu.org>
11740 * epa.el (epa-decrypt-file): Take output file name as argument
11741 and read it using `interactive'.
11743 2013-05-11 Leo Liu <sdl.web@gmail.com>
11745 * progmodes/octave.el (octave-beginning-of-line)
11746 (octave-end-of-line): Check before using up-list because it jumps
11747 out of more syntactic contructs since moving to smie.
11748 (octave-indent-comment): New function.
11749 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11750 (octave-begin-keywords, octave-end-keywords)
11751 (octave-reserved-words, octave-smie-bnf-table)
11752 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11754 2013-05-11 Glenn Morris <rgm@gnu.org>
11756 * faces.el (internal-face-x-get-resource):
11757 * frame.el (ns-display-monitor-attributes-list):
11758 * calc/calc-aent.el (math-to-radians-2):
11759 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11762 * calc/calc-menu.el: Make it loadable in isolation.
11764 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11765 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11766 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11767 (eudc-bbdb-query-internal): Require 'bbdb.
11769 * lpr.el (lpr-headers-switches):
11770 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11772 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11774 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11776 * term.el (term-set-escape-char): Make it idempotent.
11778 2013-05-10 Leo Liu <sdl.web@gmail.com>
11780 * progmodes/octave.el (inferior-octave-completion-table):
11781 No longer a function and all uses changed. Use cache to speed up
11782 completion due to bug#11906.
11783 (octave-beginning-of-defun): Re-write to be more general.
11785 2013-05-10 Glenn Morris <rgm@gnu.org>
11787 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11789 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11791 * comint.el (comint-redirect-send-command-to-process): Use :around
11792 rather than :override for comint-redirect-filter.
11793 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11794 Call it instead of comint-redirect-original-filter-function (which
11795 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11797 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11799 * frame.el (display-monitor-attributes-list): Add NS case.
11800 (ns-display-monitor-attributes-list): Declare.
11802 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11804 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11806 2013-05-09 Glenn Morris <rgm@gnu.org>
11808 * international/fontset.el (vertical-centering-font-regexp):
11809 Set standard-value.
11811 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11813 * bookmark.el (bookmark-search-delay):
11814 * cus-start.el (vertical-centering-font-regexp):
11815 * ps-mule.el (ps-mule-font-info-database-default):
11816 * ps-print.el (ps-default-fg, ps-default-bg):
11817 * type-break.el (type-break-good-break-interval):
11818 * whitespace.el (whitespace-indentation-regexp)
11819 (whitespace-space-after-tab-regexp):
11820 * emacs-lisp/testcover.el (testcover-1value-functions)
11821 (testcover-noreturn-functions, testcover-progn-functions)
11822 (testcover-prog1-functions):
11823 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11824 * eshell/em-glob.el (eshell-glob-translate-alist):
11825 * play/tetris.el (tetris-tty-colors):
11826 * progmodes/cpp.el (cpp-face-default-list):
11827 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11828 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11829 (idlwave-help-browser-generic-args):
11830 * progmodes/make-mode.el (makefile-special-targets-list):
11831 * progmodes/python.el (python-shell-virtualenv-path):
11832 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11833 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11834 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11835 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11836 * textmodes/reftex-vars.el (reftex-format-label-function):
11837 * textmodes/remember.el (remember-diary-file): Fix custom types.
11839 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11842 2013-05-09 Leo Liu <sdl.web@gmail.com>
11844 * progmodes/octave.el (inferior-octave-completion-at-point):
11845 Restore file completion. (Bug#14300)
11846 (inferior-octave-startup): Fix incorrect highlighting for the
11849 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11851 * progmodes/ruby-mode.el: First cut at SMIE support.
11852 (ruby-use-smie): New var.
11853 (ruby-smie-grammar): New constant.
11854 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11855 (ruby-smie--forward-token, ruby-smie--backward-token)
11856 (ruby-smie-rules): New functions.
11857 (ruby-mode-variables): Setup SMIE if applicable.
11859 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11861 * simple.el (line-move-visual): Signal beginning/end of buffer
11862 only if vertical-motion moved less than it was requested. Avoids
11863 silly incorrect error messages when there are display strings with
11864 multiple newlines at EOL.
11866 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11868 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11869 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11870 (prolog-char-quote-workaround):
11871 * progmodes/cperl-mode.el (cperl-under-as-char):
11872 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11874 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11876 (vhdl-mode-syntax-table-init): Remove.
11878 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11881 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11883 (ld-script-font-lock-keywords):
11884 Change regexps to use things like \_< and \_>.
11886 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11887 Change all regexps to use things like \_< and \_>.
11889 * progmodes/autoconf.el (autoconf-definition-regexp)
11890 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11891 Handle a _ with symbol syntax.
11892 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11894 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11895 Consolidate declaration.
11896 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11898 (ada-create-syntax-table): Remove.
11899 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11900 already has the right syntax nowadays.
11901 (ada-goto-next-word): Don't change the syntax of "_".
11903 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11906 2013-05-08 Sam Steingold <sds@gnu.org>
11908 * thingatpt.el (thing-at-point): Accept optional second argument
11909 NO-PROPERTIES to strip the text properties from the return value.
11910 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11911 to `thing-at-point' instead of stripping the properties ourselves.
11912 Also, when `thing-at-point' fails to find a url, prepend "http://"
11913 to the filename at point on the assumption that the user is
11914 pointing at something like gnu.org/gnu.
11916 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11918 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11919 * faces.el (crm-separator):
11920 Silence byte-compiler.
11922 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11923 (tool-bar-map): Remove unneeded defvars.
11925 2013-05-08 Leo Liu <sdl.web@gmail.com>
11927 Re-work a fix for bug#10994 based on Le Wang's patch.
11928 * ido.el (ido-remove-consecutive-dups): New helper.
11929 (ido-completing-read): Use it.
11930 (ido-chop): Revert fix for bug#10994.
11932 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11934 * cus-edit.el (custom-save-variables):
11935 Pretty-print long values. (Bug#14187)
11937 2013-05-08 Glenn Morris <rgm@gnu.org>
11939 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11940 (m4-mode-syntax-table): Init in the defvar.
11941 (m4-mode-abbrev-table): Let define-derived-mode define it.
11943 2013-05-08 Tom Tromey <tromey@redhat.com>
11945 * progmodes/m4-mode.el (m4-mode-syntax-table):
11946 Do not treat "_" as word constituent. (Bug#14167)
11948 2013-05-07 Glenn Morris <rgm@gnu.org>
11950 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11951 Remove explicit eshell-isearch-cancel-map.
11953 * progmodes/f90.el (f90-smart-end-names): New option.
11954 (f90-smart-end): Doc fix.
11955 (f90-end-block-optional-name): New constant.
11956 (f90-block-match): Respect f90-smart-end-names.
11958 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11960 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11961 about implicit semi-colons (bug#14218).
11963 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11965 * frame.el (display-monitor-attributes-list)
11966 (frame-monitor-attributes): New functions.
11968 2013-05-06 Leo Liu <sdl.web@gmail.com>
11970 * progmodes/octave.el (octave-syntax-propertize-function): Change
11971 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11972 (octave-font-lock-keywords): Use octave-operator-regexp.
11973 (octave-completion-at-point): Rename from
11974 octave-completion-at-point-function.
11975 (inferior-octave-directory-tracker): Robustify.
11976 (octave-text-functions): Remove and fix its uses. No such things
11979 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11981 * emacs-lisp/trace.el (trace--display-buffer): New function.
11982 (trace-make-advice): Use it.
11984 2013-05-06 Juri Linkov <juri@jurta.org>
11986 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11987 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11989 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11990 in the help string. (Bug#12985)
11992 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11994 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11996 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11998 * progmodes/perl-mode.el: Add support for here documents.
11999 (perl-syntax-propertize-function): Match here-doc markers.
12000 (perl-syntax-propertize-special-constructs): Find their end.
12001 (perl-imenu-generic-expression): Use [:alnum:].
12003 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12004 (advice--add-function): Refresh the advice if already present
12007 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12009 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12011 2013-05-06 Glenn Morris <rgm@gnu.org>
12013 * w32-fns.el (w32-charset-info-alist): Declare.
12015 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12016 of its defcustom properties.
12017 (eshell-cmpl-initialize): No need to load pcomplete.
12019 * generic-x.el: No need to require comint when compiling.
12021 * net/eudc-export.el: Make it loadable without bbdb.
12022 (top-level): Use require rather than load-library.
12023 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12024 (eudc-batch-export-records-to-bbdb)
12025 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12028 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12030 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12031 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12032 some tweaks, instead.
12034 2013-05-05 Leo Liu <sdl.web@gmail.com>
12036 * progmodes/octave.el (octave-font-lock-keywords)
12037 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12038 (inferior-octave-send-list-and-digest): Improve error message.
12039 (octave-mode, inferior-octave-mode): Use setq-local.
12040 (octave-help): Set info-lookup-mode.
12042 2013-05-05 Richard Stallman <rms@gnu.org>
12044 * vc/compare-w.el (compare-windows-whitespace):
12045 Treat no-break space as whitespace.
12047 * mail/rmailsum.el (rmail-summary-rmail-update):
12048 Detect empty summary and don't change selected message.
12049 (rmail-summary-goto-msg): Likewise.
12051 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12052 Doc fixes, rename args.
12054 2013-05-05 Alan Mackenzie <acm@muc.de>
12056 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12058 2013-05-05 Juri Linkov <juri@jurta.org>
12060 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12061 to not add the length of the summary segment to the return value.
12064 2013-05-05 Leo Liu <sdl.web@gmail.com>
12066 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12067 (inferior-octave-output-filter): Remove.
12068 (octave-send-region, inferior-octave-startup): Fix callers.
12069 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12070 (octave-binary-file-extensions): New user variable.
12071 (octave-find-definition): Confirm if opening binary files.
12072 (octave-help-file): Use octave-find-definition to get the binary
12074 (octave-help): Adjust for octave-help-file change.
12076 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12078 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12079 Merge the two entries that handle function definitions.
12080 (pascal--syntax-propertize): New const.
12081 (pascal-mode): Use it. Use setq-local.
12083 2013-05-04 Glenn Morris <rgm@gnu.org>
12085 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12086 (diary-from-outlook): Respect diary-from-outlook-function.
12088 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12090 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12091 Move the declaration from C.
12092 (read-minibuffer, eval-minibuffer): Move from C.
12093 (completion-setup-function): Avoid minibuffer-completion-contents.
12095 2013-05-03 Leo Liu <sdl.web@gmail.com>
12097 * progmodes/octave.el (octave-font-lock-keywords): Do not
12098 dehighlight 'end' in comments or strings.
12099 (octave-completing-read, octave-goto-function-definition):
12101 (octave-help-buffer): New user variable.
12102 (octave-help-file, octave-help-function): New button types.
12103 (octave-help): New command and bind it to C-h ;.
12104 (octave-find-definition): New command and bind it to M-.
12105 (user-error): Alias to error if not defined.
12107 2013-05-02 Leo Liu <sdl.web@gmail.com>
12109 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12111 (octave-font-lock-keywords): Include [ and {.
12113 2013-05-02 Leo Liu <sdl.web@gmail.com>
12115 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12116 (inferior-octave): Remove calling comint-mode and return the buffer.
12117 (inferior-octave-startup): Cosmetic changes.
12119 2013-05-02 Leo Liu <sdl.web@gmail.com>
12121 * progmodes/octave.el (octave-syntax-propertize-function):
12122 Include the case when ' is at line beginning. (Bug#14336)
12124 2013-05-02 Glenn Morris <rgm@gnu.org>
12126 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12127 * desktop.el (vc-dir-mode): Just autoload it here.
12129 2013-05-02 Alan Mackenzie <acm@muc.de>
12131 Eliminate variable c-standard-font-lock-fontify-region-function.
12132 * progmodes/cc-mode.el
12133 (c-standard-font-lock-fontify-region-function): Remove.
12134 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12136 2013-05-01 Leo Liu <sdl.web@gmail.com>
12138 * progmodes/octave.el: Compatible with older emacs-24 releases.
12139 (inferior-octave-has-built-in-variables): Remove. Built-in
12140 variables were removed from Octave in 2007.
12141 (inferior-octave-startup): Fix uses.
12142 (comint-line-beginning-position): Remove compatibility code for
12145 2013-05-01 Juri Linkov <juri@jurta.org>
12147 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12149 2013-05-01 Juri Linkov <juri@jurta.org>
12151 * comint.el (comint-previous-matching-input): Don't print message
12152 "History item: %d" when `isearch-mode' is active.
12153 (comint-history-isearch-message): Print message "History item: %d"
12154 when `comint-input-ring-index' is not empty and this function is
12155 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12157 2013-05-01 Leo Liu <sdl.web@gmail.com>
12159 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12160 definitions. Use completion-at-point to insert keywords.
12161 (octave-abbrev-start): Remove.
12162 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12164 2013-04-30 Leo Liu <sdl.web@gmail.com>
12166 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12169 2013-04-30 Alan Mackenzie <acm@muc.de>
12171 Handle arbitrarily long C++ member initialisation lists.
12172 * progmodes/cc-engine.el (c-back-over-member-initializers):
12174 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12175 (most) member init lists.
12177 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12179 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12182 2013-04-30 Leo Liu <sdl.web@gmail.com>
12184 * progmodes/octave.el (octave-variables): Remove. No builtin
12185 variables any more. All converted to functions.
12186 (octave-font-lock-keywords, octave-completion-at-point-function):
12188 (octave-font-lock-texinfo-comment): New user variable.
12189 (octave-texinfo-font-lock-keywords): New variable for texinfo
12191 (octave-function-comment-block): New face.
12192 (octave-font-lock-texinfo-comment): New function.
12193 (octave-mode): Font lock texinfo comment block.
12195 2013-04-29 Leo Liu <sdl.web@gmail.com>
12197 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12198 indexing expression.
12199 (octave-continuation-string): Do not use \.
12200 (inferior-octave-complete-impossible): Remove.
12201 (inferior-octave-completion-table)
12202 (inferior-octave-completion-at-point): Remove its uses.
12203 (inferior-octave-startup): completion_matches was introduced to
12204 Octave in 1996 so safe to assume it.
12205 (octave-function-file-comment): Improve to follow how Octave does it.
12206 (octave-update-function-file-comment): Tweak.
12208 2013-04-29 Leo Liu <sdl.web@gmail.com>
12210 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12211 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12212 (octave-function-file-comment): Fix typo.
12213 (octave-sync-function-file-names): Use read-char-choice.
12215 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12217 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12218 to t for the less important warnings.
12220 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12222 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12224 2013-04-27 Glenn Morris <rgm@gnu.org>
12226 * vc/log-view.el (log-view-current-entry):
12227 Treat "---" separator lines as part of the following rev. (Bug#14169)
12229 2013-04-27 Juri Linkov <juri@jurta.org>
12231 * subr.el (read-number): Doc fix about using it by interactive
12232 code letter `n'. (Bug#14254)
12234 2013-04-27 Juri Linkov <juri@jurta.org>
12236 * desktop.el (desktop-auto-save-timeout): New option.
12237 (desktop-file-checksum): New variable.
12238 (desktop-save): Add optional arg `auto-save' and don't auto-save
12239 if nothing changed.
12240 (desktop-auto-save-timer): New variable.
12241 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12242 (after-init-hook): Call `desktop-auto-save-set-timer'.
12243 Suggested by Reuben Thomas <rrt@sc3d.org> in
12244 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12246 2013-04-27 Leo Liu <sdl.web@gmail.com>
12248 * progmodes/octave.el (octave-function-file-p)
12249 (octave-skip-comment-forward, octave-function-file-comment)
12250 (octave-update-function-file-comment): New functions.
12251 (octave-mode-map): Bind C-c ; to
12252 octave-update-function-file-comment.
12253 (octave-mode-menu): Add octave-update-function-file-comment.
12254 (octave-mode, inferior-octave-mode): Fix doc-string.
12255 (octave-insert-defun): Conform to Octave's coding convention.
12258 * files.el (basic-save-buffer): Don't let errors in
12259 before-save-hook prevent saving buffer.
12261 2013-04-20 Roland Winkler <winkler@gnu.org>
12263 * faces.el (read-face-name): Use completing-read if arg multiple
12266 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12268 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12269 displayed, move point to after the totals line.
12270 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12273 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12275 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12276 Add current dir to the load-path.
12277 (package-generate-autoloads): Don't rely on
12278 autoload-ensure-default-file.
12280 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12282 * textmodes/remember.el (remember-store-in-files): Document that
12283 the file name format is passed to `format-time-string'.
12285 2013-04-26 Leo Liu <sdl.web@gmail.com>
12287 * progmodes/octave.el (octave-sync-function-file-names): New function.
12288 (octave-mode): Use it in before-save-hook.
12290 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12292 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12295 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12296 \n and comment, even if it's not an implicit ; (bug#14218).
12298 2013-04-26 Glenn Morris <rgm@gnu.org>
12300 * subr.el (read-number): Once more use `read' rather than
12301 `string-to-number', to trap non-numeric input. (Bug#14254)
12303 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12305 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12306 Use `syntax-multiline' text property consistently instead of
12307 `font-lock-multiline'. (Bug#14237)
12309 2013-04-26 Glenn Morris <rgm@gnu.org>
12311 * emacs-lisp/shadow.el (list-load-path-shadows):
12312 No longer necessary to check for duplicate simple.el, since
12313 2012-07-07 change to init_lread to not include installation lisp
12314 directories in load-path when running uninstalled. (Bug#14270)
12316 2013-04-26 Leo Liu <sdl.web@gmail.com>
12318 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12319 (octave-mode, inferior-octave-mode): Use setq-local.
12320 (octave-not-in-string-or-comment-p): Rename to
12321 octave-in-string-or-comment-p.
12322 (octave-in-comment-p, octave-in-string-p)
12323 (octave-in-string-or-comment-p): Replace defsubst with defun.
12325 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12327 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12329 2013-04-25 Bastien Guerry <bzg@gnu.org>
12331 * textmodes/remember.el (remember-data-directory)
12332 (remember-directory-file-name-format): Fix custom types.
12334 2013-04-25 Leo Liu <sdl.web@gmail.com>
12336 * progmodes/octave.el (octave-completion-at-point-function):
12337 Make use of inferior octave process.
12338 (octave-initialize-completions): Remove.
12339 (inferior-octave-completion-table): New function.
12340 (inferior-octave-completion-at-point): Use it.
12341 (octave-completion-alist): Remove.
12343 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12345 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12346 (opascal-mode-syntax-table): New var.
12347 (opascal-literal-kind, opascal-is-literal-end)
12348 (opascal-literal-token-at): Rewrite.
12349 (opascal--literal-start-re, opascal-font-lock-keywords)
12350 (opascal--syntax-propertize): New constants.
12351 (opascal-font-lock-defaults): Adjust.
12352 (opascal-mode): Use them. Set comment-<foo> variables as well.
12353 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12354 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12355 (delphi-other-face, opascal-other-face): Remove face variables.
12356 (opascal-save-state): Remove macro.
12357 (opascal-fontifying-progress-step): Remove constant.
12358 (opascal--ignore-changes): Remove var.
12359 (opascal-set-token-property, opascal-parse-next-literal)
12360 (opascal-is-stable-literal, opascal-complete-literal)
12361 (opascal-is-literal-start, opascal-face-of)
12362 (opascal-parse-region, opascal-parse-region-until-stable)
12363 (opascal-fontify-region, opascal-after-change)
12364 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12365 (opascal-debug-parse-region, opascal-debug-parse-window)
12366 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12367 (opascal-debug-fontify-buffer): Remove.
12368 (opascal-debug-mode-map): Adjust accordingly.
12370 2013-04-25 Leo Liu <sdl.web@gmail.com>
12372 Merge octave-mod.el and octave-inf.el into octave.el with some
12374 * progmodes/octave.el: New file renamed from octave-mod.el.
12375 * progmodes/octave-inf.el: Merged into octave.el.
12376 * progmodes/octave-mod.el: Renamed to octave.el.
12378 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12380 * textmodes/reftex-vars.el
12381 (reftex-label-ignored-macros-and-environments): New defcustom.
12383 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12385 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12387 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12388 (smie-indent-keyword): Improve the check to ensure that the next
12389 comment is really on the same line.
12390 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12392 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12393 semi-colons if the line is not otherwise empty (bug#14218).
12395 2013-04-25 Glenn Morris <rgm@gnu.org>
12397 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12399 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12401 * progmodes/opascal.el (opascal-set-token-property): Rename from
12402 opascal-set-text-properties and only set `token' (bug#14134).
12403 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12404 (opascal-literal-text-properties): Remove.
12405 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12408 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12410 * textmodes/remember.el (remember-handler-functions): Add an
12411 option for a new handler `remember-store-in-files'.
12412 (remember-data-directory, remember-directory-file-name-format):
12414 (remember-store-in-files): New function to store remember notes
12415 as separate files within a directory.
12417 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12419 * progmodes/compile.el (compilation-next-error-function):
12420 Pass "formats" to compilation-find-file (bug#11777).
12422 2013-04-24 Glenn Morris <rgm@gnu.org>
12424 * vc/vc-bzr.el (vc-bzr-print-log):
12425 * vc/vc-hg.el (vc-hg-print-log):
12426 * vc/vc-svn.el (vc-svn-print-log):
12427 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12429 * vc/vc-bzr.el (vc-bzr-print-log):
12430 * vc/vc-cvs.el (vc-cvs-print-log):
12431 * vc/vc-git.el (vc-git-print-log):
12432 * vc/vc-hg.el (vc-hg-print-log):
12433 * vc/vc-mtn.el (vc-mtn-print-log):
12434 * vc/vc-rcs.el (vc-rcs-print-log):
12435 * vc/vc-sccs.el (vc-sccs-print-log):
12436 * vc/vc-svn.el (vc-svn-print-log):
12437 * vc/vc.el (vc-print-log-internal): Doc fixes.
12439 2013-04-23 Glenn Morris <rgm@gnu.org>
12441 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12442 Remove venerable code attempting to avoid substitute-command-keys.
12444 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12446 * textmodes/reftex-vars.el (reftex-label-regexps):
12447 Call `reftex-compile-variables' after changes to this variable.
12449 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12451 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12452 Use lexical-binding.
12453 (jit-lock-force-redisplay): Use markers, check buffer's continued
12454 existence and beware narrowed buffers.
12455 (jit-lock-fontify-now): Adjust call accordingly.
12457 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12459 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12460 to avoid misleading the user.
12462 2013-04-22 Leo Liu <sdl.web@gmail.com>
12464 * info-look.el: Prefer latex2e.info. (Bug#14240)
12466 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12468 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12470 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12471 * net/tramp.el (tramp-call-process): ... here.
12472 (tramp-set-completion-function, tramp-parse-putty):
12473 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12474 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12475 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12476 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12477 (tramp-call-local-coding-command): Use `tramp-call-process'
12478 instead of `tramp-compat-call-process'.
12480 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12481 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12482 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12483 (tramp-find-inline-compress): Improve traces.
12484 (tramp-maybe-send-script): Check for Perl binary.
12485 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12487 2013-04-22 Daiki Ueno <ueno@gnu.org>
12489 * epg.el (epg-context-pinentry-mode): New function.
12490 (epg-context-set-pinentry-mode): New function.
12491 (epg--start): Pass --pinentry-mode option to gpg command.
12493 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12495 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12496 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12497 `completion-at-point'. (Bug#13774)
12499 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12500 default key binding for `describe-distribution' has been moved to
12501 `C-h C-o'. (Bug#13970)
12503 2013-04-21 Glenn Morris <rgm@gnu.org>
12505 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12507 (vc-print-log): Clarify interactive prompt.
12509 2013-04-20 Glenn Morris <rgm@gnu.org>
12511 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12512 No longer include timestamp etc information.
12514 2013-04-20 Roland Winkler <winkler@gnu.org>
12516 * faces.el (read-face-name): Bug fix, return just one face if arg
12517 multiple is nil. (Bug#14209)
12519 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12521 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12522 (remove-function): Autoload.
12524 * comint.el (comint-redirect-original-filter-function): Remove.
12525 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12526 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12527 (vc-cvs-annotate-command):
12528 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12529 * progmodes/prolog.el (prolog-consult-compile):
12530 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12531 Use add/remove-function instead.
12532 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12533 (gud-tooltip-process-output, gud-tooltip-tips):
12534 Use add/remove-function instead.
12535 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12536 (scheme-interaction-mode, exit-scheme-interaction-mode):
12537 Use add/remove-function instead.
12539 * vc/vc-dispatcher.el: Use lexical-binding.
12540 (vc--process-sentinel): Rename from vc-process-sentinel.
12541 Change last arg to be the code to run. Don't use vc-previous-sentinel
12542 and vc-sentinel-commands any more.
12543 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12544 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12546 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12548 * progmodes/sh-script.el (sh-imenu-generic-expression):
12549 Handle function names with a single character. (Bug#14111)
12551 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12553 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12554 for subroutines defined in an eval (bug#14182).
12556 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12558 * bookmark.el (bookmark-completing-read): Improve handling of empty
12559 string (bug#14176).
12561 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12563 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12565 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12567 New faster Imenu implementation (bug#14058).
12568 * progmodes/python.el:
12569 (python-imenu-prev-index-position):
12570 (python-imenu-format-item-label-function)
12571 (python-imenu-format-parent-item-label-function)
12572 (python-imenu-format-parent-item-jump-label-function):
12574 (python-imenu-format-item-label)
12575 (python-imenu-format-parent-item-label)
12576 (python-imenu-format-parent-item-jump-label)
12577 (python-imenu--put-parent, python-imenu--build-tree)
12578 (python-imenu-create-index, python-imenu-create-flat-index)
12579 (python-util-popn): New functions.
12580 (python-mode): Set imenu-create-index-function to
12581 python-imenu-create-index.
12583 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12585 * winner.el (winner-active-region): Use region-active-p, activate-mark
12586 and deactivate-mark (bug#14225).
12588 * simple.el (deactivate-mark): Don't inline it.
12590 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12592 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12594 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12596 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12597 file extensions from the archive-mode entry in order to prefer
12598 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12600 2013-04-18 Leo Liu <sdl.web@gmail.com>
12602 * bindings.el (help-event-list): Add ?\?.
12604 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12606 * subr.el (with-wrapper-hook): Declare obsolete.
12607 * simple.el (filter-buffer-substring-function): New hook.
12608 (filter-buffer-substring): Use it.
12609 (filter-buffer-substring-functions): Mark obsolete.
12610 * minibuffer.el (completion-in-region-function): New hook.
12611 (completion-in-region): Use it.
12612 (completion-in-region-functions): Mark obsolete.
12613 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12614 * abbrev.el (abbrev-expand-function): New hook.
12615 (expand-abbrev): Use it.
12616 (abbrev-expand-functions): Mark obsolete.
12617 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12618 and :filter-return.
12620 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12622 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12623 and do not care about match data.
12625 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12627 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12628 completion tables when completing error conditions and
12629 `declare' arguments.
12630 (lisp-complete-symbol, field-complete): Mark as obsolete.
12631 (check-parens): Unmatched parens are user errors.
12632 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12634 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12636 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12637 command changed buffer (ie. `flyspell-pre-buffer' is not current
12638 buffer), which prevents making decisions based on invalid value of
12639 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12640 cause an error when `flyspell-pre-point' was nil after switching
12642 (flyspell-post-command-hook): No longer needs to change buffers when
12643 checking pre-word. While at it remove unnecessary progn.
12645 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12647 * textmodes/ispell.el (ispell-add-per-file-word-list):
12648 Fix `flyspell-correct-word-before-point' error when accepting
12649 words and `coment-padding' is an integer by using
12650 `comment-normalize-vars' (Bug #14214).
12652 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12654 New defun movement commands.
12655 * progmodes/python.el (python-nav--syntactically)
12656 (python-nav--forward-defun, python-nav-backward-defun)
12657 (python-nav-forward-defun): New functions.
12659 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12661 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12662 (python-syntax-context): Use named compiler-macro for backwards
12663 compatibility with Emacs 24.x.
12665 2013-04-17 Leo Liu <sdl.web@gmail.com>
12667 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12668 octave-hide-process-buffer.
12670 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12672 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12675 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12677 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12678 Fix adjustment of offset when receiving incomplete responses from GDB
12681 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12683 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12684 python-mode-abbrev-table.
12685 (python-skeleton-define): Adjust accordingly.
12686 (python-mode-abbrev-table): New table that inherits from it so that
12687 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12689 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12690 (abbrev-symbol): Use it.
12691 (abbrev--before-point): Use it since we already handle inheritance.
12693 2013-04-16 Leo Liu <sdl.web@gmail.com>
12695 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12696 binding to info-lookup-symbol.
12698 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12700 * minibuffer.el (completion--twq-all):
12701 * term/ns-win.el (ns-initialize-window-system):
12702 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12704 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12706 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12709 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12711 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12713 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12714 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12716 (ruby-end-of-defun): Remove the unused arg, change the docstring
12717 to reflect that this function is only used as the value of
12718 `end-of-defun-function'.
12719 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12720 to reflect an earlier change that beginning/end-of-defun functions
12721 jump between methods in a class definition, as well as top-level
12724 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12726 * minibuffer.el (minibuffer-complete): Don't just scroll
12727 a *Completions* that's been iconified.
12728 (minibuffer-force-complete): Make sure repetitions do cycle when going
12729 through completion-in-region -> minibuffer-complete.
12731 2013-04-15 Alan Mackenzie <acm@muc.de>
12733 Correct the placement of c-cpp-delimiters when there're #s not at
12736 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12737 place a submatch around the #.
12738 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12739 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12742 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12744 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12745 (advice--member-p): New arg `name'.
12746 (advice--add-function, advice-member-p): Use it (bug#14202).
12748 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12750 Reformulate java imenu-generic-expression.
12751 The old expression contained ill formed regexps.
12753 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12754 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12755 (cc-imenu-java-method-arg-regexp): New defconsts.
12756 (cc-imenu-java-build-type-args-regex): New defun.
12757 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12758 handling of spaces in the regexp.
12760 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12762 * textmodes/ispell.el (ispell-command-loop): Remove
12763 flyspell highlight of a word when ispell accepts it (bug #14178).
12765 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12767 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12768 uses code from the previous `ange-ftp-run-real-handler'.
12769 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12770 only in case that function exist. This is needed for proper
12771 unloading of Tramp.
12773 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12775 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12777 * textmodes/reftex.el (reftex-compile-variables): Use it.
12779 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12781 * files.el (normal-mode): Only use default major-mode if no other mode
12784 * emacs-lisp/trace.el (trace-values): New function.
12786 * files.el: Allow : in local variables (bug#14089).
12787 (hack-local-variable-regexp): New var.
12788 (hack-local-variables-prop-line, hack-local-variables): Use it.
12790 2013-04-13 Roland Winkler <winkler@gnu.org>
12792 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12793 data before it gets modified by bibtex-beginning-of-entry.
12795 2013-04-13 Roland Winkler <winkler@gnu.org>
12797 * textmodes/bibtex.el (bibtex-url): Doc fix.
12799 2013-04-13 Roland Winkler <winkler@gnu.org>
12801 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12802 does not visit a BibTeX file, exclude it from the list of buffers
12803 returned by bibtex-initialize.
12805 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12807 * window.el (split-window): Remove interactive form, since as a
12808 command this function is a special case of split-window-below.
12809 Correct doc string.
12811 2013-04-12 Roland Winkler <winkler@gnu.org>
12813 * faces.el (read-face-name): Do not override value of arg default.
12814 Allow single faces and strings as default values. Remove those
12815 elements from return value that are not faces.
12816 (describe-face): Simplify.
12817 (face-at-point): New optional args thing and multiple so that this
12818 function can provide the same functionality previously provided by
12820 (make-face-bold, make-face-unbold, make-face-italic)
12821 (make-face-unitalic, make-face-bold-italic, invert-face)
12822 (modify-face, read-face-and-attribute): Use face-at-point.
12824 * cus-edit.el (customize-face, customize-face-other-window)
12825 * cus-theme.el (custom-theme-add-face)
12826 * face-remap.el (buffer-face-set)
12827 * facemenu.el (facemenu-set-face): Use face-at-point.
12829 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12831 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12833 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12835 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12836 off leading { and trailing } from field values.
12838 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12840 * emacs-lisp/timer.el (timer--check): New function.
12841 (timer--time, timer-set-function, timer-event-handler): Use it.
12842 (timer-set-idle-time): Simplify.
12843 (timer--activate): CSE.
12844 (timer-event-handler): Give more info in error message.
12845 (internal-timer-start-idle): New function, moved from C.
12847 * mpc.el (mpc-proc): Add `restart' argument.
12848 (mpc-proc-cmd): Use it.
12849 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12850 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12853 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12855 * progmodes/sh-script.el: Implement `sh-mode' own
12856 `add-log-current-defun-function' (bug#14112).
12857 (sh-current-defun-name): New function.
12858 (sh-mode): Use the function.
12860 2013-04-09 Bastien Guerry <bzg@gnu.org>
12862 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12864 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12866 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12868 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12871 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12873 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12876 2013-04-07 Leo Liu <sdl.web@gmail.com>
12878 * pcmpl-x.el: New file.
12880 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12882 Do not set x-display-name until X connection is established.
12883 This is needed to prevent from weird situation described at
12884 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12885 * frame.el (make-frame): Set x-display-name after call to
12886 window system initialization function, not before.
12887 * term/x-win.el (x-initialize-window-system): Add optional
12888 display argument and use it.
12889 * term/w32-win.el (w32-initialize-window-system):
12890 * term/ns-win.el (ns-initialize-window-system):
12891 * term/pc-win.el (msdos-initialize-window-system):
12892 Add compatible optional display argument.
12894 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12896 * files.el (normal-backup-enable-predicate): On MS-Windows and
12897 MS-DOS compare truenames of temporary-file-directory and of the
12898 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12899 don't fail comparison by compare-strings. Also, compare file
12900 names case-insensitively on MS-Windows and MS-DOS.
12902 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12904 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12905 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12907 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12909 * whitespace.el (whitespace-color-on, whitespace-color-off):
12910 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12912 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12914 * ispell.el (ispell-set-spellchecker-params):
12915 Really set `ispell-args' for all equivs.
12917 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12919 * ido.el (ido-completions): Use extra elements of ido-decorations
12921 (ido-decorations): Update docstring.
12923 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12925 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12926 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12927 nil during initialization, in order not to miss changes since the
12928 file was opened. (Bug#14140)
12930 2013-04-05 Leo Liu <sdl.web@gmail.com>
12932 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12934 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12936 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12938 2013-04-04 Glenn Morris <rgm@gnu.org>
12940 * electric.el (electric-pair-inhibit-predicate): Add :version.
12942 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12944 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12945 when a package is required several times (bug#14082).
12947 2013-04-04 Roland Winkler <winkler@gnu.org>
12949 * faces.el (read-face-name): Behave as promised by the docstring.
12950 Assume that arg default is a list of faces.
12951 (describe-face): Call read-face-name with list of default faces.
12953 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12955 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12956 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12957 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12959 (bookmark-exit-hook-internal): Save even if list is empty.
12961 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12963 * emacs-lisp/package.el (package-pinned-packages): New var.
12964 (package--add-to-archive-contents): Obey it (bug#14118).
12966 2013-04-03 Alan Mackenzie <acm@muc.de>
12968 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12969 Also adapt to the new values of element 7 of a parse state.
12971 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12972 parameter `not-in-delimiter'. Handle being inside comment opener.
12973 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12974 character in case we're typing a '*' after a '/'.
12975 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12976 instead by passing the parameter to c-state-pp-to-literal.
12978 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12979 for elt. 7 of a parse state.
12981 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12983 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12984 * international/latin1-disp.el, international/mule-util.el:
12985 * language/cyril-util.el, language/european.el, language/ind-util.el:
12986 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12987 * language/tibetan.el, language/viet-util.el:
12988 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12990 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12992 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12993 (electric-pair-post-self-insert-function): Use it.
12994 (electric-pair-default-inhibit): New function, extracted from
12995 electric-pair-post-self-insert-function.
12997 2013-03-31 Roland Winkler <winkler@gnu.org>
12999 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13001 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13003 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13005 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13007 Un-indent after "pass" and "return" statements (Bug#13888)
13008 * progmodes/python.el (python-indent-block-enders): New var.
13009 (python-indent-calculate-indentation): Use it.
13011 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13013 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13014 defun. Defining it as defalias could introduce too eager
13015 byte-compiler optimization. (Bug#14030)
13017 2013-03-30 Chong Yidong <cyd@gnu.org>
13019 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13021 2013-03-30 Leo Liu <sdl.web@gmail.com>
13023 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13024 (kmacro-execute-from-register): Pass the keyboard macro to
13025 kmacro-call-macro or repeating won't work correctly.
13027 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13029 * progmodes/subword.el: Back to using `forward-symbol'.
13031 * subr.el (forward-whitespace, forward-symbol)
13032 (forward-same-syntax): Move from thingatpt.el.
13034 2013-03-29 Leo Liu <sdl.web@gmail.com>
13036 * kmacro.el (kmacro-to-register): New command.
13037 (kmacro-execute-from-register): New function.
13038 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13040 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13042 * mpc.el: Use defvar-local and setq-local.
13043 (mpc--proc-connect): Connection failures are not bugs.
13044 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13045 (mpc-volume-map): Bind to the up-events.
13047 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13049 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13050 instead of `forward-symbol'.
13052 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13054 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13055 (edebug--recursive-edit): Use it.
13056 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13057 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13059 2013-03-28 Leo Liu <sdl.web@gmail.com>
13061 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13063 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13065 * facemenu.el (list-colors-callback): New defvar.
13066 (list-colors-redisplay): New function.
13067 (list-colors-display): Install list-colors-redisplay as the
13068 revert-buffer-function. (Bug#14063)
13070 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13072 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13073 and suffixes don't overlap (bug#14061).
13075 * case-table.el: Use lexical-binding.
13076 (case-table-get-table): New function.
13077 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13079 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13081 * progmodes/subword.el: Add `superword-mode' to do word motion
13082 over symbol_words (parallels and leverages `subword-mode' which
13083 does word motion inside MixedCaseWords).
13085 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13087 * eshell/em-unix.el: Move su and sudo to...
13088 * eshell/em-tramp.el: ...Eshell tramp module.
13090 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13092 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13093 Change return value to be a sexp. Delay `get-buffer' to after
13094 restoring the desktop (bug#13951).
13096 2013-03-26 Leo Liu <sdl.web@gmail.com>
13098 * register.el: Move semantic tag handling back to
13099 cedet/semantic/senator.el. (Bug#14052)
13101 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13103 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13104 into the prompt either (bug#13963).
13106 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13108 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13109 part of "(error-foo)".
13111 2013-03-24 Juri Linkov <juri@jurta.org>
13113 * replace.el (list-matching-lines-prefix-face): New defcustom.
13114 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13115 `occur-engine' if `face-differs-from-default-p' returns t.
13116 (occur-engine): Add `,' inside backquote construct to evaluate
13117 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13118 Pass `prefix-face' to the functions `occur-context-lines' and
13119 `occur-engine-add-prefix'.
13120 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13121 `prefix-face' and propertize the prefix with `prefix-face'.
13124 2013-03-24 Leo Liu <sdl.web@gmail.com>
13126 * nxml/rng-valid.el (rng-validate-while-idle)
13127 (rng-validate-quick-while-idle): Guard against deleted buffer.
13130 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13131 is the last entry in kill-buffer-hook.
13133 * files.el (kill-buffer-hook): Doc fix.
13135 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13137 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13138 Make it safe-local.
13140 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13142 2013-03-23 Leo Liu <sdl.web@gmail.com>
13144 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13147 * nxml/rng-valid.el (rng-validate-mode)
13148 (rng-after-change-function, rng-do-some-validation):
13149 * nxml/rng-maint.el (rng-validate-buffer):
13150 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13151 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13152 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13153 (nxml-extend-after-change-region): Use with-silent-modifications.
13155 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13158 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13159 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13160 timer-idle-list. (Bug#13999)
13162 2013-03-23 Juri Linkov <juri@jurta.org>
13164 * info.el (info-index-match): New face.
13165 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13166 main pattern and add text properties with the new face to matches
13167 in index entries relative to the beginning of the index entry.
13170 2013-03-21 Eric Ludlam <zappo@gnu.org>
13172 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13173 Inhibit read only while inserting objects.
13175 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13177 * progmodes/cfengine.el: Update docs to mention
13178 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13179 symbol motion. Remove "_" from the word syntax.
13181 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13183 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13184 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13186 2013-03-20 Juri Linkov <juri@jurta.org>
13188 * info.el (Info-next-reference-or-link)
13189 (Info-prev-reference-or-link): New functions.
13190 (Info-next-reference, Info-prev-reference): Use them.
13191 (Info-try-follow-nearest-node): Handle footnote navigation.
13192 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13194 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13196 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13197 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13199 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13201 Suppress unnecessary non-ASCII chatter during build process.
13202 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13203 (batch-skkdic-convert): Suppress most of the chatter.
13204 It's not needed so much now that machines are faster,
13205 and its non-ASCII component was confusing; see Dmitry Gutov in
13206 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13208 2013-03-20 Leo Liu <sdl.web@gmail.com>
13210 * ido.el (ido-chop): Fix bug#10994.
13212 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13214 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13216 (whitespace-color-on, whitespace-color-off):
13217 Use `font-lock-fontify-buffer' (Bug#13817).
13219 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13221 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13222 remapping in mode-line.
13223 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13225 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13227 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13228 value for `whitespace-line' face (Bug#13875).
13229 (whitespace-font-lock-keywords): Change description.
13230 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13231 the constructed keywords instead.
13232 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13234 2013-03-19 Leo Liu <sdl.web@gmail.com>
13236 * progmodes/compile.el (compilation-display-error): New command.
13237 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13240 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13242 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13244 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13246 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13248 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13250 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13252 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13253 * net/tramp-gvfs.el (top):
13254 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13255 (tramp-handle-shell-command): Use it.
13256 (tramp-dissect-file-name): Raise an error when hostname is a
13257 method name, and neither method nor user is specified.
13259 * net/trampver.el: Update release number.
13261 2013-03-18 Leo Liu <sdl.web@gmail.com>
13263 Make sure eldoc can be turned off properly.
13264 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13266 (eldoc-display-message-p): Revert last change.
13267 (eldoc-display-message-no-interference-p)
13268 (eldoc-print-current-symbol-info): Tweak.
13270 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13272 * doc-view.el (doc-view-new-window-function): Check the new window
13273 overlay's display property instead the char property of the
13274 buffer's first char. Use `with-selected-window' instead of
13275 `save-window-excursion' with `select-window'.
13276 (doc-view-document->bitmap): Check the current doc-view overlay's
13277 display property instead the char property of the buffer's first char.
13279 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13281 Automate the build of ja-dic.el (Bug#13984).
13282 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13283 from the input, rather than assume that it's been done for us by the
13284 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13285 the current date into a ja-dic.el comment, as that complicates
13286 regression testing.
13288 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13290 * whitespace.el: Fix double evaluation.
13291 (whitespace-space, whitespace-hspace, whitespace-tab)
13292 (whitespace-newline, whitespace-trailing, whitespace-line)
13293 (whitespace-space-before-tab, whitespace-indentation)
13294 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13296 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13297 (whitespace-color-on): Use a single font-lock-add-keywords call.
13298 Fix double-evaluation of face variables.
13300 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13302 * net/tramp-adb.el (tramp-adb-parse-device-names):
13303 Use `start-process' instead of `call-process'. Otherwise, the
13304 function might be blocked under MS Windows. (Bug#13299)
13306 2013-03-17 Leo Liu <sdl.web@gmail.com>
13308 Extend eldoc to display info in the mode-line. (Bug#13978)
13309 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13310 (eldoc-mode-line-string): New variable.
13311 (eldoc-minibuffer-message): New function.
13312 (eldoc-message-function): New variable.
13313 (eldoc-message): Use it.
13314 (eldoc-display-message-p)
13315 (eldoc-display-message-no-interference-p):
13316 Support eldoc-post-insert-mode.
13318 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13319 (eval-expression): Run it.
13321 2013-03-17 Roland Winkler <winkler@gnu.org>
13323 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13324 strings in the list of return values.
13326 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13328 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13329 radix before checking for HMS forms.
13331 2013-03-16 Leo Liu <sdl.web@gmail.com>
13333 * progmodes/scheme.el: Add indentation and font-locking for λ.
13336 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13338 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13339 token before point (bug#13942).
13341 2013-03-16 Leo Liu <sdl.web@gmail.com>
13343 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13345 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13347 * startup.el (command-line-normalize-file-name): Fix handling of
13348 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13349 <xfq.free@gmail.com> in
13350 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13352 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13354 Sync with Tramp 2.2.7.
13356 * net/trampver.el: Update release number.
13358 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13360 * doc-view.el: Fix bug#13887.
13361 (doc-view-insert-image): Don't modify overlay associated to
13362 non-live windows, and implement horizontal centering of image in
13363 case it's smaller than the window.
13364 (doc-view-new-window-function): Force redisplay of new windows on
13367 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13369 * saveplace.el (save-place-alist-to-file): Don't sort
13370 `save-place-alist', just pretty-print it (bug#13882).
13372 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13374 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13375 Check whether `default-file-name-coding-system' is bound.
13376 It isn't in XEmacs.
13378 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13380 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13381 backquotes for `obsolete' (bug#13929).
13383 * international/mule.el (find-auto-coding): Include file name in
13384 obsolescence warning (bug#13922).
13386 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13388 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13389 for CFEngine 3-specific indentation.
13390 (cfengine3-indent-line): Use it. Fix up category regex.
13391 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13393 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13395 * type-break.el (type-break-file-name):
13396 * textmodes/remember.el (remember-data-file):
13397 * strokes.el (strokes-file):
13398 * shadowfile.el (shadow-initialize):
13399 * saveplace.el (save-place-file):
13400 * ps-bdf.el (bdf-cache-file):
13401 * progmodes/idlwave.el (idlwave-config-directory):
13402 * net/quickurl.el (quickurl-url-file):
13403 * international/kkc.el (kkc-init-file-name):
13404 * ido.el (ido-save-directory-list-file):
13405 * emulation/viper.el (viper-custom-file-name):
13406 * emulation/vip.el (vip-startup-file):
13407 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13408 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13410 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13412 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13413 * language/thai-word.el: Switch to UTF-8.
13415 See ChangeLog.16 for earlier changes.
13417 ;; Local Variables:
13421 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13423 This file is part of GNU Emacs.
13425 GNU Emacs is free software: you can redistribute it and/or modify
13426 it under the terms of the GNU General Public License as published by
13427 the Free Software Foundation, either version 3 of the License, or
13428 (at your option) any later version.
13430 GNU Emacs is distributed in the hope that it will be useful,
13431 but WITHOUT ANY WARRANTY; without even the implied warranty of
13432 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13433 GNU General Public License for more details.
13435 You should have received a copy of the GNU General Public License
13436 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.