1 2014-02-24 Leo Liu <sdl.web@gmail.com>
3 * emacs-lisp/easy-mmode.el (define-minor-mode): Fix debug spec.
5 2014-02-24 Juanma Barranquero <lekktu@gmail.com>
7 * apropos.el (apropos-print): Avoid formatting error when
8 apropos-do-all and apropos-compact-layout are both t.
10 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
12 * apropos.el (apropos-property, apropos-all-words-regexp)
13 (apropos-true-hit, apropos-variable, apropos-print):
14 Fix docstring typos, and remove obsolete comment.
16 2014-02-23 Michael Albinus <michael.albinus@gmx.de>
18 * net/tramp-sh.el (tramp-sh-handle-file-truename):
19 Preserve trailing "/". (Bug#16851)
21 2014-02-23 Dmitry Gutov <dgutov@yandex.ru>
23 * progmodes/ruby-mode.el (ruby-smie-rules): Don't indent specially
24 after `=>' (bug#16811).
25 (ruby-smie-rules): Handle the inconsistent second element of the
26 list returned by `smie-indent--parent'.
27 (ruby-font-lock-keywords): Disqualify any identifier before `=' as
30 2014-02-23 Juanma Barranquero <lekktu@gmail.com>
32 * elec-pair.el (electric-pair-text-syntax-table)
33 (electric-pair-syntax-info, electric-pair--syntax-ppss)
34 (electric-pair--balance-info, electric-pair-mode): Fix docstring typos.
35 (electric-pair--looking-at-unterminated-string-p): Doc fix.
36 (electric-pair--inside-string-p): Doc fix. Use `let', not `let*'.
38 2014-02-22 Glenn Morris <rgm@gnu.org>
40 * imenu.el (imenu--generic-function): Doc fix.
42 * register.el (frame-configuration-to-register): Make obsolete.
44 2014-02-22 Juanma Barranquero <lekktu@gmail.com>
46 * desktop.el (desktop-save-buffer-p): Do not fail when
47 desktop-files-not-to-save is nil. Return t for true result
50 2014-02-22 Daniel Colascione <dancol@dancol.org>
52 * net/secrets.el (secrets-create-item,secrets-search-items): Check
53 that attribute values are strings, avoiding the construction of
54 invalid dbus messages.
56 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
58 * emacs-lisp/gv.el: Avoid duplicating gv-expander and gv-setter in
59 defun-declarations-alist.
61 2014-02-21 Stefan Monnier <monnier@iro.umontreal.ca>
63 * emacs-lisp/cl-macs.el (cl-define-compiler-macro): Add indent rule
66 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
68 * whitespace.el (whitespace-space, whitespace-hspace, whitespace-tab)
69 (whitespace-newline, whitespace-trailing, whitespace-line)
70 (whitespace-space-before-tab, whitespace-indentation, whitespace-empty)
71 (whitespace-space-after-tab): Fix typo in docstrings.
73 2014-02-21 Dmitry Gutov <dgutov@yandex.ru>
75 * progmodes/ruby-mode.el (auto-mode-alist): Add missing "or".
77 * electric.el (electric-indent-functions-without-reindent):
78 Add `yaml-indent-line'.
80 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
82 * w32-vars.el (w32-enable-synthesized-fonts): Mark as obsolete.
83 It has done nothing for years; should be removed after the release.
85 * simple.el (choose-completion): Fix docstring typo.
86 (read-quoted-char-radix): Remove unneeded * in docstring.
87 (process-file, kill-whole-line, pop-to-mark-command, set-mark-command):
88 Don't escape parentheses unnecessarily in docstrings.
90 2014-02-21 Martin Rudalics <rudalics@gmx.at>
92 Fix handling of window-min-height/-width (Bug#16738).
93 * window.el (window--dump-window, window--dump-frame):
95 (window--min-size-1): Account for window dividers.
96 When window-resize-pixelwise is nil, delay rounding till after the
97 sum of the window components has been calculated.
98 (window--min-delta-1, window--max-delta-1): When PIXELWISE is
99 nil make sure at least one text line and two text columns remain
101 (window-resize): Signal an error when window-resize-apply fails.
102 (window--resize-child-windows): Fix calculation of by how many
103 pixels a window can still be shrunk via window-new-normal.
104 (adjust-window-trailing-edge): Call window--resizable with
105 correct TRAIL argument.
107 (with-temp-buffer-window): Don't evaluate BODY within
108 with-current-buffer (Bug#16816).
110 2014-02-21 Michael Albinus <michael.albinus@gmx.de>
112 * net/tramp.el (tramp-check-cached-permissions):
113 Call `file-attributes' with `suffix' being a symbol but a string.
115 2014-02-21 Daniel Colascione <dancol@dancol.org>
117 * net/dbus.el (dbus-init-bus-1): Declare new subr.
118 (dbus-init-bus): New function: call into dbus-init-bus-1
119 and installs a handler for the disconnect signal.
120 (dbus-call-method): Rewrite to look for result in cons.
121 (dbus-call-method-handler): Store result in cons.
122 (dbus-check-event): Recognize events with nil sender as valid.
123 (dbus-handle-bus-disconnect): New function. React to bus
124 disconnection signal by synthesizing dbus error for each
125 pending synchronous or asynchronous call.
126 (dbus-notice-synchronous-call-errors): New function.
127 (dbus-handle-event): Raise errors directly only when `dbus-debug'
128 is true, not all the time.
130 2014-02-21 Juanma Barranquero <lekktu@gmail.com>
132 * w32-fns.el (w32-enable-italics, w32-charset-to-codepage-alist):
133 Remove obsolescence declarations, these variables do not exist anymore.
135 * savehist.el (savehist-save-minibuffer-history)
136 (savehist-additional-variables, savehist-file, savehist-mode-hook)
137 (savehist-save-hook, savehist-coding-system, savehist-loaded)
138 (savehist-load, savehist-install, savehist-autosave): Fix typos;
139 mostly, refer to "Savehist mode" when talking about the mode,
140 and not the function.
142 * saveplace.el (save-place): Remove redundant info in docstring.
143 (save-place-forget-unreadable-files, toggle-save-place)
144 (save-place-forget-unreadable-files, save-place-dired-hook):
145 Fix typos and remove unneeded backslashes.
147 2014-02-20 Michael Albinus <michael.albinus@gmx.de>
149 * net/tramp.el (ls-lisp-use-insert-directory-program): Declare.
150 (tramp-handle-insert-directory): New defun, taken from tramp-gvfs.el.
152 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
153 <insert-directory>: Use `tramp-handle-insert-directory'.
154 (tramp-gvfs-handle-insert-directory): Remove function.
156 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
157 Call `tramp-handle-insert-directory'.
159 2014-02-20 Juanma Barranquero <lekktu@gmail.com>
161 * elec-pair.el (electric-pair-syntax-info): Do not check syntax
162 before the start of buffer/region (bug#16799).
164 2014-02-20 Glenn Morris <rgm@gnu.org>
166 * isearch.el (search-invisible): Doc fix.
168 2014-02-20 W. Trevor King <wking@tremily.us> (tiny change)
170 * term/xterm.el (xterm--version-handler): Adapt to xterm-280's output
173 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
175 * frameset.el (frameset-restore): Delay removing an old frame's
176 duplicate id until the new frame has been correctly created.
178 2014-02-19 Michael Albinus <michael.albinus@gmx.de>
180 * net/tramp.el (tramp-handle-make-symbolic-link): New defun.
181 (tramp-check-cached-permissions): Call `file-attributes' if the
184 * net/tramp-adb.el (tramp-adb-file-name-handler-alist)
185 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
187 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
188 <make-symbolic-link>: Use `tramp-handle-make-symbolic-link'.
189 (tramp-gvfs-maybe-open-connection): Set always connection
190 properties, even if target is mounted already.
192 * net/tramp-sh.el (tramp-color-escape-sequence-regexp):
193 Set tramp-autoload cookie.
194 (tramp-get-remote-touch): New defun.
195 (tramp-sh-handle-set-file-times): Use it.
196 (tramp-sh-handle-directory-files-and-attributes):
197 Use `tramp-handle-directory-files-and-attributes' if neither stat
198 nor perl are available on the remote host.
200 * net/tramp-smb.el (tramp-smb-handle-insert-directory): Mark trailing
201 "/". Write long listing only when "l" belongs to the switches.
203 * net/trampver.el: Update release number.
205 2014-02-19 Juanma Barranquero <lekktu@gmail.com>
207 * frameset.el (frameset--reuse-frame): Remove workaround for bug#16793.
209 2014-02-19 Martin Rudalics <rudalics@gmx.at>
211 * window.el (window-state-put): Allow WINDOW to refer to an
212 internal window (Bug#16793).
214 2014-02-19 Glenn Morris <rgm@gnu.org>
216 * textmodes/remember.el: Move provide statement to end.
217 (remember-mode-map, remember-notes-mode-map, remember-notes-mode)
218 (remember-notes): Doc fixes.
220 2014-02-18 Stefan Monnier <monnier@iro.umontreal.ca>
222 * delsel.el (delete-char): Restore incorrectly erased property
225 2014-02-18 Juanma Barranquero <lekktu@gmail.com>
227 * frameset.el (frameset--restore-frame): When a frame is being reused
228 and its root window is not alive, delete all the frame's windows before
229 restoring the window state. This works around the issue in bug#16793.
231 2014-02-18 Glenn Morris <rgm@gnu.org>
233 * textmodes/remember.el (remember-data-directory)
234 (remember-directory-file-name-format, remember-store-in-files)
235 (remember-notes-initial-major-mode, remember-notes-bury-on-kill)
236 (remember-notes-save-and-bury-buffer)
237 (remember-notes--kill-buffer-query): Doc fixes.
239 * desktop.el (desktop-save-mode, desktop-auto-save-timeout): Doc fixes.
241 2014-02-17 Alan Mackenzie <acm@muc.de>
243 Connect electric-indent-mode up with CC Mode. Bug #15478.
244 * progmodes/cc-mode.el (c-initialize-cc-mode): Add CC Mode hooks
245 to electric-indent-{,local-}-mode.
246 (c-basic-common-init): Set electric-indent-inhibit.
247 Initialise c-electric-flag from electric-indent-mode.
248 (c-electric-indent-mode-hook, c-electric-indent-local-mode-hook):
249 New hook functions which propagate electric-indent-mode to CC mode.
251 * progmodes/cc-cmds.el (c-toggle-electric-state): When C-c C-l is
252 hit, toggle electric-indent-local-mode.
254 * electric.el (electric-indent-mode-has-been-called):
257 2014-02-17 Juanma Barranquero <lekktu@gmail.com>
259 * frameset.el (frameset-cfg-id): New function.
260 (frameset--reuse-frame, frameset-restore): Use it.
261 (frameset--jump-to-register): Try harder to reuse frames (bug#16748).
263 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
265 * ido.el (ido-file-internal): Remove unused var `d'.
266 Use \` for to match BoS. Fit within 80n columns.
268 2014-02-17 Daniel Colascione <dancol@dancol.org>
270 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
271 dbus-call-method check for completion using a busy-wait loop with
274 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
276 Sync with Tramp 2.2.9.
278 * net/trampver.el: Update release number.
280 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
282 * ido.el (ido-file-internal): Don't add the name of an existing
283 directory twice. (Bug#16747)
285 2014-02-16 Glenn Morris <rgm@gnu.org>
287 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
288 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
290 2014-02-15 Michael R. Mauger <michael@mauger.com>
292 * progmodes/sql.el: Version 3.4
293 (sql-oracle-options): New default value ("-L").
294 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
295 (sql-placeholders-filter): Correct placeholder pattern.
296 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
297 (sql-login-delay): New variable.
298 (sql-product-interactive): Use it.
300 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
302 * frameset.el (frameset--jump-to-register): Check that buffer is live
305 2014-02-15 Glenn Morris <rgm@gnu.org>
307 * info.el (info-initialize): Revert 2014-01-10 change.
309 2014-02-14 Glenn Morris <rgm@gnu.org>
311 * replace.el (map-query-replace-regexp)
312 (read-regexp-defaults-function, read-regexp): Doc fixes.
314 * dired.el (dired-read-regexp):
315 * faces.el (list-faces-display):
316 * misearch.el (multi-isearch-read-matching-buffers)
317 (multi-isearch-read-matching-files):
318 * play/cookie1.el (cookie-apropos):
319 * progmodes/grep.el (grep-read-regexp): Doc fixes.
321 * textmodes/remember.el (remember): Use frameset-to-register
322 rather than frame-configuration-to-register.
324 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
326 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
327 incorrect keybinding.
329 2014-02-13 Daniel Colascione <dancol@dancol.org>
331 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
332 when adding overlays so that line numbers from compiler match line
335 2014-02-13 Glenn Morris <rgm@gnu.org>
337 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
339 * jit-lock.el (jit-lock-mode): Doc fix.
341 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
343 * apropos.el (apropos-read-pattern): When the user passes an empty
344 string, give a more helpful error message than "Wrong type
345 argument: stringp, nil".
347 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
349 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
351 2014-02-13 Glenn Morris <rgm@gnu.org>
353 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
355 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
357 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
358 shift-select commands.
360 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
362 * progmodes/js.el (js-indent-line): Don't widen.
363 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
365 2014-02-12 Glenn Morris <rgm@gnu.org>
367 * icomplete.el (icomplete): Add info-link to defgroup.
368 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
369 (icomplete-minibuffer-map, icomplete-mode)
370 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
372 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
373 (package-menu-filter): Rename from package-menu-filter-interactive.
376 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
378 * frameset.el (frameset--jump-to-register): Select the required
379 window and buffer before restoring position (bug#16696).
381 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
383 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
385 2014-02-10 Glenn Morris <rgm@gnu.org>
387 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
389 2014-02-10 Eli Zaretskii <eliz@gnu.org>
391 * w32-common-fns.el (x-get-selection): Doc fix.
392 * select.el (x-get-selection): Doc fix. (Bug#15109)
394 * face-remap.el (face-remap-add-relative)
395 (face-remap-remove-relative, face-remap-reset-base)
396 (face-remap-set-base): Call force-mode-line-update to redisplay
397 the current buffer due to potential change in faces. (Bug#16709)
399 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
401 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
402 script more robustly.
404 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
406 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
408 * simple.el (choose-completion): Doc fix (bug#14160).
410 * subr.el (event-start): Say what a nil EVENT value means.
412 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
415 * progmodes/grep.el (find-program): Doc fix (bug#14289).
417 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
419 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
421 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
422 predicate function (bug#15455).
424 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
426 * ielm.el (inferior-emacs-lisp-mode): Instead of
427 `comment-use-global-state', set `comment-use-syntax'.
429 2014-02-10 Glenn Morris <rgm@gnu.org>
431 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
433 2014-02-09 Alan Mackenzie <acm@muc.de>
435 Fix c-invalidate-state-cache on narrowed buffers.
436 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
437 Widen when setting and clearing the CPP delimiter properties.
439 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
441 * help.el (describe-bindings): Doc fix (bug#9888).
443 * files.el (save-buffer): Use ARG as the parameter name for
444 consistency (bug#10346).
445 (save-buffer): Clarify the 0 argument (bug#10346).
447 * cus-edit.el (customize-apropos): Fix error string.
448 (custom-buffer-create): Doc fix (bug#11122).
449 (custom-sort-items): Doc fix (bug#11121).
451 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
453 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
454 (icomplete-simple-completing-p): Mention the previous variable.
456 * font-lock.el (font-lock-value-in-major-mode): Clarify the
457 meaning of the parameter (bug#12282).
459 * files.el (find-file-noselect): Clarify prompt when changing
460 readedness (bug#13261).
461 (locate-file): Suffixes aren't returned, so don't say that they
463 (backup-inhibited): Doc clarification (bug#12525).
465 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
466 before we actually start to delete things (bug#16331).
468 * subr.el (event-start): Doc fix (bug#14228).
471 2014-02-09 Glenn Morris <rgm@gnu.org>
473 * emacs-lisp/warnings.el (lwarn):
474 Empower help-enable-auto-load. (Bug#15940)
476 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
478 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
481 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
483 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
484 Insert output at end of buffer. (Bug#16120)
486 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
488 * simple.el (choose-completion-string-functions): Document new
489 calling convention (bug#14153).
490 (execute-extended-command): Clarify doc string (bug#13373).
492 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
494 * find-dired.el (find-name-dired): Doc fix (bug#14290).
495 (find-grep-dired): Doc fix (bug#14288).
497 2014-02-08 Juri Linkov <juri@jurta.org>
499 * isearch.el (isearch-quote-char): Check character validity
500 like in `quoted-insert' (bug#16677).
502 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
504 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
506 * isearch.el (isearch-hide-immediately): Doc clarification
509 * simple.el (line-move): Document utility function used many
510 places in the Emacs sources (bug#14843).
512 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
513 (dired-prev-marked-file): Doc fix (bug#14855).
514 (dired-up-directory): Doc fix (bug#14848).
516 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
518 * files.el (file-relative-name): Doc fix (bug#15159).
520 * fringe.el (fringe-styles): Doc fix (bug#15239).
522 * isearch.el (isearch-filter-predicate): Documentation typo fix
525 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
527 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
529 * replace.el (replace-match-maybe-edit): Doc clarification
532 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
534 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
536 2014-02-08 Glenn Morris <rgm@gnu.org>
538 * help-fns.el (describe-variable):
539 Check {file,dir}-local-variables-alist, and buffer-file-name,
540 in the correct buffer.
542 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
544 * help-fns.el (describe-variable): Fix the case where
545 a value is directory-local with no dir-locals file. (Bug#16635)
547 2014-02-08 Glenn Morris <rgm@gnu.org>
549 * abbrev.el (edit-abbrevs-mode):
550 Derive from fundamental-mode. (Bug#16682)
552 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
554 * simple.el (quoted-insert): Check character validity (bug#16677).
556 2014-02-07 Juri Linkov <juri@jurta.org>
558 * desktop.el (desktop-read): Claim the lock when the owner is not
559 the current process. (Bug#16157)
561 2014-02-07 Juri Linkov <juri@jurta.org>
563 * desktop.el (desktop-buffers-not-to-save): Change default from nil
564 to "\\` ". (Bug#16651)
566 2014-02-07 Juri Linkov <juri@jurta.org>
568 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
569 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
570 (desktop-auto-save-cancel-timer): New function with some code from
571 `desktop-auto-save-set-timer'.
572 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
573 Instead of setting `desktop-save-mode' to nil, call
574 `desktop-save-mode' with arg 0. (Bug#16630)
576 2014-02-07 Glenn Morris <rgm@gnu.org>
578 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
579 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
580 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
582 * obsolete/iswitchb.el: Move to obsolete/.
583 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
584 since obsolete/ is not scanned for autoloads.
585 * emacs-lisp/authors.el (authors-valid-file-names):
588 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
589 Disable now non-functional find-file-hook.
591 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
593 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
594 instead of ";" in order to avoid additional prompts. Let heredoc
595 scripts read from tty. (Bug#16582)
596 (tramp-send-command): No special handling of heredocs, it isn't
599 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
601 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
602 with a space (bug#16664). Limit the symbols considered to the ones
603 that are bound or fbound (bug#16646).
605 2014-02-06 Glenn Morris <rgm@gnu.org>
607 * epa.el (epa-mail-aliases): Doc fix.
609 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
611 * emacs-lisp/lisp.el (lisp-completion-at-point):
612 Use `completion-table-merge' instead of `completion-table-in-turn'
615 * minibuffer.el (completion-table-merge): New function.
617 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
619 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
620 (tramp-sh-handle-set-file-acl)
621 (tramp-sh-handle-start-file-process)
622 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
623 (tramp-find-executable, tramp-send-command): Use it.
625 2014-02-05 Glenn Morris <rgm@gnu.org>
627 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
629 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
631 * progmodes/python.el (python-shell-send-string):
632 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
634 2014-02-04 Anders Lindgren <andlind@gmail.com>
636 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
637 the names (bug#16620).
639 2014-02-03 Martin Rudalics <rudalics@gmx.at>
641 * faces.el (window-divider): New default value. Rewrite doc-string.
642 (window-divider-first-pixel, window-divider-last-pixel): New faces.
644 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
646 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
647 `protected' and `public' can also be called without arguments.
649 2014-02-03 Glenn Morris <rgm@gnu.org>
651 * register.el (window-configuration-to-register)
652 (frame-configuration-to-register): Unadvertise unused argument.
653 * frameset.el (frameset-to-register): Remove unused argument.
655 * frameset.el (frameset-to-register):
656 * kmacro.el (kmacro-to-register):
657 * register.el (increment-register):
658 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
659 (calc-append-to-register, calc-prepend-to-register):
660 * play/gametree.el (gametree-layout-to-register)
661 (gametree-apply-register-layout):
662 * textmodes/picture.el (picture-clear-rectangle-to-register)
663 (picture-yank-rectangle-from-register):
664 * vc/emerge.el (emerge-combine-versions-register):
665 Use register-read-with-preview to read registers.
667 2014-02-03 João Távora <joaotavora@gmail.com>
669 * elec-pair.el (electric-pair-backward-delete-char): Don't error
670 when at beginning of (possibly narrowed) buffer.
672 2014-02-02 Daniel Colascione <dancol@dancol.org>
674 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
675 Also try to display local help from just before point.
677 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
679 c-parse-state. Don't "append-lower-brace-pair" in certain
680 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
681 recognised as a comment.
683 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
684 as well as normal comment starter.
685 (c-parse-state-get-strategy): Extra return possibility
687 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
688 return value list to indicate replacement of a brace-pair cons
690 (c-parse-state-1): With 'back-and-forward, only call
691 c-append-lower-brace-pair-to state-cache when cons-separated.
693 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
695 * term/ns-win.el (ns-suspend-error): New function.
696 (ns-initialize-window-system): Add ns-suspend-error to
697 suspend-hook (Bug#16612).
699 2014-02-02 Daniel Colascione <dancol@dancol.org>
701 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
703 2014-02-02 Daniel Colascione <dancol@dancol.org>
705 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
707 2014-02-02 Glenn Morris <rgm@gnu.org>
709 * register.el (register-read-with-preview, point-to-register)
710 (window-configuration-to-register, frame-configuration-to-register)
711 (jump-to-register, number-to-register, view-register, insert-register)
712 (copy-to-register, append-to-register, prepend-to-register)
713 (copy-rectangle-to-register): Doc fixes.
715 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
717 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
718 * emacs-lisp/find-func.el (find-function-C-source): Idem.
719 * emacs-lisp/nadvice.el (advice--cd*r): New function.
720 * help-fns.el (describe-function-1): Use it.
722 2014-02-02 Glenn Morris <rgm@gnu.org>
724 * register.el (register-preview-default): New function,
725 split from register-preview.
726 (register-preview-function): Rename from register-preview-functions,
728 (register-preview): Use register-preview-function.
729 (register-read-with-preview): Error on non-character event. (Bug#16595)
731 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
733 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
734 `:' before binary operators (bug#16609). Don't check for `:'
735 before `[' and `(', or their syntax status. A percent literal
736 can't end with either.
737 (ruby-font-lock-keywords): For built-ins that require arguments,
738 check that they're followed by something that looks like argument
741 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
743 * subr.el (butlast): Document what an omitted N means (bug#13437).
746 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
748 * net/shr.el (shr-generic): Make into a defsubst to make the stack
749 depth shallower (bug#16587).
750 (shr-tag-svg): Respect `shr-inhibit-images'.
751 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
753 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
755 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
756 (ruby-smie-grammar): Make "." right-associative. Make its priority
757 lower than the ternary and all binary operators.
758 (ruby-smie-rules): Indent "(" relative to the first non-"."
759 parent, or the first "." parent at indentation.
760 Use `ruby-align-chained-calls' for indentation of "." tokens.
763 2014-01-31 Juri Linkov <juri@jurta.org>
765 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
766 from `make-hash-table'.
768 * textmodes/ispell.el (ispell-init-process): Change message format
769 to be consistent with other messages.
771 2014-01-31 Glenn Morris <rgm@gnu.org>
773 * delsel.el (delete-selection-mode): Doc fix.
775 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
776 (trace-function-background): Doc fixes.
778 * ido.el (ido-use-virtual-buffers): Doc fix.
779 Reset :version, since the default value has not changed.
781 * register.el (register-preview-delay, register-read-with-preview):
784 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
785 do not mess with mail-buffer position (fixes 2009-11-03 change).
786 * progmodes/cc-mode.el (c-submit-bug-report):
787 Check auto-fill-mode is bound. (Bug#16592)
789 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
791 * startup.el (fancy-splash-image-file): New function,
792 split from fancy-splash-head.
793 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
794 so that we are both using the same image. (Bug#16574)
796 2014-01-30 Glenn Morris <rgm@gnu.org>
798 * simple.el (eval-expression): Doc fix.
800 * hexl.el (hexl-mode-hook):
801 * ielm.el (ielm-mode-hook):
802 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
803 (lisp-interaction-mode-hook):
804 * progmodes/cfengine.e (cfengine3-documentation-function):
805 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
807 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
809 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
810 is a symbol (bug#16584).
812 2014-01-30 Glenn Morris <rgm@gnu.org>
814 * help.el (help-for-help-internal): Add "P" to text.
816 2014-01-29 Glenn Morris <rgm@gnu.org>
818 * simple.el (just-one-space, cycle-spacing): Doc fixes.
820 2014-01-28 Martin Rudalics <rudalics@gmx.at>
822 * window.el (fit-frame-to-buffer): Fix calculations for margins and
825 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
827 * progmodes/hideif.el: Extend to full CPP expression syntax.
828 (hif-token-alist): Add missing tokens.
829 (hif-token-regexp): Add support for float/octal/hex immediates.
830 (hif-string-literal-regexp): New const.
831 (hif-tokenize): Recognize strings and float/octal/hex immediates.
832 (hif-exprlist): New function.
833 (hif-parse-if-exp): Use it.
834 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
835 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
836 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
837 (hif-logxor, hif-comma): New functions.
839 2014-01-28 Glenn Morris <rgm@gnu.org>
841 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
843 * indent.el (tab-stop-list): Doc fix. Add :version.
845 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
846 (cvs-append-to-ignore): Add compatibility alias.
848 2014-01-27 Glenn Morris <rgm@gnu.org>
850 * dired.el (dired-hide-details-mode): Don't autoload it,
851 since it cannot be used outside Dired buffers anyway.
853 * emulation/cua-base.el (cua-mode): Doc fix.
855 * dired.el (dired-hide-details-hide-symlink-targets)
856 (dired-hide-details-hide-information-lines)
857 (dired-hide-details-mode): Doc fixes.
859 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
860 * strokes.el (strokes-file): Doc fix. Bump :version.
861 (strokes-help): Doc fix.
862 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
863 * emulation/viper.el (viper): Doc fix for custom group.
864 (top-level): Remove oh-so-no-longer-relevant text about vip.
865 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
867 * ido.el (ido-save-directory-list-file):
868 * saveplace.el (save-place-file):
869 * calendar/timeclock.el (timeclock-file):
870 * net/quickurl.el (quickurl-url-file):
871 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
872 * progmodes/idlwave.el (idlwave-config-directory):
873 * textmodes/remember.el (remember-data-file):
876 2014-01-26 Glenn Morris <rgm@gnu.org>
878 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
879 Doc fix. Make obsolete.
880 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
882 * sort.el (delete-duplicate-lines): Doc fix.
884 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
886 * progmodes/ada-mode.el (ada):
887 * woman.el (woman): Link to info manual and Commentary section.
889 * progmodes/flymake.el (flymake):
890 * nxml/nxml-mode.el (nxml):
892 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
893 * htmlfontify.el (htmlfontify):
896 * ido.el (ido): Link to info manual.
898 2014-01-25 Leo Liu <sdl.web@gmail.com>
900 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
902 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
904 * net/shr.el (shr-tag-img): Prefer the title over the alt text
907 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
909 * net/eww.el (eww-download-callback):
910 Fix reference to eww-download-directory.
912 * emacs-lisp/bytecomp.el (byte-compile-file):
913 Remove unused local variable `file-name'.
915 2014-01-24 Glenn Morris <rgm@gnu.org>
917 * woman.el (woman-default-faces, woman-monochrome-faces):
918 Fix obsolescence specification.
920 * subr.el (with-demoted-errors): Doc fix.
922 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
924 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
925 (cl--macroexp-fboundp): New function.
926 (cl--make-type-test): Use it.
928 2014-01-23 Glenn Morris <rgm@gnu.org>
930 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
931 * simple.el (eval-expression): Doc fixes.
933 2014-01-22 Glenn Morris <rgm@gnu.org>
935 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
937 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
939 * emacs-lisp/package.el: Write files silently.
940 (package-autoload-ensure-default-file, package--write-file-no-coding)
941 (package-generate-description-file, package--download-one-archive)
942 (package-install-from-archive): Tell `write-region' to stay quiet.
943 (package-menu-mode, package-menu--print-info): Omit the Archive column
944 if there's only one archive.
945 (package-all-keywords, package--has-keyword-p): Remove dead code.
947 2014-01-22 Glenn Morris <rgm@gnu.org>
949 * version.el (emacs-bzr-version-bzr): Fix typo.
951 * version.el (emacs-repository-get-version):
952 Check either .bzr or .git, but not both.
953 Make the git case actually use the DIR argument, and return nil
954 rather than the empty string.
955 Avoid error if .git exists but the git executable is not found.
957 2014-01-22 Martin Rudalics <rudalics@gmx.at>
959 Fixes in window size functions around Bug#16430 and Bug#16470.
960 * window.el (window-total-size, window-size): New argument ROUND.
961 (window--min-delta-1, window-min-delta, window--max-delta-1):
962 Be more conservative when calculating the numbers of lines or
963 columns a window can shrink (Bug#16430).
964 (fit-window-to-buffer): Simplify code.
965 * term.el (term-window-width): Call window-body-width again.
967 2014-01-22 Glenn Morris <rgm@gnu.org>
969 * image.el (image-format-suffixes): Doc fix.
971 * international/quail.el (quail-define-package): Doc fix.
973 * emacs-lisp/authors.el (authors-valid-file-names):
974 (authors-renamed-files-alist): Additions.
976 * vc/vc-git.el (vc-git-print-log): Remove --follow;
977 reverts 2014-01-09 change. (Bug#16422)
979 * calc/calc-embed.el (thing-at-point-looking-at):
980 * emacs-lisp/map-ynp.el (x-popup-dialog):
981 * obsolete/lmenu.el (x-popup-dialog):
982 * emacs-lisp/package.el (url-recreate-url):
983 * mail/mailclient.el (clipboard-kill-ring-save):
984 * subr.el (x-popup-dialog): Update declaration.
985 * mail/rmail.el (rmail-mime-message-p):
986 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
988 2014-01-21 Daniel Colascione <dancol@dancol.org>
990 * progmodes/sh-script.el (sh--inside-noncommand-expression):
991 Correctly detect when we're inside an arithmetic expansion form
992 containing nested parenthesis.
993 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
994 to detect cases where we shouldn't expand "<<" to a heredoc
997 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
999 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
1000 (eldoc--message-command-p): New function.
1001 (eldoc-display-message-p): Use it.
1002 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
1003 message is not automatically erased for us.
1004 (eldoc-print-current-symbol-info): Erase previous message, if any.
1006 2014-01-21 Tassilo Horn <tsdh@gnu.org>
1008 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
1009 specify it's an interactive function.
1011 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
1012 Fix regex used for scanning for citation keys which failed for
1013 citations with optional arguments.
1015 2014-01-21 Leo Liu <sdl.web@gmail.com>
1017 * simple.el (read--expression): Don't enable eldoc-mode.
1019 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
1021 * simple.el (move-beginning-of-line): Make sure we don't move forward
1024 2014-01-20 Juri Linkov <juri@jurta.org>
1026 * saveplace.el (toggle-save-place, save-place-to-alist)
1027 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
1028 'dired-mode) before checking for dired-directory. (Bug#16477)
1030 2014-01-20 Juri Linkov <juri@jurta.org>
1032 * indent.el (indent-line-to): Use backward-to-indentation
1033 instead of back-to-indentation. (Bug#16461)
1035 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
1037 Revert some of the CANNOT_DUMP fix (Bug#16494).
1038 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
1039 but fixing this can wait until after the next release.
1040 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
1042 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
1044 * eshell/esh-mode.el (eshell-password-prompt-regexp):
1045 Use `password-word-equivalents'.
1046 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
1047 to t. (Bug#5664, Bug#13124)
1049 2014-01-19 Alan Mackenzie <acm@muc.de>
1051 Bind open-paren-in-column-0-is-defun-start to nil at some entry
1053 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
1054 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
1055 * progmodes/cc-mode.el (c-before-change, c-after-change)
1056 (c-font-lock-fontify-region): Bind it here.
1058 2014-01-19 Martin Rudalics <rudalics@gmx.at>
1060 * term.el (term-window-width): Call window-text-width instead of
1061 window-width (Bug#16470).
1063 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
1065 * simple.el (password-word-equivalents): Remove duplicates.
1066 Sort, to make this easier next time.
1067 Downcase. Omit ": " after "jelszó".
1069 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
1071 * term/common-win.el (saved-region-selection): Defvar it.
1072 (x-select-text): Set saved-region-selection (Bug#16382).
1074 2014-01-18 Glenn Morris <rgm@gnu.org>
1076 * emacs-lisp/authors.el (authors-aliases)
1077 (authors-renamed-files-alist): Add some entries.
1079 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
1081 * net/tramp.el (tramp-password-prompt-regexp):
1082 Use `password-word-equivalents' if available.
1083 (tramp-action-password, tramp-process-one-action)
1084 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
1086 2014-01-17 Chong Yidong <cyd@gnu.org>
1088 * simple.el (password-word-equivalents): New defcustom.
1089 * comint.el (comint-password-prompt-regexp): Use it. Bump version
1091 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
1094 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
1096 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
1097 (ruby-align-to-stmt-keywords): Change the default value.
1098 Use `ruby-alignable-keywords' to generate the possible customization
1100 (ruby-smie-rules): Instead of using a hardcoded list of alignable
1101 keywords, check against the value of `ruby-alignable-keywords'
1102 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
1104 2014-01-17 Glenn Morris <rgm@gnu.org>
1106 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
1108 Make M-x authors return zero *Authors Errors* from current logs.
1109 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
1110 (authors-ignored-files): Add some entries, remove others.
1111 (authors-ambiguous-files, authors-valid-file-names):
1113 (authors-renamed-files-alist): Add, remove, and adjust entries.
1114 (authors-renamed-files-regexps): Add some entries.
1115 Remove some very broad ones. Make some entries `lax'.
1116 (authors-lax-changelogs): New constant.
1117 (authors-disambiguate-file-name): Treat top-level specially.
1118 (authors-lax-changelog-p): New function.
1119 (authors-canonical-file-name): Check file as written against
1120 authors-valid-file-names. Do not special-case etc/.
1121 Handle `lax' logs and authors-renamed-files-regexps elements.
1123 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
1125 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
1126 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
1129 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
1131 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
1132 Assume we're already in the proper buffer.
1133 Inspired by Anders Lindgren <andlind@gmail.com>.
1134 (follow-post-command-hook): Call it from the right buffer.
1135 (follow-comint-scroll-to-bottom): Adjust call.
1136 (follow-all-followers): Use get-buffer-window-list.
1138 2014-01-15 Daniel Colascione <dancol@dancol.org>
1140 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
1141 `buffer-file-name' in interactive-form so that we don't leave
1142 pathless file names in `file-name-history'.
1144 2014-01-15 Juri Linkov <juri@jurta.org>
1146 * indent.el (indent-rigidly): Set deactivate-mark to nil
1147 in transient indentation mode. (Bug#16438)
1149 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
1151 * emacs-lisp/package.el (package-desc-keywords): New function
1153 (describe-package-1, package-all-keywords)
1154 (package--has-keyword-p): Use it.
1156 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
1158 * simple.el (define-alternatives): When creating the
1159 COMMAND-alternatives variable, assign COMMAND as its definition
1160 name so that `describe-variable' can relocate it.
1162 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
1164 * font-lock.el (font-lock-keywords): Fix typo in docstring
1167 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
1169 * ispell.el (ispell-region): Reset `in-comment' for new line
1170 instead of wrongly reset `add-coment' (bug#13577).
1172 2014-01-14 Daiki Ueno <ueno@gnu.org>
1174 * epa-file.el (epa-file-write-region): Encode the region according
1175 to `buffer-file-format'. Problem reported at:
1176 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
1178 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
1180 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
1181 so it applies in the right buffer (bug#16410).
1183 2014-01-13 Daniel Colascione <dancol@dancol.org>
1185 * textmodes/rst.el (rst-define-key): Provide deprecated
1186 keybindings through named functions instead of anonymous ones so
1187 that "??" doesn't appear in describe-mode output.
1189 2014-01-13 Bastien Guerry <bzg@gnu.org>
1191 * simple.el (define-alternatives): Call the selected command
1192 interactively. When setting `COMMAND--implementation' for the
1193 first time, tell the user how to chose another implementation.
1194 Enhance the docstring.
1196 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1198 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
1199 (log-edit--match-first-line): New function.
1200 (log-edit-font-lock-keywords): Use it.
1201 (log-edit-mode): Make jit-lock-defer-multiline work.
1203 2014-01-13 Bastien Guerry <bzg@gnu.org>
1205 * rect.el (rectangle-mark-mode): When the region is not active,
1206 display a message saying that the mark as been set and that
1207 rectangle mode is in use.
1208 (rectangle--highlight-for-redisplay): Only put an overlay with a
1209 visible vertical bar when (display-graphic-p) is non-nil.
1210 This partially fixes Bug#16403.
1212 2014-01-13 Juri Linkov <juri@jurta.org>
1214 * info.el (Info-find-file): Go to DIR before displaying the error
1215 about a nonexistent file if no previous Info file is visited.
1216 Use `user-error' instead of `error' for "Info file %s does not exist".
1217 (Info-find-node-2): In case of a nonexistent node in unwind forms
1218 go to the Top node if there is no previous node to revert to.
1221 2014-01-13 Martin Rudalics <rudalics@gmx.at>
1223 fit-frame/window-to-buffer code fixes including one for Bug#14096.
1224 * window.el (fit-frame-to-buffer): Fix doc-string.
1225 Respect window-min-height/-width. Fit pixelwise when
1226 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
1227 when avoiding that frame goes partially off-screen.
1228 (fit-window-to-buffer): Respect window-min-height/-width
1231 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
1233 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
1234 after an empty line.
1236 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
1238 * net/shr.el (shr-render-region): Autoload.
1240 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
1242 * net/eww.el (eww-download-directory): Rename from
1243 `eww-download-path' (Bug#16419).
1245 2014-01-12 Leo Liu <sdl.web@gmail.com>
1247 * dired-x.el (dired-mode-map): Fix last change.
1249 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
1251 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
1254 * emacs-lisp/generic.el (generic--normalize-comments):
1255 Rename from generic--normalise-comments. All uses changed.
1256 * play/bubbles.el (bubbles--neighborhood-score):
1257 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
1258 (bubbles--neighborhood-available)
1259 (bubbles--update-neighborhood-score):
1260 Rename from names with 'neighbourhood'. All uses changed.
1262 2014-01-12 Leo Liu <sdl.web@gmail.com>
1264 Re-implement the feature of showing eldoc info after editing.
1265 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1266 (eldoc-edit-message-commands): New function.
1267 (eldoc-print-after-edit): New variable.
1268 (eldoc-pre-command-refresh-echo-area): Emit message only by
1269 eldoc-message-commands.
1270 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1271 if eldoc-print-after-edit is set. (Bug#16346)
1272 * simple.el (read--expression): Enable eldoc-mode.
1273 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1275 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1276 Eric S. Raymond <esr@thyrsus.com>
1278 * version.el (emacs-repository-get-version): Enhance so the
1279 function works correctly in either a Bazaar or Git repo.
1281 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1283 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1284 Goes with removal of the joke manpages from /etc.
1286 2014-01-10 Kenichi Handa <handa@gnu.org>
1288 * mail/rmail.el (rmail-get-coding-system):
1289 Check rmail-get-coding-function before "funcall"ing it.
1291 2014-01-10 Glenn Morris <rgm@gnu.org>
1293 * emacs-lisp/authors.el (authors-fixed-entries):
1294 Update for files that no longer exist.
1296 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1298 * version.el (emacs-bzr-get-version): Restore compatibilty with
1301 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1303 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1306 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1308 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1310 2014-01-10 Chong Yidong <cyd@gnu.org>
1312 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1314 2014-01-10 Anders Lindgren <andlind@gmail.com>
1316 * follow.el (follow-cache-command-list): Include right-char and
1319 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1322 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1323 * woman.el (woman-mark-horizontal-position):
1324 Rename from woman-mark-horizonal-position. Use changed.
1326 2014-01-10 Glenn Morris <rgm@gnu.org>
1328 * info.el (info-initialize): If running uninstalled, ensure our
1329 own info files are always found first, even if INFOPATH is set.
1331 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1333 2014-01-09 David Engster <deng@randomsample.de>
1335 * emacs-lisp/eieio-custom.el:
1336 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1337 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1338 * emacs-lisp/eieio.el: Regenerate autoloads.
1340 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1342 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1343 following renames. (Bug#8756)
1345 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1347 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1349 (activate-mark): Add `no-tmm' argument.
1350 (set-mark, push-mark-command): Use it instead of running
1351 activate-mark-hook by hand.
1353 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1355 In preparation for the move to git, sanitize out some
1356 Bazaar-specific names.
1358 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1360 * version.el (emacs-bzr-version): Name changed to
1361 emacs-repository-version. Obsolete-variable alias made.
1362 * loadup.el: Follow through on this name change.
1363 * mail/emacsbug.el (report-emacs-bug): Factor out any
1364 assumption about the version control system in use.
1366 2014-01-08 David Engster <deng@randomsample.de>
1368 * help-fns.el (help-fns-describe-function-functions):
1369 New variable to call functions for augmenting help buffers.
1370 (describe-function-1): Remove explicit calls to
1371 `help-fns--compiler-macro', `help-fns--parent-mode' and
1372 `help-fns--obsolete'. Put them in above new variable instead, and
1373 call them through `run-hook-with-args'.
1374 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1375 `eieio-describe-class'. Not meant for interactive use anymore,
1376 but to augment existing help buffers. Remove optional second
1377 argument. Create proper button for file location.
1378 Rewrite function to use `insert' instead of `princ' and `prin1' where
1380 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1381 (eieio-method-def, eieio-class-def): Move further up.
1382 (describe-method, describe-generic, eieio-describe-method):
1384 (eieio-help-constructor, eieio-help-generic): Rename from
1385 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1386 Rewrite to use `insert' in the current buffer and use proper help
1388 (eieio-help-find-method-definition)
1389 (eieio-help-find-class-definition): Also accept symbols as
1391 (eieio-help-mode-augmentation-maybee): Remove.
1392 (eieio-describe-class-sb): Use `describe-function'.
1393 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1394 Add `eieio-help-generic' and `eieio-help-constructor'.
1396 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1399 * language/china-util.el (hz-ascii-designation):
1400 Rename from hz-ascii-designnation.
1401 (hz-ascii-designation): Rename from hz-ascii-designnation.
1404 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1406 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1409 2014-01-08 Bastien Guerry <bzg@gnu.org>
1411 * emacs-lisp/package.el (package-delete):
1412 Correctly delete the package from package-alist.
1414 2014-01-08 Daiki Ueno <ueno@gnu.org>
1416 * emacs-lisp/package.el (url-recreate-url): Declare.
1417 (url-http-target-url): Declare.
1418 (package-handle-response): Include requested URL in the error message.
1419 (package--check-signature): Don't re-signal errors from
1420 package--with-work-buffer. Suggested by Stefan Monnier.
1422 2014-01-07 Bastien Guerry <bzg@gnu.org>
1424 * minibuffer.el (completion--try-word-completion): When both a
1425 hyphen and a space are possible candidates for the character
1426 following a word, display both candidates. (Bug#15980)
1428 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1430 * window.el (balance-windows-2): While rounding don't give a
1431 window more than the remainder. Bug#16351, bug#16383.
1433 2014-01-07 Glenn Morris <rgm@gnu.org>
1435 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1436 (menu-bar-help-menu): Use view-external-packages instead.
1438 2014-01-07 Bastien Guerry <bzg@gnu.org>
1440 * emacs-lisp/package.el (package-delete): Also delete the package
1441 name from `package-alist', not its description only.
1443 2014-01-07 Glenn Morris <rgm@gnu.org>
1445 * help.el (view-external-packages):
1446 * menu-bar.el (menu-bar-help-extra-packages):
1447 Visit efaq.info rather than etc/MORE.STUFF.
1449 2014-01-07 Juri Linkov <juri@jurta.org>
1451 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1452 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1454 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1455 that shadows RET. (Bug#16342)
1457 2014-01-07 Chong Yidong <cyd@gnu.org>
1459 * isearch.el (isearch-yank-char, isearch-yank-word)
1460 (isearch-yank-line): Doc fix.
1462 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1464 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1465 * emacs-lisp/elint.el (elint-find-builtins):
1466 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1467 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1468 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1469 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1470 * apropos.el (apropos-safe-documentation):
1471 * subr.el (symbol-file): Remove redundant fboundp.
1472 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1474 2014-01-06 Bastien Guerry <bzg@gnu.org>
1476 * hl-line.el (global-hl-line-overlay): Make a local variable.
1477 (global-hl-line-overlays): New variable to store all overlays.
1478 (global-hl-line-mode): Don't delete overlays from the current
1479 buffer when `global-hl-line-sticky-flag' is non-nil.
1480 (global-hl-line-highlight): Add new overlays to
1481 `global-hl-line-overlays'.
1482 (global-hl-line-unhighlight-all): New function to delete all
1483 overlays when turning off `global-hl-line-mode'.
1484 This fixes Bug#16183.
1486 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1488 * subr.el (set-transient-map): Fix nested case and docstring.
1490 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1492 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1495 2014-01-06 Daniel Colascione <dancol@dancol.org>
1497 Fix defun navigation in vc log view.
1499 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1500 like `beginning-of-defun'.
1501 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1502 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1503 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1504 (log-view-extract-comment): Call `log-view-current-entry' directly
1505 instead of relying on broken `log-view-beginning-of-defun' behavior.
1507 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1510 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1511 * emacs-lisp/debug.el (cancel-debug-on-entry):
1512 * epg.el (epg-error-to-string):
1513 * files.el (recover-file):
1514 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1515 * mail/emacsbug.el (report-emacs-bug-hook):
1516 * mail/sendmail.el (mail-recover):
1517 * ses.el (ses-yank-resize):
1518 * term/ns-win.el (ns-print-buffer):
1519 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1520 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1522 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1524 2014-01-06 Leo Liu <sdl.web@gmail.com>
1526 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1527 to avoid shadowing global key. (Bug#16354)
1529 2014-01-06 Daniel Colascione <dancol@dancol.org>
1531 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1534 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1536 * window.el (balance-windows): Add mising t to fix Bug#16351.
1538 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1540 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1542 (shr-insert): If we have a word that's longer than `shr-width',
1543 break after it anyway. Otherwise we'll do no breaking once we get
1546 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1548 * net/eww.el (eww): Support single/double quote for search.
1549 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1550 (eww-history-quit): Delete and use quit-window.
1551 (eww-history-kill): Delete, because it doesn't work well and
1553 (eww-history-mode-map): Delete some keys and add easy-menu.
1555 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1557 Fix misspelling of 'chinese' in rx (Bug#16237).
1558 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1561 Change subword regexps back to vars (Bug#16296).
1562 * progmodes/subword.el (subword-forward-regexp)
1563 (subword-backward-regexp): Change these back to variables.
1565 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1567 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1568 syntax-begin-function (bug#16247).
1570 2014-01-03 Chong Yidong <cyd@gnu.org>
1572 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1573 (advice--docstring): Delete variable.
1574 (advice--make-1): Leave the docstring empty.
1575 (advice-add): Use function-documentation for advised docstring.
1577 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1578 Ignore function-documentation property when getting documentation.
1579 (ad-activate-advised-definition): Use function-documentation
1580 generate the docstring.
1581 (ad-make-advised-definition): Don't call
1582 ad-make-advised-definition-docstring.
1583 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1586 * progmodes/sql.el (sql-help): Use function-documentation instead
1587 of dynamic-docstring-function property. No need to autoload now.
1588 (sql--help-docstring): New variable.
1589 (sql--make-help-docstring): Use it.
1591 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1593 * ielm.el (ielm-tab): Retarget.
1594 (ielm-map): Use ielm-tab for tab.
1595 (ielm-complete-filename): Use comint-filename-completion.
1596 (ielm-complete-symbol): Remove.
1597 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1598 remove ielm-tab from completion-at-point-functions (bug#16224).
1600 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1601 Beware signals raised by predicates (bug#16201).
1603 2014-01-02 Richard Stallman <rms@gnu.org>
1605 * dired-aux.el (dired-do-print): Handle printer-name.
1607 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1608 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1609 (rmail-epa-decrypt): Turn off mime processing.
1611 * mail/rmail.el (rmail-make-in-reply-to-field):
1612 Add parens in message-id.
1614 * mail/rmail.el (rmail-get-coding-function): Variable.
1615 (rmail-get-coding-system): Use it.
1617 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1619 * international/mule-conf.el: Unify the charset indian-is13194.
1620 (indian-is13194): Specify unify-map.
1622 2013-12-31 Leo Liu <sdl.web@gmail.com>
1624 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1626 2013-12-30 Daniel Colascione <dancol@dancol.org>
1628 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1629 of printing a useless when we resume from sleep.
1631 * progmodes/sh-script.el
1632 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
1633 in indentation code. (Bug#16233)
1635 2013-12-28 João Távora <joaotavora@gmail.com>
1637 * elec-pair.el (electric-pair-post-self-insert-function):
1638 Don't open extra newlines at beginning of buffer. (Bug#16272)
1640 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1642 * frame.el (window-system-for-display): Don't allow to create a
1643 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1645 2013-12-28 Glenn Morris <rgm@gnu.org>
1647 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1650 * apropos.el (apropos-match-face):
1651 * calculator.el (calculator-displayer):
1652 * dabbrev.el (dabbrev-search-these-buffers-only):
1653 * face-remap.el (buffer-face-mode-face):
1654 * simple.el (yank-handled-properties):
1655 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1656 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1657 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1658 (hashcash-double-spend-database):
1659 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1660 (ruby-deep-indent-paren-style):
1661 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1662 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1663 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1664 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1665 Specify custom types.
1667 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1668 * bookmark.el (bookmark-bmenu-use-header-line):
1669 * doc-view.el (doc-view-scale-internally):
1670 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1671 * register.el (register-preview-delay):
1672 * net/shr.el (shr-bullet):
1673 * progmodes/cfengine.el (cfengine-cf-promises)
1674 (cfengine-parameters-indent):
1675 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1676 * textmodes/reftex-vars.el (reftex-label-regexps):
1677 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1679 * net/tls.el (tls-certtool-program): Fix default value.
1681 * desktop.el (desktop-restore-in-current-display):
1682 * newcomment.el (comment-empty-lines):
1683 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1684 (idlwave-pad-keyword):
1685 * progmodes/tcl.el (tcl-tab-always-indent):
1686 * textmodes/reftex-vars.el (reftex-index-default-tag):
1687 * elec-pair.el (electric-pair-skip-whitespace):
1688 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1690 * emacs-lisp/authors.el (authors-ignored-files)
1691 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1693 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1695 * shell.el (shell-dynamic-complete-command): Doc fix.
1696 (shell--command-completion-data): Shell completion now matches
1697 executable filenames from the current buffer's directory, on
1698 systems in which this behavior is the default (windows-nt, ms-dos).
1700 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1702 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1704 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1706 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1709 * electric.el: Move all electric-pair-* to elec-pair.el.
1710 * elec-pair.el: New file, split from electric.el.
1712 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1714 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1715 indentation level is larger than the width, because that will
1717 (shr-insert): Fill repeatedly long texts, so that Japanese is
1718 formatted correctly (bug#16263).
1719 (shr-find-fill-point): Off by one error in comparison with the
1722 2013-12-26 João Távora <joaotavora@gmail.com>
1724 * electric.el (electric-pair-mode): More flexible engine for skip-
1725 and inhibit predicates, new options for pairing-related functionality.
1726 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1727 if that keeps or improves their balance in buffers.
1728 (electric-pair-delete-adjacent-pairs): Delete the pair when
1729 backspacing over adjacent matched delimiters.
1730 (electric-pair-open-extra-newline): Open extra newline when
1731 inserting newlines between adjacent matched delimiters.
1732 (electric--sort-post-self-insertion-hook):
1733 Sort post-self-insert-hook according to priority values when
1734 minor-modes are activated.
1735 * simple.el (newline-and-indent): Call newline with interactive
1737 (blink-paren-post-self-insert-function): Set priority to 100.
1738 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1739 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1740 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1741 electric-pair-open-newline-between-pairs to nil.
1743 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1745 * progmodes/python.el: Use lexical-binding.
1746 (python-nav-beginning-of-defun): Stop searching ASAP.
1748 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1750 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1751 Fix interactive spec. Doc fix. (Bug#15754)
1753 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1755 * emacs-lisp/byte-run.el (eval-when-compile):
1756 * progmodes/cc-defs.el (cc-eval-when-compile):
1757 Fix edebug spec (bug#16184).
1759 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1761 * net/shr.el (shr-visit-file): Remove debugging function.
1762 (shr-insert): Don't infloop if we can't find a good place to break
1763 the line (bug#16256).
1765 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1767 * progmodes/python.el:
1768 (python-nav--lisp-forward-sexp): New function.
1769 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1770 python-nav-lisp-forward-sexp-safe.
1771 (python-nav--forward-sexp): New argument SAFE allows switching
1772 forward sexp movement behavior for parens.
1773 (python-nav-forward-sexp): Throw errors on unterminated parens
1775 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1776 (python-nav-backward-sexp-safe): New functions.
1777 (python-shell-buffer-substring):
1778 Use `python-nav-forward-sexp-safe'.
1780 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1782 * net/shr.el (shr-find-fill-point): Don't break lines before a
1784 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1785 (shr-find-fill-point): Remove the special checks for the quotation
1786 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1788 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1790 * net/eww.el (eww-form-textarea): Use a different face for
1791 textareas than text input since they have different keymaps
1794 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1796 * progmodes/python.el (python-nav-beginning-of-statement):
1797 Speed up (Bug#15295).
1799 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1801 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1802 the window configuration.
1804 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1806 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1807 we run on MS-Windows or MS-DOS.
1809 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1811 * window.el (balance-windows-area): Call window-size instead of
1812 window-height and window-width. Bug#16241.
1814 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1816 * net/eww.el (eww-bookmark-quit): Remove.
1817 (eww-bookmark-browse): Restore the window configuration when you
1818 choose a bookmark (bug#16144).
1820 2013-12-24 Daniel Colascione <dancol@dancol.org>
1822 * icomplete.el: Remove redundant :group arguments to `defcustom'
1824 (icomplete-show-matches-on-no-input): New customizable variable.
1825 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1826 we have something to show.
1827 (icomplete-exhibit): Compute completions even if we have no user input.
1829 2013-12-23 Daniel Colascione <dancol@dancol.org>
1831 * icomplete.el: Move `provide' to end of file.
1833 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1835 * net/gnutls.el (gnutls-verify-error): Add version tag.
1837 2013-12-23 Chong Yidong <cyd@gnu.org>
1839 * subr.el (set-transient-map): Rename from
1840 set-temporary-overlay-map. Doc fix.
1842 * face-remap.el (text-scale-adjust):
1843 * indent.el (indent-rigidly):
1844 * kmacro.el (kmacro-call-macro):
1845 * minibuffer.el (minibuffer-force-complete):
1846 * repeat.el (repeat):
1847 * simple.el (universal-argument--mode):
1848 * calendar/todo-mode.el (todo-insert-item--next-param):
1849 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1851 * indent.el (indent-rigidly): Use substitute-command-keys.
1853 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1855 * net/eww.el (eww-tag-select): Add text-property to jump to next
1857 (eww): Add non-supported ftp error.
1859 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1861 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1862 comments. Handle electric indent after typing `?' and `!'.
1864 2013-12-22 Chong Yidong <cyd@gnu.org>
1866 * faces.el (face-spec-recalc): If the theme specs are not
1867 applicable to a frame, fall back on the defface spec.
1868 This prevents themes from obliterating faces on low-color terminals.
1870 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1872 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1873 after `{'. We need it after block openers, and it doesn't seem
1874 to hurt after hash openers.
1876 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1878 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1879 extracted from `ruby-smie-rules'.
1880 (ruby--electric-indent-chars): New variable.
1881 (ruby--electric-indent-p): New function.
1882 (ruby-mode): Use `electric-indent-functions' instead of
1883 `electric-indent-chars'.
1885 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1887 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1889 (ruby-smie-rules): Indent plus one level after `=>'.
1891 2013-12-21 Richard Stallman <rms@gnu.org>
1893 * simple.el (newline): Doc fix.
1895 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1897 * net/eww.el (eww-list-histories, eww-list-histories)
1898 (eww-history-browse, eww-history-quit, eww-history-kill)
1899 (eww-history-mode-map, eww-history-mode): New command and
1900 functions to list browser histories.
1901 (eww-form-text): Support text form with disabled
1902 and readonly attributes.
1903 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1905 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1907 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1908 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1909 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1910 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1912 (eww-bookmark-mode-map): Add menu.
1913 (eww-render, eww-mode): Use `setq-local'.
1914 (eww-tool-bar-map): New variable.
1915 (eww-mode): Set `tool-bar-map'.
1916 (eww-view-source): Check for `html-mode' with `fboundp'.
1918 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1920 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1921 elements with text inside. Also remove debugging.
1923 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1925 * cus-start.el (all): Add ns-use-srgb-colorspace.
1927 2013-12-21 Chong Yidong <cyd@gnu.org>
1929 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1930 undefined. Thus, theme settings for undefined faces do not take
1931 effect until the faces are defined with defface, the same as with
1934 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1935 (face-spec-reset-face): Don't assign extra properties in temacs.
1936 (face-spec-recalc): Apply X resources too.
1938 2013-12-21 Chong Yidong <cyd@gnu.org>
1940 * faces.el (face-spec-set):
1941 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1942 * custom.el (defface): Doc fixes (Bug#16203).
1944 * indent.el (indent-rigidly-map): Add docstring, and move commands
1945 into named functions.
1946 (indent-rigidly-left, indent-rigidly-right)
1947 (indent-rigidly-left-to-tab-stop)
1948 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1949 indentation direction based on bidi direction, and accumulate
1950 sequential commands in a single undo boundary.
1951 (indent-rigidly--pop-undo): New utility function.
1953 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1955 * faces.el (read-face-name): Require crm.el when using crm-separator.
1957 2013-12-20 Daniel Colascione <dancol@dancol.org>
1959 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1960 so that we don't reflow comments into the shebang line.
1962 2013-12-20 Juri Linkov <juri@jurta.org>
1964 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1965 a position when `dired-directory' is non-nil. Check integer
1966 positions with `integerp'.
1967 (toggle-save-place, save-places-to-alist): Add check for
1969 (save-place-find-file-hook): Check integer positions with
1971 (save-place-dired-hook): Use `dired-goto-file' when
1972 `dired-filename' is found in the assoc list. Check integer
1973 positions with `integerp'.
1974 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1976 * dired.el (dired-initial-position-hook): Rename back from
1977 `dired-initial-point-hook'.
1978 (dired-initial-position): Rename `dired-initial-point-hook' to
1979 `dired-initial-position-hook'.
1980 (dired-file-name-at-point): Doc fix. (Bug#15329)
1982 2013-12-20 Juri Linkov <juri@jurta.org>
1984 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1985 (read-regexp-suggestions): New function.
1986 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1987 Use `read-regexp-suggestions'. Add non-empty default to history
1989 (occur-read-regexp-defaults-function): Remove function.
1990 (occur-read-primary-args): Use `regexp-history-last' instead of
1991 `occur-read-regexp-defaults-function'.
1993 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1994 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1995 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1996 `hi-lock-read-regexp-defaults-function'. Doc fix.
1997 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1998 with `find-tag-default-as-symbol-regexp'. Doc fix.
1999 (hi-lock-read-regexp-defaults): Remove function.
2000 (hi-lock-regexp-okay): Add check for null.
2002 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
2003 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
2005 * subr.el (find-tag-default-as-symbol-regexp): New function.
2006 (find-tag-default-as-regexp): Move symbol regexp formatting to
2007 `find-tag-default-as-symbol-regexp'.
2009 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
2011 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
2014 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2016 * calendar/todo-mode.el: New implementation of item insertion
2017 commands and key bindings.
2018 (todo-key-prompt): New face.
2019 (todo-insert-item): New command.
2020 (todo-insert-item--parameters): New defconst, replacing defvar
2021 todo-insertion-commands-args-genlist.
2022 (todo-insert-item--param-key-alist): New defconst, replacing
2023 defvar todo-insertion-commands-arg-key-list.
2024 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
2025 (todo-insert-item--argsleft, todo-insert-item--apply-args)
2026 (todo-insert-item--next-param): New functions.
2027 (todo-insert-item--args, todo-insert-item--argleft)
2028 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
2030 (todo-key-bindings-t): Change binding of "i" from
2031 todo-insertion-map to todo-insert-item.
2032 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
2033 (todo-insertion-command-name, todo-insertion-commands-names)
2034 (todo-define-insertion-command, todo-insertion-commands)
2035 (todo-insertion-key-bindings, todo-insertion-map): Remove.
2037 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
2039 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
2040 (todo-toggle-item-highlighting): Use eval-and-compile instead of
2042 (todo-move-category): Allow choosing a non-existing todo file to
2043 move the category to, and create that file.
2044 (todo-default-priority): New user option.
2045 (todo-set-item-priority): Use it.
2046 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
2047 (desktop-restore-file-buffer): Declare.
2048 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
2049 (todo-modes-set-2): Locally set desktop-save-buffer to
2050 todo-desktop-save-buffer.
2051 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
2052 (auto-mode-alist): Add autoload cookie.
2054 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
2056 * emacs-lisp/subr-x.el: Renamed from helpers.el.
2057 helpers.el was a poor choice of name.
2058 (string-remove-prefix): New function.
2059 (string-remove-suffix): New function.
2061 2013-12-20 Martin Rudalics <rudalics@gmx.at>
2063 Fix assignment for new window total sizes.
2064 * window.el (window--pixel-to-size): Remove function.
2065 (window--pixel-to-total-1, window--pixel-to-total):
2066 Fix calculation of new total sizes.
2068 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
2070 * comint.el (comint-output-filter): Fix rear-nonsticky property
2071 placement (Bug#16010).
2073 2013-12-20 Chong Yidong <cyd@gnu.org>
2075 * faces.el (read-color): Minor fix for completion function.
2077 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
2079 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
2080 New option. (Bug#16182)
2081 (ruby-smie--indent-to-stmt-p): Use it.
2082 (ruby-smie-rules): Revert the logic in the handling of `when'.
2083 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
2084 (ruby-deep-arglist, ruby-deep-indent-paren)
2085 (ruby-deep-indent-paren-style): Update docstrings to note that the
2086 vars don't have any effect with SMIE.
2088 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
2090 * calc/calc.el (calc-enter, calc-pop): Use the variable
2091 `calc-context-sensitive-enter'.
2093 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
2095 * net/shr.el (shr-insert): Protect against infloops in degenerate
2098 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2100 * progmodes/octave.el (octave): Add link to manual and octave
2102 (octave-mode-menu): Link to octave-mode manual.
2104 2013-12-20 Leo Liu <sdl.web@gmail.com>
2106 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
2107 insertion using skeleton-end-newline. (Bug#16138)
2109 2013-12-20 Juri Linkov <juri@jurta.org>
2111 * replace.el (occur-engine): Use `add-face-text-property'
2112 to add the face property to matches and titles. (Bug#14645)
2114 * hi-lock.el (hi-green): Use lighter color "light green" closer to
2115 the palette of other hi-lock colors.
2116 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
2118 2013-12-19 Juri Linkov <juri@jurta.org>
2120 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
2121 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
2122 (minibuffer-history-symbol): Move variable declaration closer to
2125 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
2128 2013-12-19 Juri Linkov <juri@jurta.org>
2130 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
2132 (log-edit-hook): Add it to :options. (Bug#16170)
2134 2013-12-19 Juri Linkov <juri@jurta.org>
2136 * simple.el (eval-expression-print-format): Don't check for
2137 command names and the last command. Always display additional
2138 formats of the integer result in the echo area, and insert them
2139 to the current buffer only with a zero prefix arg.
2140 Display character when char-displayable-p is non-nil.
2141 (eval-expression): With a zero prefix arg, set `print-length' and
2142 `print-level' to nil, and insert the integer values from
2143 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
2145 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
2146 `eval-last-sexp-arg-internal'. Doc fix.
2147 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
2148 `eval-last-sexp-print-value'. Doc fix.
2149 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
2150 Set `print-length' and `print-level' to nil when arg is zero.
2151 (eval-last-sexp): Doc fix.
2152 (eval-defun-2): Print the integer values from
2153 `eval-expression-print-format' at the end.
2155 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
2156 values from `eval-expression-print-format' at the end.
2158 * ielm.el (ielm-eval-input): Print the integer
2159 values from `eval-expression-print-format' at the end.
2161 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
2163 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
2164 2013-12-11T19:01:44Z!tzz@lifelogs.com.
2166 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
2168 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
2169 (hl-line-highlight, global-hl-line-highlight): Use it.
2170 (hl-line-overlay): Use defvar-local.
2172 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
2174 * term/ns-win.el: Require dnd.
2175 (global-map): Remove drag items.
2176 (ns-insert-text, ns-set-foreground-at-mouse)
2177 (ns-set-background-at-mouse):
2178 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
2179 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
2182 2013-12-19 Glenn Morris <rgm@gnu.org>
2184 * emacs-lisp/ert.el (ert-select-tests):
2185 Fix string/symbol mixup. (Bug#16121)
2187 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2189 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
2190 keywords to their parent.
2192 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
2194 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
2195 first arg to be a string (fixed dead code), or an operator symbol.
2196 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
2198 (ruby-smie-rules): Remove parent token check in the `.' clause, it
2199 did nothing. Don't respond to `(:after ".")', it will be called
2200 with :before anyway. Remove the ` @ ' rule, it didn't seem to
2201 change anything. Only return indentation for binary operators
2202 when they are hanging. De-dent opening paren when its parent is
2203 `.', otherwise it looks bad when the dot is not at bol or eol
2206 2013-12-19 Juri Linkov <juri@jurta.org>
2208 * replace.el (query-replace-read-args): Split a non-negative arg
2209 and a negative arg into separate elements.
2210 (query-replace, query-replace-regexp, replace-string)
2211 (replace-regexp): Add arg `backward'. Doc fix.
2212 (replace-match-maybe-edit): When new arg `backward' is non-nil,
2213 move point to the beginning of the match.
2214 (replace-search, replace-highlight): Use new arg `backward'
2215 to set the value of `isearch-forward'.
2216 (perform-replace): Add arg `backward' and use it to perform
2217 replacement backward. (Bug#14979)
2219 * isearch.el (isearch-query-replace): Use a negative prefix arg
2220 to call `perform-replace' with a non-nil arg `backward'.
2222 2013-12-18 Juri Linkov <juri@jurta.org>
2224 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
2225 to the default list. Move `log-edit-show-files' to the end.
2226 Add more available functions to options.
2227 (log-edit): Move default specific settings to
2228 `log-edit-insert-message-template'. Don't move point.
2229 (log-edit-insert-message-template): New function.
2230 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
2233 2013-12-18 Juri Linkov <juri@jurta.org>
2235 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
2236 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
2238 2013-12-18 Leo Liu <sdl.web@gmail.com>
2240 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
2243 2013-12-18 Eli Zaretskii <eliz@gnu.org>
2245 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
2246 formats for displaying file sizes when the -s switch is given.
2247 Instead, compute a separate format for displaying the size in
2248 blocks, which is displayed in addition to the "regular" size.
2249 When -h is given in addition to -s, produce size in blocks in
2250 human-readable form as well. (Bug#16179)
2252 2013-12-18 Tassilo Horn <tsdh@gnu.org>
2254 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
2255 Reference tables with ~\ref{...} instead of only \ref{...}.
2257 2013-12-18 Chong Yidong <cyd@gnu.org>
2259 * cus-edit.el (custom-magic-alist): Fix "themed" description
2262 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2263 is non-nil, do not create a new entry in the symbol's theme-value
2264 or theme-face property; update theme-settings only (Bug#14664).
2265 (custom-available-themes): Doc fix.
2267 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2270 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2272 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2274 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2277 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2279 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2281 2013-12-18 Glenn Morris <rgm@gnu.org>
2283 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2284 * cus-start.el (load-prefer-newer): New option.
2286 2013-12-18 Le Wang <l26wang@gmail.com>
2288 * comint.el (comint-previous-matching-input-from-input):
2289 Retain point (Bug#13404).
2291 2013-12-18 Chong Yidong <cyd@gnu.org>
2293 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2295 2013-12-18 Glenn Morris <rgm@gnu.org>
2297 * mail/emacsbug.el (report-emacs-bug):
2298 Only mention enable-multibyte-characters if non-standard.
2300 2013-12-17 Juri Linkov <juri@jurta.org>
2302 * arc-mode.el (archive-extract-by-file): Check if directory exists
2303 before deletion to not show irrelevant errors if it doesn't exist.
2305 2013-12-17 Juri Linkov <juri@jurta.org>
2307 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2310 * net/eww.el (browse-web): Add alias to `eww'.
2311 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2312 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2314 * net/browse-url.el (browse-url-browser-function): Move `eww'
2315 closer to similar functions.
2317 * startup.el (fancy-startup-screen, fancy-about-screen):
2318 Set browse-url-browser-function to eww-browse-url locally.
2321 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2323 * window.el (window--pixel-to-total): Remove unused `mini' var.
2324 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2325 (split-window): Remove unused `new' var.
2326 (window--display-buffer): Remove unused `frame' and `delta' vars.
2327 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2330 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2332 * dired.el (dired-mark-pop-up):
2333 * register.el (register-preview): Don't bind
2334 split-height-threshold here since it's now done in
2335 display-buffer-below-selected.
2337 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2339 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2340 xterm-rgb-convert-to-16bit.
2341 (rxvt-register-default-colors): Standardize with
2342 xterm-register-default-colors (Bug#14078).
2344 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2346 * simple.el (kill-region): Pass mark first, then point, so that
2347 kill-append works right (Bug#12819).
2348 (copy-region-as-kill, kill-ring-save): Likewise.
2350 2013-12-17 Leo Liu <sdl.web@gmail.com>
2352 * net/rcirc.el (rcirc-add-face):
2353 * eshell/em-prompt.el (eshell-emit-prompt):
2354 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2357 2013-12-17 Chong Yidong <cyd@gnu.org>
2359 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2360 Suggested by Xue Fuqiao.
2362 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2364 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2366 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2368 * net/shr.el (shr-insert-document): Remove unused var
2369 `shr-preliminary-table-render'.
2370 (shr-rescale-image): Remove unused arg `force'.
2371 (shr-put-image): Update calls accordingly.
2372 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2374 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2376 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2377 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2378 :close-all, to see which indentation method to use (Bug#16116).
2379 (smie-rules-function): Document the method :close-all.
2381 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2383 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2385 * net/eww.el (eww-display-html): If we can't find the anchor we're
2386 looking for, then go to point-min.
2388 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2390 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2391 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2392 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2393 Expand dir too, in case it's relative.
2395 2013-12-16 Juri Linkov <juri@jurta.org>
2397 * desktop.el (desktop-auto-save-timeout): Change default to
2398 `auto-save-timeout'. Doc fix.
2399 (desktop-save): Skip the timestamp in desktop-saved-frameset
2400 when checking for auto-save changes.
2401 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2402 `desktop-auto-save' is called repeatedly by the idle timer.
2403 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2404 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2407 2013-12-16 Juri Linkov <juri@jurta.org>
2409 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2411 (isearch-pre-command-hook): Check `this-command' for symbolp.
2413 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2415 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2417 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2419 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2420 (cfengine3--current-function): Bring in the current-function
2421 functionality from `cfengine3--current-word'.
2422 (cfengine3-completion-function): Bring in the
2423 bounds-of-current-word functionality from
2424 `cfengine3--current-word'.
2426 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2428 * window.el (display-buffer-below-selected):
2429 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2431 2013-12-16 Leo Liu <sdl.web@gmail.com>
2433 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2434 Remove NOMSG arg and all uses changed.
2436 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2438 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2439 (cua--deactivate-rectangle): Don't deactivate the mark.
2440 (cua-set-rectangle-mark): Don't set mark-active since
2441 cua--activate-rectangle already does it for us.
2442 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2443 non-rectangular region.
2445 * emulation/cua-base.el (cua-repeat-replace-region):
2446 Use with-current-buffer.
2448 * net/gnutls.el: Use cl-lib.
2449 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2451 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2453 * emacs-lisp/package.el (package-built-in-p): Support both
2454 built-in and the package.el converted package descriptions.
2455 (package-show-package-list): Allow keywords.
2456 (package-keyword-button-action): Use it instead of
2457 `finder-list-matches'.
2458 (package-menu-filter-interactive): Interactive filtering (by
2460 (package-menu--generate): Support keywords and change keymappings
2461 and headers when they are given.
2462 (package--has-keyword-p): Helper function.
2463 (package-menu--refresh): Use it.
2464 (package--mapc): Helper function.
2465 (package-all-keywords): Use it.
2466 (package-menu-mode-map): Set up menu items and keybindings to
2467 provide a filtering UI.
2469 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2471 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2472 the behavior when a certificate fails validation. Defaults to
2473 old behavior: never abort, just warn.
2474 (gnutls-negotiate): Use it.
2476 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2478 * window.el (display-buffer-below-selected): Never split window
2479 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2481 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2483 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2484 (package-buffer-info): Use it (bug#15108).
2486 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2488 * icomplete.el (icomplete-completions): Make sure the prefix is already
2489 displayed elsewhere before hiding it (bug#16219).
2491 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2493 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2494 open-paren tokens when preceded by a open-paren, too.
2495 (ruby-smie-rules): Handle virtual indentation after open-paren
2496 tokens specially. If there is code between it and eol, return the
2497 column where is starts (Bug#16118).
2499 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2501 * progmodes/cfengine.el: Fix `add-hook' doc.
2502 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2503 (cfengine3--current-word): Fix parameters.
2504 (cfengine3-make-syntax-cache): Simplify further.
2505 (cfengine3-completion-function, cfengine3--current-function):
2506 Use `assq' for symbols.
2507 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2509 2013-12-13 Glenn Morris <rgm@gnu.org>
2511 * loadup.el (load-path): Warn if site-load or site-init changes it.
2512 No more need to reset it when bootstrapping.
2514 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2516 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2517 locations for cf-promises.
2518 (cfengine-mode-syntax-functions-regex): New caching variable.
2519 (cfengine3-fallback-syntax): Fallback syntax for cases where
2520 cf-promises doesn't run.
2521 (cfengine3--current-word): Reimplement using
2522 `cfengine-mode-syntax-functions-regex'.
2523 (cfengine3-completion-function, cfengine3--current-function):
2524 Use `cfengine3-make-syntax-cache' directly.
2525 (cfengine3-clear-syntax-cache): New function.
2526 (cfengine3-make-syntax-cache): Simplify and create
2527 `cfengine-mode-syntax-functions-regex' on demand.
2528 (cfengine3-format-function-docstring): Don't call
2529 `cfengine3-make-syntax-cache' explicitly.
2531 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2533 Fix windmove-find-other-window broken after pixelwise resizing
2535 * windmove.el (windmove-other-window-loc): Revert change from
2537 (windmove-find-other-window): Call window-in-direction.
2538 * window.el (window-in-direction): New arguments SIGN, WRAP and
2539 MINI to emulate original windmove-find-other-window behavior.
2541 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2543 * simple.el (blink-matching--overlay): New variable.
2544 (blink-matching-open): Instead of moving point, highlight the
2545 matching paren with an overlay
2546 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2548 * faces.el (paren-showing-faces, show-paren-match)
2549 (show-paren-mismatch): Move from paren.el.
2551 2013-12-13 Leo Liu <sdl.web@gmail.com>
2553 * indent.el (indent-region): Disable progress reporter in
2554 minibuffer. (Bug#16108)
2556 * bindings.el (visual-order-cursor-movement): Fix version.
2558 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2560 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2561 Also match after beginning of line.
2562 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2563 files. Thanks to Russell Sim. (Bug#15378)
2565 2013-12-13 Juri Linkov <juri@jurta.org>
2567 * simple.el <Keypad support>: Remove key bindings duplicated
2568 with bindings.el. (Bug#14397)
2570 2013-12-13 Juri Linkov <juri@jurta.org>
2572 * comint.el (comint-mode-map): Replace `delete-char' with
2573 `delete-forward-char'. (Bug#16109)
2575 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2577 * progmodes/python.el (python-indent-calculate-indentation):
2578 Fix de-denters cornercase. (Bug#15731)
2580 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2582 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2583 (advice--make): Pay attention to `depth'.
2584 (advice--make-1): Don't autoload commands eagerly.
2585 * emacs-lisp/elp.el (elp-instrument-function):
2586 * emacs-lisp/trace.el (trace-function-internal):
2587 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2589 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2591 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2593 * term/w32-win.el (w32-handle-dropped-file):
2594 * startup.el (normal-top-level):
2595 * net/browse-url.el (browse-url-file-url):
2596 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2597 decode file names using 'utf-8' rather than
2598 file-name-coding-system.
2600 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2602 * progmodes/python.el (python-indent-context)
2603 (python-indent-calculate-indentation): Fix auto-identation
2604 behavior for comment blocks. (Bug#15916)
2606 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2608 * progmodes/python.el (python-indent-calculate-indentation):
2609 When determining indentation, don't treat "return", "pass", etc., as
2610 operators when they are just string constituents. (Bug#15812)
2612 2013-12-12 Juri Linkov <juri@jurta.org>
2614 * uniquify.el (uniquify-buffer-name-style): Change default to
2615 `post-forward-angle-brackets'.
2617 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2618 `uniquify'. Change default to `post-forward-angle-brackets'.
2620 2013-12-11 Glenn Morris <rgm@gnu.org>
2622 * emacs-lisp/package.el (finder-list-matches):
2623 Autoload rather than falsely declaring.
2625 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2627 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2628 (eww-mode-map): Use them.
2630 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2632 * window.el (display-buffer-in-side-window): Fix doc-string
2635 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2637 * vc/vc-git.el: Silence byte-compiler warnings.
2638 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2639 (log-edit-set-header): Declare.
2641 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2643 * Makefile.in (custom-deps, finder-data): Run output file names
2644 through unmsys--file-name. (Bug#16099)
2646 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2648 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2649 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2651 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2652 instead of deleting the selection "by hand" (bug#16098).
2653 Rely on insert-for-yank to yank rectangles.
2654 (cua-highlight-region-shift-only): Mark obsolete.
2655 (cua-mode): Don't enable/disable transient-mark-mode,
2656 shift-select-mode (cua-mode works both with and without them), and
2657 pc-selection-mode (obsolete).
2658 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2659 (cua--deactivate-rectangle): Deactivate it.
2661 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2662 (delete-selection-helper): Make sure yank starts at the top of the
2664 (minibuffer-keyboard-quit): Use region-active-p.
2666 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2668 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2669 to `delete' (bug#16109).
2671 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2673 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2674 info manual and show keybindings and set `:group' keyword.
2676 2013-12-11 Juri Linkov <juri@jurta.org>
2678 * delsel.el (delete-active-region): Let-bind `this-command'
2679 to prevent `kill-region' from changing its original value.
2680 (delete-selection-helper): Handle `overwrite-mode' for the type
2681 `kill' exactly the same way as for the type `t'.
2682 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2683 Support more commands. (Bug#13312)
2685 2013-12-11 Juri Linkov <juri@jurta.org>
2687 * bindings.el: Map kp keys to non-kp keys systematically
2688 with basic modifiers control, meta and shift. (Bug#14397)
2690 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2692 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2693 "Close browser" menu items. Fix wrong function of "List
2696 2013-12-11 Juri Linkov <juri@jurta.org>
2698 * misearch.el (multi-isearch-buffers): Set the value of
2699 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2700 arg of isearch-forward to t.
2701 (multi-isearch-buffers-regexp): Set the value of
2702 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2703 arg of isearch-forward-regexp to t.
2704 (multi-isearch-files): Set the value of
2705 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2706 arg of isearch-forward to t.
2707 (multi-isearch-files-regexp): Set the value of
2708 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2709 arg of isearch-forward-regexp to t. (Bug#16035)
2711 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2712 arg of isearch-forward to t.
2713 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2714 arg of isearch-forward-regexp to t.
2715 (dired-isearch-filter-filenames): Remove unnecessary check for
2716 `dired-isearch-filenames'.
2718 * comint.el (comint-history-isearch-backward):
2719 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2720 (comint-history-isearch-backward-regexp):
2721 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2723 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2725 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2726 unmsys--file-name. (Bug#16099)
2728 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2730 * emacs-lisp/package.el (package-keyword-button-action):
2731 Remove finder.el require dependency.
2733 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2735 * emacs-lisp/package.el: Require finder.el.
2736 (describe-package-1): Add keyword buttons.
2737 (package-make-button): New convenience function.
2738 (package-keyword-button-action): Keyword button action using
2739 `finder-list-matches'.
2741 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2743 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2746 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2748 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2751 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2753 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2754 after the end of a percent literal.
2756 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2758 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2759 Handle caret-delimited strings (Bug#16079).
2761 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2763 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2764 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2765 `ruby-parse-partial' (Bug#16078).
2767 2013-12-09 Leo Liu <sdl.web@gmail.com>
2769 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2771 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2773 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2774 (js-switch-indent-offset): New option.
2775 (js--proper-indentation): Use it. And handle the case when
2776 "default" is actually a key in an object literal.
2777 (js--same-line): New function.
2778 (js--multi-line-declaration-indentation): Use it.
2779 (js--indent-in-array-comp, js--array-comp-indentation):
2781 (js--proper-indentation): Use them, to handle array comprehension
2784 2013-12-08 Leo Liu <sdl.web@gmail.com>
2786 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2787 (flymake-make-overlay): Remove arg MOUSE-FACE.
2788 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2790 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2792 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2794 (redisplay-highlight-region-function): Use it.
2796 * emulation/cua-base.el (cua--explicit-region-start)
2797 (cua--last-region-shifted): Remove.
2798 (cua--deactivate): Use deactivate-mark.
2799 (cua--pre-command-handler-1): Don't handle shift-selection.
2800 (cua--post-command-handler-1): Don't change transient-mark-mode.
2801 (cua--select-keymaps): Use region-active-p rather than
2802 cua--explicit-region-start or cua--last-region-shifted.
2803 (cua-mode): Enable shift-select-mode.
2805 2013-12-08 Leo Liu <sdl.web@gmail.com>
2807 * progmodes/flymake.el (flymake-popup-current-error-menu):
2808 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2809 (flymake-posn-at-point-as-event, flymake-popup-menu)
2810 (flymake-make-emacs-menu): Remove. (Bug#16077)
2812 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2814 * rect.el (rectangle-mark-mode): Activate mark even if
2815 transient-mark-mode is off (bug#16066).
2816 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2817 is > mark and at bolp.
2819 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2820 (region-extract-function): Use it.
2821 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2822 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2824 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2825 kill-ring-save, kill-region, delete-char, delete-forward-char.
2826 Ignore self-insert-iso.
2828 * emulation/cua-gmrk.el (cua--init-global-mark):
2829 Ignore `self-insert-iso'.
2831 * emulation/cua-base.el (cua--prefix-copy-handler)
2832 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2833 checking cua--rectangle.
2834 (cua-delete-region): Use region-extract-function.
2835 (cua-replace-region): Delete function.
2836 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2837 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2838 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2839 (cua--init-keymaps): Don't remap delete-selection commands.
2840 (cua-mode): Use delete-selection-mode instead of rolling our own
2843 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2844 Obey region-extract-function.
2846 Make registers and delete-selection-mode work on rectangles.
2847 * register.el (describe-register-1): Don't modify the register's value.
2848 (copy-to-register): Obey region-extract-function.
2849 * delsel.el (delete-active-region): Obey region-extract-function.
2851 2013-12-08 Leo Liu <sdl.web@gmail.com>
2853 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2854 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2855 (flymake-compilation-prevents-syntax-check)
2856 (flymake-start-syntax-check-on-newline)
2857 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2858 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2859 (flymake-xml-program, flymake-master-file-dirs)
2860 (flymake-master-file-count-limit)
2861 (flymake-allowed-file-name-masks): Relocate.
2862 (flymake-makehash, flymake-float-time)
2863 (flymake-replace-regexp-in-string, flymake-split-string)
2864 (flymake-get-temp-dir): Remove.
2865 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2866 (flymake-current-row, flymake-selected-frame)
2867 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2868 related functions. (Bug#16077)
2870 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2872 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2874 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2876 * help-fns.el (describe-function-1): Use new advice-* functions
2877 rather than old ad-* functions. Fix function type description and
2878 source links for advised functions and subrs.
2880 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2882 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2884 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2886 * progmodes/compile.el (compilation-start):
2887 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2889 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2890 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2892 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2894 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2895 Touch up the last change.
2897 2013-12-06 Leo Liu <sdl.web@gmail.com>
2899 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2900 (inferior-octave-startup): Always use "octave> " for prompt.
2901 (octave-goto-function-definition)
2902 (octave-sync-function-file-names)
2903 (octave-find-definition-default-filename): Remove redundant backquotes.
2905 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2907 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2909 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2910 where appropriate already.
2911 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2912 end of method names (Bug#15874).
2914 2013-12-06 Juri Linkov <juri@jurta.org>
2916 * isearch.el (isearch--saved-overriding-local-map):
2917 New internal variable.
2918 (isearch-mode): Set it to the initial value of
2919 `overriding-terminal-local-map'.
2920 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2921 with `isearch--saved-overriding-local-map'. (Bug#16035)
2923 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2925 * progmodes/octave.el (inferior-octave-completion-table):
2926 Turn back into function, use `completion-table-with-cache'
2927 (Bug#11906). Update all references.
2929 * minibuffer.el (completion-table-with-cache): New function.
2931 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2933 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2935 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2937 * net/eww.el (eww-current-source): New variable to store page
2939 (eww-display-html, eww-mode, eww-save-history)
2940 (eww-restore-history): Use it.
2941 (eww-view-source): New command to view page source.
2942 Opportunistically uses `html-mode' to highlight the buffer.
2943 (eww-mode-map): Install it.
2945 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2947 * net/dbus.el (dbus-unregister-service)
2948 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2950 (dbus-unregister-service): Skip :serial entries in
2951 `dbus-registered-objects-table'.
2952 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2954 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2956 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2957 around keywords with extra `split-string' argument.
2959 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2961 * windmove.el (windmove-other-window-loc): Handle navigation
2962 between windows (excluding the minibuffer window - Bug#16017).
2964 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2966 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2967 in D-Bus type syntax.
2968 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2969 preserve unibyte strings. (Bug#16048)
2971 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2973 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2974 Call force-mode-line-update is the proper buffer (bug#16042).
2976 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2978 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2979 `log-edit-remember-comment', make argument optional. Adjust all
2981 (log-edit-mode): Add `log-edit-remember-comment' to
2982 `kill-buffer-hook' locally.
2983 (log-edit-kill-buffer): Don't remember comment explicitly since
2984 the buffer is killed anyway.
2986 2013-12-04 Juri Linkov <juri@jurta.org>
2988 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2989 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2991 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2993 * notifications.el (notifications-close-notification): Call the
2994 D-Bus method with ID being a `:uint32'. (Bug#16030)
2996 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2998 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
3000 2013-12-03 Juri Linkov <juri@jurta.org>
3002 * progmodes/compile.el (compilation-start): Rename window alist
3003 entry `no-display-ok' to `allow-no-window'.
3005 * simple.el (shell-command): Add window alist entry
3006 `allow-no-window' to `display-buffer'.
3007 (async-shell-command): Doc fix.
3009 * window.el (display-buffer-no-window): New action function.
3010 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
3012 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3014 * vc/log-edit.el (log-edit-set-header): Extract from
3015 `log-edit-toggle-header'.
3016 (log-edit-extract-headers): Separate the summary, when extracted
3017 from header, from the rest of the message with an empty line.
3019 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
3020 line, if present, to the Summary header.
3022 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
3024 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
3025 in current-buffer (bug#16029).
3027 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
3029 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
3030 (debugger-mode-map): Bind it.
3031 (debugger--backtrace-base): New function.
3032 (debugger-eval-expression): Use it.
3033 (debugger-frame-number): Skip local vars when present.
3034 (debugger--locals-visible-p, debugger--insert-locals)
3035 (debugger--show-locals, debugger--hide-locals): New functions.
3037 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
3039 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
3041 (tramp-get-remote-locale): New defun.
3042 (tramp-open-connection-setup-interactive-shell): Use it.
3044 2013-12-02 Leo Liu <sdl.web@gmail.com>
3046 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
3048 * progmodes/sh-script.el (sh-shell-process):
3049 * progmodes/octave.el (inferior-octave-process-live-p):
3050 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
3051 (gdb-inferior-io-sentinel):
3052 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
3054 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3056 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
3057 `save-selected-window' to `log-edit-hide-buf'. This makes
3058 `log-edit-show-files' idempotent.
3059 (log-edit-show-files): Mark the new window as dedicated.
3061 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
3063 * vc/log-edit.el (log-edit-mode-map): Add binding for
3064 `log-edit-kill-biffer'.
3065 (log-edit-hide-buf): Add a FIXME comment.
3066 (log-edit-add-new-comment): New function, extracted from
3068 (log-edit-done, log-edit-add-to-changelog): Use it.
3069 (log-edit-kill-buffer): New command.
3071 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3073 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
3074 instead of killing the buffer.
3076 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
3078 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
3080 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3082 * net/eww.el (eww-form-checkbox-selected-symbol)
3083 (eww-form-checkbox-symbol): New customizable variable.
3084 (eww-form-checkbox, eww-toggle-checkbox):
3085 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
3087 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
3088 (shr--get-media-pref, shr--extract-best-source): New function.
3089 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
3090 no :src tag was specified.
3092 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
3093 (eww-render): Handle `eww-use-external-browser-for-content-type'.
3094 Use \\` to match beginning of string instead of ^.
3095 (eww-browse-with-external-browser): Provide optional URL parameter.
3096 (eww-render): Set `eww-current-title' back to "".
3098 * net/shr.el (shr-tag-video): Display content for video if no
3099 poster is available.
3100 (shr-tag-audio): Add support for <audio> tag.
3102 * net/eww.el (eww-text-input-types): New const.
3103 (eww-process-text-input): Treat input types in
3104 `eww-text-input-types' as text.
3106 * net/shr.el (shr-tag-table): Fix comment typo.
3108 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3110 * net/eww.el (eww-follow-link): New command to avoid reloading
3111 pages when we follow #target links (bug#15243).
3112 (eww-quit): Special mode buffers shouldn't query before exiting.
3114 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
3116 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
3119 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
3121 * net/eww.el (eww-restore-history): Update the window title after
3122 moving in the history.
3123 (eww-current-dom): New variable used to save the current DOM.
3125 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
3127 * vc/log-edit.el (log-edit-mode-map): Add binding for
3128 `log-edit-beginning-of-line'.
3129 (log-edit-setup-add-author): New user option.
3130 (log-edit-beginning-of-line): New command.
3131 (log-edit): Move major mode call above the contents setup so that
3132 the local variable values are already applied.
3133 (log-edit): Only insert "Author: " when
3134 `log-edit-setup-add-author' is non-nil.
3135 (log-edit): When SETUP is non-nil, position point after ": "
3136 instead of point-min.
3138 2013-12-01 Glenn Morris <rgm@gnu.org>
3140 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
3142 2013-11-30 Eli Zaretskii <eliz@gnu.org>
3144 * startup.el (fancy-splash-frame): On MS-Windows, trigger
3145 redisplay to make sure the initial frame gets a chance to become
3146 visible. (Bug#16014)
3148 2013-11-30 Martin Rudalics <rudalics@gmx.at>
3150 Support resizing frames and windows pixelwise.
3151 * cus-start.el (frame-resize-pixelwise)
3152 (window-resize-pixelwise): New entries.
3153 * emacs-lisp/debug.el (debug): Use window-total-height instead
3154 of window-total-size.
3155 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
3156 * help.el (describe-bindings-internal): Call help-buffer
3157 (temp-buffer-max-width): New option.
3158 (resize-temp-buffer-window, help-window-setup)
3159 (with-help-window): Rewrite.
3160 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
3162 * window.el (frame-char-size, window-min-pixel-height)
3163 (window-safe-min-pixel-height, window-safe-min-pixel-width)
3164 (window-min-pixel-width, window-safe-min-pixel-size)
3165 (window-combination-p, window-safe-min-size)
3166 (window-resizable-p, window--size-to-pixel)
3167 (window--pixel-to-size, window--resize-apply-p): New functions.
3168 (window-safe-min-height): Fix doc-string.
3169 (window-size, window-min-size, window--min-size-1)
3170 (window-sizable, window-sizable-p, window--min-delta-1)
3171 (window-min-delta, window--max-delta-1, window-max-delta)
3172 (window--resizable, window--resizable-p, window-resizable)
3173 (window-full-height-p, window-full-width-p, window-at-side-p)
3174 (window--in-direction-2, window-in-direction)
3175 (window--resize-reset-1, window--resize-mini-window)
3176 (window-resize, window-resize-no-error)
3177 (window--resize-child-windows-normal)
3178 (window--resize-child-windows, window--resize-siblings)
3179 (window--resize-this-window, window--resize-root-window)
3180 (window--resize-root-window-vertically)
3181 (adjust-window-trailing-edge, enlarge-window, shrink-window)
3182 (maximize-window, minimize-window, delete-window)
3183 (quit-restore-window, window-split-min-size, split-window)
3184 (balance-windows-2, balance-windows)
3185 (balance-windows-area-adjust, balance-windows-area)
3186 (window--state-get-1, window-state-get, window--state-put-1)
3187 (window--state-put-2, window-state-put)
3188 (display-buffer-record-window, window--display-buffer):
3189 Make functions handle pixelwise sizing of windows.
3190 (display-buffer--action-function-custom-type)
3191 (display-buffer-fallback-action):
3192 Add display-buffer-in-previous-window.
3193 (display-buffer-use-some-window): Resize window to height it had
3195 (fit-window-to-buffer-horizontally): New option.
3196 (fit-frame-to-buffer): Describe new values.
3197 (fit-frame-to-buffer-bottom-margin): Replace with
3198 fit-frame-to-buffer-margins.
3199 (window--sanitize-margin): New function.
3200 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
3201 using window-text-pixel-size.
3203 2013-11-30 Glenn Morris <rgm@gnu.org>
3205 * emacs-lisp/bytecomp.el (byte-compile-form):
3206 Make the `interactive-only' warning like the `obsolete' one.
3207 * comint.el (comint-run):
3208 * files.el (insert-file-literally, insert-file):
3209 * replace.el (replace-string, replace-regexp):
3210 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
3211 (goto-line, insert-buffer, next-line, previous-line):
3212 Tweak `interactive-only' spec.
3214 Stop keeping (most) generated cedet grammar files in the repository.
3215 * Makefile.in (semantic): New.
3216 (compile-main): Depend on semantic.
3218 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3220 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
3221 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
3223 * uniquify.el (uniquify-buffer-name-style): Change default.
3225 * loadup.el: Preload "uniquify".
3227 * time.el (display-time-update): Update all mode lines (bug#15999).
3229 * electric.el (electric-indent-mode): Enable by default.
3230 * loadup.el: Preload "electric".
3232 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
3234 * emacs-lisp/helpers.el (string-empty-p): New function.
3235 (string-blank-p): New function.
3237 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
3239 * imenu.el (imenu--index-alist): Add missing dot to the docstring
3242 2013-11-29 Andreas Politz <politza@fh-trier.de>
3243 * imenu.el (imenu--subalist-p): Don't error on non-conses and
3244 allow non-lambda lists as functions.
3245 (imenu--in-alist): Don't recurse into non-subalists.
3246 (imenu): Don't pass function itself as an argument (Bug#14029).
3248 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
3250 * progmodes/python.el (python-mode-map): Remove binding for ":".
3251 (python-indent-electric-colon): Remove command.
3252 (python-indent-post-self-insert-function): Integrate the previous code
3253 of python-indent-electric-colon. Make it conditional on
3254 electric-indent-mode.
3255 (python-mode): Add ?: to electric-indent-chars.
3256 Move python-indent-post-self-insert-function to the end of
3257 post-self-insert-hook.
3259 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
3261 * doc-view.el (doc-view-goto-page): Update mode-line.
3263 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3265 2013-11-27 Glenn Morris <rgm@gnu.org>
3267 * international/charprop.el, international/uni-bidi.el:
3268 * international/uni-category.el, international/uni-combining.el:
3269 * international/uni-comment.el, international/uni-decimal.el:
3270 * international/uni-decomposition.el, international/uni-digit.el:
3271 * international/uni-lowercase.el, international/uni-mirrored.el:
3272 * international/uni-name.el, international/uni-numeric.el:
3273 * international/uni-old-name.el, international/uni-titlecase.el:
3274 * international/uni-uppercase.el:
3275 Remove generated files from VCS repository.
3277 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3279 * filenotify.el (file-notify-add-watch): Don't special-case
3280 w32notify when computing the directory to watch.
3282 2013-11-27 Glenn Morris <rgm@gnu.org>
3284 Make bootstrap without generated uni-*.el files possible again.
3285 * loadup.el: Update command-line-args checking for unidata-gen.
3286 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3287 * composite.el, international/characters.el:
3288 Handle unicode tables being undefined.
3290 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3291 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3292 (compile-main): Depend on leim rule.
3294 * loadup.el: Move leim-list.el to leim/ subdirectory.
3295 * startup.el (normal-top-level): No more leim directory.
3296 * international/ja-dic-cnv.el (skkdic-convert):
3297 Disable version-control and autoloads in output files.
3298 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3299 Disable version-control and autoloads in output files.
3300 * leim/quail: Move here from ../leim.
3301 * leim/quail/hangul.el (hangul-input-method-activate):
3302 Add autoload cookie.
3303 (generated-autoload-load-name): Set file-local value.
3304 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3305 (generated-autoload-load-name): Set file-local value.
3307 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3309 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3310 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3311 (eww-quit): Ask confirmation before quitting eww.
3313 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3315 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3316 reading output from Diff on MS-Windows and MS-DOS.
3318 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3320 * emacs-lisp/helpers.el (string-reverse): New function.
3322 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3324 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3325 names on MS Windows, like "/[::1]:".
3327 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3330 2013-11-26 Glenn Morris <rgm@gnu.org>
3332 * progmodes/python.el (python-indent-guess-indent-offset):
3333 Avoid corner-case error. (Bug#15975)
3335 Preload leim-list.el. (Bug#4789)
3336 * loadup.el: Load leim-list.el when found.
3337 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3339 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3341 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3343 * emacs-lisp/helpers.el (string-join): New function.
3345 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3347 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3348 Mark as obsolete and replace it with a symbol property.
3349 (byte-compile-form): Use new 'interactive-only property.
3350 * comint.el, files.el, replace.el, simple.el:
3351 Apply new 'interactive-only properly.
3353 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3355 * window.el (display-buffer-at-bottom): Make sure that
3356 split-window-sensibly creates the new window on bottom
3359 2013-11-23 David Kastrup <dak@gnu.org>
3361 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3362 on the conflict markers when available.
3363 (smerge--get-marker): New function.
3364 (smerge-end-re, smerge-base-re): Add subgroup.
3366 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3368 * frame.el (handle-focus-in, handle-focus-out): Add missing
3371 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3373 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3374 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3376 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3378 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3379 (gomoku--last-pos): New var.
3380 (gomoku--intangible-chars): New const.
3381 (gomoku--intangible): New function.
3382 (gomoku-mode): Use it. Derive from special-mode.
3383 (gomoku-move-up): Adjust line count.
3384 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3385 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3386 Simplify accordingly.
3388 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3389 Remove blink-cursor code.
3390 (blink-cursor-timer-function, blink-cursor-suspend):
3391 Don't special-case GUIs.
3392 (blink-cursor-mode): Use focus-in/out-hook.
3394 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3396 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3397 work when annotation is invisible (Bug#13886).
3399 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3401 * json.el (json-alist-p): Only return non-nil if the alist has
3402 simple keys (Bug#13518).
3404 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3406 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3407 when control-statement is the first statement in a buffer (Bug#15956).
3409 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3411 * imenu.el (imenu-generic-skip-comments-and-strings):
3412 New option (Bug#15560).
3413 (imenu--generic-function): Use it.
3415 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3417 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3420 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3422 * emacs-lisp/helpers.el: Add some string helpers.
3423 (string-trim-left): Removes leading whitespace.
3424 (string-trim-right): Removes trailing whitespace.
3425 (string-trim): Removes leading and trailing whitespace.
3427 * subr.el (string-suffix-p): New function.
3429 2013-11-23 Glenn Morris <rgm@gnu.org>
3431 * progmodes/python.el (python-shell-send-file):
3432 Add option to delete file when done. (Bug#15647)
3433 (python-shell-send-string, python-shell-send-region): Use it.
3435 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3437 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3438 to set buffer-read-only to t, never to nil. (Bug#15938)
3440 * textmodes/tex-mode.el (latex-noindent-environments):
3441 Add safe-local-variable property. (Bug#15936)
3443 2013-11-23 Glenn Morris <rgm@gnu.org>
3445 * textmodes/enriched.el (enriched-mode): Doc fix.
3446 * emacs-lisp/authors.el (authors-renamed-files-alist):
3447 Add enriched.doc -> enriched.txt.
3449 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3451 2013-11-22 Leo Liu <sdl.web@gmail.com>
3453 * progmodes/octave.el (inferior-octave-startup): Spit out error
3456 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3458 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3461 (ruby-encoding-magic-comment-style): Add :version.
3463 2013-11-22 Leo Liu <sdl.web@gmail.com>
3465 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3467 (octave-help-mode): Adapt to change to help-mode-finish to use
3468 derived-mode-p on 2013-09-17.
3469 (inferior-octave-prompt): Also match octave-gui.
3470 (octave-kill-process): Don't ask twice. (Bug#10564)
3472 2013-11-22 Leo Liu <sdl.web@gmail.com>
3474 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3475 (inferior-octave-startup, inferior-octave-check-process)
3476 (inferior-octave-track-window-width-change)
3477 (octave-completion-at-point, octave-eldoc-function): Use it.
3478 (octave-kill-process): Provide confirmation. (Bug#10564)
3480 2013-11-21 Leo Liu <sdl.web@gmail.com>
3482 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3483 Fix obsolete variable comment-use-global-state.
3485 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3487 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3488 Add `octave-source-file'.
3489 (octave-source-file): New function. (Bug#15935)
3491 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3493 * net/eww.el (eww-local-regex): New variable.
3494 (eww): Use it to detect localhost and similar.
3496 2013-11-21 Leo Liu <sdl.web@gmail.com>
3498 Add completion for command `ag'.
3499 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3500 (pcomplete/ag): New function.
3501 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3503 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3505 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3507 (make-obsolete): Remove interactive spec.
3509 2013-11-21 Glenn Morris <rgm@gnu.org>
3511 * startup.el (command-line-1): Use path-separator with -L.
3513 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3515 * emacs-lisp/package.el (describe-package-1): Add package archive
3518 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3520 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3521 Change default to "# encoding: %s" to differentiate it from the
3522 default Ruby encoding comment template.
3524 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3526 * ses.el (ses-mode): Doc fix. (Bug#14748)
3528 2013-11-20 Leo Liu <sdl.web@gmail.com>
3530 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3532 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3534 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3535 when rebase or bisect are in progress.
3537 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3539 * filenotify.el (file-notify-add-watch): Doc fix.
3541 2013-11-19 Leo Liu <sdl.web@gmail.com>
3543 * obsolete/rcompile.el: Mark obsolete.
3545 * progmodes/compile.el (compilation-start)
3546 (compilation-goto-locus, compilation-find-file):
3547 Pass no-display-ok and handle nil value from display-buffer.
3550 * window.el (display-buffer-alist, display-buffer): Document the
3551 new parameter no-display-ok. Return either a window or nil
3552 but never a non-window value.
3554 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3556 * electric.el (electric-indent-mode-map): Remove.
3557 (electric-indent-mode): Change the global-map instead (bug#15915).
3559 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3562 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3564 * emacs-lisp/nadvice.el (remove-function): Align with
3565 add-function's behavior.
3567 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3568 (gdb--string-regexp): New constant.
3569 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3570 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3571 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3573 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3574 Adjust use accordingly.
3575 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3577 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3579 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3580 interpolation curlies (Bug#15914).
3582 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3584 * calc/calc.el (calc-context-sensitive-enter): New variable.
3585 (calc-enter): Use `calc-context-sensitive-enter'.
3587 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3589 * progmodes/cfengine.el: Version bump.
3590 (cfengine-cf-promises): New defcustom to locate cf-promises.
3591 (cfengine3-vartypes): Add new "data" type.
3592 (cfengine3--current-word): New function to get current name-like
3594 (cfengine3--current-function): New function to look up a CFEngine
3595 function's definition.
3596 (cfengine3-format-function-docstring): New function.
3597 (cfengine3-make-syntax-cache): New function.
3598 (cfengine3-documentation-function): New function: ElDoc glue.
3599 (cfengine3-completion-function): New function: completion glue.
3600 (cfengine3-mode): Set `compile-command',
3601 `eldoc-documentation-function', and add to
3602 `completion-at-point-functions'.
3604 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3606 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3607 `tramp-current-connection'.
3609 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3611 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3612 nil/self/true/false with "end of symbol".
3614 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3616 * subr.el (version-regexp-alist): Fix a typo.
3618 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3620 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3621 "en_US.utf8" and "LC_CTYPE" to "".
3622 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3623 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3625 2013-11-15 Leo Liu <sdl.web@gmail.com>
3627 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3629 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3631 * progmodes/gud.el (ctl-x-map):
3632 Remove C-x SPC binding. (Bug#12342)
3633 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3635 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3637 * subr.el (version-regexp-alist):
3638 Recognize hg, svn and darcs versions as snapshot versions.
3640 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3641 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3642 (ruby--encoding-comment-required-p): Extract from
3643 `ruby-mode-set-encoding'.
3644 (ruby-mode-set-encoding): Add the ability to always insert an
3645 utf-8 encoding comment. Fix and simplify coding comment update
3648 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3650 * net/tramp-gvfs.el (top): Run init code only when
3651 `tramp-gvfs-enabled' is not nil.
3652 (tramp-gvfs-enabled): Check also :system bus.
3654 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3656 Sync with upstream verilog-mode revision 78e66ba.
3657 * progmodes/verilog-mode.el (verilog-end-of-defun)
3658 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3659 (verilog-get-end-of-defun): Remove unused argument.
3660 (verilog-comment-depth): Remove unused local `e'.
3661 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3662 Don't pass arg to verilog-get-end-of-defun.
3664 2013-11-14 Glenn Morris <rgm@gnu.org>
3666 * obsolete/assoc.el (aget): Prefix dynamic variable.
3668 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3670 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3672 * widget.el, hfy-cmap.el: Remove bogus package version number.
3674 2013-11-13 Glenn Morris <rgm@gnu.org>
3676 * replace.el (replace-eval-replacement):
3677 Try to give more helpful error message. (Bug#15836)
3679 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3680 (archive-7z-update): Avoid custom type mismatches.
3682 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3684 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3686 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3687 address can be empty.
3689 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3690 Accept nil SWITCHES.
3691 (tramp-gvfs-handle-write-region): Implement APPEND.
3693 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3695 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3696 binary "|" operator and closing block args delimiter.
3697 Remove FIXME comment referring to Ruby 1.8-only syntax.
3698 (ruby-smie--implicit-semi-p): Not after "|" operator.
3699 (ruby-smie--closing-pipe-p): New function.
3700 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3701 (ruby-smie-rules): Indent after "|".
3703 2013-11-12 Glenn Morris <rgm@gnu.org>
3705 * ps-print.el (ps-face-attribute-list):
3706 Handle anonymous faces. (Bug#15827)
3708 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3710 * window.el (display-buffer-other-frame): Fix doc-string.
3713 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3715 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3717 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3719 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3720 (tramp-sh-handle-file-local-copy): Don't write a message when
3721 saving temporary files.
3723 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3724 both directories are remote.
3725 (tramp-smb-handle-directory-files): Do not return double entries.
3726 Do not expand full file names.
3727 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3728 (tramp-smb-handle-write-region): Implement APPEND.
3729 (tramp-smb-get-stat-capability): Fix a stupid bug.
3731 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3733 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3735 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3737 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3738 throwing error over malformed let/let* (bug#15814).
3740 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3742 * iswitchb.el (iswitchb-mode): Mark obsolete.
3744 2013-11-11 Glenn Morris <rgm@gnu.org>
3746 * international/uni-bidi.el, international/uni-category.el:
3747 * international/uni-name.el, international/uni-numeric.el:
3748 Regenerate for Unicode 6.3.0.
3750 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3752 * net/tramp.el (tramp-methods):
3753 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3754 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3756 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3758 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3759 Force highlighting text after Summary keyword in doc face for rpm.
3761 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3763 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3764 available and the word has no wildcards, append one to the grep pattern.
3765 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3766 (ispell-complete-word): Call `ispell-lookup-words' with the value
3767 independent of `ispell-look-p'.
3769 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3771 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3773 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3776 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3778 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3779 (ruby-font-lock-keywords): Use backquote.
3781 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3783 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3784 (ruby-smie--backward-token): Only consider full-string matches.
3786 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3788 * faces.el (describe-face): Add distant-foreground.
3790 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3792 * progmodes/ruby-mode.el: Improve encoding comment handling.
3793 (ruby-encoding-magic-comment-style): New option.
3794 (ruby-custom-encoding-magic-comment-template): New option.
3795 (ruby--insert-coding-comment, ruby--detect-encoding):
3796 New functions extracted from `ruby-mode-set-encoding'.
3797 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3798 to control the style of the auto-inserted encoding comment.
3800 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3802 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3803 Use `smie-backward-sexp' with token argument.
3805 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3807 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3808 Remove instrumentation code.
3810 2013-11-08 Glenn Morris <rgm@gnu.org>
3812 * progmodes/autoconf.el (autoconf-mode):
3813 Tweak comment-start-skip. (Bug#15822)
3815 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3817 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3818 at bobp (bug#15826).
3819 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3821 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3823 * man.el (Man-start-calling): New macro, extracted from
3824 Man-getpage-in-background.
3825 (Man-getpage-in-background): Use it.
3826 (Man-update-manpage): New command.
3827 (Man-mode-map): Bind it.
3829 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3831 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3832 of "and", "or", "&&" and "||".
3833 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3834 argument. Prohibit opening curly brace because it could only be a
3835 block opener in that position.
3836 (ruby-smie--forward-token, ruby-smie--backward-token):
3837 Separate "|" from "&" or "*" going after it. That can happen in block
3839 (ruby-smie--indent-to-stmt): New function, seeks the end of
3840 previous statement or beginning of buffer.
3841 (ruby-smie-rules): Use it.
3842 (ruby-smie-rules): Check if there's a ":" before a curly block
3843 opener candidate; if there is, it's a hash.
3845 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3847 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3848 (cl--block-wrapper): Fix last accidental change.
3850 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3852 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3853 Instrument, in order to hunt failure on hydra.
3855 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3857 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3858 malformed bindings form (bug#15814).
3860 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3862 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3863 "." compared to " @ ". This incidentally fixes some indentation
3865 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3866 (ruby-smie-grammar): New tokens: "and" and "or".
3867 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3868 Exclude "and" and "or". Remove "do" in order to work around token
3870 (ruby-smie-rules): Add all infix tokens. Handle the case of
3871 beginning-of-buffer.
3873 2013-11-06 Glenn Morris <rgm@gnu.org>
3875 * Makefile.in (setwins_almost, setwins_for_subdirs):
3876 Avoid accidental matches.
3878 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3880 * menu-bar.el (popup-menu): Use key-binding.
3882 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3884 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3885 menus, support also the menus produced by minor modes.
3888 2013-11-06 Leo Liu <sdl.web@gmail.com>
3890 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3891 DISTANCE to bound the search. All uses changed. (Bug#15808)
3893 2013-11-06 Glenn Morris <rgm@gnu.org>
3895 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3896 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3897 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3899 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3901 * electric.el (electric-indent-just-newline): New command.
3902 (electric-indent-mode-map): New keymap.
3903 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3904 Re-add :group which weren't redundant.
3906 * electric.el (electric-indent-local-mode): New minor mode.
3907 (electric-indent-functions-without-reindent): New var.
3908 (electric-indent-post-self-insert-function): Use it.
3909 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3911 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3913 * international/quail.el (quail-help): Be more explicit about the
3914 meaning of the labels shown on the keys. (Bug#15800)
3916 * startup.el (normal-top-level): Load the subdirs.el files before
3917 setting the locale environment. (Bug#15805)
3919 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3921 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3922 via arguments so as to get the right ones (bug#15418).
3924 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3926 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3928 Fix problems found while writing a test suite.
3930 * net/tramp-compat.el (tramp-compat-load): New defun.
3931 * net/tramp.el (tramp-handle-load): Use it.
3933 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3934 "(numberp ok-if-already-exists)" correctly.
3936 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3938 * international/characters.el (glyphless-char-display-control):
3941 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3943 * progmodes/python.el (python-mode):
3944 * progmodes/scheme.el (scheme-mode):
3945 * progmodes/prolog.el (prolog-mode):
3946 * progmodes/ruby-mode.el (ruby-mode):
3947 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3948 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3950 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3952 * rect.el (rectangle--highlight-for-redisplay):
3953 * emacs-lisp/smie.el (smie--next-indent-change):
3954 Use buffer-chars-modified-tick.
3956 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3958 * electric.el (electric-indent-post-self-insert-function):
3959 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3961 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3963 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3965 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3967 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3970 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3972 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3974 * progmodes/python.el: Fix up last change.
3975 (python-shell--save-temp-file): New function.
3976 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3977 `string' comes from the current buffer.
3978 (python-shell-send-string-no-output): Remove `msg' arg.
3979 (python--use-fake-loc): New var.
3980 (python-shell-buffer-substring): Obey it. Try to compensate for the
3981 extra coding line added by python-shell--save-temp-file.
3982 (python-shell-send-region): Use python-shell--save-temp-file and
3983 python-shell-send-file directly. Add `nomain' argument.
3984 (python-shell-send-buffer): Use python-shell-send-region.
3985 (python-electric-pair-string-delimiter): New function.
3986 (python-mode): Use it.
3988 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3990 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3991 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3992 environment and decoding all of the default-directory's to here
3994 (command-line): Decode also argv[0].
3996 * loadup.el: Error out if default-directory is a multibyte string
3997 when we are dumping.
3999 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
4001 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
4003 * emacs-lisp/package.el (package-menu-mode)
4004 (package-menu--print-info, package-menu--archive-predicate):
4005 Add Archive column to package list.
4007 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
4009 Fix problems found while writing a test suite.
4011 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
4012 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
4013 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
4014 to nil when running original file name handler. Otherwise,
4015 there are problems with constructs like "$$FOO".
4017 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
4020 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
4022 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
4024 * subr.el (version<, version<=, version=):
4025 Update docstrings with information for snapshot versions.
4027 * helpers.el: New library for misc helper functions.
4028 (hash-table-keys): New function returning a list of hash keys.
4029 (hash-table-values): New function returning a list of hash values.
4031 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
4033 * progmodes/ruby-mode.el (ruby-smie--forward-token)
4034 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
4036 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
4038 * textmodes/fill.el (fill-single-char-nobreak-p): New function
4039 checking whether point is after a 1-letter word.
4041 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4043 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
4044 Don't infloop when expanding region over `multiline' syntax-type that
4045 begins a line (bug#15778).
4047 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
4049 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
4050 Make it into a proper minor mode.
4051 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
4052 (rectangle-mark-mode-map): New keymap.
4053 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
4055 2013-11-04 Glenn Morris <rgm@gnu.org>
4057 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
4059 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
4061 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
4062 (ruby-smie-rules): Use smie-rule-parent instead.
4064 * emacs-lisp/smie.el (smie-rule-parent): Always call
4065 smie-indent-virtual rather than only for hanging tokens.
4066 (smie--next-indent-change): New helper command.
4068 2013-11-03 Glenn Morris <rgm@gnu.org>
4070 * Makefile.in (abs_srcdir): Remove.
4071 (emacs): Unset EMACSLOADPATH.
4073 2013-11-02 Glenn Morris <rgm@gnu.org>
4075 * Makefile.in (EMACS): Use a relative filename.
4076 (abs_top_builddir): Remove.
4077 (custom-deps, finder-data, autoloads): Use --chdir.
4079 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
4081 Use relative filenames in TAGS files.
4082 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4083 (lisptagsfiles4, TAGS): Use relative file names.
4084 (TAGS-LISP): Remove.
4085 (maintainer-clean): No more TAGS-LISP file.
4087 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
4088 (lisptagsfiles4): Use absolute filenames again.
4089 (TAGS, TAGS-LISP): Not everything needs to run in one line.
4090 Remove all *loaddefs files, not just the first. Remove esh-groups.
4091 (maintainer-clean): Delete TAGS, TAGS-LISP.
4093 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4095 * emacs-lisp/package.el (package-version-join):
4096 Recognize snapshot versions.
4098 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4100 * subr.el (version-regexp-alist): Add support for snapshot versions.
4102 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4104 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
4105 New function, replacement for `smie-rule-parent' for when we want to
4106 skip over our direct parent if it's an assignment token..
4107 (ruby-smie-rules): Use it.
4109 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
4111 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
4112 unconditionally. Remove now unnecessary forward declarations.
4113 Remove XEmacs-specific setup.
4114 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
4115 (ruby-font-lock-syntactic-keywords)
4116 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
4117 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
4118 (ruby-here-doc-end-syntax): Remove.
4119 (ruby-mode): Don't check whether `syntax-propertize-rules' is
4120 defined as function.
4122 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
4124 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
4126 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4128 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
4129 table and abbrev table, `define-derived-mode' does that for us
4132 2013-11-01 Glenn Morris <rgm@gnu.org>
4134 * Makefile.in: Remove manual mh-e dependencies (writing .elc
4135 files is atomic for some time, so no parallel compilation issues).
4137 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
4139 * faces.el (face-x-resources): Add :distant-foreground.
4140 (region): Use :distant-foreground for gtk and ns.
4142 2013-11-01 Tassilo Horn <tsdh@gnu.org>
4144 Allow multiple bibliographies when BibLaTeX is used rather than
4146 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
4147 (reftex-locate-bibliography-files): Us it.
4149 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
4151 * image.el (image-type-header-regexps): Fix the 'pbm' part to
4152 allow comments in pbm files.
4154 * term/w32-win.el (dynamic-library-alist): Support newer versions
4155 of libjpeg starting with v7: look only for the DLL from the
4156 version against which Emacs was built.
4157 Support versions of libpng beyond 1.4.x.
4158 Support libtiff v4.x.
4160 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
4162 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
4163 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
4165 (ruby-deep-arglist): Add property :type.
4167 2013-10-31 Glenn Morris <rgm@gnu.org>
4169 * Makefile.in (custom-deps, finder-data): No need to setq the target
4170 variables, we are in the right directory and the defaults work fine.
4172 2013-10-30 Glenn Morris <rgm@gnu.org>
4174 * Makefile.in (autoloads): Do not use abs_lisp.
4176 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
4177 `newline' does not respect `standard-output', so use `princ'.
4179 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
4181 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
4182 * buff-menu.el (Buffer-menu--unmark): New function.
4183 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
4185 2013-10-30 Glenn Morris <rgm@gnu.org>
4187 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
4189 * emacs-lisp/package.el (lm-homepage): Declare.
4191 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
4194 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
4196 * Makefile.in (finder-data, autoloads, update-subdirs)
4197 (compile-main, compile-clean, compile-always, bootstrap-clean):
4198 Check return value of cd.
4199 (compile-calc): Remove.
4201 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
4203 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
4205 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
4206 (byte-compile-and-folded): New function.
4207 (=, <, >, <=, >=): Use it.
4209 * dos-w32.el (minibuffer-history-case-insensitive-variables)
4210 (path-separator, null-device, buffer-file-coding-system)
4211 (lpr-headers-switches): Check system-type before modifying them.
4212 (find-buffer-file-type-coding-system): Mark obsolete.
4213 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
4214 find-file-not-found-set-buffer-file-coding-system.
4215 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
4216 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
4217 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
4218 (w32-direct-print-region-helper, w32-direct-print-region-function)
4219 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
4220 * startup.el (normal-top-level-add-subdirs-to-load-path):
4221 * ps-print.el (ps-print-region-function):
4222 * lpr.el (print-region-function): Use new name.
4224 * subr.el (custom-declare-variable-early): Remove function.
4225 (custom-declare-variable-list): Remove var.
4226 (error, user-error): Remove `while' loop.
4227 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
4228 (user-emacs-directory-warning, locate-user-emacs-file):
4230 * simple.el (read-quoted-char-radix, read-quoted-char):
4231 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
4233 * custom.el (custom-declare-variable-list): Don't process
4234 custom-declare-variable-list.
4236 * progmodes/python.el (python-shell-get-buffer): New function.
4237 (python-shell-get-process): Use it.
4238 (python-shell-send-string): Always use utf-8 and add a cookie to tell
4239 Python which encoding was used. Don't split-string since we only care
4240 about the first line. Return the temp-file, if applicable.
4241 (python-shell-send-region): Tell compile.el how to turn locations in
4242 the temp-file into locations in the source buffer.
4244 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
4246 * subr.el (undefined): Add missing behavior from the C code for
4249 * rect.el: Use lexical-binding. Add new rectangular region support.
4250 (rectangle-mark): New command.
4251 (rectangle--region): New var.
4252 (deactivate-mark-hook): Reset rectangle--region.
4253 (rectangle--extract-region, rectangle--insert-for-yank)
4254 (rectangle--highlight-for-redisplay)
4255 (rectangle--unhighlight-for-redisplay): New functions.
4256 (region-extract-function, redisplay-unhighlight-region-function)
4257 (redisplay-highlight-region-function): Use them to handle
4259 * simple.el (region-extract-function): New var.
4260 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
4261 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4262 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4263 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4264 (redisplay-unhighlight-region-function)
4265 (redisplay-highlight-region-function): New vars.
4266 (redisplay--update-region-highlight): New function.
4267 (pre-redisplay-function): Use it.
4268 (exchange-point-and-mark): Don't deactivate the mark before
4269 reactivate-it anyway.
4270 * comint.el (comint-kill-region): Remove yank-handler argument.
4271 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4272 (delete-char): Remove property, since it's now part of their
4274 (self-insert-iso): Remove property since this command doesn't exist.
4276 * emacs-lisp/package.el (package--download-one-archive)
4277 (describe-package-1): Don't query the user about final newline.
4279 2013-10-29 Daniel Colascione <dancol@dancol.org>
4281 * net/tramp.el (tramp-methods): Document new functionality.
4282 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4283 tramp-hostname-checker if method provides one instead of scanning
4284 argument list for "%h" to decide hostname acceptability.
4286 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4288 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4289 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4290 Handle COPY-CONTENTS. (Bug#15737)
4292 2013-10-28 Daiki Ueno <ueno@gnu.org>
4295 (epa-file-cache-passphrase-for-symmetric-encryption):
4296 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4298 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4300 * image.el (defimage):
4301 (image-load-path): Doc fixes.
4303 2013-10-27 Alan Mackenzie <acm@muc.de>
4305 Indent statements in macros following "##" correctly.
4306 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4307 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4309 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4311 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4313 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4315 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4316 after `=' is probably a new expression.
4318 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4320 * man.el (man-imenu-title): New option.
4321 (Man-mode-map): Add menu. (Bug#15722)
4322 (Man-mode): Add imenu to menu.
4324 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4326 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4327 specific in what the first arg can be: a non-keyword word,
4328 string/regexp/percent literal opener, opening paren, or unary
4329 operator followed directly by word.
4331 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4333 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4334 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4335 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4336 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4337 Remove vars, they do not apply any more.
4338 (prolog-mode-abbrev-table): Remove redundant declaration.
4339 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4340 (prolog-use-smie): Remove.
4341 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4342 supported by prolog-electric-if-then-else-flag.
4343 (prolog-mode-variables, prolog-menu): Use setq-local.
4344 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4345 Remove binding to `Backspace' since this key doesn't exist anyway.
4346 Remove bindings for electric self-inserting keys.
4347 (prog-mode): Assume it's defined.
4348 (prolog-post-self-insert): New function.
4349 (prolog-mode): Use it.
4350 (prolog-indent-line, prolog-indent-level)
4351 (prolog-find-indent-of-matching-paren)
4352 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4353 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4354 (prolog-goto-next-paren, prolog-in-string-or-comment)
4355 (prolog-tokenize, prolog-inside-mline-comment)
4356 (prolog-find-start-of-mline-comment): Remove functions.
4357 (prolog-find-unmatched-paren, prolog-clause-end)
4358 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4359 (prolog-electric--if-then-else): Rename from
4360 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4361 (prolog-tokenize-searchkey): Remove const.
4362 (prolog-clause-info): Use forward-sexp.
4363 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4364 (prolog-electric-if-then-else): Remove commands.
4365 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4366 for use in post-self-insert-hook.
4367 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4368 for use in post-self-insert-hook.
4369 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4370 for use in post-self-insert-hook.
4371 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4372 adapt it for use in post-self-insert-hook.
4374 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4376 * emacs-lisp/ert.el (ert-run-tests-interactively):
4377 Use `completing-read'. (Bug#9756)
4379 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4381 * simple.el (line-move): Call line-move-1 instead of
4382 line-move-visual when the current window hscroll is zero, but
4383 temporary-goal-column indicates we will need to hscroll as result
4384 of the movement. (Bug#15712)
4386 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4388 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4389 capitalization. Use :visible instead of :active.
4390 Fix `ruby-indent-exp' reference. Add menu items for the generic
4391 commands that are used with SMIE.
4392 (ruby-do-end-to-brace): Insert space after `{'.
4394 2013-10-25 John Anthony <john@jo.hnanthony.com>
4396 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4398 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4400 2013-10-25 Glenn Morris <rgm@gnu.org>
4402 * vc/vc.el (vc-print-log): Don't use a working revision unless
4403 one was explicitly specified. (Bug#15322)
4405 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4407 * subr.el (add-to-list): Preserve return value in compiler-macro
4410 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4412 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4413 result. Ask user to retry using '-all' flag. (Bug#15701)
4415 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4417 * emacs-lisp/smie.el: New smie-config system.
4418 (smie-config): New defcustom.
4419 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4420 (smie-config-guess, smie-config-save): New commands.
4421 (smie-config--mode-local, smie-config--buffer-local)
4422 (smie-config--trace, smie-config--modefuns): New vars.
4423 (smie-config--advice, smie-config--mode-hook)
4424 (smie-config--setter, smie-config-local, smie-config--get-trace)
4425 (smie-config--guess-value, smie-config--guess): New functions.
4426 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4427 text properties. Treat "string fence" syntax like string syntax.
4429 * progmodes/sh-script.el (sh-use-smie): Change default.
4430 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4431 (sh-var-value): Simplify by CSE.
4432 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4433 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4435 (sh-guess-basic-offset): Use cl-incf.
4436 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4438 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4440 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4443 2013-10-24 Glenn Morris <rgm@gnu.org>
4445 * Makefile.in (abs_top_srcdir): Remove.
4446 (update-subdirs): Use relative path to update-subdirs.
4448 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4450 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4451 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4452 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4453 Call unmsys--file-name before expand-file-name, not after it.
4455 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4457 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4458 (ert-test-skipped): New error.
4459 (ert-skip, ert-stats-skipped): New defuns.
4460 (ert--skip-unless): New macro.
4461 (ert-test-skipped): New struct.
4462 (ert--run-test-debugger, ert-test-result-type-p)
4463 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4464 (ert--stats-set-test-and-result, ert-char-for-test-result)
4465 (ert-string-for-test-result, ert-run-tests-batch)
4466 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4467 Handle skipped tests. (Bug#9803)
4469 2013-10-24 Glenn Morris <rgm@gnu.org>
4471 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4473 * Makefile.in (abs_top_srcdir): New, set by configure.
4474 (update-subdirs): Correct build-aux location.
4476 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4478 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4479 value, whether we could auto-deduce `backend', or not.
4481 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4482 with parameters" example. Simplify the "is it block or is it
4483 hash" check, but also make it more thorough.
4485 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4487 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4489 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4491 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4494 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4497 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4499 * progmodes/compile.el (compilation-directory-matcher)
4500 (compilation-page-delimiter):
4501 Support GNU Make-4.0 directory quoting. (Bug#15678)
4503 2013-10-23 Leo Liu <sdl.web@gmail.com>
4505 * ido.el (ido-tidy): Handle read-only text.
4507 2013-10-23 Glenn Morris <rgm@gnu.org>
4509 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4510 (emacs, compile, compile-always):
4511 Quote entities that might contain whitespace.
4512 (custom-deps, finder-data, autoloads): Use abs_lisp.
4513 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4514 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4515 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4517 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4519 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4520 Use `following-char'.
4522 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4524 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4525 * progmodes/ruby-mode.el (ruby-smie-rules):
4526 Remove corresponding workaround. Fix indentation rule of ";" so it
4527 also applies when ";" is the parent.
4529 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4531 * frame.el (display-screens, display-pixel-height)
4532 (display-pixel-width, display-mm-width, display-backing-store)
4533 (display-save-under, display-planes, display-color-cells)
4534 (display-visual-class, display-monitor-attributes-list):
4535 Mention the optional ‘display’ argument in doc strings.
4537 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4539 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4540 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4542 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4544 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4545 TODO. Add "." after " @ ".
4546 (ruby-smie--at-dot-call): New function. Checks if point at method
4547 call with explicit target.
4548 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4549 to the method name tokens when it precedes them.
4550 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4551 (ruby-smie-rules): Add rule for indentation before and after "."
4554 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4556 * textmodes/remember.el (remember-diary-extract-entries):
4559 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4562 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4564 * progmodes/ruby-mode.el (ruby-smie-grammar):
4565 Add (almost) all infix operators.
4566 (ruby-smie--implicit-semi-p): Add new operator chars.
4568 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4570 (ruby-smie--args-separator-p): Check that there's no newline
4571 between method call and its arguments.
4573 2013-10-20 Alan Mackenzie <acm@muc.de>
4575 Allow comma separated lists after Java "implements".
4577 * progmodes/cc-engine.el (c-backward-over-enum-header):
4579 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4580 from a "disallowed" list in enum fontification.
4582 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4584 * startup.el (default-frame-background-mode): Remove unused defvar.
4586 * progmodes/verilog-mode.el (verilog-mode): Don't set
4587 comment-indent-function globally.
4589 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4591 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4592 Move Info menu item creation to ns-win.el.
4594 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4597 * menu-bar.el: Move GNUstep specific menus...
4599 * term/ns-win.el (ns-initialize-window-system): ... to here.
4601 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4603 * simple.el (newline): Only run post-self-insert-hook when
4604 called interactively.
4606 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4608 * icomplete.el (icomplete-with-completion-tables): Add :version.
4610 2013-10-19 Alan Mackenzie <acm@muc.de>
4612 Fix fontification bugs with constructors and const.
4614 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4615 CASE 2) Remove the check for the absence of a suffix construct
4616 after a function declaration with only types (no identifiers) in
4617 the parentheses. Also, accept a function declaration with just a
4618 type inside the parentheses, if this type can be positively
4619 recognised as such, or if a prefix keyword like "explicit" nails
4620 down the construct as a declaration.
4622 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4624 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4625 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4626 the problem whereby selecting a menu item that leads to a
4627 minibuffer prompt moves the cursor out of the minibuffer window,
4628 making it hard to type at the prompt. Suggested by Stefan Monnier
4629 <monnier@iro.umontreal.ca>.
4631 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4633 * menu-bar.el: Don't make Services menu.
4635 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4637 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4638 (ffap-alist): Use ffap-c++-mode for c++-mode.
4639 (ffap-c++-path): New variable.
4640 (ffap-c++-mode): New function.
4642 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4644 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4646 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4648 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4649 introduced on 2013-09-08, which results in an infinite loop
4650 requesting a password.
4652 2013-10-18 Glenn Morris <rgm@gnu.org>
4654 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4656 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4658 Sync with upstream verilog-mode revision 1a6ecec7.
4659 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4660 (verilog-mode-release-date): Remove.
4661 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4662 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4663 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4664 (verilog-auto-tieoff-ignore-regexp)
4665 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4666 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4667 (verilog-signals-with, verilog-dir-cache-preserving)
4668 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4670 (verilog-case-fold): New option, to control case folding in
4671 regexp searches, bug597.
4672 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4673 (verilog-string-match-fold, verilog-in-paren-count)
4674 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4675 (verilog-at-close-struct-p): New functions.
4676 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4677 (verilog-forward-sexp, verilog-set-auto-endcomments):
4678 (verilog-leap-to-case-head): Handle "unique0" case.
4679 (verilog-in-constraint-re): New constant.
4680 (verilog-keywords, verilog-type-font-keywords):
4681 Add some SystemVerilog 1800-2012 keywords.
4682 (verilog-label-be): Remove unimplemented argument, bug669.
4683 (verilog-batch-execute-func): When batch expanding clear
4684 create-lockfiles to prevent spurious user locks when a file ends
4686 (verilog-calculate-indent, verilog-calc-1)
4687 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4688 (verilog-do-indent): Fix indentation of nested constraints
4690 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4691 (verilog-auto-inst-param): Use verilog-string-match-fold.
4692 (verilog-read-inst-module-matcher):
4693 Fix AUTOINST on gate primitives with #1.
4694 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4695 Reads all user-defined typed variables.
4696 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4697 (verilog-signals-matching-regexp)
4698 (verilog-signals-not-matching-regexp, verilog-auto):
4699 Respect verilog-case-fold.
4700 (verilog-diff-report): Fix line count.
4701 (verilog-auto-assign-modport): Remove unused local `modi'.
4702 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4703 better handle multidimensional arrays.
4704 Fix packed array ports misadding bit index in AUTOINST, bug637.
4705 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4706 to not double-declare existing outputs and inputs, respectively.
4707 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4708 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4709 (verilog-sk-uvm-component): New skeleton.
4710 (verilog-submit-bug-report): Add verilog-case-fold,
4711 remove verilog-mode-release-date.
4713 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4715 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4718 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4720 * textmodes/remember.el (remember): Set buffer-offer-save in
4721 remember buffers (bug#13566).
4723 2013-10-18 Daniel Colascione <dancol@dancol.org>
4725 When evaluating forms in ielm, direct standard output to ielm
4726 buffer. Add new ielm-return-for-effect command. Remove trailing
4727 whitespace throughout.
4729 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4730 (ielm-return-for-effect): New command.
4731 (ielm-send-input): Accept optional `for-effect' parameter.
4732 (ielm-eval-input): Accept optional `for-effect' parameter.
4733 Bind `standard-output' to stream we create using
4734 `ielm-standard-output-impl'. Suppress printing result when
4736 (ielm-standard-output-impl): New function.
4737 (inferior-emacs-lisp-mode): Explain new features in documentation.
4739 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4743 * net/tramp.el (tramp-debug-message): Do not check for connection
4745 (tramp-message): Use "vector" connection property.
4747 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4748 (tramp-equal-remote, tramp-eshell-directory-change)
4749 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4750 (tramp-adb-handle-rename-file)
4751 * net/tramp-cmds.el (tramp-list-remote-buffers)
4752 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4753 * net/tramp-compat.el (tramp-compat-process-running-p)
4754 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4755 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4756 (tramp-gvfs-handle-rename-file)
4757 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4758 (tramp-set-file-uid-gid)
4759 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4760 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4763 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4764 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4765 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4766 (tramp-gw-open-network-stream): Suppress unrelated traces.
4768 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4769 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4770 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4771 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4772 connection property.
4774 * net/tramp-cache.el (top): Suppress traces when reading
4777 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4778 Refactor common code. Improve debug message.
4779 (tramp-maybe-open-connection)
4780 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4781 connection buffer too early.
4783 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4784 from `tramp-smb-actions-with-acl'.
4785 (tramp-smb-actions-set-acl): New defconst.
4786 (tramp-smb-handle-copy-directory)
4787 (tramp-smb-action-get-acl): New defun, renamed from
4788 `tramp-smb-action-with-acl'.
4789 (tramp-smb-action-set-acl): New defun.
4790 (tramp-smb-handle-set-file-acl): Rewrite.
4792 2013-10-17 Glenn Morris <rgm@gnu.org>
4794 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4796 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4798 * skeleton.el (skeleton-newline): Remove.
4799 (skeleton-internal-1): Use (insert "\n") instead.
4801 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4804 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4805 forward-sexp-function while we redo its job (bug#15613).
4807 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4809 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4810 represented by lists.
4812 2013-10-16 Glenn Morris <rgm@gnu.org>
4814 * tmm.el (tmm--history): New dynamic variable.
4815 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4817 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4819 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4820 (tramp-smb-errors): Add error messages.
4821 (tramp-smb-actions-with-acl): New defconst.
4822 (tramp-smb-file-name-handler-alist) <set-file-acl>: Add handler.
4823 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4824 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4825 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4826 (tramp-smb-get-stat-capability): Fix tests.
4828 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4830 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4833 2013-10-16 Glenn Morris <rgm@gnu.org>
4835 * ansi-color.el (ansi-color-drop-regexp):
4836 Add 1J, 1K, 2K. (Bug#15617)
4838 * files.el (hack-local-variables--warned-lexical): New.
4839 (hack-local-variables):
4840 Warn about misplaced lexical-binding. (Bug#15616)
4842 * net/eww.el (eww-render): Always set eww-current-url,
4843 and update header line. (Bug#15622)
4844 (eww-display-html): ... Rather than just doing it here.
4846 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4848 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4849 menu navigations commands.
4851 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4853 * progmodes/subword.el (subword-capitalize): Be careful when
4854 the search for [[:alpha:]] fails (bug#15580).
4856 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4858 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4859 to commands that scroll the menu.
4861 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4863 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4864 Handle methods ending with `?' and `!'.
4866 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4868 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4869 `japanese-cp932' to `cp932' to fix the problem where saving a
4870 source file written in Shift_JIS twice would end up having
4871 `coding: japanese-cp932' which Ruby could not recognize.
4872 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4873 in `ruby-encoding-map'.
4874 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4875 doesn't need to be explicitly declared in magic comment.
4876 (ruby-encoding-map): Add type declaration for better customize UI.
4878 2013-10-13 Glenn Morris <rgm@gnu.org>
4880 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4881 Occur buffers are read-only. http://bugs.debian.org/720775
4883 * emacs-lisp/authors.el (authors-fixed-entries):
4884 Comment out old alpha stuff.
4886 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4888 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4889 to `after-save-hook' instead of `before-save-hook'.
4890 (ruby-mode-set-encoding): Use the value of coding system used to
4891 write the file. Call `basic-save-buffer-1' after modifying the
4894 2013-10-13 Alan Mackenzie <acm@muc.de>
4896 Fix indentation/fontification of Java enum with
4897 "implements"/generic.
4899 * progmodes/cc-engine.el (c-backward-over-enum-header):
4900 Extracted from the three other places and enhanced to handle generics.
4901 (c-inside-bracelist-p): Uses new function above.
4902 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4904 (c-font-lock-enum-tail): Uses new function above.
4906 2013-10-13 Kenichi Handa <handa@gnu.org>
4908 * international/mule-cmds.el (select-safe-coding-system): Remove a
4909 superfluous condition in chekcing whether a coding system is safe
4912 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4914 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4916 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4918 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4920 2013-10-13 Glenn Morris <rgm@gnu.org>
4922 * menu-bar.el (menu-bar-update-buffers):
4923 Unify Buffers menu prompt string. (Bug#15576)
4925 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4927 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4929 (authors-fixed-entries): Use accented form of name.
4931 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4933 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4934 method calls (bug#15594).
4935 (ruby-smie--args-separator-p): New function.
4936 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4937 recognize paren-free method calls.
4939 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4940 internals of universal-argument.
4942 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4944 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4945 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4946 dropped menu on second mouse click on the menu bar.
4948 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4950 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4951 (explicit-shell-file-name): Declare.
4952 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4953 (sh-completion-at-point-function): New function.
4955 (sh-smie--keyword-p): Remove unused argument.
4956 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4958 (sh-set-shell): Always setup SMIE, even if we use the
4959 old indentation code.
4961 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4963 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4965 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4966 predicate would return nil are almost non-existent.
4967 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4969 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4970 cache also after commands that modify the buffer but don't move
4973 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4975 * env.el (substitute-env-in-file-name): New function.
4976 (substitute-env-vars): Extend the meaning of the optional arg.
4978 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4980 * term/w32-win.el (dynamic-library-alist): Define separate lists
4981 of GIF DLLs for versions before and after 5.0.0 of giflib.
4984 2013-10-10 João Távora <joaotavora@gmail.com>
4986 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4987 not locked, use last revision and current source as
4988 defaults. (Bug#15569)
4990 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4992 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4995 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4997 * window.el (pop-to-buffer-same-window): Fix doc-string.
5000 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
5002 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
5004 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
5006 * calendar/icalendar.el (icalendar-import-file):
5007 Fix interactive spec. (Bug#15482)
5009 2013-10-10 Glenn Morris <rgm@gnu.org>
5011 * desktop.el (desktop-save): Default to saving in .emacs.d,
5012 since PWD is no longer in desktop-path by default. (Bug#15319)
5014 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
5015 now that text mode has a menu with the same entry.
5016 (menu-bar-text-mode-auto-fill): Remove now unused func.
5017 * textmodes/text-mode.el (text-mode-map):
5018 Use auto-fill help text from menu-bar.el.
5020 2013-10-10 John Anthony <john@jo.hnanthony.com>
5022 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
5024 2013-10-09 Juri Linkov <juri@jurta.org>
5026 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
5027 instead of this-command-keys. Add universal-argument-more and
5028 universal-argument-minus to the list of prefix commands. (Bug#15568)
5030 2013-10-09 Glenn Morris <rgm@gnu.org>
5032 * vc/vc-svn.el (vc-svn-create-repo):
5033 Expand paths in file://... url. (Bug#15446)
5035 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
5037 (authors): Remove unused local variables.
5039 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
5041 * profiler.el: Create a more coherent calltree from partial backtraces.
5042 (profiler-format): Hide the tail with `invisible' so that C-s can still
5043 find the hidden elements.
5044 (profiler-calltree-depth): Don't recurse so enthusiastically.
5045 (profiler-function-equal): New hash-table-test.
5046 (profiler-calltree-build-unified): New function.
5047 (profiler-calltree-build): Use it.
5048 (profiler-report-make-name-part): Indent the calltree less.
5049 (profiler-report-mode): Add visibility specs for profiler-format.
5050 (profiler-report-expand-entry, profiler-report-toggle-entry):
5051 Expand the whole subtree when provided with a prefix arg.
5053 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
5055 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
5057 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
5058 hanging iuwu-mod token.
5059 (ruby-smie--forward-token): Do not include a dot after a token in
5061 (ruby-smie--backward-token): Likewise.
5063 2013-10-08 Juri Linkov <juri@jurta.org>
5065 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
5066 to isearch-other-control-char.
5067 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
5068 and isearch-post-command-hook to post-command-hook.
5069 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
5070 and isearch-post-command-hook from post-command-hook.
5071 (isearch-unread-key-sequence)
5072 (isearch-reread-key-sequence-naturally)
5073 (isearch-lookup-scroll-key, isearch-other-control-char)
5074 (isearch-other-meta-char): Remove functions.
5075 (isearch-pre-command-hook, isearch-post-command-hook):
5076 New functions based on isearch-other-meta-char rewritten
5077 relying on the new behavior of overriding-terminal-local-map
5078 that does not replace the local keymaps any more. (Bug#15200)
5080 2013-10-08 Eli Zaretskii <eliz@gnu.org>
5082 Support menus on text-mode terminals.
5083 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
5086 * tooltip.el (tooltip-mode): Don't error out on TTYs.
5088 * menu-bar.el (popup-menu, popup-menu-normalize-position):
5089 Move here from mouse.el.
5090 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
5092 (tty-menu-navigation-map): New map for TTY menu navigation.
5094 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
5096 * frame.el (display-mouse-p): Report text-mode mouse as available
5098 (display-popup-menus-p): Report availability if mouse is
5099 available; don't condition on window-system.
5101 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
5102 (tty-menu-selected-face): New faces.
5104 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5106 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
5107 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
5108 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
5109 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
5111 (lisp-mode-variables): New `elisp' argument.
5112 (emacs-lisp-mode): Use it.
5113 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
5114 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
5116 * indent.el: Use lexical-binding.
5117 (indent-region): Add progress reporter.
5118 (tab-stop-list): Make it implicitly extend to infinity by repeating the
5120 (indent--next-tab-stop): New function to implement this behavior.
5121 (tab-to-tab-stop, move-to-tab-stop): Use it.
5123 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
5125 * indent.el (indent-rigidly--current-indentation): New function.
5126 (indent-rigidly-map): New var.
5127 (indent-rigidly): Use it to provide interactive mode (bug#8196).
5129 2013-10-08 Bastien Guerry <bzg@gnu.org>
5131 * register.el (insert-register): Fix 2013-10-07 change.
5133 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
5135 * progmodes/perl-mode.el: Use lexical-binding.
5136 Remove redundant :group args.
5137 (perl-nochange): Change default to be closer to other major modes's
5139 (perl-indent-line): Don't consider text on current line as a
5140 valid beginning of function from which to indent.
5142 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
5143 with more than one argument (bug#15538).
5145 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
5147 * vc/pcvs.el: Use lexical-binding.
5148 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
5149 environment of `eval'.
5150 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
5151 than a list of expressions. Adjust callers.
5152 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
5154 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
5156 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
5157 case of the dot in a chained method call being on the following line.
5159 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5161 * electric.el (electric-indent-inhibit): New var.
5162 (electric-indent-post-self-insert-function): Use it.
5163 * progmodes/python.el (python-mode): Set it.
5165 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
5168 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
5170 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
5171 (css-mode): Use electric-indent-chars.
5173 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
5174 (font-lock-beg, font-lock-end): Move before first use.
5175 (nxml-mode): Use syntax-propertize-function.
5176 (nxml-after-change, nxml-after-change1): Adjust accordingly.
5177 (nxml-extend-after-change-region): Remove.
5178 * nxml/xmltok.el: Use lexical-binding.
5179 (xmltok-save): Use `declare'.
5180 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
5181 * nxml/nxml-util.el: Use lexical-binding.
5182 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
5184 * nxml/nxml-ns.el: Use lexical-binding.
5185 (nxml-ns-save): Use `declare'.
5186 (nxml-ns-prefixes-for): Avoid add-to-list.
5187 * nxml/rng-match.el: Use lexical-binding.
5188 (rng--ipattern): Use cl-defstruct.
5189 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
5190 (rng-cons-group-after, rng-subst-group-after)
5191 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
5192 Use closures instead of `(lambda...).
5194 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
5196 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
5199 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
5200 Use `tramp-handle-insert-file-contents'.
5201 (tramp-gvfs-handle-insert-file-contents): Remove function.
5203 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
5204 Use `save-restriction' in order to keep markers.
5206 * net/trampver.el: Update release number.
5208 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
5210 * progmodes/compile.el (compilation-parse-errors):
5211 Use compilation--put-prop.
5212 (compilation--ensure-parse): Check compilation-multiline.
5214 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
5216 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
5219 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
5221 * progmodes/ruby-mode.el: Fix recently added tests.
5222 (ruby-smie-grammar): Add - and +.
5223 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
5224 (ruby-smie--backward-id): New functions.
5225 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
5226 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
5229 2013-10-07 Leo Liu <sdl.web@gmail.com>
5231 * register.el (register-preview-delay)
5232 (register-preview-functions): New variables.
5233 (register-read-with-preview, register-preview)
5234 (register-describe-oneline): New functions.
5235 (point-to-register, window-configuration-to-register)
5236 (frame-configuration-to-register, jump-to-register)
5237 (number-to-register, view-register, insert-register)
5238 (copy-to-register, append-to-register, prepend-to-register)
5239 (copy-rectangle-to-register): Use register-read-with-preview to
5240 read register. (Bug#15525)
5242 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
5244 * net/network-stream.el (network-stream-open-starttls): Don't add
5245 --insecure if it's already present, because that gnutls-cli
5246 rejects getting that parameter twice.
5248 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
5250 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
5253 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
5255 * newcomment.el (comment-use-global-state): Change default value
5256 to t, mark obsolete (Bug#15251).
5257 (comment-beginning): In addition to `comment-to-syntax', check the
5258 value of `comment-use-global-state'.
5260 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5262 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5263 (ruby-comment-column): Follow the global default, by default.
5264 (ruby-smie-grammar): Add assignment syntax.
5265 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5266 open-paren, a comma, or a \.
5267 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5268 and line continuations.
5269 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5270 followed by implicit semi-colons. Add rule for string concatenation
5271 and for indentation at BOB.
5272 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5274 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5275 calling next-sexp, since next-token may have skipped chars which
5276 next-sexp doesn't know should be skipped!
5278 2013-10-05 Leo Liu <sdl.web@gmail.com>
5280 * progmodes/octave.el (octave-send-region):
5281 Call compilation-forget-errors.
5283 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5285 * vc/vc-svn.el (vc-svn-find-admin-dir):
5286 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5287 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5288 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5289 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5291 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5293 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5295 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5297 * subr.el (read-passwd): Hide chars even when called within a context
5298 where after-change-functions is disabled (bug#15501).
5299 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5300 until we removed ourself from overriding-terminal-local-map.
5302 2013-10-04 Leo Liu <sdl.web@gmail.com>
5304 * progmodes/octave.el (inferior-octave-mode):
5305 Call compilation-forget-errors.
5307 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5309 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5311 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5313 * net/secrets.el (secrets-create-collection): Add optional
5314 argument ALIAS. Use proper Label keyword. Append ALIAS as
5315 dbus-call-method argument. (Bug#15516)
5317 2013-10-04 Leo Liu <sdl.web@gmail.com>
5319 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5320 (inferior-octave-compilation-font-lock-keywords): New variables.
5321 (compilation-error-regexp-alist)
5322 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5323 (inferior-octave-mode): Use compilation-shell-minor-mode.
5325 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5327 * minibuffer.el (completion--replace): Be careful that `end' might be
5330 2013-10-03 Daiki Ueno <ueno@gnu.org>
5332 Add support for package signature checking.
5333 * emacs-lisp/package.el (url-http-file-exists-p)
5334 (epg-make-context, epg-context-set-home-directory)
5335 (epg-verify-string, epg-context-result-for)
5336 (epg-signature-status, epg-signature-to-string)
5337 (epg-check-configuration, epg-configuration)
5338 (epg-import-keys-from-file): Declare.
5339 (package-check-signature): New user option.
5340 (package-unsigned-archives): New user option.
5341 (package-desc): Add `signed' field.
5342 (package-load-descriptor): Set `signed' field if .signed file exists.
5343 (package--archive-file-exists-p): New function.
5344 (package--check-signature): New function.
5345 (package-install-from-archive): Check package signature.
5346 (package--download-one-archive): Check archive signature.
5347 (package-delete): Remove .signed file.
5348 (package-import-keyring): New command.
5349 (package-refresh-contents): Import default keyring.
5350 (package-desc-status): Add "unsigned" status.
5351 (describe-package-1, package-menu--print-info)
5352 (package-menu-mark-delete, package-menu--find-upgrades)
5353 (package-menu--status-predicate): Support "unsigned" status.
5355 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5357 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5358 the new compilation scheme using the new byte-codes.
5360 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5361 (byte-pophandler): New byte codes.
5362 (byte-goto-ops): Adjust accordingly.
5363 (byte-compile--use-old-handlers): New var.
5364 (byte-compile-catch): Use new byte codes depending on
5365 byte-compile--use-old-handlers.
5366 (byte-compile-condition-case--old): Rename from
5367 byte-compile-condition-case.
5368 (byte-compile-condition-case--new): New function.
5369 (byte-compile-condition-case): New function that dispatches depending
5370 on byte-compile--use-old-handlers.
5371 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5374 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5375 Optimize under `condition-case' and `catch' if
5376 byte-compile--use-old-handlers is nil.
5377 (disassemble-offset): Handle new bytecodes.
5379 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5381 * subr.el (error): Use `declare'.
5382 (decode-char, encode-char): Use advertised-calling-convention instead
5383 of the docstring to discourage use of the `restriction' arg.
5385 2013-10-03 Daiki Ueno <ueno@gnu.org>
5387 * epg.el (epg-verify-file): Add a comment saying that it does not
5388 notify verification error as a return value nor a signal.
5389 (epg-verify-string): Ditto.
5391 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5393 * progmodes/compile.el (compilation-start): Try globbing the arg to
5396 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5398 Sync with Tramp 2.2.8.
5400 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5401 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5402 * net/trampver.el: Update release number.
5404 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5406 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5407 and default-process-coding-system for darwin only.
5409 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5411 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5413 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5415 * vc/vc-git.el (vc-git-grep): Disable pager.
5417 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5419 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5420 Use :url instead of :homepage, as per
5421 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5423 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5424 non-nil, use `syntax-ppss' (Bug#15251).
5426 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5428 * progmodes/octave.el (inferior-octave-startup-file):
5429 Prefer ~/.emacs.d/init_octave.m.
5431 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5433 * emacs-lisp/package.el (package-desc-from-define):
5434 Accept additional arguments as plist, convert them to an alist and store
5435 them in the `extras' slot.
5436 (package-generate-description-file): Convert extras alist back to
5437 plist and append to the `define-package' form arguments.
5438 (package--alist-to-plist): New function.
5439 (package--ac-desc): Add `extras' slot.
5440 (package--add-to-archive-contents): Check if the archive-contents
5441 vector is long enough, and if it is, pass its `extras' slot value
5442 to `package-desc-create'.
5443 (package-buffer-info): Call `lm-homepage', pass the returned value
5444 to `package-desc-from-define'.
5445 (describe-package-1): Render the homepage button (Bug#13291).
5447 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5448 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5450 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5452 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5453 and default-process-coding-system to utf-8-unix (Bug#15402).
5455 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5457 * subr.el (looking-back): Do not recommend using looking-back.
5459 2013-09-28 Alan Mackenzie <acm@muc.de>
5461 Fix indentation/fontification of Java enum with "implements".
5463 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5464 regexp which matches "implements", etc., in Java.
5465 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5466 specifier clauses coming after "enum".
5467 * progmodes/cc-fonts.el (c-font-lock-declarations)
5468 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5471 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5473 * faces.el (region): Change ns_selection_color to
5474 ns_selection_fg_color, add ns_selection_bg_color.
5476 2013-09-28 Leo Liu <sdl.web@gmail.com>
5478 * progmodes/octave.el (inferior-octave-completion-table)
5479 (inferior-octave-completion-at-point): Minor tweaks.
5481 * textmodes/ispell.el (ispell-lookup-words): Rename from
5482 lookup-words. (Bug#15460)
5483 (lookup-words): Obsolete.
5484 (ispell-complete-word, ispell-command-loop): All uses changed.
5486 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5488 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5489 (octave-mode-menu): Add octave-send-buffer.
5490 (octave-send-buffer): New function.
5492 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5494 * progmodes/octave.el (octave-mode-map): Add key binding for
5496 (octave-mode-menu): Add octave-lookfor.
5497 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5499 (octave-lookfor): New function.
5501 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5503 * emacs-lisp/cl-macs.el:
5504 (cl--loop-destr-temps): Remove.
5505 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5507 (cl--loop-set-iterator-function): New function.
5508 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5509 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5510 Bind `it' with `let' instead of substituting it with `cl-subst'.
5511 (cl--unused-var-p): New function.
5512 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5513 Eliminate some unused variable warnings (bug#15326).
5515 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5517 * doc-view.el (doc-view-scale-reset): Rename from
5518 `doc-view-reset-zoom-level'.
5519 (doc-view-scale-adjust): New command.
5520 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5521 `doc-view-scale-adjust'.
5523 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5525 * doc-view.el (doc-view-reset-zoom-level): New command.
5526 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5527 zoom commands (bug#15466).
5529 2013-09-26 Kenichi Handa <handa@gnu.org>
5531 * international/quail.el (quail-help): Make it not a command.
5533 2013-09-26 Leo Liu <sdl.web@gmail.com>
5535 * minibuffer.el (completion-all-sorted-completions): Make args
5536 optional as they are.
5538 2013-09-25 Daniel Colascione <dancol@dancol.org>
5540 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5541 specs are and that they're not evaluated.
5543 2013-09-24 Sam Steingold <sds@gnu.org>
5545 * midnight.el (clean-buffer-list-kill-regexps)
5546 (clean-buffer-list-kill-buffer-names): Update for the new Man
5547 buffer naming which includes the object name.
5549 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5551 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5552 (eshell-parse-command, eshell-parse-pipeline): Use it since
5553 eshell-separate-commands requires a dynamic scoped var.
5554 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5556 2013-09-23 Leo Liu <sdl.web@gmail.com>
5558 * autoinsert.el (auto-insert-alist): Make the value of
5559 lexical-binding match its file setting.
5561 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5563 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5565 * autoarg.el (autoarg-kp-digit-argument):
5566 * electric.el (Electric-command-loop):
5567 * kmacro.el (kmacro-step-edit-insert):
5568 Do not set universal-argument-num-events.
5570 2013-09-22 Leo Liu <sdl.web@gmail.com>
5572 * files.el (interpreter-mode-alist): Add octave.
5574 2013-09-21 Alan Mackenzie <acm@muc.de>
5576 C++: fontify identifier in declaration following "public:" correctly.
5577 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5578 to match "public", etc.
5579 (c-decl-prefix-re): Add ":" into the C++ value.
5580 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5581 bit. Add a check for a ":" preceded by "public", etc.
5583 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5585 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5586 recognized by GDB 7.5 and later.
5588 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5590 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5592 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5594 * subr.el (internal--call-interactively): New const.
5595 (called-interactively-p): Use it (bug#3984).
5597 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5599 * vc/pcvs.el (cvs-mode-ignore):
5600 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5601 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5603 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5605 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5606 (eshell-ls-orig-insert-directory): Remove.
5607 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5608 (eshell-ls-use-in-dired): Use advice-add/remove.
5609 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5610 Add `orig-fun' arg for use in :around advice.
5611 Make it check (redundantly) eshell-ls-use-in-dired.
5613 2013-09-19 Glenn Morris <rgm@gnu.org>
5615 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5617 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5619 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5621 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5623 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5624 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5625 (tramp-get-remote-python): New defuns.
5626 (tramp-get-remote-uid-with-perl)
5627 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5628 contributed by yary <not.com@gmail.com> (tiny change).
5629 (tramp-get-remote-uid-with-python)
5630 (tramp-get-remote-gid-with-python): New defuns. Python code
5631 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5632 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5634 2013-09-19 Glenn Morris <rgm@gnu.org>
5636 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5638 * eshell/em-unix.el (eshell-remove-entries):
5639 Rename argument to avoid name-clash with global `top-level'.
5641 * eshell/esh-proc.el (eshell-kill-process-function):
5642 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5643 (eshell-reset-after-proc): Remove unused arg `proc'.
5645 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5646 (directory-files-and-attributes): Mark unused arg.
5648 * eshell/em-unix.el (eshell-remove-entries):
5649 Remove unused arg `path'. Update callers.
5651 * eshell/em-hist.el (eshell-hist-parse-arguments):
5652 Remove unused arg `silent'. Update callers.
5654 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5655 Fix (f)boundp mix-up.
5657 * eshell/em-smart.el (eshell-smart-scroll-window)
5658 (eshell-disable-after-change):
5659 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5661 2013-09-18 Alan Mackenzie <acm@muc.de>
5663 Fix fontification of type when followed by "const".
5664 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5665 "known" types from fontification.
5667 2013-09-18 Glenn Morris <rgm@gnu.org>
5669 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5670 (chart-face-list): Drop Emacsen without display-color-p.
5672 * net/eww.el (libxml-parse-html-region): Declare.
5673 (eww-display-html): Explicit error if no libxml2 support.
5675 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5677 * image.el (image-type-from-buffer, image-multi-frame-p):
5678 Remove --without-x warning/error.
5680 * mouse.el (mouse-yank-primary):
5681 * term.el (term-mouse-paste):
5682 Reorder to silence --without-x compilation.
5684 * mpc.el (doc-view-mode): Silence --without-x compilation.
5686 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5687 Silence --without-x compilation.
5689 * progmodes/gud.el (gud-find-file, gud-mode):
5690 Silence --without-x compilation.
5691 (tooltip-mode): Declare.
5693 * wdired.el (dired-backup-overwrite): Remove declaration.
5694 (wdired-mode-map): Add doc string.
5696 * custom.el (x-get-resource): Declare.
5698 * eshell/em-glob.el (ange-cache):
5699 * eshell/em-unix.el (ange-cache): Declare.
5701 * faces.el (x-display-list, x-open-connection, x-get-resource):
5704 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5705 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5708 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5710 * net/gnutls.el (gnutls-log-level): Declare.
5712 * net/shr.el (image-size, image-animate): Declare.
5714 * simple.el (font-info): Declare.
5716 * subr.el (x-popup-dialog): Declare.
5718 * term/common-win.el (x-select-enable-primary)
5719 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5722 * term/ns-win.el (x-handle-args): Declare.
5724 * term/x-win.el (x-select-enable-clipboard): Declare.
5726 * term/w32-win.el (create-default-fontset): Declare.
5728 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5731 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5732 (fit-frame-to-buffer): Explicit error if --without-x.
5733 (mouse-autoselect-window-select): Silence compiler.
5735 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5737 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5738 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5739 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5740 * eshell/esh-util.el (eshell-sublist):
5741 Remove unused local variables.
5743 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5745 * textmodes/two-column.el: Make 2C-split work for --without-x.
5746 (scroll-bar-columns): Autoload.
5747 (top-level): Require fringe when compiling.
5749 2013-09-18 Leo Liu <sdl.web@gmail.com>
5751 * subr.el (add-hook): Robustify to handle closure as well.
5753 2013-09-17 Glenn Morris <rgm@gnu.org>
5755 * simple.el (messages-buffer-mode-map): Unbind "g".
5757 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5759 * help-mode.el (help-mode-finish): Use derived-mode-p.
5760 Remove obsolete highlighting.
5762 * play/life.el (life-mode): Use define-derived-mode. Derive from
5764 (life): Let-bind inhibit-read-only.
5765 (life-setup): Avoid `setq'. Use `life-mode'.
5767 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5768 which should not be needed any more.
5769 (package-menu-refresh, package-menu-describe-package): Use user-error.
5771 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5772 (eshell-post-rewrite-command-hook): Make obsolete.
5773 (eshell-parse-command): Simplify.
5774 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5775 (eshell--cmd): Declare.
5776 (eshell-parse-pipeline): Remove unused var `final-p'.
5777 Pass a dynvar to eshell-post-rewrite-command-hook.
5778 Implement the new eshell-post-rewrite-command-function.
5779 (eshell-invoke-directly): Remove unused arg `input'.
5780 * eshell/esh-io.el (eshell-io-initialize):
5781 Use eshell-post-rewrite-command-function (bug#15399).
5782 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5783 adjust to new calling convention.
5784 (eshell-create-handles): Rename args to avoid clashing with dynvar
5787 2013-09-17 Glenn Morris <rgm@gnu.org>
5789 * simple.el (messages-buffer-mode): New major mode.
5790 (messages-buffer): New function.
5791 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5792 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5793 (ert-run-test): Use `messages-buffer' function.
5794 (ert--force-message-log-buffer-truncation): Ignore read-only.
5795 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5796 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5798 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5800 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5802 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5804 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5806 * icomplete.el (icomplete-in-buffer): New var.
5807 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5808 vars and replace them with functions.
5809 (icomplete-minibuffer-setup): Adjust accordingly.
5810 (icomplete--completion-table, icomplete--completion-predicate)
5811 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5813 (icomplete-forward-completions, icomplete-backward-completions)
5814 (icomplete-simple-completing-p, icomplete-exhibit)
5815 (icomplete-completions): Use them.
5816 (icomplete--in-region-buffer): New var.
5817 (icomplete--in-region-setup): New function.
5818 (icomplete-mode): Use it.
5820 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5822 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5823 return args and options.
5824 (eshell-eval-using-options): Use the new return value of
5825 eshell--do-opts to set the options's vars in their scope.
5826 (eshell--set-option): Rename from eshell-set-option.
5828 (eshell--process-option): Rename from eshell-process-option.
5830 (eshell--process-args): Use an `opt-vals' alist to store the options's
5831 values during their processing and return them additionally to the
5834 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5836 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5837 continuation character an operator, as far as indentation is
5838 concerned (Bug#15369).
5840 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5842 * window.el (window--state-put-2): Don't process buffer state
5843 when buffer doesn't exist any more (Bug#15382).
5845 2013-09-15 Glenn Morris <rgm@gnu.org>
5847 * eshell/em-unix.el (eshell/rm):
5848 Make -f ignore missing files. (Bug#15373)
5850 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5851 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5852 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5854 2013-09-14 Glenn Morris <rgm@gnu.org>
5856 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5858 2013-09-13 Glenn Morris <rgm@gnu.org>
5860 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5861 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5863 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5865 * frame.el (x-focus-frame): Mark as declared in frame.c.
5867 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5869 * ls-lisp.el: Use advice-add.
5870 (original-insert-directory): Remove.
5871 (ls-lisp--insert-directory): Rename from insert-directory; add
5872 `orig-fun' argument.
5873 (insert-directory): Advise.
5875 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5877 * term.el (term-emulate-terminal): Decode the command string
5878 before passing it to term-command-hook. (Bug#15337)
5880 2013-09-13 Glenn Morris <rgm@gnu.org>
5882 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5884 * eshell/esh-ext.el (eshell-search-path): Declare.
5886 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5887 Otherwise an error occurs if eshell-dirs module not loaded.
5889 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5891 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5893 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5894 `tramp-check-proper-host'. Check for a valid method name.
5896 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5897 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5898 * net/tramp-sh.el (tramp-maybe-open-connection):
5899 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5901 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5902 also for hash values.
5904 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5906 * term/ns-win.el (parameters): Don't declare as dynamic.
5907 (before-make-frame-hook): Don't add ineffective function.
5909 * eshell/*.el: Use lexical-binding (bug#15231).
5911 2013-09-12 Kenichi Handa <handa@gnu.org>
5913 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5915 2013-09-12 Glenn Morris <rgm@gnu.org>
5917 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5918 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5920 * subr.el (do-after-load-evaluation): Also give compiler warnings
5921 when obsolete files are used (except by obsolete files).
5923 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5924 in the status output, assume `filename' is the first. (Bug#15322)
5926 * vc/vc.el (vc-deduce-fileset): Doc fix.
5928 * calc/calc-help.el (Info-goto-node):
5929 * progmodes/cperl-mode.el (Info-find-node):
5930 * vc/ediff.el (Info-goto-node): Update declarations.
5932 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5934 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5935 (vc-bzr-pull): Require vc-dispatcher.
5936 * vc/vc-git.el (vc-compilation-mode): Declare.
5937 (vc-git-pull): Require vc-dispatcher.
5939 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5941 * progmodes/octave.el (help-button-action): Declare.
5943 * shell.el (shell-directory-tracker): Output error as a message
5944 rather than just returning it as a string.
5945 (shell-process-pushd): Remove useless use of message.
5947 * dframe.el (dframe-timer-fn):
5948 * files.el (dir-locals-read-from-file):
5949 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5951 * reveal.el (reveal-post-command):
5952 * saveplace.el (load-save-place-alist-from-file):
5953 * shell.el (shell-resync-dirs):
5954 * w32-common-fns.el (x-get-selection-value):
5955 * emacs-lisp/copyright.el (copyright-find-copyright):
5956 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5957 * emulation/tpu-edt.el (tpu-copy-keyfile):
5958 * play/bubbles.el (bubbles--mark-neighbourhood):
5959 * progmodes/executable.el
5960 (executable-make-buffer-file-executable-if-script-p):
5961 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5963 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5965 Cleanup Eshell to rely less on dynamic scoping.
5966 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5967 last-value, and ext-command here. Bind `args' closer to `body'.
5968 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5969 (eshell--args): Declare new dynamic var.
5970 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5971 last-value, and ext-command. Pass `args' to `body'.
5972 (eshell-process-args): Bind eshell--args.
5973 (eshell-set-option): Use eshell--args.
5974 * eshell/eshell.el (eshell): Use derived-mode-p.
5975 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5976 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5977 (eshell-glob-function): Declare.
5978 * eshell/esh-util.el: Require cl-lib.
5979 (eshell-read-hosts-file): Avoid add-to-list.
5980 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5982 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5984 (eshell/diff): Remove unused var `err'.
5985 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5987 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5988 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5990 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5991 Move declaration before first use.
5992 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5993 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5996 2013-09-12 Glenn Morris <rgm@gnu.org>
5998 * term/ns-win.el (global-map): Remove binding for ispell-next,
5999 deleted 1999-05-29. (Bug#15357)
6001 2013-09-11 Glenn Morris <rgm@gnu.org>
6003 * echistory.el (electric-command-history): Remove call to deleted func.
6005 * play/landmark.el (landmark-mode): Fix typos.
6007 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
6008 Check cvs-sort-ignore-file is bound.
6010 * savehist.el: No need for cl when compiling on Emacs.
6012 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6014 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
6016 (eshell-self-insert-command, eshell-send-invisible):
6017 Remove unused argument.
6018 (eshell-handle-control-codes): Remove unused var `orig'.
6019 Avoid delete-backward-char.
6021 * files.el (set-auto-mode): Simplify a bit further.
6023 2013-09-11 Glenn Morris <rgm@gnu.org>
6025 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
6026 (set-auto-mode): Don't regexp-quote elements.
6027 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
6028 * progmodes/cc-mode.el (interpreter-mode-alist):
6029 * progmodes/ruby-mode.el (interpreter-mode-alist):
6030 Revert previous change.
6032 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
6034 * play/snake.el (snake-mode):
6035 * play/mpuz.el (mpuz-mode):
6036 * play/landmark.el (lm-mode):
6037 * play/blackbox.el (blackbox-mode):
6038 * play/5x5.el (5x5-mode):
6039 * obsolete/options.el (Edit-options-mode):
6040 * net/quickurl.el (quickurl-list-mode):
6041 * net/newst-treeview.el (newsticker-treeview-mode):
6042 * mail/rmailsum.el (rmail-summary-mode):
6043 * mail/mspools.el (mspools-mode):
6044 * locate.el (locate-mode):
6045 * ibuffer.el (ibuffer-mode):
6046 * emulation/ws-mode.el (wordstar-mode):
6047 * emacs-lisp/debug.el (debugger-mode):
6048 * array.el (array-mode):
6049 * net/eudc.el (eudc-mode): Use define-derived-mode.
6050 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
6051 Move initialization into declaration.
6052 (mairix-searches-mode): Use define-derived-mode.
6053 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
6054 (eudc-edit-hotlist): Use dolist.
6055 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
6056 (Man-mode): Use define-derived-mode.
6057 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
6058 (Info-edit-mode): Use define-derived-mode.
6059 (Info-cease-edit): Use Info-mode.
6060 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
6062 (eshell-mode): Use define-derived-mode.
6063 * chistory.el (command-history-mode-map): Rename from
6064 command-history-map.
6065 (command-history-mode): Use define-derived-mode.
6066 (Command-history-setup): Remove function.
6067 * calc/calc.el (calc-trail-mode-map): New var.
6068 (calc-trail-mode): Use define-derived-mode.
6069 (calc-trail-buffer): Set calc-main-buffer manually.
6070 * bookmark.el (bookmark-insert-annotation): New function.
6071 (bookmark-edit-annotation): Use it.
6072 (bookmark-edit-annotation-mode): Make it a proper major mode.
6073 (bookmark-send-edited-annotation): Use derived-mode-p.
6074 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
6075 closer to its ideal place. Use \' to match EOS.
6077 * profiler.el (profiler-calltree-find): Use function-equal.
6079 2013-09-10 Glenn Morris <rgm@gnu.org>
6081 * files.el (interpreter-mode-alist): Convert to regexps.
6082 (set-auto-mode): Adapt for this. (Bug#15306)
6083 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
6084 Comment out unused variable.
6085 * progmodes/cc-mode.el (interpreter-mode-alist):
6086 * progmodes/python.el (interpreter-mode-alist):
6087 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
6088 * progmodes/sh-script.el (sh-set-shell):
6089 No longer use interpreter-mode-alist to get list of shells.
6091 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
6093 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
6095 * simple.el: Use set-temporary-overlay-map for universal-argument.
6096 (universal-argument-map): Don't use default-bindings (bug#15317).
6097 Bind switch-frame explicitly. Replace universal-argument-minus with
6098 a conditional binding.
6099 (universal-argument-num-events, saved-overriding-map): Remove.
6100 (restore-overriding-map): Remove.
6101 (universal-argument--mode): Rename from save&set-overriding-map,
6103 (universal-argument, universal-argument-more, negative-argument)
6104 (digit-argument): Adjust accordingly.
6105 (universal-argument-minus): Remove.
6106 (universal-argument-other-key): Remove.
6108 * subr.el (with-demoted-errors): Add `format' argument.
6110 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
6112 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
6113 `tramp-cleanup-connection'.
6115 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
6116 parameters KEEP-DEBUG and KEEP-PASSWORD.
6118 * net/tramp.el (tramp-file-name-handler):
6119 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6120 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
6121 (tramp-maybe-open-connection):
6122 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6123 Use `tramp-cleanup-connection'.
6125 * net/tramp-sh.el (tramp-maybe-open-connection):
6126 Catch 'uname-changed inside the progress reporter.
6128 2013-09-10 Glenn Morris <rgm@gnu.org>
6130 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
6132 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
6133 returns "alternate access method" in mode (eg "-rw-r--r--.").
6135 2013-09-08 Glenn Morris <rgm@gnu.org>
6137 * saveplace.el (load-save-place-alist-from-file):
6138 Demote errors. (Bug#15305)
6140 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
6142 Improve compatibility with older Emacsen, and XEmacs.
6144 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
6145 only if it is bound. It isn't for XEmacs.
6146 (with-tramp-progress-reporter): Do not let-bind `result'.
6147 This yields to scoping errors in XEmacs.
6148 (tramp-handle-make-auto-save-file-name): New function, moved from
6151 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
6152 for `make-auto-save-file-name'.
6153 (tramp-adb--gnu-switches-to-ash):
6154 Use `tramp-compat-replace-regexp-in-string'.
6156 * net/tramp-cache.el (tramp-cache-print): Call
6157 `substring-no-properties' only if it is bound. It isn't for XEmacs.
6159 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
6160 bound. It isn't for XEmacs.
6162 * net/tramp-compat.el (tramp-compat-copy-file):
6163 Catch `wrong-number-of-arguments' error.
6164 (tramp-compat-replace-regexp-in-string): New defun.
6166 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
6167 for `make-auto-save-file-name'.
6168 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
6170 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
6171 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
6172 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
6174 * net/tramp-gw.el (tramp-gw-open-network-stream):
6175 Use `tramp-compat-replace-regexp-in-string'.
6177 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
6178 Call `tramp-handle-make-auto-save-file-name'.
6179 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
6180 (tramp-sh-file-gvfs-monitor-dir-process-filter)
6181 (tramp-sh-file-inotifywait-process-filter):
6182 Use `tramp-compat-replace-regexp-in-string'.
6183 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
6185 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
6186 for `make-auto-save-file-name'.
6187 (tramp-smb-handle-copy-directory):
6188 Call `tramp-compat-replace-regexp-in-string'.
6189 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
6190 (tramp-smb-handle-copy-file): Improve error message.
6191 (tramp-smb-handle-rename-file): Rename directly only in case
6192 `newname' does not exist yet. This is a restriction of smbclient.
6193 (tramp-smb-maybe-open-connection): Rerun the function only when
6194 `auth-sources' is non-nil.
6196 2013-09-08 Kenichi Handa <handa@gnu.org>
6198 * international/characters.el: Set category "^" (Combining) for
6201 2013-09-07 Alan Mackenzie <acm@muc.de>
6203 Correctly fontify Java class constructors.
6204 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
6206 (c-recognize-typeless-decls): Set the Java value to t.
6207 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
6208 While handling a "(", add a check for, effectively, Java, and handle a
6209 "typeless" declaration there.
6211 2013-09-07 Roland Winkler <winkler@gnu.org>
6213 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
6214 field subtitle for entry type book.
6216 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6218 * minibuffer.el: Make minibuffer-complete call completion-in-region
6219 rather than other way around.
6220 (completion--some, completion-pcm--find-all-completions):
6221 Don't delay signals when debugging.
6222 (minibuffer-completion-contents): Beware fields within the
6223 minibuffer contents.
6224 (completion-all-sorted-completions): Use defvar-local.
6225 (completion--do-completion, completion--cache-all-sorted-completions)
6226 (completion-all-sorted-completions, minibuffer-force-complete):
6227 Add args `beg' and `end'.
6228 (completion--in-region-1): New fun, extracted from minibuffer-complete.
6229 (minibuffer-complete): Use completion-in-region.
6230 (completion-complete-and-exit): New fun, extracted from
6231 minibuffer-complete-and-exit.
6232 (minibuffer-complete-and-exit): Use it.
6233 (completion--complete-and-exit): Rename from
6234 minibuffer--complete-and-exit.
6235 (completion-in-region--single-word): New function, extracted from
6236 minibuffer-complete-word.
6237 (minibuffer-complete-word): Use it.
6238 (display-completion-list): Make `common-substring' argument obsolete.
6239 (completion--in-region): Call completion--in-region-1 instead of
6240 minibuffer-complete.
6241 (completion-help-at-point): Pass boundaries to
6242 minibuffer-completion-help as args rather than via an overlay.
6243 (completion-pcm--string->pattern): Use `any-delim'.
6244 (completion-pcm--optimize-pattern): New function.
6245 (completion-pcm--pattern->regex): Handle `any-delim'.
6246 * icomplete.el (icomplete-forward-completions)
6247 (icomplete-backward-completions, icomplete-completions):
6248 Adjust calls to completion-all-sorted-completions and
6249 completion--cache-all-sorted-completions.
6250 (icomplete-with-completion-tables): Default to t.
6251 * emacs-lisp/crm.el (crm--current-element): Rename from
6252 crm--select-current-element. Don't put an overlay but return the
6254 (crm--completion-command): Take two new args to bind to the boundaries.
6255 (crm-completion-help): Adjust accordingly.
6256 (crm-complete): Use completion-in-region.
6257 (crm-complete-word): Use completion-in-region--single-word.
6258 (crm-complete-and-exit): Use completion-complete-and-exit.
6260 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6262 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6265 2013-09-06 Juri Linkov <juri@jurta.org>
6267 * info.el (Info-display-images-node): When image file doesn't exist
6268 display text version of the image if it's provided in the Info file.
6269 Otherwise, display the location of missing image from SRC attribute.
6270 Add help-echo text property from ALT attribute. (Bug#15279)
6272 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6274 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6275 (edit-abbrevs-mode): Use define-derived-mode.
6277 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6278 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6280 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6281 Use define-derived-mode.
6283 * epg.el (epg-start-encrypt): Minor CSE simplification.
6285 2013-09-06 William Xu <william.xwl@gmail.com>
6287 * arc-mode.el: Add support for 7za (bug#15264).
6288 (archive-7z-program): New var.
6289 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6290 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6291 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6293 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6297 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6298 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6299 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6300 (tramp-postfix-host-format, tramp-file-name-regexp)
6301 (tramp-completion-file-name-regexp)
6302 (tramp-completion-dissect-file-name)
6303 (tramp-handle-substitute-in-file-name): Remove 'url case.
6304 (tramp-file-name-regexp-url)
6305 (tramp-completion-file-name-regexp-url): Remove constants.
6307 2013-09-06 Glenn Morris <rgm@gnu.org>
6309 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6311 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6313 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6314 keywords" below "here-doc beginnings" (Bug#15270).
6316 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6318 * subr.el (pop): Use `car-safe'.
6319 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6320 to detect unused `pop' return value.
6322 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6324 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6325 (python-fill-string): Remove unused var `marker'.
6326 (python-skeleton-add-menu-items): Remove unused var `items'.
6328 * international/mule-cmds.el: Require CL.
6329 (find-coding-systems-for-charsets): Avoid add-to-list.
6330 (sanitize-coding-system-list): New function, extracted from
6331 select-safe-coding-system-interactively.
6332 (select-safe-coding-system-interactively): Use it.
6333 (read-input-method-name): Accept symbols for `default'.
6335 * emacs-lisp/advice.el (defadvice): Add indent rule.
6337 2013-09-05 Daniel Hackney <dan@haxney.org>
6341 * net/browse-url.el:
6344 * net/eudcb-ldap.el:
6357 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6358 byte compiler. Remove some unused let-bound variables.
6360 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6362 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6363 a "ref-cell", since it gets better optimized (bug#14883).
6365 2013-09-05 Glenn Morris <rgm@gnu.org>
6367 * progmodes/cc-awk.el (c-forward-sws): Declare.
6369 2013-09-04 Glenn Morris <rgm@gnu.org>
6371 * generic-x.el [rul-generic-mode]: Require cc-mode.
6372 (c++-mode-syntax-table): Declare.
6373 (rul-generic-mode-syntax-table): Init in the defvar.
6375 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6377 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6378 (vc-do-command, vc-set-async-update):
6379 * vc/vc-mtn.el (vc-mtn-dir-status):
6380 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6381 (vc-hg-pull, vc-hg-merge-branch):
6382 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6383 (vc-git-merge-branch):
6384 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6385 (vc-cvs-dir-status-files):
6386 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6387 (vc-bzr-dir-status-files):
6388 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6389 * vc/vc-annotate.el: Use lexical-binding.
6390 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6391 (vc-sentinel-movepoint): Declare.
6392 (vc-annotate): Don't use `goto-line'.
6393 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6394 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6395 (vc-sentinel-movepoint): Declare.
6396 * vc/vc-svn.el: Use lexical-binding.
6397 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6399 * vc/vc-rcs.el: Use lexical-binding.
6401 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6402 `deleted'. Don't drop errors silently.
6404 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6406 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6408 * vc/vc.el (vc-ignore): Rewrite.
6409 (vc-default-ignore): New function.
6410 (vc-default-ignore-completion-table): Use find-ignore-file.
6412 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6413 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6414 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6415 Remove. Most code moved to vc.el.
6417 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6419 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6420 * net/tramp-smb.el (tramp-smb-get-file-entries):
6421 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6422 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6424 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6426 (eww-change-select): Remove unused var `properties'.
6427 (eww-make-unique-file-name): Remove unused var `base'.
6429 * finder.el (finder-compile-keywords): Don't mess with windows.
6431 * calculator.el (calculator-funcall): Fix typo in last change.
6433 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6435 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6436 <pkg>-autoloads.el file stop us.
6438 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6439 warnings, and factor out common code.
6441 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6443 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6444 two-character operators and whether the character preceding them
6445 changes their meaning (Bug#15208).
6447 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6449 Format code sent to Python shell for robustness.
6450 * progmodes/python.el (python-shell-buffer-substring):
6452 (python-shell-send-region, python-shell-send-buffer): Use it.
6454 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6456 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6457 * net/tramp.el (tramp-user-error): ... here.
6458 (tramp-find-method, tramp-check-proper-host)
6459 (tramp-dissect-file-name, tramp-debug-message)
6460 (tramp-handle-shell-command):
6461 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6462 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6464 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6466 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6468 * avoid.el (mouse-avoidance-point-position)
6469 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6472 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6474 * progmodes/python.el (python-shell-completion-get-completions):
6475 Drop use of deleted `comint-last-prompt-overlay'.
6476 (python-nav-if-name-main): New command.
6478 2013-09-01 Glenn Morris <rgm@gnu.org>
6480 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6481 Avoid leading space in $wins. Otherwise the sed command used by
6482 eg compile-main ends up containing "/*.el". (Bug#15170)
6484 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6486 2013-08-30 Glenn Morris <rgm@gnu.org>
6488 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6489 Fix is-this-a-directory logic. (Bug#15220)
6491 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6493 * textmodes/css-mode.el: Use SMIE.
6494 (css-smie-grammar): New var.
6495 (css-smie--forward-token, css-smie--backward-token)
6496 (css-smie-rules): New functions.
6497 (css-mode): Use them.
6498 (css-navigation-syntax-table): Remove var.
6499 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6500 (css-indent-calculate, css-indent-line): Remove functions.
6502 Misc changes to reduce use of `(lambda...); and other cleanups.
6503 * cus-edit.el: Use lexical-binding.
6504 (customize-push-and-save, customize-apropos)
6505 (custom-buffer-create-internal): Use closures.
6506 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6507 * progmodes/ada-xref.el: Use setq.
6508 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6509 * dframe.el: Use lexical-binding.
6510 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6511 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6512 * descr-text.el: Use lexical-binding.
6513 (describe-text-widget, describe-text-sexp, describe-property-list):
6515 * comint.el (comint-history-isearch-push-state): Use a closure.
6516 * calculator.el: Use lexical-binding.
6517 (calculator-number-to-string): Make it work with lexical-binding.
6518 (calculator-funcall): Same and use cl-letf.
6520 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6521 (lisp--company-doc-string, lisp--company-location): New functions.
6522 (lisp-completion-at-point): Use them to improve Company support.
6524 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6525 params of lambda expressions.
6526 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6527 (ruby-smie--opening-pipe-p): New function.
6528 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6529 symbols and matched |...| for formal params.
6530 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6531 from being treated as hanging. Handle "rescue".
6533 2013-08-29 Glenn Morris <rgm@gnu.org>
6535 * progmodes/cc-engine.el (c-pull-open-brace):
6536 Move definition before use.
6538 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6540 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6541 are immutable. Don't use `unsafe' any more.
6542 (cl--defsubst-expand): Don't substitute at the same time as keeping
6543 a residual unused let-binding. Don't use `unsafe' any more.
6545 2013-08-29 Glenn Morris <rgm@gnu.org>
6547 * calendar/cal-china.el (calendar-chinese-year-cache):
6550 * nxml/nxml-util.el (nxml-debug-clear-inside):
6551 Use cl-loop rather than loop.
6553 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6555 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6557 2013-08-28 Glenn Morris <rgm@gnu.org>
6559 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6561 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6563 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6565 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6567 * simple.el (repeat-complex-command--called-interactively-skip):
6569 (repeat-complex-command): Use it (bug#14136).
6571 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6572 (c-define-abbrev-table): Add `doc' argument.
6573 (c-mode-abbrev-table, c++-mode-abbrev-table)
6574 (objc-mode-abbrev-table, java-mode-abbrev-table)
6575 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6576 (awk-mode-abbrev-table): Use it.
6577 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6578 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6579 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6580 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6581 Move initialization into the declaration; and remove any
6584 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6585 and dynamic let binding.
6587 * vc/smerge-mode.el: Remove redundant :group args.
6589 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6592 2013-08-28 Juri Linkov <juri@jurta.org>
6594 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6595 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6596 (isearch-other-meta-char): Handle an undefined shifted printing
6597 character by downshifting it. (Bug#15200)
6599 2013-08-28 Juri Linkov <juri@jurta.org>
6601 * isearch.el (isearch-search): Change regexp error message for
6602 non-regexp searches. (Bug#15166)
6604 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6606 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6607 for portability to hosts where /bin/sh has problems.
6609 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6611 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6613 2013-08-27 Juri Linkov <juri@jurta.org>
6615 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6616 in the keyboard macro. (Bug#15126)
6618 2013-08-27 Juri Linkov <juri@jurta.org>
6620 * isearch.el (isearch-quote-char): Comment out converting unibyte
6621 to multibyte, thus syncing with its `quoted-insert' counterpart.
6624 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6626 * window.el (display-buffer-use-some-window): Add missing
6627 argument in call of get-largest-window (Bug#15185).
6628 Reported by Stephen Leake.
6630 2013-08-27 Glenn Morris <rgm@gnu.org>
6632 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6634 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6636 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6637 from a matcher-function unless there's no more matches (bug#15161).
6639 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6641 * minibuffer.el: Revert change from 2013-08-20.
6643 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6644 with text property `tramp-default', if appropriate.
6645 (tramp-check-proper-host): New defun.
6646 (tramp-dissect-file-name): Do not check hostname. Revert change
6648 (tramp-backtrace): Make VEC-OR-PROC optional.
6650 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6651 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6652 * net/tramp-sh.el (tramp-maybe-open-connection):
6653 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6654 Apply `tramp-check-proper-host'.
6656 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6658 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6659 lambda expression in order to have `describe-variable' display it.
6661 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6663 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6664 BUF can be optional. (Bug#15186)
6666 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6668 * progmodes/flymake.el (flymake-get-real-file-name-function):
6669 Fix broken customization. (Bug#15184)
6671 2013-08-25 Alan Mackenzie <acm@muc.de>
6673 Improve indentation of bracelists defined by macros (without "=").
6675 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6676 expansion begins with "{", regard it as bracelist when it doesn't
6679 Parse C++ inher-intro when there's a template split over 2 lines.
6681 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6682 rigorously the search for "class" etc. followed by ":".
6684 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6685 random languages a regexp which never matches rather than nil.
6687 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6689 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6690 (c-awk-regexp-one-line-possibly-open-char-list-re)
6691 (c-awk-one-line-possibly-open-regexp-re)
6692 (c-awk-one-line-non-syn-ws*-re): Remove.
6693 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6694 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6695 (c-awk-space*-unclosed-regexp-/-re): New constants.
6696 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6697 aren't regexp delimiters.
6699 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6700 handling for a rare situation in AWK Mode involving unterminated
6703 2013-08-23 Glenn Morris <rgm@gnu.org>
6705 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6707 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6709 * files.el (create-file-buffer): If the result would begin with
6710 spaces, prepend a "|" instead of removing them. (Bug#15162)
6712 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6714 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6715 text-properties (bug#15155).
6717 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6719 (calc-keypad-redraw): Remove unused var `pad'.
6720 (calc-keypad-press): Remove unused var `menu'.
6722 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6724 * window.el (display-buffer-pop-up-frame):
6725 Call pop-up-frame-function with BUFFER current so `make-frame' will
6726 use it as the new frame's buffer (Bug#15133).
6728 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6730 * calendar/timeclock.el: Minor cleanups.
6731 (timeclock-ask-before-exiting, timeclock-use-display-time):
6733 (timeclock-modeline-display): Define as alias before the
6735 (timeclock-mode-line-display): Use define-minor-mode.
6736 (timeclock-day-list-template): Make it a function, add an argument.
6737 (timeclock-day-list-required, timeclock-day-list-length)
6738 (timeclock-day-list-debt, timeclock-day-list-span)
6739 (timeclock-day-list-break): Adjust calls accordingly.
6741 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6743 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6744 Use read--expression so that completion works again.
6746 2013-08-21 Sam Steingold <sds@gnu.org>
6748 Add rudimentary inferior shell interaction
6749 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6750 (sh-set-shell): Reset it.
6751 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6752 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6754 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6756 * align.el: Use lexical-binding.
6757 (align-region): Simplify accordingly.
6759 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6761 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6763 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6766 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6770 * net/tramp-cmds.el:
6772 * net/tramp-gvfs.el:
6774 * net/tramp-sh.el: Don't wrap external variable declarations by
6775 `eval-when-compile'.
6777 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6779 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6780 now that Emacs supports ImageMagick animations.
6782 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6784 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6785 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6787 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6789 * window.el (mouse-autoselect-window-select): Do autoselect when
6790 mouse pointer is on margin.
6792 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6794 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6796 2013-08-16 Glenn Morris <rgm@gnu.org>
6798 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6799 Handle "Remote Directory" response of some clients. (Bug#15058)
6801 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6802 Tweak warning. (Bug#14926)
6804 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6805 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6807 * image-mode.el (image-mode-map): Add menu items to reverse,
6808 increase, decrease, reset animation speed.
6809 (image--set-speed, image-increase-speed, image-decrease-speed)
6810 (image-reverse-speed, image-reset-speed): New functions.
6811 (image-mode-map): Add bindings for speed commands.
6813 * image.el (image-animate-get-speed, image-animate-set-speed):
6815 (image-animate-timeout): Respect image :speed property.
6817 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6819 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6820 previous line (bug#15101).
6821 (debugger-eval-expression, debugger-record-expression):
6822 Use read--expression (bug#15102).
6824 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6826 Remove byte compiler warnings, visible when compiling with
6827 `byte-compile-force-lexical-warnings' set to t.
6829 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6830 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6831 (tramp-handle-unhandled-file-name-directory)
6832 (tramp-handle-file-notify-add-watch, tramp-action-login)
6833 (tramp-action-succeed, tramp-action-permission-denied)
6834 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6837 * net/tramp-adb.el (tramp-adb-parse-device-names)
6838 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6839 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6840 (tramp-adb-handle-file-truename): Remove unused arguments.
6842 * net/tramp-cache.el (tramp-flush-directory-property)
6843 (tramp-flush-connection-property, tramp-list-connections)
6844 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6846 * net/tramp-compat.el (tramp-compat-make-temp-file):
6847 Rename FILENAME to F.
6849 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6850 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6851 (tramp-zeroconf-parse-workstation-device-names)
6852 (tramp-zeroconf-parse-webdav-device-names)
6853 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6855 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6856 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6858 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6860 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6861 (tramp-sh-handle-insert-file-contents-literally)
6862 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6864 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6865 Remove unused variables.
6867 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6868 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6869 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6871 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6872 Make them a defconst.
6873 (tramp-uuencode-region): Remove unused variable.
6875 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6877 * frameset.el (frameset--prop-setter): New function.
6878 (frameset-prop): Add gv-setter declaration.
6879 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6880 parameter was already set in FILTERED. Doc fix.
6881 (frameset--record-minibuffer-relationships): Allow saving a
6882 minibufferless frame without its corresponding minibuffer frame.
6883 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6884 frame, if the frame id matches.
6885 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6886 frames before orphaned ones.
6887 (frameset-restore): Warn about orphaned windows, instead of error out.
6889 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6891 * window.el (window-make-atom): Don't overwrite parameter
6893 (display-buffer-in-atom-window): Handle special case where we
6894 split an already atomic window.
6895 (window--major-non-side-window, display-buffer-in-side-window)
6896 (window--side-check): Ignore minibuffer window when walking
6898 (window-deletable-p): Return 'frame only if no other frame uses
6899 our minibuffer window.
6900 (record-window-buffer): Run buffer-list-update-hook.
6901 (split-window): Make sure window--check-frame won't destroy an
6902 existing atomic window in case the new window gets nested
6904 (display-buffer-at-bottom): Ignore minibuffer window when
6905 walking window tree. Don't split a side window.
6906 (pop-to-buffer): Don't set-buffer here, the select-window call
6908 (mouse-autoselect-window-select): Autoselect only if we are in the
6909 text portion of the window.
6911 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6913 * net/shr.el (shr-parse-image-data): New function to grab both the
6914 data itself and the Content-Type.
6915 (shr-put-image): Use it.
6917 * net/eww.el (eww-display-image): Ditto.
6919 * image.el (image-content-type-suffixes): New variable.
6921 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6923 * progmodes/python.el (python-imenu--build-tree)
6924 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6926 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6928 * simple.el (backward-word): Mention the optional argument.
6930 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6932 * frameset.el (frameset--make): Rename constructor from make-frameset.
6933 (frameset-p, frameset-valid-p): Don't autoload.
6934 (frameset-valid-p): Use normal accessors.
6936 2013-08-13 Glenn Morris <rgm@gnu.org>
6938 * progmodes/compile.el (compile-command): Tweak example in doc.
6939 * obsolete/scribe.el (scribe-mode):
6940 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6942 * mail/feedmail.el (feedmail-confirm-outgoing)
6943 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6945 * cus-start.el (truncate-partial-width-windows): Fix type.
6947 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6949 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6951 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6953 * emacs-lisp/timer.el (timer--time-setter): New function.
6954 (timer--time): Use it as gv-setter.
6956 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6957 setter is not a symbol.
6959 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6961 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6962 if sending fails. This makes debugging easier.
6964 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6966 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6967 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6968 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6970 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6972 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6974 2013-08-12 Glenn Morris <rgm@gnu.org>
6976 * format.el (format-annotate-function):
6977 Handle read-only text properties in the source. (Bug#14887)
6979 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6981 * net/eww.el (eww-display-html): Ignore coding system errors.
6982 One web site uses "utf-8lias" as the coding system.
6984 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6986 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6988 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6990 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6991 (tutorial--detailed-help): Remove unused local variables.
6992 (tutorial--save-tutorial-to): Use ignore-errors.
6993 (help-with-tutorial): Use looking-at-p.
6995 * view.el (view-buffer-other-window, view-buffer-other-frame):
6996 Mark unused arguments.
6998 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6999 (woman-select-symbol-fonts, woman, woman-find-file)
7000 (woman-insert-file-contents, woman-non-underline-faces):
7002 (woman1-unquote): Move declaration.
7004 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
7005 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
7006 argument. Remove unused local variable.
7007 (xml-parse-elem-type): Use string-match-p.
7008 (xml-substitute-numeric-entities): Use ignore-errors.
7010 * calculator.el (calculator): Mark unused argument.
7011 (calculator-paste, calculator-quit, calculator-integer-p):
7013 (calculator-string-to-number, calculator-decimal, calculator-exp)
7014 (calculator-op-or-exp): Use string-match-p.
7016 * dired.el (dired-buffer-more-recently-used-p): Declare.
7017 (dired-insert-set-properties, dired-insert-old-subdirs):
7020 * dired-aux.el (dired-compress): Use ignore-errors.
7021 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
7022 (dired-do-async-shell-command, dired-do-shell-command)
7023 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
7024 (dired-insert-subdir-validate): Use string-match-p.
7025 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
7026 (dired-add-entry): Use string-match-p, looking-at-p.
7027 (dired-insert-subdir-newpos): Remove unused local variable.
7029 * filenotify.el (file-notify-callback): Remove unused local variable.
7031 * filesets.el (filesets-error): Mark unused argument.
7032 (filesets-which-command-p, filesets-filter-dir-names)
7033 (filesets-directory-files, filesets-get-external-viewer)
7034 (filesets-ingroup-get-data): Use string-match-p.
7036 * find-file.el (ff-other-file-name, ff-other-file-name)
7037 (ff-find-the-other-file, ff-cc-hh-converter):
7038 Remove unused local variables.
7039 (ff-get-file-name): Use string-match-p.
7040 (ff-all-dirs-under): Use ignore-errors.
7042 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
7043 (follow-select-if-visible): Remove unused local variable.
7045 * forms.el (read-file-filter): Move declaration.
7046 (forms--make-format, forms--make-parser, forms-insert-record):
7047 Quote function with #'.
7048 (forms--update): Use string-match-p. Quote function with #'.
7050 * help-mode.el (help-dir-local-var-def): Mark unused argument.
7051 (help-make-xrefs): Use looking-at-p.
7052 (help-xref-on-pp): Use looking-at-p, ignore-errors.
7054 * ibuffer.el (ibuffer-ext-visible-p): Declare.
7055 (ibuffer-confirm-operation-on): Use string-match-p.
7057 * msb.el (msb-item-handler, msb-dired-item-handler):
7058 Mark unused arguments.
7060 * ses.el (ses-decode-cell-symbol)
7061 (ses-kill-override): Remove unused local variable.
7062 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
7063 (ses-load): Use ignore-errors, looking-at-p.
7064 (ses-jump-safe): Use ignore-errors.
7065 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
7067 * tabify.el (untabify, tabify): Mark unused arguments.
7069 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
7070 Mark unused argument.
7071 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
7072 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
7074 * emacs-lisp/timer.el (timer--time): Define setter with
7075 gv-define-setter to avoid deprecation warning.
7077 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
7078 (*record-cmpl-statistics-p*): Remove (was commented out).
7079 (cmpl-statistics-block): Remove (body was commented out).
7080 All callers changed.
7081 (add-completions-from-buffer, load-completions-from-file):
7082 Remove unused variables.
7084 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7086 * filecache.el (file-cache-delete-file-list):
7087 Print message only when told so.
7088 (file-cache-files-matching): Use #' in mapconcat argument.
7090 * ffap.el (ffap-url-at-point): Fix reference to variable
7091 thing-at-point-default-mail-uri-scheme.
7093 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
7095 * subr.el (define-error): New function.
7096 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
7097 error-file-not-found and define with define-error.
7098 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
7099 and define with define-error.
7100 * userlock.el (file-locked, file-supersession):
7101 * simple.el (mark-inactive):
7102 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
7103 * progmodes/ada-mode.el (ada-mode-errors):
7104 * play/life.el (life-extinct):
7105 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
7106 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
7107 * nxml/rng-util.el (rng-error):
7108 * nxml/rng-uri.el (rng-uri-error):
7109 * nxml/rng-match.el (rng-compile-error):
7110 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
7111 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
7112 * nxml/nxml-rap.el (nxml-scan-error):
7113 * nxml/nxml-outln.el (nxml-outline-error):
7114 * net/soap-client.el (soap-error):
7115 * net/gnutls.el (gnutls-error):
7116 * net/ange-ftp.el (ftp-error):
7117 * mpc.el (mpc-proc-error):
7118 * json.el (json-error, json-readtable-error, json-unknown-keyword)
7119 (json-number-format, json-string-escape, json-string-format)
7120 (json-key-format, json-object-format):
7121 * jka-compr.el (compression-error):
7122 * international/quail.el (quail-error):
7123 * international/kkc.el (kkc-error):
7124 * emacs-lisp/ert.el (ert-test-failed):
7125 * calc/calc.el (calc-error, inexact-result, math-overflow)
7127 * bookmark.el (bookmark-error-no-filename):
7128 * epg.el (epg-error): Define with define-error.
7130 * time.el (display-time-event-handler)
7131 (display-time-next-load-average): Don't call sit-for since it seems
7132 unnecessary (bug#15045).
7134 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
7135 Use #' instead of ' to quote functions.
7136 (checkdoc-output-mode): Use setq-local.
7137 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
7138 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
7139 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
7140 (checkdoc-ispell, checkdoc-ispell-current-buffer)
7141 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
7142 (checkdoc-ispell-message-text, checkdoc-ispell-start)
7143 (checkdoc-ispell-continue, checkdoc-ispell-comments)
7144 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
7146 * ido.el (ido-completion-help): Fix up compiler warning.
7148 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
7150 * frameset.el (frameset-p): Add autoload cookie.
7151 (frameset--jump-to-register): New function, based on code moved from
7153 (frameset-to-register): Move from register.el. Adapt to `registerv'.
7155 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
7156 (frameset-restore, frameset-save, frameset-session-filter-alist):
7157 Remove declarations.
7158 (register-alist): Doc fix.
7159 (frameset-to-register): Move to frameset.el.
7160 (jump-to-register, describe-register-1): Remove frameset-specific code.
7162 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7164 * allout-widgets.el (allout-widgets-pre-command-business)
7165 (allout-widgets-post-command-business)
7166 (allout-widgets-after-change-handler)
7167 (allout-decorate-item-and-context, allout-set-boundary-marker)
7168 (allout-body-modification-handler)
7169 (allout-graphics-modification-handler): Mark ignored arguments.
7170 (allout-widgets-post-command-business)
7171 (allout-widgets-exposure-change-processor)
7172 (allout-widgets-exposure-undo-processor)
7173 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
7174 (allout-parse-item-at-point, allout-decorate-item-guides)
7175 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
7176 * allout.el (epa-passphrase-callback-function): Declare.
7177 (allout-overlay-insert-in-front-handler)
7178 (allout-overlay-interior-modification-handler)
7179 (allout-isearch-end-handler, allout-chart-siblings)
7180 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
7181 (allout-yank-processing, allout-process-exposed)
7182 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
7183 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
7184 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
7185 (lisp-indent-defform): Mark ignored arguments.
7186 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
7187 (calculate-lisp-indent): Remove unused variables.
7188 * international/characters.el (indian-2-column, arabic-2-column)
7189 (tibetan): Mark ignored arguments.
7190 (use-cjk-char-width-table): Mark ignored arguments.
7191 Remove unused variables.
7192 * international/fontset.el (build-default-fontset-data)
7193 (x-compose-font-name, create-fontset-from-fontset-spec):
7194 Mark ignored arguments.
7195 (fontset-plain-name): Remove unused variables.
7196 * international/mule.el (charset-id, charset-bytes, generic-char-p)
7197 (keyboard-coding-system): Mark ignored arguments.
7198 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
7199 * help.el (resize-temp-buffer-window):
7200 * window.el (display-buffer-in-major-side-window)
7201 (display-buffer-in-side-window, display-buffer-in-previous-window):
7202 Remove unused variables.
7203 * isearch.el (isearch-forward-symbol):
7204 * version.el (emacs-bzr-version-bzr):
7205 * international/mule-cmds.el (current-language-environment):
7206 * term/common-win.el (x-handle-iconic, x-handle-geometry)
7208 * term/pc-win.el (x-list-fonts, x-display-planes)
7209 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
7210 (x-server-version, x-display-screens, x-display-mm-height)
7211 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
7212 (x-selection-owner-p, x-own-selection-internal)
7213 (x-disown-selection-internal, x-get-selection-internal)
7214 (msdos-initialize-window-system):
7215 * term/tty-colors.el (tty-color-alist, tty-color-clear):
7216 * term/x-win.el (x-handle-no-bitmap-icon):
7217 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
7218 (vc-default-find-file-hook, vc-default-extra-menu):
7219 Mark ignored arguments.
7221 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7223 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
7224 break-condition in the context of the debugged code (bug#12685).
7226 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
7229 Do not use an overlay to highlight the last prompt. (Bug#14744)
7230 (comint-mode): Make comint-last-prompt buffer local.
7231 (comint-last-prompt): New variable.
7232 (comint-last-prompt-overlay): Remove. Superseded by
7234 (comint-snapshot-last-prompt, comint-output-filter):
7235 Use comint-last-prompt.
7237 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7239 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
7240 (frameset-save): Check validity of the resulting frameset.
7242 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
7244 * ido.el (ido-record-command): Add doc string.
7246 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7248 * frameset.el (frameset): Do not disable creation of the default
7249 frameset-p predicate. Doc fix.
7250 (frameset-valid-p): New function, copied from the old predicate-p.
7251 Add additional checks.
7252 (frameset-restore): Check with frameset-valid-p.
7253 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
7254 (frameset-name, frameset-description, frameset-properties)
7255 (frameset-states): Add docstring.
7256 (frameset-session-filter-alist, frameset-persistent-filter-alist)
7257 (frameset-filter-alist): Doc fixes.
7259 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7261 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7263 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7265 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7266 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7267 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7268 (byte-compile-normal-call): Remove obsolescence check.
7270 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7272 * frameset.el (frameset-restore): Doc fix.
7274 * register.el (frameset-frame-id, frameset-frame-with-id)
7275 (frameset-p, frameset-restore, frameset-save): Declare.
7276 (register-alist): Document framesets.
7277 (frameset-session-filter-alist): Declare.
7278 (frameset-to-register): New function.
7279 (jump-to-register): Implement jumping to framesets. Doc fix.
7280 (describe-register-1): Describe framesets.
7282 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7284 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7286 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7287 Use lexical-binding.
7289 * frameset.el (frameset): Use type vector, not list (incompatible
7290 change). Do not declare a new constructor, use the default one.
7291 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7292 `name' and `description', respectively, and add read-only slot
7293 `timestamp'. Doc fixes.
7294 (frameset-copy, frameset-persistent-filter-alist)
7295 (frameset-filter-alist, frameset-switch-to-gui-p)
7296 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7297 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7298 (frameset-filter-iconified, frameset-keep-original-display-p):
7300 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7301 Rename from frameset-filter-(save|restore)-param. All callers changed.
7303 (frameset-p): Adapt to change to vector and be more thorough.
7304 Change arg name to OBJECT. Doc fix.
7305 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7306 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7307 All callers changed.
7308 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7309 All callers changed.
7310 (frameset--record-minibuffer-relationships): Rename from
7311 frameset--process-minibuffer-frames. All callers changed.
7312 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7313 Use new default constructor (again). Doc fix.
7314 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7315 All callers changed.
7316 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7317 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7319 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7320 PARAMETERS and WINDOW-STATE, respectively.
7321 (frameset-restore): Add new keyword argument PREDICATE.
7322 Reset frameset--target-display to nil. Doc fix.
7324 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7326 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7328 (bat-mode-syntax-table): Mark \n as end-of-comment.
7329 (bat-font-lock-keywords): Remove comment rule.
7331 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7332 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7334 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7335 (byte-compile-callargs-warn): Use `push'.
7336 (byte-compile-arglist-warn): Ignore higher-order "calls".
7337 (byte-compile-file-form-autoload): Use `pcase'.
7338 (byte-compile-function-form): If quoting a symbol, check that it exists.
7340 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7342 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7343 and add a few popular commands found in batch files.
7344 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7345 (dos-mode): Doc fixes.
7347 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7349 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7350 (dos-mode): Use setq-local. Add space after "rem".
7351 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7352 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7354 2013-08-07 Arni Magnusson <arnima@hafro.is>
7356 * progmodes/dos.el: New file.
7357 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7360 2013-08-06 Glenn Morris <rgm@gnu.org>
7362 * calendar/calendar.el: Add new faces, and day-header-array.
7363 (calendar-weekday-header, calendar-weekend-header)
7364 (calendar-month-header): New faces.
7365 (calendar-day-header-construct): New function.
7366 (calendar-day-header-width): Also :set calendar-day-header-array.
7367 (calendar-american-month-header, calendar-european-month-header)
7368 (calendar-iso-month-header): Use calendar- faces.
7369 (calendar-generate-month):
7370 Use calendar-day-header-array for day headers; apply faces to them.
7371 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7372 (calendar-abbrev-construct): Add optional maxlen argument.
7373 (calendar-day-name-array): Doc fix.
7374 (calendar-day-name-array, calendar-abbrev-length)
7375 (calendar-day-abbrev-array):
7376 Also :set calendar-day-header-array, and maybe redraw.
7377 (calendar-day-header-array): New option. (Bug#15007)
7378 (calendar-font-lock-keywords): Set to nil and make obsolete.
7379 (calendar-day-name): Add option to use header array.
7381 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7383 * net/shr.el (shr-render-td): Remove debugging.
7384 (shr-render-td): Make width computation consistent by defaulting
7385 all zero-width columns to 10 characters. This may not be optimal,
7386 but it's at least consistent.
7387 (shr-make-table-1): Redo last change to fix the real problem in
7390 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7392 * files.el (cache-long-line-scans):
7393 Make obsolete alias to `cache-long-scans'.
7395 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7397 * frameset.el (frameset, frameset-filter-alist)
7398 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7399 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7400 (frameset-compute-pos): Rename from frameset--compute-pos,
7402 (frameset-move-onscreen): Use frameset-compute-pos.
7403 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7405 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7406 Fix typos in docstrings.
7408 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7410 * frame.el (get-other-frame): Tiny cleanup.
7412 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7414 * vc/vc.el (vc-default-ignore-completion-table):
7415 Silence byte-compiler warning.
7417 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7418 slot, which can indeed be nil.
7419 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7420 Move entry for `left' from persistent to live filter alist.
7421 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7423 (frameset-filter-params): When restoring a frame, copy items added to
7424 `filtered', to avoid unwittingly modifying the original parameters.
7425 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7426 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7428 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7429 to use looking-at-p instead of looking-at. (Bug#15028)
7431 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7433 Revert introduction of isearch-filter-predicates (bug#14714).
7434 Rely on add-function instead.
7435 * isearch.el (isearch-filter-predicates): Rename it back to
7436 isearch-filter-predicate.
7437 (isearch-message-prefix): Use advice-function-mapc and advice
7438 properties to get the isearch-message-prefix.
7439 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7440 instead of run-hook-with-args-until-failure.
7441 (isearch-filter-visible): Not obsolete any more.
7442 * loadup.el: Preload nadvice.
7443 * replace.el (perform-replace): Revert to funcall
7444 instead of run-hook-with-args-until-failure.
7445 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7446 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7447 dired-isearch-filenames-toggle; make it into a proper minor mode.
7448 Use add/remove-function.
7449 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7450 Call the minor-mode rather than add/remove-hook.
7451 (dired-isearch-filter-filenames):
7452 Remove isearch-message-prefix property.
7453 * info.el (Info--search-loop): New function, extracted from Info-search.
7454 Funcall isearch-filter-predicate instead of
7455 run-hook-with-args-until-failure isearch-filter-predicates.
7456 (Info-search): Use it.
7457 (Info-mode): Use isearch-filter-predicate instead of
7458 isearch-filter-predicates.
7460 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7462 Do not call to `selected-window' where it is assumed by default.
7463 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7464 `window-hscroll', `window-width', `window-height', `window-buffer',
7465 `window-frame', `window-start', `window-point', `next-window'
7466 and `window-display-table'.
7467 * abbrev.el (abbrev--default-expand):
7468 * bs.el (bs--show-with-configuration):
7469 * buff-menu.el (Buffer-menu-mouse-select):
7470 * calc/calc.el (calc):
7471 * calendar/calendar.el (calendar-generate-window):
7472 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7474 * comint.el (send-invisible, comint-dynamic-complete-filename)
7475 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7476 * completion.el (complete):
7477 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7478 * disp-table.el (describe-current-display-table):
7479 * doc-view.el (doc-view-insert-image):
7480 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7481 * ehelp.el (with-electric-help):
7482 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7483 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7484 * emacs-lisp/helper.el (Helper-help-scroller):
7485 * emulation/cua-base.el (cua--post-command-handler-1):
7486 * eshell/esh-mode.el (eshell-output-filter):
7487 * ffap.el (ffap-gnus-wrapper):
7488 * help-macro.el (make-help-screen):
7489 * hilit-chg.el (highlight-compare-buffers):
7490 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7491 * hl-line.el (global-hl-line-highlight):
7492 * icomplete.el (icomplete-simple-completing-p):
7493 * isearch.el (isearch-done):
7494 * jit-lock.el (jit-lock-stealth-fontify):
7495 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7496 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7497 * mpc.el (mpc-tagbrowser, mpc):
7498 * net/rcirc.el (rcirc-any-buffer):
7499 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7500 * play/landmark.el (landmark-max-width, landmark-max-height):
7501 * play/zone.el (zone):
7502 * progmodes/compile.el (compilation-goto-locus):
7503 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7504 * progmodes/etags.el (find-tag-other-window):
7505 * progmodes/fortran.el (fortran-column-ruler):
7506 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7507 * progmodes/verilog-mode.el (verilog-point-text):
7508 * reposition.el (reposition-window):
7509 * rot13.el (toggle-rot13-mode):
7510 * server.el (server-switch-buffer):
7511 * shell.el (shell-dynamic-complete-command)
7512 (shell-dynamic-complete-environment-variable):
7513 * simple.el (insert-buffer, set-selective-display)
7514 (delete-completion-window):
7515 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7516 (speedbar-recenter):
7517 * startup.el (fancy-splash-head):
7518 * textmodes/ispell.el (ispell-command-loop):
7519 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7520 * tutorial.el (help-with-tutorial):
7521 * vc/add-log.el (add-change-log-entry):
7522 * vc/compare-w.el (compare-windows):
7523 * vc/ediff-help.el (ediff-indent-help-message):
7524 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7525 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7526 (ediff-setup-control-frame):
7527 * vc/emerge.el (emerge-position-region):
7528 * vc/pcvs-util.el (cvs-bury-buffer):
7529 * window.el (walk-windows, mouse-autoselect-window-select):
7530 * winner.el (winner-set-conf, winner-undo): Related users changed.
7532 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7534 * frameset.el (frameset--set-id): Doc fix.
7535 (frameset-frame-id, frameset-frame-id-equal-p)
7536 (frameset-locate-frame-id): New functions.
7537 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7538 (frameset-restore): Use them.
7540 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7542 Do not call to `selected-frame' where it is assumed by default.
7543 Affected functions are `raise-frame', `redraw-frame',
7544 `frame-first-window', `frame-terminal' and `delete-frame'.
7545 * calendar/appt.el (appt-disp-window):
7546 * epg.el (epg-wait-for-completion):
7547 * follow.el (follow-delete-other-windows-and-split)
7548 (follow-avoid-tail-recenter):
7549 * international/mule.el (set-terminal-coding-system):
7550 * mail/rmail.el (rmail-mail-return):
7551 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7552 * progmodes/f90.el (f90-add-imenu-menu):
7553 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7554 * server.el (server-switch-buffer):
7555 * simple.el (delete-completion-window):
7557 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7558 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7559 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7560 * vc/ediff.el (ediff-documentation): Related users changed.
7561 * frame.el (selected-terminal): Remove the leftover.
7563 2013-08-05 Glenn Morris <rgm@gnu.org>
7565 * calendar/calendar.el (calendar-generate-month):
7566 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7567 (calendar-generate-month, calendar-font-lock-keywords):
7568 Fix for calendar-day-header-width > length of any day name.
7570 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7572 * desktop.el (desktop-clear): Use new name of sort predicate.
7574 * frameset.el (frameset): Add docstring. Move :version property to its
7576 (frameset-copy): Rename from copy-frameset.
7577 (frameset-p): Check more thoroughly.
7578 (frameset-prop): Do not check for :version, which is no longer a prop.
7579 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7580 Use new :never value instead of t.
7581 (frameset-filter-alist): Expand and clarify docstring.
7582 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7583 (frameset-filter-minibuffer, frameset-filter-save-param)
7584 (frameset-filter-restore-param, frameset-filter-iconified):
7585 Add pointer to docstring of frameset-filter-alist.
7586 (frameset-filter-params): Rename filter values to be more meaningful:
7587 :never instead of t, and reverse the meanings of :save and :restore.
7588 (frameset--process-minibuffer-frames): Clarify error message.
7589 (frameset-save): Avoid unnecessary and confusing call to framep.
7590 Use new BOA constructor for framesets.
7591 (frameset--reuse-list): Doc fix.
7592 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7593 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7594 (frameset-minibufferless-first-p): Doc fix.
7595 Rename from frameset-sort-frames-for-deletion.
7596 (frameset-restore): Doc fixes. Use new function names.
7597 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7599 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7601 * desktop.el (desktop-restore-forces-onscreen)
7602 (desktop-restore-reuses-frames): Document :keyword constant values.
7603 (desktop-filter-parameters-alist): Remove, now identical to
7604 frameset-filter-alist.
7605 (desktop--filter-tty*): Remove, moved to frameset.el.
7606 (desktop-save-frameset, desktop-restore-frameset):
7607 Do not pass :filters argument.
7609 * frameset.el (frameset-live-filter-alist)
7610 (frameset-persistent-filter-alist): New variables.
7611 (frameset-filter-alist): Use them. Add autoload cookie.
7612 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7613 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7614 `frameset--id' (it's supposed to be internal to frameset.el).
7615 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7616 (frameset--initial-params): New function.
7617 (frameset--get-frame): Use it. Doc fix.
7618 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7619 Accept :all, not 'all.
7620 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7621 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7622 with fbound symbols. Fix frame id matching, and remove matching ids if
7623 the frame being restored is deleted. Obey :delete.
7625 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7627 * subr.el (macrop): New function.
7628 (text-clone--maintaining): New var.
7629 (text-clone--maintain): Rename from text-clone-maintain. Use it
7630 instead of inhibit-modification-hooks.
7632 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7633 a proxy, so as handle autoloads and redefinitions of the target.
7634 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7636 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7637 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7638 (pcase--mutually-exclusive-p): New function.
7639 (pcase--split-consp): Use it.
7640 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7641 mutually exclusive with the current predicate.
7643 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7644 (edebug-macrop): Remove. Use `macrop' instead.
7645 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7647 * eshell/esh-cmd.el (eshell-macrop):
7648 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7650 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7652 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7653 (advice-mapc): New function, using it.
7654 (advice-function-member-p): New function.
7655 (advice--normalize): Store the cdr in advice--saved-rewrite since
7656 that's the part that will be changed.
7657 (advice--symbol-function): New function.
7658 (advice-remove): Handle removal before the function is defined.
7659 Adjust to new advice--saved-rewrite.
7660 (advice-member-p): Use advice-function-member-p and
7661 advice--symbol-function.
7663 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7665 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7666 (frameset-filter-minibuffer): Doc fix.
7667 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7668 (frameset--set-id, frameset--process-minibuffer-frames)
7669 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7670 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7672 * desktop.el (desktop-clear): Only delete frames when called
7673 interactively and desktop-restore-frames is non-nil. Doc fix.
7674 (desktop-read): Set desktop-saved-frameset to nil.
7676 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7678 * vc/vc.el (vc-ignore): Rewrite.
7679 (vc-default-ignore-completion-table):
7681 (vc--add-line, vc--remove-regexp): New functions.
7683 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7684 (vc-svn-ignore-completion-table): New function.
7686 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7687 (vc-hg-ignore-completion-table):
7688 (vc-hg-find-ignore-file): New functions.
7690 * vc/vc-git.el (vc-git-ignore): Rewrite.
7691 (vc-git-ignore-completion-table):
7692 (vc-git-find-ignore-file): New functions.
7694 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7696 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7697 (vc-bzr-ignore-completion-table):
7698 (vc-bzr-find-ignore-file): New functions.
7700 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7702 * frameset.el (frameset-prop): New function and setter.
7703 (frameset-save): Do not modify frame list passed by the caller.
7705 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7707 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7709 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7711 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7712 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7714 * custom.el (custom-initialize-default, custom-initialize-set)
7715 (custom-initialize-reset, custom-initialize-changed): Affect the
7716 toplevel-default-value (bug#6275, bug#14586).
7717 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7720 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7722 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7723 Add cl-def* expressions.
7725 * frameset.el (frameset-filter-params): Fix order of arguments.
7727 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7729 Move code related to saving frames to frameset.el.
7730 * desktop.el: Require frameset.
7731 (desktop-restore-frames): Doc fix.
7732 (desktop-restore-reuses-frames): Rename from
7733 desktop-restoring-reuses-frames.
7734 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7735 (desktop-clear): Clear frames too.
7736 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7737 (desktop--filter-tty*, desktop-save, desktop-read):
7738 Use frameset functions.
7739 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7740 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7741 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7742 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7743 (desktop--process-minibuffer-frames, desktop-save-frames)
7744 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7745 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7746 (desktop--sort-states, desktop-restoring-frames-p)
7747 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7748 (desktop-restoring-frameset-p, desktop-restore-frameset)
7749 (desktop--check-dont-save, desktop-save-frameset): New functions.
7750 (desktop--app-id): New constant.
7751 (desktop-first-buffer, desktop-buffer-ok-count)
7752 (desktop-buffer-fail-count): Move before first use.
7753 * frameset.el: New file.
7755 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7757 * files.el: Use lexical-binding.
7758 (dir-locals-read-from-file): Remove unused `err' variable.
7759 (hack-dir-local-variables--warned-coding): New var.
7760 (hack-dir-local-variables): Use it to avoid repeated warnings.
7761 (make-backup-file-name--default-function): New function.
7762 (make-backup-file-name-function): Use it as default.
7763 (buffer-stale--default-function): New function.
7764 (buffer-stale-function): Use it as default.
7765 (revert-buffer-insert-file-contents--default-function): New function.
7766 (revert-buffer-insert-file-contents-function): Use it as default.
7767 (insert-directory): Avoid add-to-list.
7769 * autorevert.el (auto-revert-handler): Simplify.
7770 Use buffer-stale--default-function.
7772 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7774 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7776 * whitespace.el (whitespace-ensure-local-variables): New function.
7777 (whitespace-cleanup-region): Call it.
7778 (whitespace-turn-on): Call it.
7780 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7782 Complete file name handlers.
7784 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7785 (tramp-handle-verify-visited-file-modtime)
7786 (tramp-handle-file-notify-rm-watch): New functions.
7787 (tramp-call-process): Do not bind `default-directory'.
7789 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7790 Order alphabetically.
7791 <access-file, add-name-to-file, dired-call-process>:
7792 <dired-compress-file, file-acl, file-notify-rm-watch>:
7793 <file-ownership-preserved-p, file-selinux-context>:
7794 <make-directory-internal, make-symbolic-link, set-file-acl>:
7795 <set-file-selinux-context, set-visited-file-modtime>:
7796 <verify-visited-file-modtime>: Add handler.
7797 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7799 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7800 <file-notify-add-watch, file-notify-rm-watch>:
7801 <set-file-times, set-visited-file-modtime>:
7802 <verify-visited-file-modtime>: Add handler.
7803 (with-tramp-gvfs-error-message)
7804 (tramp-gvfs-handle-set-visited-file-modtime)
7805 (tramp-gvfs-fuse-file-name): Remove.
7806 (tramp-gvfs-handle-file-notify-add-watch)
7807 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7808 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7810 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7811 Order alphabetically.
7812 <file-notify-rm-watch>: Use default Tramp handler.
7813 <executable-find>: Remove private handler.
7814 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7815 `default-directory'.
7816 (tramp-sh-handle-executable-find)
7817 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7818 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7819 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7820 Do not use `format' in `tramp-message'.
7822 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7823 <file-notify-rm-watch, set-visited-file-modtime>:
7824 <verify-visited-file-modtime>: Add handler.
7825 (tramp-smb-call-winexe): Do not bind `default-directory'.
7827 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7829 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7831 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7833 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7835 (log-view-diff-changeset): Same.
7836 (log-view-diff-common): Call backend command `previous-revision'
7837 to find out the previous revision, in both cases. Swap the
7838 variables `to' and `fr', so that `fr' usually refers to the
7839 earlier revision (Bug#14989).
7841 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7843 * ibuf-ext.el (ibuffer-filter-by-filename):
7844 Make it work with dired buffers too.
7846 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7848 * emacs-lisp/re-builder.el (reb-color-display-p):
7849 * files.el (save-buffers-kill-terminal):
7850 * net/browse-url.el (browse-url):
7851 * server.el (server-save-buffers-kill-terminal):
7852 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7853 Prefer nil to selected-frame for the first arg of frame-parameter.
7855 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7857 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7859 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7861 * minibuffer.el (completion--twq-all): Try and preserve each
7862 completion's case choice (bug#14907).
7864 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7866 * net/network-stream.el (open-network-stream): Mention the new
7867 :nogreeting parameter.
7868 (network-stream-open-starttls): Use the :nogreeting parameter
7871 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7873 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7874 more natural than popping.
7876 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7877 (shr-urlify): Highlight under mouse.
7879 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7881 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7883 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7885 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7888 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7889 point-min==1. Fix search string. Fix parentheses missing.
7891 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7892 assume point-min==1. Fix search string. Fix parentheses missing.
7894 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7896 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7899 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7901 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7902 initial frame is minibuffer-less. (Bug#14841)
7904 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7906 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7909 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7910 (tramp-maybe-open-connection): Use it.
7912 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7914 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7915 minimal set of parameters passed when creating a frame, because
7916 the minibuffer status of a frame cannot be changed later.
7918 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7920 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7921 replace-regexp-in-string and inadvertent omissions in previous change.
7922 (todo-filter-items): Ensure only file names are comma-separated in
7923 name of filtered items buffer.
7925 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7927 * desktop.el: Optionally force offscreen frames back onscreen.
7928 (desktop-restoring-reuses-frames): New option.
7929 (desktop--compute-pos, desktop--move-onscreen): New functions.
7930 (desktop--make-frame): Use desktop--move-onscreen.
7932 2013-07-27 Alan Mackenzie <acm@muc.de>
7934 Fontify a Java generic method as a function.
7935 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7938 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7940 * calendar/todo-mode.el: Add command to rename todo files.
7941 (todo-rename-file): New command.
7942 (todo-key-bindings-t): Add key binding for it. Change the
7943 bindings of todo-filter-regexp-items(-multifile) to use `x'
7944 instead of `r', since the latter is better suited to the new
7947 2013-07-27 Alan Mackenzie <acm@muc.de>
7949 Make Java try-with-resources statement parse properly.
7950 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7951 (c-block-stmt-1-2-key): New language constants/variables.
7952 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7953 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7954 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7955 with c-block-stmt-1-2-key.
7957 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7959 * desktop.el (desktop--make-frame): Apply most frame parameters after
7960 creating the frame to force (partially or totally) offscreen frames to
7961 be restored as such.
7963 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7965 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7968 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7970 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7971 `base' arg of backtrace-frame.
7973 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7975 * simple.el (list-processes): Doc fix.
7977 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7979 * desktop.el (desktop--select-frame):
7980 Try harder to reuse existing frames.
7982 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7984 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7985 (edebug-eval): Use backtrace-eval.
7986 (edebug--display, edebug--recursive-edit): Don't let-bind the
7987 edebug-outer-* vars that keep track of variables we locally let-bind.
7988 (edebug-outside-excursion): Don't restore outside values of locally
7990 (edebug--display): Use user-error.
7991 (cl-lexical-debug, cl-debug-env): Remove.
7993 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7995 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7996 are restored to be sure that they are visible before deleting any
7999 2013-07-26 Matthias Meulien <orontee@gmail.com>
8001 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
8002 vc-print-root-log. (Bug#14948)
8004 2013-07-26 Richard Stallman <rms@gnu.org>
8006 Add aliases for encrypting mail.
8007 * epa.el (epa-mail-aliases): New option.
8008 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
8009 Bind inhibit-read-only so read-only text doesn't ruin everything.
8010 (epa-mail-default-recipients): New subroutine broken out.
8011 Handle epa-mail-aliases.
8013 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
8015 Add support for lexical variables to the debugger's `e' command.
8016 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
8017 vars, except for debugger-outer-match-data.
8018 (debugger-frame-number): Move check for "on a function call" from
8019 callers into it. Add `skip-base' argument.
8020 (debugger-frame, debugger-frame-clear): Simplify accordingly.
8021 (debugger-env-macro): Only reset the state stored in non-variables,
8022 i.e. current-buffer and match-data.
8023 (debugger-eval-expression): Rewrite using backtrace-eval.
8024 * subr.el (internal--called-interactively-p--get-frame): Remove.
8025 (called-interactively-p):
8026 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
8027 `base' arg of backtrace-frame instead.
8029 2013-07-26 Glenn Morris <rgm@gnu.org>
8031 * align.el (align-regexp): Doc fix. (Bug#14857)
8032 (align-region): Explicit error if subexpression missing/does not match.
8034 * simple.el (global-visual-line-mode):
8035 Do not duplicate the mode lighter. (Bug#14858)
8037 2013-07-25 Martin Rudalics <rudalics@gmx.at>
8039 * window.el (display-buffer): In display-buffer bind
8040 split-window-keep-point to t, bug#14829.
8042 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8044 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
8045 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
8046 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
8047 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8049 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
8050 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
8052 2013-07-25 Glenn Morris <rgm@gnu.org>
8054 * dired-x.el (dired-mark-extension): Convert comment to doc string.
8056 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
8058 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
8059 parameter to modify-frame-parameters if the value has not changed;
8060 this is a workaround for bug#14949.
8061 (desktop--make-frame): On cl-delete-if call, check parameter name,
8064 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
8066 * vc/vc.el (vc-ignore): New function.
8068 * vc/vc-svn.el (vc-svn-ignore): New function.
8070 * vc/vc-hg.el (vc-hg-ignore): New function.
8072 * vc/vc-git.el (vc-git-ignore): New function.
8074 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
8075 (vc-dir-ignore): New function.
8077 * vc/vc-cvs.el (vc-cvs-ignore): New function.
8078 (cvs-append-to-ignore): Move here from pcvs.el.
8080 * vc/vc-bzr.el (vc-bzr-ignore): New function.
8082 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
8084 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
8086 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
8087 (desktop-restore-frames): Warn when deleting an existing frame failed.
8089 2013-07-24 Glenn Morris <rgm@gnu.org>
8091 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
8093 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
8095 * filenotify.el (file-notify-supported-p):
8096 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8099 * autorevert.el (auto-revert-use-notify):
8100 (auto-revert-notify-add-watch):
8101 * net/tramp.el (tramp-file-name-for-operation):
8102 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8103 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8104 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
8105 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8106 Remove `file-notify-supported-p' entry.
8108 2013-07-24 Glenn Morris <rgm@gnu.org>
8110 * printing.el: Replace all uses of deleted ps-windows-system,
8111 ps-lp-system, ps-flatten-list with lpr- versions.
8113 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8115 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
8116 checked with memq (bug#14935).
8118 * files.el (revert-buffer-function): Use a non-nil default.
8119 (revert-buffer-preserve-modes): Declare var to
8120 provide access to the `preserve-modes' argument.
8121 (revert-buffer): Let-bind it.
8122 (revert-buffer--default): New function, extracted from revert-buffer.
8124 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
8126 * lpr.el: Signal print errors more prominently.
8127 (print-region-function): Don't default to nil.
8128 (lpr-print-region): New function, extracted from print-region-1.
8129 Check lpr's return value and signal an error in case of problem.
8130 (print-region-1): Use it.
8131 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
8133 (ps-printer-name): Default to nil.
8134 (ps-printer-name-option): Default to lpr-printer-switch.
8135 (ps-print-region-function): Don't default to nil.
8136 (ps-postscript-code-directory): Simplify default.
8137 (ps-do-despool): Use lpr-print-region to properly check the outcome.
8138 (ps-string-list, ps-eval-switch, ps-flatten-list)
8139 (ps-flatten-list-1): Remove.
8140 (ps-multibyte-buffer): Avoid setq.
8141 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
8142 (print-region-function, ps-print-region-function): Don't set them here.
8144 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
8146 * ido.el (ido-fractionp):
8147 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
8148 (ido-max-file-prompt-width, ido-unc-hosts-cache)
8149 (ido-max-directory-size, ido-max-dir-file-cache)
8150 (ido-decorations): Doc fix.
8152 * ansi-color.el: Fix old URL.
8154 2013-07-23 Michael R. Mauger <michael@mauger.com>
8156 * progmodes/sql.el: Version 3.3
8157 (sql-product-alist): Improve oracle :prompt-cont-regexp.
8158 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
8159 (sql-interactive-remove-continuation-prompt): Rewrite, use
8160 functions above. Fix continuation prompt and complete output line
8162 (sql-redirect-one, sql-execute): Use `read-only-mode' on
8163 redirected output buffer.
8164 (sql-mode): Restore deleted code (Bug#13591).
8166 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8168 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
8170 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
8172 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
8174 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8175 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8176 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
8178 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
8180 * desktop.el (desktop-clear): Simplify; remove useless checks
8181 against invalid buffer names.
8182 (desktop-list*): Use cl-list*.
8183 (desktop-buffer-info, desktop-create-buffer): Simplify.
8185 2013-07-23 Leo Liu <sdl.web@gmail.com>
8187 * bookmark.el (bookmark-make-record): Restore NAME as a default
8190 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
8192 * emacs-lisp/autoload.el (autoload--setup-output): New function,
8193 extracted from autoload--insert-text.
8194 (autoload--insert-text): Remove.
8195 (autoload--print-cookie-text): New function, extracted from
8196 autoload--insert-cookie-text.
8197 (autoload--insert-cookie-text): Remove.
8198 (autoload-generate-file-autoloads): Adjust calls accordingly.
8200 * winner.el (winner-hook-installed-p): Remove.
8201 (winner-mode): Simplify accordingly.
8203 * subr.el (add-to-list): Fix compiler-macro when `append' is
8204 not constant. Don't use `cl-member' for the base case.
8206 * progmodes/subword.el: Fix boundary case (bug#13758).
8207 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
8209 (subword-backward-regexp): Make it a constant.
8210 (subword-forward-internal): Don't treat a trailing capital as the
8211 beginning of a word.
8213 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
8215 * emacs-lisp/package.el (package-menu-mode): Don't modify the
8216 global value of tabulated-list-revert-hook (bug#14930).
8218 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
8220 * desktop.el: Require 'cl-lib.
8221 (desktop-before-saving-frames-functions): New hook.
8222 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
8223 for frames being saved. Rename from desktop--save-minibuffer-frames.
8224 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
8225 Do not save frames with non-nil `desktop-dont-save' parameter.
8226 Filter out deleted frames.
8227 (desktop--find-frame): Use cl-find-if.
8228 (desktop--select-frame): Use cl-(first|second|third) to access values
8230 (desktop--make-frame): Use cl-delete-if.
8231 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
8232 (desktop-restore-frames): Use cl-(first|second|third) to access values
8233 of desktop-mini. Look for visible frame at the end, not while
8236 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
8237 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
8238 Use string-match-p, looking-at-p (bug#14927).
8240 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
8242 * desktop.el (desktop-saved-frame-states):
8243 Rename from desktop--saved-states; all users changed.
8244 (desktop-save-frames): Rename from desktop--save-frames.
8245 Do not save state to desktop file.
8246 (desktop-save): Save desktop-saved-frame-states to desktop file
8248 (desktop-restoring-frames-p): New function.
8249 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
8250 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
8251 buffer-lists when restoring frames. Suggested by Martin Rudalics.
8253 * desktop.el: Correctly restore iconified frames.
8254 (desktop--filter-iconified-position): New function.
8255 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
8257 2013-07-20 Glenn Morris <rgm@gnu.org>
8259 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
8260 Let `message' do the formatting.
8261 (def-gdb-preempt-display-buffer): Add explicit format.
8263 * image-dired.el (image-dired-track-original-file):
8264 Use with-current-buffer.
8265 (image-dired-track-thumbnail): Use with-current-buffer.
8266 Avoid changing point of wrong window.
8268 * image-dired.el (image-dired-track-original-file):
8269 Avoid changing point of wrong window. (Bug#14909)
8271 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8273 * progmodes/gdb-mi.el (gdb-done-or-error):
8274 Guard against "%" in gdb output. (Bug#14127)
8276 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8278 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8281 * international/mule.el (coding-system-iso-2022-flags): Fix last
8284 2013-07-20 Kenichi Handa <handa@gnu.org>
8286 * international/mule.el (coding-system-iso-2022-flags):
8287 Add `8-bit-level-4'. (Bug#8522)
8289 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8291 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8294 * net/eww.el (eww-process-text-input): Allow inputting when the
8295 point is at the start of the line, as the properties aren't
8298 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8301 2013-07-19 Richard Stallman <rms@gnu.org>
8303 * epa.el (epa-popup-info-window): Doc fix.
8305 * subr.el (split-string): New arg TRIM.
8307 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8309 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8310 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8312 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8314 * filenotify.el (file-notify--library): Rename from
8315 `file-notify-support'. Do not autoload. Adapt all uses.
8316 (file-notify-supported-p): New defun.
8318 * autorevert.el (auto-revert-use-notify):
8319 Use `file-notify-supported-p' instead of `file-notify-support'.
8321 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8323 * net/tramp.el (tramp-file-name-for-operation):
8324 Add `file-notify-supported-p'.
8326 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8328 (tramp-sh-file-name-handler-alist): Add it as handler for
8329 `file-notify-supported-p '.
8331 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8332 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8333 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8334 Add `ignore' as handler for `file-notify-*' functions.
8336 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8338 * simple.el (line-move-partial, line-move): Don't start vscroll or
8339 scroll-up if the current line is not taller than the window.
8342 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8344 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8345 highlight question marks in the method names as strings.
8346 (ruby-block-beg-keywords): Inline.
8347 (ruby-font-lock-keyword-beg-re): Extract from
8348 `ruby-font-lock-keywords'.
8350 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8352 * frame.el (blink-cursor-blinks): New defcustom.
8353 (blink-cursor-blinks-done): New defvar.
8354 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8355 (blink-cursor-timer-function): Check if number of blinks has been
8357 (blink-cursor-suspend, blink-cursor-check): New defuns.
8359 2013-07-15 Glenn Morris <rgm@gnu.org>
8361 * edmacro.el (edmacro-format-keys): Fix previous change.
8363 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8365 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8366 The hack didn't work outside English locales anyway.
8368 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8370 * simple.el (define-alternatives): Rename from alternatives-define,
8371 per RMS' suggestion.
8373 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8375 * desktop.el (desktop-restore-frames): Change default to t.
8376 (desktop-restore-in-current-display): Now offer more options.
8377 (desktop-restoring-reuses-frames): New customization option.
8378 (desktop--saved-states): Doc fix.
8379 (desktop-filter-parameters-alist): New variable, renamed and expanded
8380 from desktop--excluded-frame-parameters.
8381 (desktop--target-display): New variable.
8382 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8383 (desktop--filter-tty*, desktop--filter-*-color)
8384 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8385 (desktop--filter-save-desktop-parm)
8386 (desktop-restore-in-original-display-p): New functions.
8387 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8388 (desktop--save-minibuffer-frames): New function, inspired by a similar
8389 function from Martin Rudalics.
8390 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8391 (desktop--restore-in-this-display-p): Remove.
8392 (desktop--find-frame): Rename from desktop--find-frame-in-display
8393 and add predicate argument.
8394 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8395 (desktop--reuse-list): New variable.
8396 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8398 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8400 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8402 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8404 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8406 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8407 Highlight conversion methods on Kernel.
8409 2013-07-13 Alan Mackenzie <acm@muc.de>
8411 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8412 and comment it out. This out-commenting enables certain C++
8413 declarations to be parsed correctly.
8415 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8417 * international/mule.el (define-coding-system): Doc fix.
8419 * simple.el (default-font-height): Don't call font-info if the
8420 frame's default font didn't change since the frame was created.
8423 2013-07-13 Leo Liu <sdl.web@gmail.com>
8425 * ido.el (ido-read-file-name): Guard against non-symbol value.
8427 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8429 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8432 2013-07-13 Leo Liu <sdl.web@gmail.com>
8434 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8435 ido-set-matches call. (Bug#6852)
8437 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8439 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8440 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8442 (ruby-font-lock-keywords): Distinguish calls to functions with
8443 module-like names from module references. Highlight character
8446 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8448 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8449 (gdb-send): Handle continued commands. (Bug#14847)
8451 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8453 * desktop.el (desktop--v2s): Remove unused local variable.
8454 (desktop-save-buffer): Make defvar-local; adjust docstring.
8455 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8456 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8458 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8460 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8462 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8464 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8467 2013-07-12 Glenn Morris <rgm@gnu.org>
8469 * doc-view.el: Require cl-lib at runtime too.
8470 (doc-view-remove-if): Remove.
8471 (doc-view-search-next-match, doc-view-search-previous-match):
8474 * edmacro.el: Require cl-lib at runtime too.
8475 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8476 (edmacro-mismatch, edmacro-subseq): Remove.
8478 * shadowfile.el: Require cl-lib.
8479 (shadow-remove-if): Remove.
8480 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8483 * wid-edit.el: Require cl-lib.
8484 (widget-choose): Use cl-remove-if.
8485 (widget-remove-if): Remove.
8487 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8488 (ebrowse-delete-if-not): Remove.
8489 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8490 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8491 Use cl-delete-if-not.
8493 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8495 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8496 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8498 2013-07-12 Leo Liu <sdl.web@gmail.com>
8500 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8502 2013-07-11 Glenn Morris <rgm@gnu.org>
8504 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8505 (edebug-gensym-index, edebug-gensym):
8506 Remove reimplementation of cl-gensym.
8507 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8509 * thumbs.el: Require cl-lib at run-time too.
8510 (thumbs-gensym-counter, thumbs-gensym):
8511 Remove reimplementation of cl-gensym.
8512 (thumbs-temp-file): Use cl-gensym.
8514 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8515 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8516 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8517 (ert--union, ert--gensym-counter, ert--gensym-counter)
8518 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8519 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8520 (ert-make-test-unbound, ert--expand-should-1)
8521 (ert--expand-should, ert--should-error-handle-error)
8522 (should-error, ert--explain-equal-rec)
8523 (ert--plist-difference-explanation, ert-select-tests)
8524 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8525 Use cl-lib functions rather than reimplementations.
8527 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8529 * net/tramp.el (tramp-methods): Extend docstring.
8530 (tramp-connection-timeout): New defcustom.
8531 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8532 (with-tramp-progress-reporter): Simplify.
8533 (tramp-process-actions): Improve messages.
8535 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8536 * net/tramp-sh.el (tramp-maybe-open-connection):
8537 Use `tramp-connection-timeout'.
8538 (tramp-methods) <su, sudo, ksu>: Add method specific timeouts.
8541 2013-07-11 Leo Liu <sdl.web@gmail.com>
8543 * ido.el (ido-read-file-name): Conform to the requirements of
8544 read-file-name. (Bug#11861)
8545 (ido-read-directory-name): Conform to the requirements of
8546 read-directory-name.
8548 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8550 * subr.el (delay-warning): New function.
8552 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8554 * simple.el (default-line-height): New function.
8555 (line-move-partial, line-move): Use it instead of computing the
8557 (line-move-partial): Always compute ROWH. If the last line is
8558 partially-visible, but its text is completely visible, allow
8559 cursor to enter such a partially-visible line.
8561 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8563 Improve error messages. (Bug#14808)
8565 * net/tramp.el (tramp-current-connection): New defvar, moved from
8567 (tramp-message-show-progress-reporter-message): Remove, not
8569 (tramp-error-with-buffer): Show message in minibuffer.
8570 Discard input before waiting. Reset connection timestamp.
8571 (with-tramp-progress-reporter): Improve messages.
8572 (tramp-process-actions): Use progress reporter. Delete process in
8573 case of error. Improve messages.
8575 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8576 Call `tramp-error-with-buffer' with vector and buffer.
8577 (tramp-current-connection): Remove.
8578 (tramp-maybe-open-connection): The car of
8579 `tramp-current-connection' are the first 3 slots of the vector.
8581 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8583 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8584 inside continued strings.
8586 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8588 Timestamp fixes for undo (Bug#14824).
8589 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8591 2013-07-10 Leo Liu <sdl.web@gmail.com>
8593 * files.el (require-final-newline): Allow safe local value.
8596 2013-07-09 Leo Liu <sdl.web@gmail.com>
8598 * ido.el (ido-read-directory-name): Handle fallback.
8599 (ido-read-file-name): Update DIR to ido-current-directory.
8601 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8603 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8605 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8606 "autoload". Remove "warn lower camel case" section, previously
8607 commented out. Highlight negation char. Do not highlight the
8608 target in singleton method definitions.
8610 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8612 * faces.el (tty-setup-hook): Declare the hook.
8614 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8615 and detect when a guard/pred depends on local vars (bug#14773).
8616 (pcase--u1): Adjust caller.
8618 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8620 * simple.el (line-move-partial, line-move): Account for
8622 (line-move-partial): Avoid setting vscroll when the last
8623 partially-visible line in window is of default height.
8625 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8627 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8630 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8632 * subr.el (read-quoted-char): Remove unused local variable `char'.
8634 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8636 * ediff.el (ediff-version): Version update.
8637 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8638 (ediff-merge-with-ancestor-command, ediff-directories-command)
8639 (ediff-directories3-command, ediff-merge-directories-command)
8640 (ediff-merge-directories-with-ancestor-command): New functions.
8641 All are command-line interfaces to ediff: to facilitate calling
8642 Emacs with the appropriate ediff functions invoked.
8644 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8645 (viper-save-kill-buffer): Check if buffer is modified.
8647 * viper.el (viper-version): Version update.
8648 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8650 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8652 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8653 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8654 (viper-intercept-ESC-key): Simplify.
8655 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8656 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8657 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8658 (viper-setup-ESC-to-escape): New functions.
8659 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8660 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8662 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8664 * simple.el (default-font-height, window-screen-lines):
8666 (line-move, line-move-partial): Use them instead of
8667 frame-char-height and window-text-height. This makes scrolling
8668 text smoother when the buffer's default face uses a font that is
8669 different from the frame's default font.
8671 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8673 * files.el (write-file): Do not display confirm dialog for NS,
8674 it does its own dialog, which can't be canceled (Bug#14578).
8676 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8678 * simple.el (line-move-partial): Adjust the row returned by
8679 posn-at-point for the current window-vscroll. (Bug#14567)
8681 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8683 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8684 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8687 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8689 * window.el (window-state-put-stale-windows): New variable.
8690 (window--state-put-2): Save list of windows without matching buffer.
8691 (window-state-put): Remove "bufferless" windows if possible.
8693 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8695 * simple.el (alternatives-define): Remove leftover :group keyword.
8698 2013-07-06 Leo Liu <sdl.web@gmail.com>
8700 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8701 (ido-enable-virtual-buffers): New variable.
8702 (ido-buffer-internal, ido-toggle-virtual-buffers)
8703 (ido-make-buffer-list): Use it.
8704 (ido-exhibit): Support turning on and off virtual buffers
8707 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8709 * simple.el (alternatives-define): New macro.
8711 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8713 * subr.el (read-quoted-char): Use read-key.
8714 (sit-for): Let read-event decode tty input (bug#14782).
8716 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8718 * calendar/todo-mode.el: Add handling of file deletion, both by
8719 mode command and externally. Fix various related bugs.
8720 Clarify Commentary and improve some documentation strings and code.
8721 (todo-delete-file): New command.
8722 (todo-check-file): New function.
8723 (todo-show): Handle external deletion of the file we're trying to
8724 show (bug#14688). Replace called-interactively-p by an optional
8725 prefix argument to avoid problematic interaction with catch form
8726 when byte compiled (bug#14702).
8727 (todo-quit): Handle external deletion of the archive's todo file.
8728 Make sure the buffer that was visiting the archive file is still
8729 live before trying to bury it.
8730 (todo-category-completions): Handle external deletion of any
8731 category completion files.
8732 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8733 of todo files, in case of external deletion.
8734 (todo-add-file): Replace unnecessary setq by let-binding.
8735 (todo-find-archive): Check whether there are any archives.
8736 Replace unnecessary setq by let-binding.
8737 (todo-archive-done-item): Use find-file-noselect to get the
8738 archive buffer whether or not the archive already exists.
8739 Remove superfluous code. Use file size instead of buffer-file-name to
8740 check if the archive is new; if it is, update list of archives.
8741 (todo-default-todo-file): Allow nil to be a valid value for when
8742 there are no todo files.
8743 (todo-reevaluate-default-file-defcustom): Use corrected definition
8744 of todo-default-todo-file.
8745 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8746 (todo-delete-category, todo-show-categories-table)
8747 (todo-category-number): Clarify comment.
8748 (todo-filter-items): Clarify documentation string.
8749 (todo-show-current-file, todo-display-as-todo-file)
8750 (todo-reset-and-enable-done-separator): Tweak documentation string.
8751 (todo-done-separator): Make separator length window-width, since
8752 bug#2749 is now fixed.
8754 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8756 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8757 Support both "gvfs-monitor-dir" and "inotifywait".
8758 (tramp-sh-file-inotifywait-process-filter): Rename from
8759 `tramp-sh-file-notify-process-filter'.
8760 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8761 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8763 2013-07-05 Leo Liu <sdl.web@gmail.com>
8765 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8767 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8769 * frame.el (display-pixel-height, display-pixel-width)
8770 (display-mm-height, display-mm-width): Mention behavior on
8771 multi-monitor setups in docstrings.
8772 (w32-display-monitor-attributes-list): Declare function.
8773 (display-monitor-attributes-list): Use it.
8775 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8777 * filenotify.el: New package.
8779 * autorevert.el (top): Require filenotify.el.
8780 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8782 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8783 (auto-revert-notify-handler): Use `file-notify-*' functions.
8785 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8787 * net/tramp.el (tramp-file-name-for-operation):
8788 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8790 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8791 for `file-notify-add-watch' and `file-notify-rm-watch'.
8792 (tramp-process-sentinel): Improve trace.
8793 (tramp-sh-handle-file-notify-add-watch)
8794 (tramp-sh-file-notify-process-filter)
8795 (tramp-sh-handle-file-notify-rm-watch)
8796 (tramp-get-remote-inotifywait): New defuns.
8798 2013-07-03 Juri Linkov <juri@jurta.org>
8800 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8801 call of `occur-read-primary-args' to interactive spec.
8803 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8804 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8806 2013-07-03 Matthias Meulien <orontee@gmail.com>
8808 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8809 `Buffer-menu-multi-occur'. Add it to the menu.
8810 (Buffer-menu-mode): Document it in docstring.
8811 (Buffer-menu-multi-occur): New command. (Bug#14673)
8813 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8815 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8816 keywords and built-ins.
8818 2013-07-03 Glenn Morris <rgm@gnu.org>
8820 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8822 Make info-xref checks case-sensitive by default
8823 * info.el (Info-find-node, Info-find-in-tag-table)
8824 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8825 Add option for exact case matching of nodes.
8826 * info-xref.el (info-xref): New custom group.
8827 (info-xref-case-fold): New option.
8828 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8830 2013-07-03 Leo Liu <sdl.web@gmail.com>
8832 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8834 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8836 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8837 middle of block statement initially, lower the depth. Remove
8838 FIXME comment, not longer valid. Remove middle of block statement
8839 detection, no need to do that anymore since we've been using
8840 `ruby-parse-region' here.
8842 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8844 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8846 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8848 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8850 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8852 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8853 (desktop-restore-in-current-display): New customization option.
8854 (desktop--excluded-frame-parameters): Add `font'.
8855 (desktop--save-frames): Rename from desktop--save-windows.
8856 (desktop--restore-in-this-display-p): New function.
8857 (desktop--make-full-frame): Remove unwanted width/height from
8858 full(width|height) frames.
8859 (desktop--restore-frames): Rename from desktop--restore-windows.
8860 Obey desktop-restore-current-display. Do not delete old frames or
8861 select a new frame unless we were able to restore at least one frame.
8863 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8865 * files.el (find-file-noselect): Simplify conditional expression.
8867 * textmodes/remember.el (remember-append-to-file):
8868 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8870 Add `remember-notes' function to store random notes across Emacs
8872 * textmodes/remember.el (remember-data-file): Add :set callback to
8873 affect notes buffer (if any).
8874 (remember-notes): New command.
8875 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8876 New defcustoms for the `remember-notes' function.
8877 (remember-notes-save-and-bury-buffer): New command.
8878 (remember-notes-mode-map): New variable.
8879 (remember-mode): New minor mode.
8880 (remember-notes--kill-buffer-query): New function.
8881 * startup.el (initial-buffer-choice): Add notes to custom type.
8883 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8885 * bindings.el (right-char, left-char): Don't call sit-for, this is
8886 no longer needed. Use arithmetic comparison only for numerical
8889 * international/mule-cmds.el (select-safe-coding-system):
8890 Handle the case of FROM being a string correctly. (Bug#14755)
8892 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8894 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8895 progression on degenerate tables.
8896 (shr-rescale-image): ImageMagick animated images currently don't work.
8898 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8900 Some fixes and improvements for desktop frame restoration.
8901 It is still experimental and disabled by default.
8902 * desktop.el (desktop--save-windows): Put the selected frame at
8903 the head of the list.
8904 (desktop--make-full-frame): New function.
8905 (desktop--restore-windows): Try to re-select the frame that was
8906 selected upon saving. Do not abort if some frames fail to restore,
8907 just show an error message and continue. Set up maximized frames
8908 so they have default non-maximized dimensions.
8910 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8912 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8913 Don't start heredoc inside a string or comment.
8915 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8917 * bindings.el (visual-order-cursor-movement): New defcustom.
8918 (right-char, left-char): Provide visual-order cursor motion by
8919 calling move-point-visually. Update the doc strings.
8921 2013-06-28 Kenichi Handa <handa@gnu.org>
8923 * international/mule.el (define-coding-system): New coding system
8924 properties :inhibit-null-byte-detection,
8925 :inhibit-iso-escape-detection, and :prefer-utf-8.
8926 (set-buffer-file-coding-system): If :charset-list property of
8927 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8928 appropriate for setting.
8930 * international/mule-cmds.el (select-safe-coding-system):
8931 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8932 multibyte characters, return utf-8 (or one of its siblings).
8934 * international/mule-conf.el (prefer-utf-8): New coding system.
8935 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8938 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8940 * net/shr.el (shr-render-region): New function.
8942 * net/eww.el: Autoload `eww-browse-url'.
8944 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8946 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8947 Adapt to `package-desc-version' being a list.
8948 Use `package--ac-desc-version' to retrieve version from a package
8951 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8953 New experimental feature to save&restore window and frame setup.
8954 * desktop.el (desktop-save-windows): New defcustom.
8955 (desktop--saved-states): New var.
8956 (desktop--excluded-frame-parameters): New defconst.
8957 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8958 (desktop--restore-windows, desktop--save-windows): New functions.
8959 (desktop-save): Call `desktop--save-windows'.
8960 (desktop-read): Call `desktop--restore-windows'.
8962 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8964 * net/shr.el (add-face-text-property): Remove compat definition.
8966 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8968 * info.el (Info-try-follow-nearest-node): Move search for footnote
8969 above search for node name to prevent missing a footnote (bug#14717).
8971 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8973 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8975 2013-06-27 Leo Liu <sdl.web@gmail.com>
8977 * net/eww.el (eww-read-bookmarks): Check file size.
8979 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8981 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8982 advice--pending if newdef is nil or an autoload (bug#13820).
8983 (advice-mapc): New function.
8985 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8987 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8989 (eww-mode-map): Add a menu bar.
8990 (eww-add-bookmark): New command.
8991 (eww-bookmark-mode): New mode and commands.
8992 (eww-add-bookmark): Remove newlines from the title.
8993 (eww-bookmark-browse): Don't bug out if it's the only window.
8995 2013-06-26 Glenn Morris <rgm@gnu.org>
8997 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8998 (hfy-size): Handle ttys. (Bug#14668)
9000 * info-xref.el: Update for Texinfo 5 change in *note format.
9001 (info-xref-node-re, info-xref-note-re): New constants.
9002 (info-xref-check-buffer): Use info-xref-note-re.
9004 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
9006 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
9008 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
9009 nil terminate the loop (bug#14718).
9011 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9013 * net/eww.el: Rework history traversal. When going forward/back,
9014 put these actions into the history, too, so that they can be
9016 (eww-render): Move the history reset to the correct buffer.
9018 2013-06-25 Juri Linkov <juri@jurta.org>
9020 * files-x.el (modify-dir-local-variable): Change the header comment
9021 in the file with directory local variables. (Bug#14692)
9023 * files-x.el (read-file-local-variable-value): Add `default'.
9026 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9028 * net/eww.el (eww-make-unique-file-name): Create a unique file
9029 name before saving to entering `y' accidentally asynchronously.
9031 2013-06-25 Ivan Kanis <ivan@kanis.fr>
9033 * net/eww.el (eww-download): New command and keystroke.
9035 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9037 * net/eww.el (eww-copy-page-url): Change name of command.
9039 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
9040 be more consistent with Info and dired.
9042 * net/eww.el (eww-mode-map): Ditto.
9044 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9046 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
9047 packages from archives.
9048 (package-archive-contents): Change format; include obsolete packages.
9049 (package-desc): Use `dir' to mark builtin packages.
9050 (package--from-builtin): Set the `dir' field to `builtin'.
9051 (generated-autoload-file, version-control): Declare.
9052 (package-compute-transaction): Change first arg and return value to be
9053 lists of package-descs. Adjust to new package-archive-contents format.
9054 (package--add-to-archive-contents): Adjust to new
9055 package-archive-contents format.
9056 (package-download-transaction): Arg is now a list of package-descs.
9057 (package-install): If `pkg' is a package name, pass it as
9058 a requirement, so it is subject to the usual (e.g. disabled) checks.
9059 (describe-package): Accept package-desc as well.
9060 (describe-package-1): Describe a specific package-desc. Add links to
9061 other package-descs for the same package name.
9062 (package-menu-describe-package): Pass the actual package-desc.
9063 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
9065 (package-desc-status): New function.
9066 (package-menu--refresh): New function, extracted
9067 from package-menu--generate.
9068 (package-menu--generate): Use it.
9069 (package-delete): Update package-alist.
9070 (package-menu-execute): Don't call package-initialize.
9072 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
9073 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
9074 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
9075 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
9076 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
9077 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
9079 2013-06-25 Martin Rudalics <rudalics@gmx.at>
9081 * window.el (window--state-get-1): Workaround for bug#14527.
9082 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
9084 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
9086 * net/eww.el (eww-back-url): Implement the history by stashing all
9087 the data into a list.
9088 (eww-forward-url): Allow going forward in the history, too.
9090 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
9092 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
9093 for values and use read--expression for expressions (bug#14710).
9094 (read-file-local-variable): Avoid setq.
9095 (read-file-local-variable-mode): Use minor-mode-list.
9097 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9099 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
9102 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9104 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
9105 Update imenu-support when dialect changes.
9107 2013-06-25 Leo Liu <sdl.web@gmail.com>
9109 * ido.el (ido-read-internal): Allow forward slash on windows.
9111 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9113 * net/eww.el (eww): Start of strings is \\`, not ^.
9115 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9117 * net/shr.el (shr-browse-url): Fix interactive spec.
9119 * net/eww.el (eww): Add a trailing slash to domain names.
9121 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
9123 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
9125 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
9127 * net/shr.el (shr-browse-url): Use an external browser if given a
9130 * net/eww.el (eww-external-browser): Move to shr.
9132 2013-06-24 Ivan Kanis <ivan@kanis.fr>
9134 * net/eww.el (eww): Work more correctly for file: URLs.
9135 (eww-detect-charset): Allow quoted charsets.
9136 (eww-yank-page-url): New command and keystroke.
9138 2013-06-24 Daiki Ueno <ueno@gnu.org>
9140 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
9141 file name of gpg executable.
9142 (epg-context-program): New function.
9143 (epg-context-home-directory): New function.
9144 (epg-context-set-program): New function.
9145 (epg-context-set-home-directory): New function.
9146 (epg--start): Use `epg-context-program' instead of
9148 (epg--list-keys-1): Likewise.
9150 2013-06-24 Leo Liu <sdl.web@gmail.com>
9152 * ido.el (ido-read-internal): Fix bug#14620.
9154 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9156 * faces.el (face-documentation): Simplify.
9157 (read-face-attribute, tty-find-type, x-resolve-font-name):
9158 Use `string-match-p'.
9159 (list-faces-display): Use `string-match-p'. Simplify.
9160 (face-spec-recalc): Check face to avoid face alias loops.
9161 (read-color): Use `string-match-p' and non-capturing parenthesis.
9163 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
9165 * net/shr.el (shr-rescale-image): Use the new
9166 :max-width/:max-height functionality.
9168 2013-06-23 Ivan Kanis <ivan@kanis.fr>
9170 * net/eww.el (eww-search-prefix): New variable.
9172 (eww-external-browser): New variable.
9173 (eww-mode-map): New keystroke.
9174 (eww-browse-with-external-browser): New command.
9176 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
9178 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
9180 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
9181 Don't skip aligning the next header field when padding is 0;
9182 otherwise, field width is not respected unless the title is as
9185 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
9187 * emacs-lisp/package.el (package-el-version): Remove.
9188 (package-process-define-package): Fix inf-loop.
9189 (package-install): Allow symbols as arguments again.
9191 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9193 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
9194 add some more keyword-like methods.
9195 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
9197 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
9199 * bs.el (bs-buffer-show-mark): Make defvar-local.
9200 (bs-mode): Use setq-local.
9202 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
9203 (emacs-lock--try-unlocking): Make defvar-local.
9205 2013-06-22 Glenn Morris <rgm@gnu.org>
9207 * play/cookie1.el (cookie-apropos): Minor simplification.
9209 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
9211 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
9213 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
9214 `regexp-opt', it breaks the build during dumping.
9216 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
9218 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
9219 Highlight keyword-like methods on Kernel and Module with
9220 font-lock-builtin-face.
9221 (auto-mode-alist): Consolidate different entries into one regexp
9222 and add more *file-s.
9224 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
9226 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
9228 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
9229 (diary-entry): Use it in the action of this button type instead of
9232 * calendar/todo-mode.el: New version.
9233 (todo-add-category): Append new category to end of file and give
9234 it the highest number, instead of putting it at the beginning and
9235 giving it 0. Incorporate noninteractive functionality.
9236 (todo-forward-category): Adapt to 1-based category numbering.
9237 Allow skipping over archived categories.
9238 (todo-backward-category): Derive from todo-forward-category.
9239 (todo-backward-item, todo-forward-item): Make noninteractive and
9240 delegate interactive part to new commands. Make sensitive to done items.
9241 (todo-categories): Make value an alist of category names and
9242 vectors of item counts.
9243 (todo-category-beg): Make a defconst.
9244 (todo-category-number): Use 1 instead of 0 as initial value.
9245 (todo-category-select): Make sensitive to overlays, optional item
9246 highlighting and done items.
9247 (todo-delete-item): Make sensitive to overlays and marked and done items.
9248 (todo-edit-item): Make sensitive to overlays and editing of
9249 date/time header optional. Add format checks.
9250 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
9251 no-op if point is not on an item. Advertise using todo-edit-quit.
9252 (todo-edit-mode): Make sensitive to new format, font-locking, and
9253 multiple todo files.
9254 (todo-insert-item, todo-insert-item-here): Derive from
9255 todo-basic-insert-item and extend functionality.
9256 (todo-item-end, todo-item-start): Make sensitive to done items.
9257 (todo-item-string): Don't return text properties. Restore point.
9258 (todo-jump-to-category): Make sensitive to multiple todo files and
9259 todo archives. Use extended category completion.
9260 (todo-lower-item, todo-raise-item): Rename to *-priority and
9261 derive from todo-set-item-priority.
9262 (todo-mode): Derive from special-mode. Make sensitive to new
9263 format, font-locking and multiple todo files. Make read-only.
9264 (todo-mode-map): Don't suppress digit keys, so they can supply
9265 prefix arguments. Add many new key bindings.
9266 (todo-prefix): Insert as an overlay instead of file text.
9267 Change semantics from diary date expression to purely visual mark.
9268 (todo-print): Rename to todo-print-buffer. Make buffer display
9269 features printable. Remove option to restrict number of items
9270 printed. Add option to print to file.
9271 (todo-print-function): Rename to todo-print-buffer-function.
9272 (todo-quit): Extend to handle exiting new todo modes.
9273 (todo-remove-item): Make sensitive to overlays.
9274 (todo-save): Extend to buffers of filtered items.
9275 (todo-show): Make sensitive to done items, multiple todo files and
9276 new todo modes. Offer to convert legacy todo file before creating
9277 first new todo file.
9278 (todo-show-priorities): Rename to todo-top-priorities.
9279 Change semantics of value 0.
9280 (todo-top-priorities): Rename to todo-filter-top-priorities,
9281 derive from todo-filter-items and extend functionality.
9282 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9283 and extend functionality to other types of filtered items.
9284 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9285 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9286 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9287 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9288 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9289 (todo-edit-mode-hook, todo-entry-prefix-function)
9290 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9291 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9292 (todo-initials, todo-insert-threshold, todo-item-string-start)
9293 (todo-line-string, todo-menu, todo-mode-hook)
9294 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9295 (todo-print-priorities, todo-remove-separator)
9296 (todo-save-top-priorities-too, todo-string-count-lines)
9297 (todo-string-multiline-p, todo-time-string-format)
9298 (todo-tmp-buffer-name): Remove.
9299 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9300 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9301 (todo-edit-category-diary-inclusion)
9302 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9303 (todo-edit-file, todo-edit-item-date-day)
9304 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9305 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9306 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9307 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9308 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9309 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9310 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9311 (todo-filter-top-priorities-multifile, todo-find-archive)
9312 (todo-find-filtered-items-file, todo-go-to-source-item)
9313 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9314 (todo-jump-to-archive-category, todo-lower-category)
9315 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9316 (todo-move-category, todo-move-item, todo-next-button)
9317 (todo-next-item, todo-padded-string, todo-powerset)
9318 (todo-previous-button, todo-previous-item)
9319 (todo-print-buffer-to-file, todo-raise-category)
9320 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9321 (todo-set-category-number, todo-set-item-priority)
9322 (todo-set-top-priorities-in-category)
9323 (todo-set-top-priorities-in-file, todo-show-categories-table)
9324 (todo-sort-categories-alphabetically-or-numerically)
9325 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9326 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9327 (todo-toggle-item-header, todo-toggle-item-highlighting)
9328 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9329 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9330 (todo-unarchive-items, todo-unmark-category): New commands.
9331 (todo-absolute-file-name, todo-add-to-buffer-list)
9332 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9333 (todo-basic-insert-item, todo-category-completions)
9334 (todo-category-number, todo-category-string-matcher-1)
9335 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9336 (todo-check-format, todo-clear-matches)
9337 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9338 (todo-current-category, todo-date-string-matcher)
9339 (todo-define-insertion-command, todo-diary-expired-matcher)
9340 (todo-diary-goto-entry, todo-diary-item-p)
9341 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9342 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9343 (todo-done-item-section-p, todo-done-separator)
9344 (todo-done-string-matcher, todo-files, todo-filter-items)
9345 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9346 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9347 (todo-insert-category-line, todo-insert-item-from-calendar)
9348 (todo-insert-sort-button, todo-insert-with-overlays)
9349 (todo-insertion-command-name, todo-insertion-key-bindings)
9350 (todo-label-to-key, todo-longest-category-name-length)
9351 (todo-make-categories-list, todo-mode-external-set)
9352 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9353 (todo-modes-set-3, todo-multiple-filter-files)
9354 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9355 (todo-read-category, todo-read-date, todo-read-dayname)
9356 (todo-read-file-name, todo-read-time)
9357 (todo-reevaluate-category-completions-files-defcustom)
9358 (todo-reevaluate-default-file-defcustom)
9359 (todo-reevaluate-filelist-defcustoms)
9360 (todo-reevaluate-filter-files-defcustom)
9361 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9362 (todo-reset-done-separator, todo-reset-done-separator-string)
9363 (todo-reset-done-string, todo-reset-global-current-todo-file)
9364 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9365 (todo-reset-prefix, todo-set-categories)
9366 (todo-set-date-from-calendar, todo-set-show-current-file)
9367 (todo-set-top-priorities, todo-short-file-name)
9368 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9369 (todo-total-item-counts, todo-update-buffer-list)
9370 (todo-update-categories-display, todo-update-categories-sexp)
9371 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9373 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9375 (todo-categories, todo-display, todo-edit, todo-faces)
9376 (todo-filtered): New defgroups.
9377 (todo-archived-only, todo-button, todo-category-string, todo-date)
9378 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9379 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9380 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9381 (todo-add-item-if-new-category, todo-always-add-time-string)
9382 (todo-categories-align, todo-categories-archived-label)
9383 (todo-categories-category-label, todo-categories-diary-label)
9384 (todo-categories-done-label, todo-categories-number-separator)
9385 (todo-categories-todo-label, todo-categories-totals-label)
9386 (todo-category-completions-files, todo-completion-ignore-case)
9387 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9388 (todo-done-separator-string, todo-done-string)
9389 (todo-files-function, todo-filter-done-items, todo-filter-files)
9390 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9391 (todo-initial-category, todo-initial-file, todo-item-mark)
9392 (todo-legacy-date-time-regexp, todo-mode-line-function)
9393 (todo-nondiary-marker, todo-number-prefix)
9394 (todo-print-buffer-function, todo-show-current-file)
9395 (todo-show-done-only, todo-show-first, todo-show-with-done)
9396 (todo-skip-archived-categories, todo-top-priorities-overrides)
9397 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9398 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9400 (todo-category-done, todo-date-pattern, todo-date-string-start)
9401 (todo-diary-items-buffer, todo-done-string-start)
9402 (todo-filtered-items-buffer, todo-item-start)
9403 (todo-month-abbrev-array, todo-month-name-array)
9404 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9405 (todo-top-priorities-buffer): New defconsts.
9406 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9407 (todo-categories-with-marks, todo-category-string-face)
9408 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9409 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9410 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9411 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9412 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9413 (todo-font-lock-keywords, todo-global-current-todo-file)
9414 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9415 (todo-insertion-commands-args)
9416 (todo-insertion-commands-args-genlist)
9417 (todo-insertion-commands-names, todo-insertion-map)
9418 (todo-key-bindings-t, todo-key-bindings-t+a)
9419 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9420 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9421 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9422 (todo-visited): New variables.
9424 2013-06-21 Glenn Morris <rgm@gnu.org>
9426 * play/cookie1.el (cookie-apropos): Add optional display argument.
9427 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9428 (psychoanalyze-pinhead): Use cookie-doctor.
9430 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9432 * emacs-lisp/package.el (tar-get-file-descriptor)
9433 (tar--extract): Declare.
9435 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9437 Extend flymake's warning predicate to be a function (bug#14217).
9438 * progmodes/flymake.el (flymake-warning-predicate): New.
9439 (flymake-parse-line): Use it.
9440 (flymake-warning-re): Make obsolete alias to
9441 `flymake-warning-predicate'.
9443 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9445 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9446 (package-obsolete-list): Remove.
9447 (package-activate): Remove min-version argument. Add `force' argument.
9448 Adjust to new package-alist format.
9449 (package-mark-obsolete): Remove.
9450 (package-unpack): Force reload of the package's autoloads.
9451 (package-installed-p): Check builtins if the installed package is not
9453 (package-initialize): Don't reset package-obsolete-list.
9454 Don't specify which package version to activate.
9455 (package-process-define-package, describe-package-1)
9456 (package-menu--generate): Adjust to new package-alist format.
9458 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9460 * allout-widgets.el (allout-widgets-mode-off)
9461 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9462 (allout-widgets-post-command-business)
9463 (allout-widgets-after-copy-or-kill-function)
9464 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9465 (allout-decorate-item-and-context)
9466 (allout-graphics-modification-handler): Fix typos in docstrings.
9467 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9469 * cmuscheme.el (scheme-start-file): Doc fix.
9470 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9471 (scheme-input-filter): Use `string-match-p'.
9473 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9475 * dired-x.el: Use Dired consistently in docstrings.
9477 * dired.el: Use Dired consistently in docstrings.
9478 (dired-readin, dired-mode): Use `setq-local'.
9479 (dired-switches-alist): Make defvar-local.
9480 (dired-buffers-for-dir): Use `zerop'.
9481 (dired-safe-switches-p, dired-switches-escape-p)
9482 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9483 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9484 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9485 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9486 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9487 (dired-toggle-marks, dired-mark-files-containing-regexp)
9488 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9489 (dired-flag-auto-save-files, dired-flag-backup-files):
9491 (dired-mark-files-regexp, dired-build-subdir-alist):
9492 Use `string-match-p', `looking-at-p'.
9494 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9495 (direct-print-region-helper): Use `string-match-p'.
9497 2013-06-21 Leo Liu <sdl.web@gmail.com>
9499 * comint.el (comint-redirect-results-list-from-process):
9502 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9504 * net/eww.el (eww-update-header-line-format): Quote % characters.
9506 2013-06-21 Glenn Morris <rgm@gnu.org>
9508 * play/cookie1.el (cookie): New custom group.
9509 (cookie-file): New option.
9510 (cookie-check-file): New function.
9511 (cookie): Make it interactive. Make start and end messages optional.
9512 Interactively, display the result. Default to cookie-file.
9513 (cookie-insert): Default to cookie-file.
9514 (cookie-snarf): Make start and end messages optional.
9515 Default to cookie-file. Use with-temp-buffer.
9516 (cookie-read): Rename from read-cookie.
9517 Make start and end messages optional. Default to cookie-file.
9518 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9520 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9521 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9523 2013-06-21 Leo Liu <sdl.web@gmail.com>
9525 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9527 2013-06-21 Glenn Morris <rgm@gnu.org>
9529 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9531 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9532 Daniel Hackney <dan@haxney.org>
9534 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9535 Consolidate the single-file vs tarball code.
9536 (package-desc-suffix): New function.
9537 (package-desc-full-name): Don't bother inlining it.
9538 (package-load-descriptor): Return the new package-desc.
9539 (package-mark-obsolete): Remove unused arg `package'.
9540 (package-unpack): Make it work for single files as well.
9541 Make it update package-alist.
9542 (package--make-autoloads-and-stuff): Rename from
9543 package--make-autoloads-and-compile. Don't compile any more.
9544 (package--compile): New function.
9545 (package-generate-description-file): New function, extracted from
9546 package-unpack-single.
9547 (package-unpack-single): Remove.
9548 (package--with-work-buffer): Add indentation and debugging info.
9549 (package-download-single): Remove.
9550 (package-install-from-archive): Rename from package-download-tar, make
9551 it take a pkg-desc, and make it work for single files as well.
9552 (package-download-transaction): Simplify.
9553 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9554 external tar program.
9555 (package-install-from-buffer): Remove `pkg-desc' argument.
9556 Use package-tar-file-info for tar-mode buffers.
9557 (package-install-file): Simplify accordingly.
9558 (package-archive-base): Change to take a pkg-desc.
9559 * tar-mode.el (tar--check-descriptor): New function, extracted from
9561 (tar-get-descriptor): Use it.
9562 (tar-get-file-descriptor): New function.
9563 (tar--extract): New function, extracted from tar-extract.
9564 (tar--extract): Use it.
9565 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9566 case the summary uses non-ascii. Adjust to new calling convention of
9567 package-tar-file-info.
9569 2013-06-21 Leo Liu <sdl.web@gmail.com>
9571 * comint.el (comint-redirect-results-list-from-process):
9572 Fix random delay. (Bug#14681)
9574 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9576 * profiler.el (profiler-format-number): Use log, not log10.
9578 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9580 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9582 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9584 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9585 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9587 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9588 (AUTOGENEL): ... here.
9589 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9590 (cl--defsubst-expand): Use it.
9592 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9594 * subr.el (log10): Move here from C code, and declare as obsolete.
9595 All uses of (log10 X) replaced with (log X 10).
9597 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9599 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9600 Declare with `defvar-local'.
9601 (tabulated-list-use-header-line, tabulated-list-entries)
9602 (tabulated-list-padding, tabulated-list-printer)
9603 (tabulated-list-sort-key): Declare with `defvar-local'.
9604 (tabulated-list-init-header, tabulated-list-print-fake-header):
9607 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9609 * arc-mode.el (archive-mode): Add `archive-write-file' to
9610 `write-contents-functions' also for remote files. (Bug#14652)
9612 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9614 * cus-edit.el (custom-commands): Fix typos.
9615 (custom-display): Fix tooltip text.
9616 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9617 Fix typos in docstrings.
9618 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9619 (custom-unlispify-menu-entry, custom-magic-value-create)
9620 (custom-add-see-also, custom-group-value-create): Use ?\s.
9621 (custom-guess-type, customize-apropos, editable-field)
9622 (custom-face-value-create): Use `string-match-p'.
9623 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9625 * custom.el (custom-load-symbol): Use `string-match-p'.
9627 * ansi-color.el: Convert to lexical binding.
9628 (ansi-colors): Fix URL.
9629 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9630 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9631 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9633 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9635 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9637 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9639 2013-06-19 Tom Tromey <tromey@redhat.com>
9641 * net/eww.el (eww-top-url): Remove.
9642 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9643 (eww-render): Set new variables. Don't set eww-top-url.
9644 (eww-handle-link): Handle "prev", "home", and "contents".
9645 Downcase the rel text.
9646 (eww-top-url): Choose best top URL.
9648 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9650 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9651 relying in widget.el. Using widget.el leads to too many
9652 user interface inconsistencies.
9653 (eww-self-insert): Implement entering commands in text fields.
9654 (eww-process-text-input): New function to make text input field editing
9656 (eww-submit): Rewrite to use the new-style form methods.
9657 (eww-select-display): Display the correct selected item.
9658 (eww-change-select): Implement changing the select value.
9659 (eww-toggle-checkbox): Implement radio/checkboxes.
9660 (eww-update-field): Fix compilation error.
9661 (eww-tag-textarea): Implement <textarea>.
9663 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9664 we don't shadow mode-specific bindings.
9666 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9669 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9671 2013-06-19 Glenn Morris <rgm@gnu.org>
9673 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9675 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9677 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9680 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9682 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9684 * net/browse-url.el (browse-url-browser-function):
9685 `eww-browse-url' has the right calling signature, `eww' does not.
9687 2013-06-19 Glenn Morris <rgm@gnu.org>
9689 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9690 Only eval autoloaded macros.
9691 (byte-compile-autoload): Only give the macro warning for macros.
9693 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9694 (ps-underlined-faces): Declare.
9696 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9697 (speedbar-add-supported-extension): Declare.
9699 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9700 Don't include a date stamp in the header of the generated file;
9701 it leads to needless differences between output files.
9703 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9705 * net/secrets.el (secrets-struct-secret-content-type):
9706 Replace check of introspection data by a test call of "CreateItem".
9707 Some servers do not offer introspection.
9709 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9711 * electric.el (electric-pair-mode): Improve interaction with
9712 electric-layout-mode.
9713 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9714 (electric-pair-syntax): Use text-mode-syntax-table in comments
9716 (electric-pair--insert): New function.
9717 (electric-pair-post-self-insert-function): Use it and
9718 electric--after-char-pos.
9720 2013-06-19 Leo Liu <sdl.web@gmail.com>
9722 * progmodes/octave.el (octave-help): Fix regexp.
9724 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9726 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9727 (shr-table-horizontal-line): Allow nil as a value, and change the
9729 (shr-insert-table-ruler): Respect the nil value.
9731 2013-06-18 Tom Tromey <tromey@barimba>
9733 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9735 (eww-open-file): New defun.
9736 (eww-render): Initialize new variables.
9737 (eww-display-html): Handle "link" and "a".
9738 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9739 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9740 (eww-back-url): Rename from eww-previous-url.
9741 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9744 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9746 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9747 Distinguish ternary operator tokens from slash symbol and slash
9750 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9752 Convert symbol prettification into minor mode and global minor mode.
9754 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9755 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9756 (prettify-symbols--keywords): Rename from
9757 `prog-prettify-symbols-alist' and make a local defvar.
9758 (prettify-symbols--compose-symbol): Rename from
9759 `prog--prettify-font-lock-compose-symbol'.
9760 (prettify-symbols--make-keywords): Rename from
9761 `prog-prettify-font-lock-symbols-keywords' and simplify.
9762 (prog-prettify-install): Remove.
9763 (prettify-symbols-mode): New minor mode, based on
9764 `prog-prettify-install'.
9765 (turn-on-prettify-symbols-mode): New function.
9766 (global-prettify-symbols-mode): New globalized minor mode.
9768 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9769 * progmodes/cfengine.el (cfengine3-mode):
9770 * progmodes/perl-mode.el (perl-mode): Don't call
9771 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9773 2013-06-18 Juri Linkov <juri@jurta.org>
9775 * files-x.el (modify-file-local-variable-message): New function.
9776 (modify-file-local-variable)
9777 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9778 and call `modify-file-local-variable-message' when it's non-nil.
9779 (add-file-local-variable, delete-file-local-variable)
9780 (add-file-local-variable-prop-line)
9781 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9782 and use it. (Bug#9820)
9784 2013-06-18 Juri Linkov <juri@jurta.org>
9786 * emulation/vi.el (vi-shell-op):
9787 * emulation/vip.el (vip-execute-com, ex-command):
9788 * emulation/viper-cmd.el (viper-exec-bang):
9789 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9790 the call of `shell-command-on-region'. (Bug#14637)
9792 * simple.el (shell-command-on-region): Doc fix.
9794 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9796 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9799 2013-06-18 Glenn Morris <rgm@gnu.org>
9801 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9803 * newcomment.el (comment-search-forward, comment-search-backward):
9804 Doc fix. (Bug#14376)
9806 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9808 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9809 (buffer-face-mode-invoke): Doc fix.
9811 2013-06-18 Matthias Meulien <orontee@gmail.com>
9813 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9814 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9816 2013-06-18 Glenn Morris <rgm@gnu.org>
9818 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9819 Replace obsolete function generic-make-keywords with its expansion.
9821 * progmodes/python.el (ffap-alist): Declare.
9823 * textmodes/reftex.el (bibtex-mode-map): Declare.
9825 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9827 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9828 (package-unpack, package-unpack-single): Return the pkg-dir.
9829 (package-download-transaction): Use it to update package-alist.
9831 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9833 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9836 2013-06-17 Juri Linkov <juri@jurta.org>
9838 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9840 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9842 * emacs-lisp/package.el (package-load-descriptor):
9843 Remove `with-syntax-table' call, `read' doesn't need it.
9844 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9846 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9848 * startup.el (command-line): Expand package name returned by
9849 `package--description-file' (bug#14639).
9851 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9853 * emacs-lisp/package.el (package-load-descriptor): Do not call
9854 `emacs-lisp-mode', just use its syntax table.
9856 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9858 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9859 `font-lock-extra-managed-props' if any prettifying keyword is added.
9860 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9861 (prog-mode): Use `setq-local'.
9863 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9865 * international/characters.el (standard-case-table): Set syntax of ?»
9866 and ?« to punctuation.
9868 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9870 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9871 Save relevant match data before calling `syntax-ppss' (bug#14595).
9873 2013-06-15 Juri Linkov <juri@jurta.org>
9875 * files-x.el (modify-file-local-variable-prop-line): Add local
9876 variables to the end of the existing comment on the first line.
9877 Use `file-auto-mode-skip' to skip interpreter magic line,
9878 and also skip XML declaration.
9880 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9882 * startup.el (package--builtin-versions): New var.
9883 (package-subdirectory-regexp): Remove.
9884 (package--description-file): Hard code its value instead.
9886 * emacs-lisp/package.el: Don't activate packages older than builtin.
9887 (package-obsolete-list): Rename from package-obsolete-alist, and make
9888 it into a simple list of package-desc.
9889 (package-strip-version): Remove.
9890 (package-built-in-p): Use package--builtin-versions.
9891 (package-mark-obsolete): Simplify.
9892 (package-process-define-package): Mark it obsolete if older than the
9894 (package-handle-response): Use line-end-position.
9895 (package-read-archive-contents, package--download-one-archive):
9897 (package--add-to-archive-contents): Skip if older than the builtin or
9899 (package-menu-describe-package): Fix last change.
9900 (package-list-unversioned): New var.
9901 (package-menu--generate): Use it.
9903 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9904 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9905 (autoload-builtin-package-versions): New variable.
9906 (autoload-generate-file-autoloads): Use them.
9907 Remove the list of autoloaded functions/macros from the
9908 (autoload...) comments.
9910 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9912 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9914 * simple.el (line-move-partial): Don't jump to the next screen
9915 line as soon as it becomes visible. Instead, continue enlarging
9916 the vscroll until the portion of a tall screen line that's left on
9917 display is about the height of the frame's default font.
9920 2013-06-15 Glenn Morris <rgm@gnu.org>
9922 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9923 compilation-error-regexp-alist void, or local while let-bound.
9925 * progmodes/make-mode.el (makefile-mode-syntax-table):
9926 Treat "=" as punctuation. (Bug#14614)
9928 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9930 * help-fns.el (describe-variable):
9931 Add extra line for permanent-local variables.
9933 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9935 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9936 Add export, import, library. (Bug#9164)
9937 (library): Set indent function.
9939 2013-06-14 Glenn Morris <rgm@gnu.org>
9941 * term/xterm.el (xterm--query):
9942 Stop after first matching handler. (Bug#14615)
9944 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9946 Add support for dired in saveplace.
9947 * dired.el (dired-initial-position-hook): New variable.
9948 (dired-initial-position): Call hook to place cursor position.
9949 * saveplace.el (save-place-to-alist): Add dired position.
9950 (save-place-dired-hook): New function.
9952 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9954 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9955 through a symbol rather than letrec.
9957 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9958 (package-desc): Add `dir' field.
9959 (package-desc-full-name): New function.
9960 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9961 (package-maybe-load-descriptor): Remove.
9962 (package-load-all-descriptors): Just call package-load-descriptor.
9963 (package--disabled-p): New function.
9964 (package-desc-vers, package-desc-doc): Remove aliases.
9965 (package--dir): Remove function.
9966 (package-activate): Check if a package is disabled.
9967 (package-process-define-package): New function, extracted from
9969 (define-package): Turn into a place holder.
9970 (package-unpack-single, package-tar-file-info):
9971 Use package--description-file.
9972 (package-compute-transaction): Use package--disabled-p.
9973 (package-download-transaction): Don't call
9974 package-maybe-load-descriptor since they're all loaded anyway.
9975 (package-install): Change argument to be a pkg-desc.
9976 (package-delete): Use a single pkg-desc argument.
9977 (describe-package-1): Use package-desc-dir instead of package--dir.
9978 Use package-desc property instead of package-symbol.
9979 (package-install-button-action): Adjust accordingly.
9980 (package--push): Rewrite.
9981 (package-menu--print-info): Adjust accordingly. Change the ID format
9983 (package-menu-describe-package, package-menu-get-status)
9984 (package-menu--find-upgrades, package-menu-mark-upgrades)
9985 (package-menu-execute, package-menu--name-predicate):
9987 * startup.el (package--description-file): New function.
9988 (command-line): Use it.
9989 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9990 Use package-desc-version.
9992 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9993 (byte-compile-preprocess): Use it.
9994 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9995 can't quite recognize.
9996 (byte-compile-add-to-list): Remove.
9997 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9998 (cconv-closure-convert): Add assertion.
10000 * emacs-lisp/map-ynp.el: Use lexical-binding.
10001 (map-y-or-n-p): Remove unused vars `tail' and `object'.
10002 Factor out some repeated code.
10004 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10006 * subr.el (with-eval-after-load): New macro.
10007 (eval-after-load): Allow form to be a function.
10008 take advantage of lexical-binding.
10009 (do-after-load-evaluation): Use dolist and adjust to new format.
10010 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
10012 2013-06-13 Juri Linkov <juri@jurta.org>
10014 * replace.el (perform-replace): Display "symbol " and other search
10015 modes from `isearch-message-prefix' in the *Help* buffer.
10017 * isearch.el (isearch-query-replace): Add " symbol" and other
10018 possible search modes from `isearch-message-prefix' to the prompt.
10019 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
10020 when reading a regexp to collect.
10022 2013-06-13 Juri Linkov <juri@jurta.org>
10024 * isearch.el (word-search-regexp): Match whitespace if the search
10025 string begins or ends in whitespace. The LAX arg is applied to
10026 both ends of the search string. Use `regexp-quote' and explicit
10027 \< and \> instead of \b. Use \` and \' instead of ^ and $.
10028 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
10029 boundaries are replaced with symbol boundaries, and characters
10030 between symbols match non-word non-symbol syntax. (Bug#14602)
10032 2013-06-13 Juri Linkov <juri@jurta.org>
10034 * isearch.el (isearch-del-char): Don't exceed the length of
10035 `isearch-string' by the prefix arg. (Bug#14563)
10037 2013-06-13 Juri Linkov <juri@jurta.org>
10039 * isearch.el (isearch-yank-word, isearch-yank-line)
10040 (isearch-char-by-name, isearch-quote-char)
10041 (isearch-printing-char, isearch-process-search-char):
10042 Add optional count prefix arg. (Bug#14563)
10044 * international/isearch-x.el
10045 (isearch-process-search-multibyte-characters):
10046 Add optional count prefix arg.
10048 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
10050 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
10051 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
10054 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
10056 * subr.el (set-temporary-overlay-map): Add on-exit argument.
10058 2013-06-13 Glenn Morris <rgm@gnu.org>
10060 * startup.el (tty-handle-args):
10061 Don't just discard "--" and anything after. (Bug#14608)
10063 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
10065 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
10067 Implement changes in Secret Service API. Make it backward compatible.
10068 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
10069 (secrets-create-item): Use it. Prefix properties with interface.
10071 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
10073 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
10074 (term-emulate-terminal): Respect term-suppress-hard-newline.
10076 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
10078 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
10079 Only remove a `thumb-file' overlay. (Bug#14548)
10081 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
10083 * mail/reporter.el (reporter-submit-bug-report):
10084 Handle missing package-name. (Bug#14600)
10086 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10088 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
10089 (reftex-citation-prompt, reftex-default-bibliography)
10090 (reftex-bib-or-thebib, reftex-get-bibfile-list)
10091 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
10092 (reftex-bib-sort-author, reftex-bib-sort-year)
10093 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
10094 (reftex-extract-bib-entries-from-thebibliography)
10095 (reftex-get-bibkey-default, reftex-get-bib-names)
10096 (reftex-parse-bibtex-entry, reftex-get-bib-field)
10097 (reftex-format-bib-entry, reftex-parse-bibitem)
10098 (reftex-format-bibitem, reftex-do-citation)
10099 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
10100 (reftex-restrict-bib-matches, reftex-extract-bib-file)
10101 (reftex-insert-bib-matches, reftex-format-citation)
10102 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
10103 (reftex-create-bibtex-file): Add docstrings, mostly by converting
10104 existing comments into docstrings.
10106 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10108 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
10110 2013-06-12 Andreas Schwab <schwab@suse.de>
10112 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
10113 for auto-save files.
10115 2013-06-12 Glenn Morris <rgm@gnu.org>
10117 * ido.el (ido-delete-ignored-files): Remove.
10118 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
10119 Go back to calling ido-ignore-item-p directly.
10121 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
10123 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
10125 * ido.el (ido-delete-ignored-files): New function,
10126 split from ido-make-file-list-1.
10127 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
10128 (ido-make-file-list-1): Use ido-delete-ignored-files.
10130 2013-06-12 Leo Liu <sdl.web@gmail.com>
10132 * progmodes/octave.el (inferior-octave-startup)
10133 (inferior-octave-completion-table)
10134 (inferior-octave-track-window-width-change)
10135 (octave-eldoc-function-signatures, octave-help)
10136 (octave-find-definition): Use single quoted strings.
10137 (inferior-octave-startup-args): Change default value.
10138 (inferior-octave-startup): Do not hard code "-i" and
10139 "--no-line-editing".
10140 (inferior-octave-resync-dirs): Add optional arg NOERROR.
10141 (inferior-octave-directory-tracker): Use it.
10142 (octave-goto-function-definition): Robustify.
10143 (octave-help): Support highlighting operators in 'See also'.
10144 (octave-find-definition): Find subfunctions only in Octave mode.
10146 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10148 * help-fns.el (help-fns--compiler-macro): If the handler function is
10149 named, then put a link to it.
10150 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
10151 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
10152 (cl-typep): Use it.
10153 (cl-eval-when): Simplify debug spec.
10154 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
10155 compiler-macro function instead of setting `compiler-macro-file'.
10157 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
10159 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
10160 * vc/vc-hooks.el (vc-stay-local): Doc fix.
10162 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
10163 Daniel Hackney <dan@haxney.org>
10165 First part of Daniel Hackney's patch to package.el.
10166 * emacs-lisp/package.el: Use defstruct.
10167 (package-desc): New, main struct.
10168 (package--bi-desc, package--ac-desc): New structs, used to describe the
10169 format in external files.
10170 (package-desc-vers): Replace with package-desc-version accessor.
10171 (package-desc-doc): Replace with package-desc-summary accessor.
10172 (package-activate-1): Remove `package' arg since the pkg-vec now
10174 (define-package): Use package-desc-from-define.
10175 (package-unpack-single): Change file-name arg to be a symbol.
10176 (package--add-to-archive-contents): Use package-desc-create and new
10177 accessor functions to package--ac-desc.
10178 (package-buffer-info, package-tar-file-info): Return a package-desc.
10179 (package-install-from-buffer): Remove `type' argument. Change pkg-info
10180 arg to be a package-desc.
10181 (package-install-file): Adjust accordingly. Use \' to match EOS.
10182 (package--from-builtin): New function.
10183 (describe-package-1, package-menu--generate): Use it.
10184 (package--make-autoloads-and-compile): Change name arg to be a symbol.
10185 (package-generate-autoloads): Idem and return the name of the file.
10186 * emacs-lisp/package-x.el (package-upload-buffer-internal):
10187 Change pkg-info arg to be a package-desc.
10188 Use package-make-ac-desc.
10189 (package-upload-file): Use \' to match EOS.
10190 * finder.el (finder-compile-keywords): Use package-make-builtin.
10192 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10194 * vc/vc.el (vc-deduce-fileset): Change error message.
10195 (vc-read-backend): New function.
10196 (vc-next-action): Use it.
10198 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
10200 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
10201 (prolog-font-lock-keywords): Use regexp-opt instead.
10202 Don't manually highlight strings.
10203 (prolog-mode-variables): Simplify comment-start-skip.
10204 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
10206 * emacs-lisp/generic.el (generic--normalise-comments)
10207 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
10208 (generic-mode-set-comments): Use them.
10209 (generic-bracket-support): Use setq-local.
10210 (generic-make-keywords-list): Declare obsolete.
10212 2013-06-11 Glenn Morris <rgm@gnu.org>
10214 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
10215 Prettify after setting font-lock-defaults. (Bug#14574)
10217 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
10219 * replace.el (query-replace, occur-read-regexp-defaults-function)
10221 * subr.el (declare-function, number-sequence, local-set-key)
10222 (substitute-key-definition, locate-user-emacs-file)
10223 (with-silent-modifications, split-string, eval-after-load):
10224 Fix typos, remove unneeded backslashes and reflow some docstrings.
10226 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
10228 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
10229 default for Elisp files.
10231 2013-06-11 Glenn Morris <rgm@gnu.org>
10233 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
10234 although define-derived-mode was doing this anyway. (Bug#14583)
10236 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
10238 * allout.el (allout-encryption-plaintext-sanitization-regexps):
10239 Fix make-variable-buffer-local call to refer to the correct variable.
10241 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
10243 * eshell/em-term.el (eshell-visual-commands)
10244 (eshell-visual-subcommands, eshell-visual-options):
10245 Add summary line to docstrings. Add cross-references.
10247 2013-06-10 Glenn Morris <rgm@gnu.org>
10249 * epa.el (epa-read-file-name): New function. (Bug#14510)
10250 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
10252 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10254 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
10255 output redirection to be ignored with visual commands.
10257 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
10259 * eshell/em-term.el (eshell-visual-command-p): New function.
10260 (eshell-term-initialize): Move long lambda to separate function
10261 eshell-visual-command-p.
10262 * eshell/em-dirs.el (eshell-dirs-initialise):
10263 * eshell/em-script.el (eshell-script-initialize):
10264 Add missing #' to lambda.
10266 2013-06-08 Leo Liu <sdl.web@gmail.com>
10268 * progmodes/octave.el (octave-add-log-current-defun): New function.
10269 (octave-mode): Set add-log-current-defun-function.
10270 (octave-goto-function-definition): Do not move point if not found.
10271 (octave-find-definition): Enhance to try subfunctions first.
10273 2013-06-08 Glenn Morris <rgm@gnu.org>
10275 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10276 (byte-compile-backward-char, byte-compile-backward-word):
10277 Improve previous change, to handle non-explicit nil.
10279 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10281 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10282 (smie--opener/closer-at-point): New function.
10283 (smie--matching-block-data): Use it. Don't match from right after an
10284 opener or right before a closer. Obey smie-blink-matching-inners.
10285 Don't signal a mismatch for repeated inners like "switch..case..case".
10287 2013-06-07 Leo Liu <sdl.web@gmail.com>
10289 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10291 (octave-function-header-regexp): Fix. (Bug#14570)
10292 (octave-help-mode-finish-hook, octave-help-mode-finish):
10293 Remove. Just use temp-buffer-show-hook.
10295 * newcomment.el (comment-search-backward): Revert last change.
10298 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10300 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10302 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10303 through xargs, to avoid failure due to MS-Windows limitations on
10304 command-line length.
10306 2013-06-06 Glenn Morris <rgm@gnu.org>
10308 * font-lock.el (lisp-font-lock-keywords-2):
10309 Treat user-error like error.
10311 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10312 (byte-compile-backward-char, byte-compile-backward-word):
10313 Handle explicit nil arguments. (Bug#14565)
10315 2013-06-05 Alan Mackenzie <acm@muc.de>
10317 * isearch.el (isearch-allow-prefix): New user option.
10318 (isearch-other-meta-char): Don't exit isearch when a prefix
10319 argument is typed whilst `isearch-allow-prefix' is non-nil.
10322 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10324 * autorevert.el (auto-revert-notify-handler): Use memq.
10325 Hide assertion failure.
10327 * skeleton.el: Use cl-lib.
10328 (skeleton-further-elements): Use defvar-local.
10329 (skeleton-insert): Use cl-progv.
10331 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10333 * progmodes/prog-mode.el (prog-prettify-symbols)
10334 (prog-prettify-install): Update docstrings.
10336 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10338 * simple.el: Move all the prog-mode code to prog-mode.el.
10339 * progmodes/prog-mode.el: New file.
10340 * loadup.el: Add prog-mode.el.
10342 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10344 * simple.el (prog-prettify-symbols): Add version.
10345 (prog-prettify-install): Add convenience function to prettify symbols.
10347 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10348 (perl--augmented-font-lock-keywords-1)
10349 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10350 variables and use it.
10352 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10353 (cfengine3-mode): Remove unneeded variable and use it.
10355 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10356 (lisp--augmented-font-lock-keywords-1)
10357 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10358 Remove unneeded variables and use it.
10360 2013-06-05 João Távora <joaotavora@gmail.com>
10362 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10363 to point when opening the connection. (Bug#14380)
10365 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10367 * subr.el (load-history-regexp, load-history-filename-element)
10368 (eval-after-load, after-load-functions, do-after-load-evaluation)
10369 (eval-next-after-load, display-delayed-warnings)
10370 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10371 definition of save-match-data.
10372 (overriding-local-map): Remove accidental obsolescence declaration.
10374 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10376 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10378 Generalize symbol prettify support to prog-mode and implement it
10379 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10380 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10381 (prog--prettify-font-lock-compose-symbol)
10382 (prog-prettify-font-lock-symbols-keywords): New variables and
10383 functions to support symbol prettification.
10384 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10385 (lisp--augmented-font-lock-keywords-1)
10386 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10387 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10388 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10389 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10390 Implement prettify of -> => :: strings.
10391 * progmodes/perl-mode.el (perl-prettify-symbols)
10392 (perl--font-lock-compose-symbol)
10393 (perl--font-lock-symbols-keywords): Move to prog-mode.
10394 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10395 (perl-font-lock-keywords-1)
10396 (perl-font-lock-keywords-2): Remove explicit prettify support.
10397 (perl--augmented-font-lock-keywords)
10398 (perl--augmented-font-lock-keywords-1)
10399 (perl--augmented-font-lock-keywords-2, perl-mode):
10400 Implement prettify support.
10402 2013-06-05 Leo Liu <sdl.web@gmail.com>
10404 Re-implement smie matching block highlight using
10405 show-paren-data-function. (Bug#14395)
10406 * emacs-lisp/smie.el (smie-matching-block-highlight)
10407 (smie--highlight-matching-block-overlay)
10408 (smie--highlight-matching-block-lastpos)
10409 (smie-highlight-matching-block)
10410 (smie-highlight-matching-block-mode): Remove.
10411 (smie--matching-block-data-cache): New variable.
10412 (smie--matching-block-data): New function.
10413 (smie-setup): Use smie--matching-block-data for
10414 show-paren-data-function.
10416 * progmodes/octave.el (octave-mode-menu): Fix.
10417 (octave-find-definition): Skip garbage lines.
10419 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10421 Fix compilation error with simultaneous dynamic+lexical scoping.
10422 Add warning when a defvar appears after the first let-binding.
10423 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10424 (byte-compile-close-variables): Initialize it.
10425 (byte-compile--declare-var): New function.
10426 (byte-compile-file-form-defvar)
10427 (byte-compile-file-form-define-abbrev-table)
10428 (byte-compile-file-form-custom-declare-variable): Use it.
10429 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10430 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10431 (byte-compile-bind): Handle dynamic bindings that shadow
10433 (byte-compile-unbind): Make arg non-optional.
10434 (byte-compile-let): Simplify.
10435 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10436 (cconv--analyse-function, cconv-analyse-form): Populate it.
10437 Protect byte-compile-bound-variables to limit the scope of defvars.
10438 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10439 Remove unneeded rule for `declare'.
10441 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10442 so as to avoid depending on cl-adjoin at run-time.
10443 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10445 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10446 (macroexp--warn-and-return): Use it.
10448 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10450 * subr.el: Convert to lexical binding.
10451 (overriding-local-map): Make obsolete.
10452 (add-to-list): Doc fix. Add compiler macro.
10453 (read-key): Swap values of local maps.
10455 2013-06-05 Leo Liu <sdl.web@gmail.com>
10457 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10459 2013-06-04 Leo Liu <sdl.web@gmail.com>
10461 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10462 (compilation-auto-jump): Suppress the "Mark set" message to give
10463 way to exit message.
10465 2013-06-04 Alan Mackenzie <acm@muc.de>
10467 Remove faulty optimisation from indentation calculation.
10468 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10469 search limit based on 2000 characters back from indent-point.
10471 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10473 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10475 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10477 * emacs-lisp/lisp.el: Use lexical-binding.
10478 (lisp--local-variables-1, lisp--local-variables): New functions.
10479 (lisp--local-variables-completion-table): New var.
10480 (lisp-completion-at-point): Use it complete let-bound vars.
10482 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10483 eagerly (bug#14422).
10485 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10487 * autorevert.el (auto-revert-notify-enabled)
10488 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10489 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10490 (auto-revert-notify-handler): Handle also gfilenotify.
10492 * subr.el (file-notify-handle-event): New defun. Replacing ...
10493 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10496 2013-06-03 Juri Linkov <juri@jurta.org>
10498 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10499 `M-s h .'. (Bug#14427)
10501 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10502 command `hi-lock-face-symbol-at-point'.
10503 (hi-lock-face-symbol-at-point): New command.
10504 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10505 (hi-lock-menu): Add `highlight-symbol-at-point'.
10506 (hi-lock-mode): Doc fix.
10508 * isearch.el (isearch-forward-symbol-at-point): New command.
10509 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10510 (isearch-highlight-regexp): Add a regexp which matches
10511 words/symbols for word/symbol mode.
10513 * subr.el (find-tag-default-bounds): New function with the body
10514 mostly moved from `find-tag-default'.
10515 (find-tag-default): Move most code to `find-tag-default-bounds',
10516 call it and apply `buffer-substring-no-properties' afterwards.
10518 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10520 * eshell/em-term.el (eshell-term-initialize):
10521 Use `cl-intersection' rather than `intersection'.
10523 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10525 * vc/log-view.el: Doc fix.
10526 (log-view-mode-map): Copy keymap from `special-mode-map'.
10528 2013-06-02 Eric Ludlam <zappo@gnu.org>
10530 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10531 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10532 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10533 (eieio-unbound, eieio-default-superclass)
10534 (eieio--define-field-accessors, method-static, method-before)
10535 (method-primary, method-after, method-num-lists)
10536 (method-generic-before, method-generic-primary)
10537 (method-generic-after, method-num-slots)
10538 (eieio-specialized-key-to-generic-key)
10539 (eieio--check-type, class-v, class-p)
10540 (eieio-class-name, define-obsolete-function-alias)
10541 (eieio-class-parents-fast, eieio-class-children-fast)
10542 (same-class-fast-p, class-constructor, generic-p)
10543 (generic-primary-only-p, generic-primary-only-one-p)
10544 (class-option-assoc, class-option, eieio-object-p)
10545 (class-abstract-p, class-method-invocation-order)
10546 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10547 (eieio-class-un-autoload, eieio-defclass)
10548 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10549 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10550 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10551 (eieio-defgeneric-reset-generic-form)
10552 (eieio-defgeneric-form-primary-only)
10553 (eieio-defgeneric-reset-generic-form-primary-only)
10554 (eieio-defgeneric-form-primary-only-one)
10555 (eieio-defgeneric-reset-generic-form-primary-only-one)
10556 (eieio-unbind-method-implementations)
10557 (eieio--defmethod, eieio--typep)
10558 (eieio-perform-slot-validation, eieio-validate-slot-value)
10559 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10560 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10561 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10562 (eieio-slot-name-index, eieio-class-slot-name-index)
10563 (eieio-set-defaults, eieio-initarg-to-attribute)
10564 (eieio-attribute-to-initarg, eieio-c3-candidate)
10565 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10566 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10567 (eieio-class-precedence-list, eieio-generic-call-methodname)
10568 (eieio-generic-call-arglst, eieio-generic-call-key)
10569 (eieio-generic-call-next-method-list)
10570 (eieio-pre-method-execution-functions, eieio-generic-call)
10571 (eieio-generic-call-primary-only, eieiomt-method-list)
10572 (eieiomt-optimizing-obarray, eieiomt-install)
10573 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10574 (eieio-generic-form, eieio-defmethod, make-obsolete)
10575 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10576 (defclass): Remove `eval-and-compile' from macro.
10577 (call-next-method, shared-initialize): Instead of using
10578 `scoped-class' variable, use new eieio--scoped-class, and
10579 eieio--with-scoped-class.
10580 (initialize-instance): Rename local variable 'scoped-class' to
10581 'this-class' to remove ambiguitity from old global.
10583 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10585 (eieio--scoped-class-stack): New variable.
10586 (eieio--scoped-class): New fcn.
10587 (eieio--with-scoped-class): New scoping macro.
10588 (eieio-defclass): Use pushnew instead of add-to-list.
10589 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10590 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10591 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10592 `scoped-class' variable, use new eieio--scoped-class, and
10593 eieio--with-scoped-class.
10595 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10597 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10599 * eshell/esh-ext.el (eshell-external-command): Pass args to
10600 `eshell-find-interpreter'.
10601 (eshell-find-interpreter): Add new second parameter ARGS.
10603 * eshell/em-script.el (eshell-script-initialize): Add second arg
10604 to the function added as MATCH to `eshell-interpreter-alist'.
10606 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10607 the function added as MATCH to `eshell-interpreter-alist'.
10609 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10610 (eshell-visual-options): New defcustom.
10611 (eshell-escape-control-x): Adapt docstring.
10612 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10613 `eshell-visual-options' in addition to `eshell-visual-commands'.
10614 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10616 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10618 * progmodes/python.el (python-indent-block-enders): Add break,
10619 continue and raise keywords.
10621 2013-06-01 Glenn Morris <rgm@gnu.org>
10623 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10625 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10626 * progmodes/cc-cmds.el (delete-forward-p):
10627 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10628 * progmodes/cc-engine.el (buffer-syntactic-context):
10629 * progmodes/cc-fonts.el (face-property-instance):
10630 * progmodes/cc-mode.el (set-keymap-parents):
10631 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10632 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10633 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10634 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10635 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10637 * progmodes/cc-vars.el (other): Emacs has this widget since
10638 at least 21.1, so don't (re)define it.
10640 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10641 Replace the obsolete alias pcomplete-arg-quote-list.
10643 2013-06-01 Leo Liu <sdl.web@gmail.com>
10645 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10646 punctuation syntax.
10647 (inferior-octave-minimal-columns)
10648 (inferior-octave-last-column-width): New variables.
10649 (inferior-octave-track-window-width-change): New function.
10650 (inferior-octave-mode): Adjust column width so that Octave output,
10651 for example from 'ls', can fit into the window nicely.
10653 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10655 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10656 Highlight expansions inside regexp literals.
10658 2013-05-31 Glenn Morris <rgm@gnu.org>
10660 * obsolete/sym-comp.el (symbol-complete):
10661 Replace obsolete completion-annotate-function.
10663 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10665 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10667 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10668 New function, checks if point is inside a literal that allows
10669 expression expansion.
10670 (ruby-syntax-propertize-expansion): Use it.
10671 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10674 2013-05-30 Juri Linkov <juri@jurta.org>
10676 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10678 (isearch-invisible): New variable.
10679 (isearch-forward): Doc fix.
10680 (isearch-mode): Set `isearch-invisible'
10681 to the value of `search-invisible'.
10682 (isearch-toggle-case-fold): Doc fix.
10683 (isearch-toggle-invisible): New command.
10684 (isearch-query-replace): Let-bind `search-invisible'
10685 to the value of `isearch-invisible'.
10686 (isearch-search): Use `isearch-invisible' instead of
10687 `search-invisible'. Let-bind `search-invisible'
10688 to the value of `isearch-invisible'. (Bug#11378)
10690 2013-05-30 Juri Linkov <juri@jurta.org>
10692 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10693 call when `query-flag' is nil and `search-invisible' is non-nil.
10696 2013-05-30 Glenn Morris <rgm@gnu.org>
10698 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10700 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10701 (cc-require): Suppress spurious "noruntime" warnings.
10702 (cc-require-when-compile): Use fboundp, for sake of compiler.
10704 * progmodes/cc-mode.el: Move load of cc-vars before that of
10705 cc-langs (which in turn loads cc-vars), to quieten compiler.
10707 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10709 * paren.el: Simplify the code.
10710 (show-paren-mode): Always start the timer.
10711 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10712 (show-paren--overlay, show-paren--overlay-1): Rename from
10713 show-paren-overlay and show-paren-overlay-1, and initialize to an
10714 overlay rather than to nil.
10715 (show-paren-function): Misc cleanup and simplifications.
10717 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10719 * paren.el (show-paren-data-function): New hook.
10720 (show-paren--default): New function, extracted from show-paren-function.
10721 (show-paren-function): Use show-paren-data-function.
10723 2013-05-30 Glenn Morris <rgm@gnu.org>
10725 * ielm.el (ielm-map, ielm-complete-symbol):
10726 Use completion-at-point rather than obsolete functions.
10727 (inferior-emacs-lisp-mode): Doc fix.
10728 Set completion-at-point-functions, rather than
10729 comint-dynamic-complete-functions.
10731 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10732 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10733 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10735 * image.el (image-animated-p): Tweak definition.
10737 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10738 (rlogin-process-connection-type): Tweak default. Add set-after.
10739 (rlogin-host): Doc fix.
10740 (rlogin): Tweak prompt.
10741 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10743 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10744 * progmodes/tcl.el (inferior-tcl-mode-map):
10745 Use completion-at-point rather than obsolete alias.
10747 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10749 * minibuffer.el (read-file-name-completion-ignore-case):
10750 Move before completion--in-region, for eager macro expansion.
10752 2013-05-29 Juri Linkov <juri@jurta.org>
10754 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10755 for total count of matching lines. Add `global-matches' for total
10756 count of matches. Rename `matches' to `lines' for count of
10757 matching lines. Add `matches' for count of matches.
10758 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10759 to `prev-line' for line number of prev match endpt.
10760 Increment `matches' for every match. Print the number of
10761 matching lines in the header.
10762 (occur-context-lines): Rename `lines' to `curr-line'.
10763 Rename `prev-lines' to `prev-line'. (Bug#14017)
10765 2013-05-29 Juri Linkov <juri@jurta.org>
10767 * replace.el (perform-replace): Add `skip-read-only-count',
10768 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10769 Increment them for corresponding conditions and report the number
10770 of skipped occurrences in the final message. (Bug#11746)
10771 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10772 (replace-string, replace-regexp): Doc fix.
10774 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10776 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10778 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10779 prog-mode-map (bug#14504).
10781 2013-05-29 Leo Liu <sdl.web@gmail.com>
10783 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10784 (octave-help): Small simplification.
10786 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10787 off the highlight first.
10789 2013-05-29 Glenn Morris <rgm@gnu.org>
10791 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10792 Handle idlwave-last-system-routine-info-cons-cell being nil.
10794 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10795 (idlwave-write-paths): Simplify via with-temp-buffer.
10797 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10798 * emulation/cua-rect.el: Also load cua-base at run time.
10800 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10801 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10802 (cperl-imenu-on-info): Require imenu.
10804 2013-05-28 Alan Mackenzie <acm@muc.de>
10806 Handle "capitalised keywords" correctly.
10807 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10809 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10811 * eshell/em-unix.el: Add -r option to cp.
10813 2013-05-28 Glenn Morris <rgm@gnu.org>
10815 * vc/vc-arch.el (vc-exec-after): Declare.
10816 (vc-switches): Autoload.
10817 * vc/vc-bzr.el: No need to require vc when compiling.
10818 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10819 (vc-resynch-buffer, vc-dir-refresh): Declare.
10820 (vc-setup-buffer, vc-switches): Autoload.
10821 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10822 (vc-resynch-buffer): Declare.
10823 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10824 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10825 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10826 (grep-read-regexp, grep-read-files, grep-expand-template)
10827 (vc-dir-refresh): Declare.
10828 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10829 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10830 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10831 * vc/vc-mtn.el (vc-exec-after): Declare.
10832 (vc-switches): Autoload.
10833 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10834 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10835 (vc-file-tree-walk): Declare.
10836 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10837 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10838 (vc-tag-precondition, vc-rename-master): Autoload.
10839 * vc/vc-svn.el (vc-exec-after): Declare.
10840 (vc-switches, vc-setup-buffer): Autoload.
10841 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10843 (vc-resynch-buffer): Declare.
10845 * obsolete/fast-lock.el (byte-compile-warnings):
10846 Don't warn about obsolete features in this obsolete file.
10848 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10849 Move definition before use.
10851 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10852 (dun-unix-verbs): Remove dun-zippy.
10853 (dun-zippy): Remove function.
10855 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10857 2013-05-27 Juri Linkov <juri@jurta.org>
10859 * replace.el (replace-search): New function with code moved out
10860 from `perform-replace'.
10861 (replace-highlight, replace-dehighlight): Move function definitions
10862 up closer to `replace-search'. (Bug#11746)
10864 2013-05-27 Juri Linkov <juri@jurta.org>
10866 * replace.el (perform-replace): Ignore invisible matches.
10867 In addition to checking `query-replace-skip-read-only', also
10868 filter out matches by calling `run-hook-with-args-until-failure'
10869 on `isearch-filter-predicates', and also check `search-invisible'
10870 for t or call `isearch-range-invisible'.
10871 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10873 2013-05-27 Juri Linkov <juri@jurta.org>
10875 * isearch.el (isearch-filter-predicates): Rename from
10876 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10877 (isearch-message-prefix): Display text from the property
10878 `isearch-message-prefix' of the currently active filters.
10879 (isearch-search): Don't compare `isearch-filter-predicate' with
10880 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10881 on `isearch-filter-predicates'. Also check `search-invisible' for t
10882 or call `isearch-range-invisible'.
10883 (isearch-filter-visible): Make obsolete.
10884 (isearch-lazy-highlight-search):
10885 Call `run-hook-with-args-until-failure' on
10886 `isearch-filter-predicates' and use `isearch-range-invisible'.
10888 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10889 `isearch-filter-predicates' instead of `funcall'ing
10890 `isearch-filter-predicate'.
10891 (Info-mode): Set `Info-isearch-filter' to
10892 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10894 * dired-aux.el (dired-isearch-filter-predicate-orig):
10896 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10897 (dired-isearch-filenames-end): Add and remove
10898 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10899 instead of changing the value of `isearch-filter-predicate'.
10900 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10901 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10902 Put property `isearch-message-prefix' to "filename " on
10903 `dired-isearch-filter-filenames'.
10905 * wdired.el (wdired-change-to-wdired-mode):
10906 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10907 locally instead of changing `isearch-filter-predicate'.
10908 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10910 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10912 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10913 return the commit hash (Bug#14459). Also set the
10914 `vc-git-detached' property.
10915 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10916 (vc-git-mode-line-string): Use the same help-echo format whether
10917 in detached mode or not, because we know the actual revision now.
10918 When in detached mode, shorten the revision to 7 chars.
10920 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10922 * emacs-lisp/easy-mmode.el (define-minor-mode):
10923 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10924 mode hook and provide a docstring.
10926 2013-05-27 Alan Mackenzie <acm@muc.de>
10928 Remove spurious syntax-table text properties inserted by C-y.
10929 * progmodes/cc-mode.el (c-after-change): Also clear hard
10930 syntax-table property with value nil.
10932 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10934 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10935 when reading the events; the buffer layout shall not be changed.
10937 2013-05-27 Leo Liu <sdl.web@gmail.com>
10939 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10941 (inferior-octave-directory-tracker): Automatically re-sync
10943 (octave-help): Improve handling of 'See also'.
10945 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10947 * doc-view.el: Minor naming convention tweaks.
10948 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10950 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10951 even if there's no `display' property yet (bug#14435).
10953 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10955 * subr.el (unmsys--file-name): Rename from reveal-filename.
10957 * Makefile.in (custom-deps, finder-data, autoloads)
10958 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10959 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10960 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10962 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10964 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10965 error-completion on the first 2 args of condition-case (bug#14446).
10968 2013-05-25 Leo Liu <sdl.web@gmail.com>
10970 * comint.el (comint-previous-matching-input): Do not flood the
10971 *Messages* buffer with trivial messages.
10973 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10975 * progmodes/flymake.el (flymake-nop): Don't return a string.
10976 (flymake-set-at): Fix typo.
10978 * simple.el (read--expression): New function, extracted from
10979 eval-expression. Set completion-at-point-functions (bug#14465).
10980 (eval-expression, eval-minibuffer): Use it.
10982 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10984 * progmodes/flymake.el (flymake-save-buffer-in-file)
10985 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10986 (flymake-selected-frame, flymake-log, flymake-ins-after)
10987 (flymake-set-at, flymake-get-buildfile-from-cache)
10988 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10989 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10990 Refine the doc string.
10991 (flymake-get-file-name-mode-and-masks): Reformat.
10992 (flymake-get-real-file-name-function): Fix a minor bug.
10994 2013-05-24 Juri Linkov <juri@jurta.org>
10996 * progmodes/grep.el (grep-mode-font-lock-keywords):
10997 Support =linenumber= format used by git-grep for lines with
10998 function names. (Bug#13549)
11000 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11002 * progmodes/octave.el (octave-smie-rules): Return nil rather than
11003 0 after a semi-colon; it works better for smie-auto-fill.
11004 (octave--indent-new-comment-line): New function.
11005 (octave-indent-new-comment-line): Use it (indirectly).
11006 (octave-mode): Don't disable smie-auto-fill. Use add-function to
11007 modify comment-line-break-function.
11009 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
11010 (smie-setup): Use add-function to set it.
11012 2013-05-24 Sam Steingold <sds@gnu.org>
11014 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
11015 argument (before the `interactive' argument).
11017 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
11019 * image-mode.el (image-mode-winprops): Add winprops to
11020 image-mode-winprops-alist before running
11021 image-mode-new-window-functions.
11022 * doc-view.el (doc-view-new-window-function): Don't delay
11023 doc-view-goto-page via timers (bug#14435).
11025 2013-05-24 Tassilo Horn <tsdh@gnu.org>
11027 * doc-view.el: Integrate with desktop.el. (Bug#14435)
11028 (doc-view-desktop-save-buffer): New function.
11029 (doc-view-restore-desktop-buffer): New function.
11030 (desktop-buffer-mode-handlers):
11031 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
11033 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
11034 `desktop-save-buffer' function.
11036 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
11038 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
11039 (tramp-gvfs-file-name-handler): Raise a user error when
11040 `tramp-gvfs-enabled' is nil.
11041 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
11042 Do not raise a user error when loading package. (Bug#14447)
11044 * net/xesam.el: Move to obsolete/.
11046 2013-05-24 Glenn Morris <rgm@gnu.org>
11048 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
11050 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
11052 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
11053 (Info-find-node, Man-getpage-in-background): Declare.
11055 * mail/unrmail.el (unrmail):
11056 Replace obsolete detect-coding-with-priority.
11058 * net/socks.el (socks-split-string): Use this rather than split-string.
11059 (socks-nslookup-host): Update for above change.
11060 (dynamic-choice, s5-dynamic-choice-match)
11061 (s5-dynamic-choice-match-inline, s5-widget-value-create):
11062 Comment out unused code.
11064 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
11065 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
11066 (gud-tooltip-echo-area): Make obsolete.
11067 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
11069 * progmodes/js.el (js--optimize-arglist): Declare.
11071 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
11073 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
11074 (ediff-window-C): Declare.
11076 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
11077 Tweak requires to silence compiler.
11079 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
11080 (he-search-string, he-tried-table, he-expand-list)
11081 (he-init-string, he-string-member, he-substitute-string)
11082 (he-reset-string): Declare.
11084 * obsolete/options.el (list-options): Use custom-variable-p,
11085 rather than obsolete alias.
11087 2013-05-23 Sam Steingold <sds@gnu.org>
11089 * simple.el (shell-command-on-region): Pass the `replace' argument
11090 down to `call-process-region' to comply with the doc as reported on
11091 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
11093 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
11095 * emacs-lisp/smie.el (smie-indent-forward-token)
11096 (smie-indent-backward-token): Handle string tokens (bug#14381).
11098 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11100 * ielm.el (ielm-menu): New menu.
11101 (inferior-emacs-lisp-mode): Set comment-start.
11103 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11105 * textmodes/reftex.el (reftex-ref-style-toggle):
11106 Fix deactivate action.
11108 * textmodes/reftex-vars.el (reftex-ref-style-alist):
11109 Add cleveref macros.
11111 * textmodes/reftex-parse.el
11112 (reftex-locate-bibliography-files): Accept options for
11113 bibliography commands.
11114 * textmodes/reftex-vars.el (reftex-bibliography-commands):
11115 Add addbibresource. Basic Biblatex support.
11117 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
11119 * net/tramp-gvfs.el (top):
11120 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
11121 when loading package. (Bug#14447)
11123 2013-05-23 Glenn Morris <rgm@gnu.org>
11125 * progmodes/js.el: No need to load comint when compiling.
11126 (ring-insert, comint-send-string, comint-send-input)
11127 (comint-last-input-end, ido-chop): Declare.
11129 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
11130 * vc/ediff-mult.el: Adjust requires.
11131 (ediff-directories-internal, ediff-directory-revisions-internal)
11132 (ediff-patch-file-internal): Declare.
11133 * vc/ediff-ptch.el: Adjust requires.
11134 (ediff-use-last-dir, ediff-buffers-internal): Declare.
11135 (ediff-find-file): Autoload.
11136 * vc/ediff-util.el: No need to load ediff when compiling.
11137 (ediff-regions-internal): Declare.
11138 * vc/ediff-wind.el: Adjust requires.
11139 (ediff-compute-toolbar-width): Define when compiling.
11140 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
11141 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
11142 (dired-get-filename, dired-get-marked-files)
11143 (ediff-last-dir-patch, ediff-patch-default-directory)
11144 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
11145 (ediff-patch-buffer-internal): Declare.
11147 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
11148 (ispell-process, ispell-buffer-local-words, lm-summary)
11149 (lm-section-start, lm-section-end): Declare.
11150 (checkdoc-ispell-init): Simplify.
11152 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
11153 (he-string-member, he-reset-string, he-substitute-string): Declare.
11155 * eshell/em-ls.el: Adjust requires.
11156 (eshell-glob-regexp): Declare.
11157 * eshell/em-tramp.el: Adjust requires.
11158 (eshell-parse-command): Autoload.
11159 * eshell/em-xtra.el: Adjust requires.
11160 (eshell-parse-command): Autoload.
11161 * eshell/esh-ext.el: Adjust requires.
11162 (eshell-parse-command, eshell-close-handles): Autoload.
11163 * eshell/esh-io.el: Adjust requires.
11164 (eshell-output-filter): Autoload.
11165 * eshell/esh-util.el: No need to load tramp when compiling.
11166 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
11168 (eshell-parse-ange-ls): Require ange-ftp and tramp.
11169 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
11170 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
11171 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
11172 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
11173 * eshell/esh-opt.el, eshell/esh-proc.el:
11174 * eshell/esh-var.el: Adjust requires.
11175 * eshell/eshell.el: Do not require esh-util twice.
11176 (eshell-add-input-to-history): Declare.
11177 (eshell-command): Check history module is active before using it.
11179 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
11181 2013-05-22 Leo Liu <sdl.web@gmail.com>
11183 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
11185 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
11187 * autorevert.el (auto-revert-notify-add-watch)
11188 (auto-revert-notify-handler): Add `attrib' for the inotify case,
11189 it indicates changes in file modification time.
11191 2013-05-22 Glenn Morris <rgm@gnu.org>
11193 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
11194 Always delete the autoloaded function from the noruntime and
11195 unresolved functions lists.
11197 * allout.el: No need to load epa, epg, overlay when compiling.
11198 (epg-context-set-passphrase-callback, epg-list-keys)
11199 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
11200 (epg-key-user-id-list): Declare.
11202 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
11203 (viper-set-parsing-style-toggling-macro)
11204 (viper-set-emacs-state-searchstyle-macros):
11205 Use called-interactively-p on Emacs.
11206 (viper-looking-back): Make it an obsolete alias. Update callers.
11207 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
11208 Use looking-back rather than viper-looking-back.
11209 (viper-tmp-insert-at-eob, viper-enlarge-region)
11210 (viper-read-string-with-history, viper-register-to-point)
11211 (viper-append-to-register, viper-change-state-to-vi)
11212 (viper-backward-char-carefully, viper-forward-char-carefully)
11213 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
11214 (viper-change-state-to-emacs): Declare.
11215 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
11216 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
11217 * emulation/viper-mous.el: Do not load viper-cmd.
11218 (viper-backward-char-carefully, viper-forward-char-carefully)
11219 (viper-forward-word, viper-adjust-window): Declare.
11221 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
11223 * progmodes/idlw-help.el (idlwave-help-fontify):
11224 Use called-interactively-p.
11226 * term/w32console.el (w32-get-console-codepage)
11227 (w32-get-console-output-codepage): Declare.
11229 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
11230 Remove unnecessary declarations.
11231 (dframe-message): Doc fix.
11233 * info.el (dframe-select-attached-frame, dframe-current-frame):
11236 * speedbar.el (speedbar-message): Make it an obsolete alias.
11237 Update all callers.
11238 (speedbar-with-attached-buffer)
11239 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
11240 (speedbar-with-writable): Use backquote.
11241 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
11242 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
11243 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
11244 rather than speedbar- aliases.
11245 * mail/rmail.el: Load dframe rather than speedbar when compiling.
11246 (speedbar-make-specialized-keymap, speedbar-insert-button)
11247 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
11248 (speedbar-do-function-pointer): Declare.
11249 (rmail-speedbar-button, rmail-speedbar-find-file)
11250 (rmail-speedbar-move-message):
11251 Use dframe-with-attached-buffer rather than speedbar- alias.
11252 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
11253 (dframe-message, speedbar-make-specialized-keymap)
11254 (speedbar-add-expansion-list, speedbar-mode-functions-list)
11255 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
11256 (speedbar-insert-button, dframe-select-attached-frame)
11257 (dframe-maybee-jump-to-attached-frame)
11258 (speedbar-change-initial-expansion-list)
11259 (speedbar-previously-used-expansion-list-name): Declare.
11260 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
11261 Use dframe-message, dframe-with-attached-buffer rather than
11263 (gud-sentinel): Silence compiler.
11264 * progmodes/vhdl-mode.el (speedbar-refresh)
11265 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11266 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11267 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11268 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11269 (speedbar-file-lists, speedbar-make-tag-line)
11270 (speedbar-line-directory, speedbar-goto-this-file)
11271 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11272 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11273 (speedbar-make-button, speedbar-reset-scanners)
11274 (speedbar-files-item-info, speedbar-line-text)
11275 (speedbar-find-file-in-frame, speedbar-set-timer)
11276 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11277 (speedbar-with-writable): Do not (re)define it.
11278 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11279 rather than speedbar- alias.
11281 2013-05-21 Leo Liu <sdl.web@gmail.com>
11283 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11285 (octave-mode): Tweak fill-nobreak-predicate.
11286 (inferior-octave-startup): Check process to avoid infinite loop.
11287 (inferior-octave): Pop to buffer first to show abornmal process
11290 2013-05-21 Glenn Morris <rgm@gnu.org>
11292 * printing.el (pr-menu-bar): Define when compiling.
11294 2013-05-21 Leo Liu <sdl.web@gmail.com>
11296 * progmodes/octave.el (octave-auto-fill): Remove.
11297 (octave-indent-new-comment-line): Improve.
11298 (octave-mode): Use auto fill mode through
11299 comment-line-break-function and fill-nobreak-predicate.
11300 (octave-goto-function-definition): Support DEFUN_DLD.
11301 (octave-beginning-of-defun): Small tweak.
11302 (octave-help): Show parent directory.
11304 2013-05-21 Glenn Morris <rgm@gnu.org>
11306 * files.el (dired-unmark):
11307 * progmodes/gud.el (gdb-input): Update declarations.
11309 * calculator.el (electric, ehelp): No need to load when compiling.
11310 (Electric-command-loop, electric-describe-mode): Declare.
11312 * doc-view.el (doc-view-current-converter-processes): Move before use.
11314 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11315 Move MODE-set-explicitly definition before use.
11317 * international/mule-diag.el (mule-diag):
11318 Don't use obsolete window-system-version.
11320 * mail/feedmail.el (smtpmail): No need to load when compiling.
11321 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11323 * mail/mail-utils.el (rfc822): No need to load when compiling.
11324 (rfc822-addresses): Autoload it.
11325 (mail-strip-quoted-names): Trivial simplification.
11327 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11328 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11330 * net/snmp-mode.el (tempo): Don't duplicate requires.
11332 * progmodes/prolog.el (info): No need to load when compiling.
11333 (comint): Require before shell requires it.
11334 (Info-goto-node): Autoload it.
11335 (Info-follow-nearest-node): Declare.
11336 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11338 * textmodes/artist.el (picture-mode-exit): Declare.
11340 * textmodes/reftex-parse.el (reftex-parse-from-file):
11341 Trivial rewrite so the compiler can parse it better.
11343 2013-05-20 Leo Liu <sdl.web@gmail.com>
11345 * progmodes/octave.el (octave-help-mode-map)
11346 (octave-help-mode-finish-hook): New variables.
11347 (octave-help-mode, octave-help-mode-finish): New functions.
11348 (octave-help): Use octave-help-mode.
11350 2013-05-20 Glenn Morris <rgm@gnu.org>
11352 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11354 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11356 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11357 start at point, so that expansion starting right after opening
11358 slash in a regexp is recognized.
11359 (ruby-syntax-before-regexp-re): New defvar, extracted from
11360 ruby-syntax-propertize-function. Since the value of this regexp
11361 is looked up at runtime now, we should be able to turn
11362 `ruby-syntax-methods-before-regexp' into a defcustom later.
11363 (ruby-syntax-propertize-function): Split regexp matching into two
11364 parts, for opening and closing slashes. That allows us to skip
11365 over string interpolations and support multiline regexps.
11366 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11367 for them, which calls `ruby-syntax-propertize-expansion'.
11368 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11369 call to `ruby-syntax-propertize-function'.
11370 (ruby-syntax-propertize-expansion): Extracted from
11371 `ruby-syntax-propertize-expansions'. Handles one expansion.
11372 (ruby-syntax-propertize-percent-literal): Leave point right after
11373 the percent symbol, so that the expression expansion rule can
11374 propertize the contents.
11375 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11377 (ruby-syntax-propertize-expansions): Remove.
11379 2013-05-18 Juri Linkov <juri@jurta.org>
11381 * man.el (Man-default-man-entry): Remove `-' from the end
11382 of the default value. (Bug#14400)
11384 2013-05-18 Glenn Morris <rgm@gnu.org>
11386 * comint.el (comint-password-prompt-regexp):
11387 Allow "password for XXX" where XXX contains colons (eg https://...).
11389 2013-05-18 Leo Liu <sdl.web@gmail.com>
11391 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11392 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11393 (octave-source-directories): Don't check process.
11394 (octave-source-directories, octave-find-definition): Doc fix.
11396 2013-05-18 Glenn Morris <rgm@gnu.org>
11398 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11399 Remove backspace/delete bindings. (Bug#14392)
11401 * cus-dep.el (custom-make-dependencies): Sort the output.
11402 (custom-versions-load-alist): Convert comment to doc.
11404 2013-05-17 Leo Liu <sdl.web@gmail.com>
11406 * newcomment.el (comment-search-backward): Stricter in finding
11407 comment start. (Bug#14303)
11409 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11410 (octave-comment-start-skip): Properly anchored.
11412 2013-05-17 Leo Liu <sdl.web@gmail.com>
11414 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11415 Clean up when turned off. (Bug#14395)
11416 (smie--highlight-matching-block-overlay): No longer buffer-local.
11417 (smie-highlight-matching-block): Adjust.
11419 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11421 Doc string fix for "nanoseconds" (Bug#14406).
11422 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11423 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11425 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11427 * calc/calc-units.el (math-extract-units): Preserve powers
11430 2013-05-17 Leo Liu <sdl.web@gmail.com>
11432 * subr.el (delete-consecutive-dups): New function.
11433 * ido.el (ido-set-matches-1): Use it.
11434 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11435 * ido.el (ido-remove-consecutive-dups): Remove.
11437 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11439 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11440 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11441 regexp-opt's `words'.
11443 2013-05-16 Leo Liu <sdl.web@gmail.com>
11445 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11446 (smie--highlight-matching-block-overlay)
11447 (smie--highlight-matching-block-lastpos)
11448 (smie--highlight-matching-block-timer): New variables.
11449 (smie-highlight-matching-block): New function.
11450 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11451 (smie-setup): Conditionally enable smie-blink-matching-open.
11453 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11455 Sync with upstream verilog-mode r840.
11456 * progmodes/verilog-mode.el (verilog-mode-version)
11457 (verilog-mode-release-date): Update.
11458 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11459 (verilog-sig-tieoff): Fix string error on
11460 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11461 (verilog-read-decls): Fix parameters confusing
11462 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11464 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11466 * subr.el (reveal-filename): New function.
11468 * loadup.el: Compute Emacs executable versions on MS-Windows,
11469 where executables have the .exe extension. Add a hard link
11470 emacs-XX.YY.ZZ.exe on MS-Windows.
11472 * Makefile.in (XARGS_LIMIT): New variable.
11473 (custom-deps, finder-data, autoloads)
11474 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11475 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11476 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11477 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11479 2013-05-16 Leo Liu <sdl.web@gmail.com>
11481 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11482 (octave-mode-menu, octave-mode-map): Remove its uses.
11484 2013-05-16 Reto Zimmermann <reto@gnu.org>
11486 Sync with upstream vhdl mode v3.34.2.
11487 * progmodes/vhdl-mode.el: Use `push' throughout.
11488 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11489 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11490 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11491 (vhdl-actual-generic-name): New option to derive actual generic name.
11492 (vhdl-port-paste-signals): Replace formal by actual generics.
11493 (vhdl-beautify): New name for old group vhdl-align. Update users.
11494 (vhdl-beautify-options): New option.
11495 (vhdl-last-input-event): New compat alias. Use throughout.
11496 (vhdl-goto-line): Replace user level function `goto-line'.
11497 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11498 vhdl-fix-statement-buffer.
11499 (vhdl-create-mode-menu): Add some entries.
11500 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11501 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11502 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11503 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11504 to force statements on one line.
11505 (vhdl-remove-trailing-spaces-region):
11506 New, split from vhdl-remove-trailing-spaces.
11507 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11508 Respect vhdl-beautify-options.
11509 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11510 (vhdl-update-sensitivity-list): Not add with index if exists without.
11511 Not include array index with signal. Ignore keywords in comments.
11512 (vhdl-get-visible-signals): Regexp tweaks.
11513 (vhdl-template-component-inst): Handle empty library.
11514 (vhdl-template-type): Add template for 'enum' type.
11515 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11516 Use vhdl-replace-string.
11517 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11518 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11519 (vhdl-speedbar-initialize): Update for above name change.
11520 (vhdl-compose-wire-components): Fix in handling of constants.
11521 (vhdl-error-regexp-emacs-alist): New variable.
11522 (vhdl-error-regexp-add-emacs): New function;
11523 adds support for new compile.el (Emacs 22+)
11524 (vhdl-generate-makefile-1): Change target order for single lib. units.
11525 Allow use of absolute file names.
11527 2013-05-16 Leo Liu <sdl.web@gmail.com>
11529 * simple.el (prog-indent-sexp): Indent enclosing defun.
11531 2013-05-15 Glenn Morris <rgm@gnu.org>
11533 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11534 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11535 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11536 (whitespace-highlight): Move to whitespace group.
11538 * comint.el (comint-source):
11539 * pcmpl-linux.el (pcmpl-linux):
11540 * shell.el (shell-faces):
11541 * eshell/esh-opt.el (eshell-opt):
11542 * international/ccl.el (ccl): Remove empty custom groups.
11544 * completion.el (dynamic-completion-mode):
11545 * jit-lock.el (jit-lock-debug-mode):
11546 * minibuffer.el (completion-in-region-mode):
11547 * type-break.el (type-break-mode-line-message-mode)
11548 (type-break-query-mode):
11549 * emulation/tpu-edt.el (tpu-edt-mode):
11550 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11551 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11552 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11554 * term/xterm.el (xterm): Change parent group to terminals.
11556 * master.el (master): Remove empty custom group.
11557 (master-mode): Remove unused :group argument.
11558 * textmodes/refill.el (refill): Remove empty custom group.
11559 (refill-mode): Remove unused :group argument.
11561 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11563 * cus-dep.el: Provide a feature.
11564 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11565 Don't mistakenly ignore files whose basenames match a basename
11566 from preloaded-file-list (eg cedet/ede/simple.el).
11567 Add a fallback method for getting :group.
11569 2013-05-15 Juri Linkov <juri@jurta.org>
11571 * isearch.el (isearch-char-by-name): Rename from
11572 `isearch-insert-char-by-name'. Doc fix.
11573 (isearch-forward): Mention `isearch-char-by-name' in
11574 the docstring. (Bug#13348)
11576 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11577 `exit-minibuffer' instead of
11578 `isearch-nonincremental-exit-minibuffer'.
11579 (isearch-edit-string): Remove mention of
11580 `isearch-nonincremental-exit-minibuffer' from docstring.
11581 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11582 (isearch-forward-exit-minibuffer)
11583 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11585 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11587 * loadup.el: Just use unversioned DOC.
11589 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11590 literals as extending to EOB.
11591 (nxml-last-fontify-end): Remove unused variable.
11592 (nxml-after-change1): Use with-silent-modifications.
11593 (nxml-extend-after-change-region): Simplify.
11594 (nxml-extend-after-change-region1): Remove function.
11595 (nxml-after-change1): Don't adjust for dependent regions.
11596 (nxml-fontify-matcher): Simplify.
11597 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11598 (xmltok-add-dependent): Remove function.
11599 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11600 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11601 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11602 unclosed <[[, <?, comment, and other literals as extending to EOB.
11603 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11604 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11606 (rng-do-some-validation-1): Don't mark dependent regions.
11607 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11608 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11609 (nxml-clear-dependent-regions): Remove functions.
11610 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11611 (nxml-ensure-scan-up-to-date):
11612 Don't clear&mark dependent regions.
11614 2013-05-15 Leo Liu <sdl.web@gmail.com>
11616 * progmodes/octave.el (octave-goto-function-definition):
11617 Improve and fix callers.
11619 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11621 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11622 the setter (bug#14387).
11624 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11625 surrounding group (bug#14402).
11627 2013-05-14 Juri Linkov <juri@jurta.org>
11629 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11632 2013-05-14 Glenn Morris <rgm@gnu.org>
11634 * progmodes/f90.el (f90-imenu-generic-expression):
11635 Fix typo in 2013-05-08 change. (Bug#14402)
11637 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11639 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11640 Remove signals for which replies are never received.
11642 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11644 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11645 (gdb-handler-alist, gdb-handler-number): Remove variables.
11646 (gdb-handler-list): New variable.
11647 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11648 (gdb-pending-handler-p, gdb-handle-reply)
11649 (gdb-remove-all-pending-triggers): New functions.
11650 (gdb-discard-unordered-replies): New defcustom.
11651 (gdb-handler): New defstruct.
11652 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11653 instead of gdb-pending-triggers. Update docstring.
11654 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11655 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11656 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11657 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11658 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11659 (gdb-frame-handler): Pending triggers are now automatically managed.
11660 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11662 (gdb-input): Automatically handles pending triggers. Update docstring.
11663 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11664 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11666 (gdb-done-or-error): Now use gdb-handle-reply.
11668 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11670 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11673 2013-05-14 Glenn Morris <rgm@gnu.org>
11675 * subr.el (user-emacs-directory-warning): New option.
11676 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11678 2013-05-14 Leo Liu <sdl.web@gmail.com>
11680 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11682 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11683 (octave-font-lock-texinfo-comment): Fix invalid search bound
11684 error: wrong side of point.
11686 2013-05-14 Glenn Morris <rgm@gnu.org>
11688 * progmodes/flymake.el (flymake-xml-program): New option.
11689 (flymake-xml-init): Use it.
11691 * term/xterm.el: Provide a feature.
11693 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11695 2013-05-13 Glenn Morris <rgm@gnu.org>
11697 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11698 Add compat aliases as a hack workaround. (Bug#14384)
11700 2013-05-13 Leo Liu <sdl.web@gmail.com>
11702 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11704 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11706 (octave-comment-start-skip): Include %!.
11707 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11709 2013-05-12 Leo Liu <sdl.web@gmail.com>
11711 * progmodes/octave.el (inferior-octave-startup): Store the value
11712 of __octave_srcdir__ for octave-source-directories.
11713 (inferior-octave-check-process): New function refactored out of
11714 inferior-octave-send-list-and-digest.
11715 (octave-source-directories)
11716 (octave-find-definition-filename-function): New variables.
11717 (octave-source-directories)
11718 (octave-find-definition-default-filename): New functions.
11719 (octave-find-definition): Improve to find functions implemented in C++.
11721 2013-05-12 Glenn Morris <rgm@gnu.org>
11723 * calendar/diary-lib.el (diary-outlook-format-1):
11724 Don't include dayname in the output. (Bug#14349)
11726 2013-05-11 Glenn Morris <rgm@gnu.org>
11728 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11730 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11731 Treat cc-provide like provide.
11733 2013-05-11 Kevin Ryde <user42@zip.com.au>
11735 * cus-dep.el (custom-make-dependencies):
11736 Use generated-autoload-load-name for the sake of files such
11737 such cedet/semantic/bovine/c.el, where the base file name
11738 is not in load-path. (Bug#5277)
11740 2013-05-11 Glenn Morris <rgm@gnu.org>
11742 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11745 2013-05-11 Leo Liu <sdl.web@gmail.com>
11747 * progmodes/octave.el (octave-indent-comment): Improve.
11748 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11749 (octave-eldoc-function-signatures, octave-eldoc-function):
11751 (octave-mode, inferior-octave-mode): Add eldoc support.
11753 2013-05-11 Richard Stallman <rms@gnu.org>
11755 * epa.el (epa-decrypt-file): Take output file name as argument
11756 and read it using `interactive'.
11758 2013-05-11 Leo Liu <sdl.web@gmail.com>
11760 * progmodes/octave.el (octave-beginning-of-line)
11761 (octave-end-of-line): Check before using up-list because it jumps
11762 out of more syntactic contructs since moving to smie.
11763 (octave-indent-comment): New function.
11764 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11765 (octave-begin-keywords, octave-end-keywords)
11766 (octave-reserved-words, octave-smie-bnf-table)
11767 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11769 2013-05-11 Glenn Morris <rgm@gnu.org>
11771 * faces.el (internal-face-x-get-resource):
11772 * frame.el (ns-display-monitor-attributes-list):
11773 * calc/calc-aent.el (math-to-radians-2):
11774 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11777 * calc/calc-menu.el: Make it loadable in isolation.
11779 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11780 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11781 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11782 (eudc-bbdb-query-internal): Require 'bbdb.
11784 * lpr.el (lpr-headers-switches):
11785 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11787 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11789 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11791 * term.el (term-set-escape-char): Make it idempotent.
11793 2013-05-10 Leo Liu <sdl.web@gmail.com>
11795 * progmodes/octave.el (inferior-octave-completion-table):
11796 No longer a function and all uses changed. Use cache to speed up
11797 completion due to bug#11906.
11798 (octave-beginning-of-defun): Re-write to be more general.
11800 2013-05-10 Glenn Morris <rgm@gnu.org>
11802 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11804 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11806 * comint.el (comint-redirect-send-command-to-process): Use :around
11807 rather than :override for comint-redirect-filter.
11808 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11809 Call it instead of comint-redirect-original-filter-function (which
11810 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11812 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11814 * frame.el (display-monitor-attributes-list): Add NS case.
11815 (ns-display-monitor-attributes-list): Declare.
11817 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11819 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11821 2013-05-09 Glenn Morris <rgm@gnu.org>
11823 * international/fontset.el (vertical-centering-font-regexp):
11824 Set standard-value.
11826 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11828 * bookmark.el (bookmark-search-delay):
11829 * cus-start.el (vertical-centering-font-regexp):
11830 * ps-mule.el (ps-mule-font-info-database-default):
11831 * ps-print.el (ps-default-fg, ps-default-bg):
11832 * type-break.el (type-break-good-break-interval):
11833 * whitespace.el (whitespace-indentation-regexp)
11834 (whitespace-space-after-tab-regexp):
11835 * emacs-lisp/testcover.el (testcover-1value-functions)
11836 (testcover-noreturn-functions, testcover-progn-functions)
11837 (testcover-prog1-functions):
11838 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11839 * eshell/em-glob.el (eshell-glob-translate-alist):
11840 * play/tetris.el (tetris-tty-colors):
11841 * progmodes/cpp.el (cpp-face-default-list):
11842 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11843 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11844 (idlwave-help-browser-generic-args):
11845 * progmodes/make-mode.el (makefile-special-targets-list):
11846 * progmodes/python.el (python-shell-virtualenv-path):
11847 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11848 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11849 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11850 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11851 * textmodes/reftex-vars.el (reftex-format-label-function):
11852 * textmodes/remember.el (remember-diary-file): Fix custom types.
11854 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11857 2013-05-09 Leo Liu <sdl.web@gmail.com>
11859 * progmodes/octave.el (inferior-octave-completion-at-point):
11860 Restore file completion. (Bug#14300)
11861 (inferior-octave-startup): Fix incorrect highlighting for the
11864 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11866 * progmodes/ruby-mode.el: First cut at SMIE support.
11867 (ruby-use-smie): New var.
11868 (ruby-smie-grammar): New constant.
11869 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11870 (ruby-smie--forward-token, ruby-smie--backward-token)
11871 (ruby-smie-rules): New functions.
11872 (ruby-mode-variables): Setup SMIE if applicable.
11874 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11876 * simple.el (line-move-visual): Signal beginning/end of buffer
11877 only if vertical-motion moved less than it was requested. Avoids
11878 silly incorrect error messages when there are display strings with
11879 multiple newlines at EOL.
11881 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11883 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11884 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11885 (prolog-char-quote-workaround):
11886 * progmodes/cperl-mode.el (cperl-under-as-char):
11887 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11889 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11891 (vhdl-mode-syntax-table-init): Remove.
11893 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11896 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11898 (ld-script-font-lock-keywords):
11899 Change regexps to use things like \_< and \_>.
11901 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11902 Change all regexps to use things like \_< and \_>.
11904 * progmodes/autoconf.el (autoconf-definition-regexp)
11905 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11906 Handle a _ with symbol syntax.
11907 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11909 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11910 Consolidate declaration.
11911 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11913 (ada-create-syntax-table): Remove.
11914 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11915 already has the right syntax nowadays.
11916 (ada-goto-next-word): Don't change the syntax of "_".
11918 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11921 2013-05-08 Sam Steingold <sds@gnu.org>
11923 * thingatpt.el (thing-at-point): Accept optional second argument
11924 NO-PROPERTIES to strip the text properties from the return value.
11925 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11926 to `thing-at-point' instead of stripping the properties ourselves.
11927 Also, when `thing-at-point' fails to find a url, prepend "http://"
11928 to the filename at point on the assumption that the user is
11929 pointing at something like gnu.org/gnu.
11931 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11933 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11934 * faces.el (crm-separator):
11935 Silence byte-compiler.
11937 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11938 (tool-bar-map): Remove unneeded defvars.
11940 2013-05-08 Leo Liu <sdl.web@gmail.com>
11942 Re-work a fix for bug#10994 based on Le Wang's patch.
11943 * ido.el (ido-remove-consecutive-dups): New helper.
11944 (ido-completing-read): Use it.
11945 (ido-chop): Revert fix for bug#10994.
11947 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11949 * cus-edit.el (custom-save-variables):
11950 Pretty-print long values. (Bug#14187)
11952 2013-05-08 Glenn Morris <rgm@gnu.org>
11954 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11955 (m4-mode-syntax-table): Init in the defvar.
11956 (m4-mode-abbrev-table): Let define-derived-mode define it.
11958 2013-05-08 Tom Tromey <tromey@redhat.com>
11960 * progmodes/m4-mode.el (m4-mode-syntax-table):
11961 Do not treat "_" as word constituent. (Bug#14167)
11963 2013-05-07 Glenn Morris <rgm@gnu.org>
11965 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11966 Remove explicit eshell-isearch-cancel-map.
11968 * progmodes/f90.el (f90-smart-end-names): New option.
11969 (f90-smart-end): Doc fix.
11970 (f90-end-block-optional-name): New constant.
11971 (f90-block-match): Respect f90-smart-end-names.
11973 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11975 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11976 about implicit semi-colons (bug#14218).
11978 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11980 * frame.el (display-monitor-attributes-list)
11981 (frame-monitor-attributes): New functions.
11983 2013-05-06 Leo Liu <sdl.web@gmail.com>
11985 * progmodes/octave.el (octave-syntax-propertize-function): Change
11986 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11987 (octave-font-lock-keywords): Use octave-operator-regexp.
11988 (octave-completion-at-point): Rename from
11989 octave-completion-at-point-function.
11990 (inferior-octave-directory-tracker): Robustify.
11991 (octave-text-functions): Remove and fix its uses. No such things
11994 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11996 * emacs-lisp/trace.el (trace--display-buffer): New function.
11997 (trace-make-advice): Use it.
11999 2013-05-06 Juri Linkov <juri@jurta.org>
12001 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
12002 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
12004 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
12005 in the help string. (Bug#12985)
12007 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
12009 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
12011 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12013 * progmodes/perl-mode.el: Add support for here documents.
12014 (perl-syntax-propertize-function): Match here-doc markers.
12015 (perl-syntax-propertize-special-constructs): Find their end.
12016 (perl-imenu-generic-expression): Use [:alnum:].
12018 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
12019 (advice--add-function): Refresh the advice if already present
12022 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
12024 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
12026 2013-05-06 Glenn Morris <rgm@gnu.org>
12028 * w32-fns.el (w32-charset-info-alist): Declare.
12030 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
12031 of its defcustom properties.
12032 (eshell-cmpl-initialize): No need to load pcomplete.
12034 * generic-x.el: No need to require comint when compiling.
12036 * net/eudc-export.el: Make it loadable without bbdb.
12037 (top-level): Use require rather than load-library.
12038 (eudc-create-bbdb-record, eudc-bbdbify-phone)
12039 (eudc-batch-export-records-to-bbdb)
12040 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
12043 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
12045 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
12046 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
12047 some tweaks, instead.
12049 2013-05-05 Leo Liu <sdl.web@gmail.com>
12051 * progmodes/octave.el (octave-font-lock-keywords)
12052 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
12053 (inferior-octave-send-list-and-digest): Improve error message.
12054 (octave-mode, inferior-octave-mode): Use setq-local.
12055 (octave-help): Set info-lookup-mode.
12057 2013-05-05 Richard Stallman <rms@gnu.org>
12059 * vc/compare-w.el (compare-windows-whitespace):
12060 Treat no-break space as whitespace.
12062 * mail/rmailsum.el (rmail-summary-rmail-update):
12063 Detect empty summary and don't change selected message.
12064 (rmail-summary-goto-msg): Likewise.
12066 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
12067 Doc fixes, rename args.
12069 2013-05-05 Alan Mackenzie <acm@muc.de>
12071 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
12073 2013-05-05 Juri Linkov <juri@jurta.org>
12075 * info.el (Info-read-subfile): Use (point-min) instead of (point)
12076 to not add the length of the summary segment to the return value.
12079 2013-05-05 Leo Liu <sdl.web@gmail.com>
12081 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
12082 (inferior-octave-output-filter): Remove.
12083 (octave-send-region, inferior-octave-startup): Fix callers.
12084 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
12085 (octave-binary-file-extensions): New user variable.
12086 (octave-find-definition): Confirm if opening binary files.
12087 (octave-help-file): Use octave-find-definition to get the binary
12089 (octave-help): Adjust for octave-help-file change.
12091 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
12093 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
12094 Merge the two entries that handle function definitions.
12095 (pascal--syntax-propertize): New const.
12096 (pascal-mode): Use it. Use setq-local.
12098 2013-05-04 Glenn Morris <rgm@gnu.org>
12100 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
12101 (diary-from-outlook): Respect diary-from-outlook-function.
12103 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
12105 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
12106 Move the declaration from C.
12107 (read-minibuffer, eval-minibuffer): Move from C.
12108 (completion-setup-function): Avoid minibuffer-completion-contents.
12110 2013-05-03 Leo Liu <sdl.web@gmail.com>
12112 * progmodes/octave.el (octave-font-lock-keywords): Do not
12113 dehighlight 'end' in comments or strings.
12114 (octave-completing-read, octave-goto-function-definition):
12116 (octave-help-buffer): New user variable.
12117 (octave-help-file, octave-help-function): New button types.
12118 (octave-help): New command and bind it to C-h ;.
12119 (octave-find-definition): New command and bind it to M-.
12120 (user-error): Alias to error if not defined.
12122 2013-05-02 Leo Liu <sdl.web@gmail.com>
12124 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
12126 (octave-font-lock-keywords): Include [ and {.
12128 2013-05-02 Leo Liu <sdl.web@gmail.com>
12130 * progmodes/octave.el (inferior-octave-startup-file): Change default.
12131 (inferior-octave): Remove calling comint-mode and return the buffer.
12132 (inferior-octave-startup): Cosmetic changes.
12134 2013-05-02 Leo Liu <sdl.web@gmail.com>
12136 * progmodes/octave.el (octave-syntax-propertize-function):
12137 Include the case when ' is at line beginning. (Bug#14336)
12139 2013-05-02 Glenn Morris <rgm@gnu.org>
12141 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
12142 * desktop.el (vc-dir-mode): Just autoload it here.
12144 2013-05-02 Alan Mackenzie <acm@muc.de>
12146 Eliminate variable c-standard-font-lock-fontify-region-function.
12147 * progmodes/cc-mode.el
12148 (c-standard-font-lock-fontify-region-function): Remove.
12149 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
12151 2013-05-01 Leo Liu <sdl.web@gmail.com>
12153 * progmodes/octave.el: Compatible with older emacs-24 releases.
12154 (inferior-octave-has-built-in-variables): Remove. Built-in
12155 variables were removed from Octave in 2007.
12156 (inferior-octave-startup): Fix uses.
12157 (comint-line-beginning-position): Remove compatibility code for
12160 2013-05-01 Juri Linkov <juri@jurta.org>
12162 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
12164 2013-05-01 Juri Linkov <juri@jurta.org>
12166 * comint.el (comint-previous-matching-input): Don't print message
12167 "History item: %d" when `isearch-mode' is active.
12168 (comint-history-isearch-message): Print message "History item: %d"
12169 when `comint-input-ring-index' is not empty and this function is
12170 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
12172 2013-05-01 Leo Liu <sdl.web@gmail.com>
12174 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
12175 definitions. Use completion-at-point to insert keywords.
12176 (octave-abbrev-start): Remove.
12177 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
12179 2013-04-30 Leo Liu <sdl.web@gmail.com>
12181 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
12184 2013-04-30 Alan Mackenzie <acm@muc.de>
12186 Handle arbitrarily long C++ member initialisation lists.
12187 * progmodes/cc-engine.el (c-back-over-member-initializers):
12189 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
12190 (most) member init lists.
12192 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
12194 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
12197 2013-04-30 Leo Liu <sdl.web@gmail.com>
12199 * progmodes/octave.el (octave-variables): Remove. No builtin
12200 variables any more. All converted to functions.
12201 (octave-font-lock-keywords, octave-completion-at-point-function):
12203 (octave-font-lock-texinfo-comment): New user variable.
12204 (octave-texinfo-font-lock-keywords): New variable for texinfo
12206 (octave-function-comment-block): New face.
12207 (octave-font-lock-texinfo-comment): New function.
12208 (octave-mode): Font lock texinfo comment block.
12210 2013-04-29 Leo Liu <sdl.web@gmail.com>
12212 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
12213 indexing expression.
12214 (octave-continuation-string): Do not use \.
12215 (inferior-octave-complete-impossible): Remove.
12216 (inferior-octave-completion-table)
12217 (inferior-octave-completion-at-point): Remove its uses.
12218 (inferior-octave-startup): completion_matches was introduced to
12219 Octave in 1996 so safe to assume it.
12220 (octave-function-file-comment): Improve to follow how Octave does it.
12221 (octave-update-function-file-comment): Tweak.
12223 2013-04-29 Leo Liu <sdl.web@gmail.com>
12225 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
12226 (inferior-octave-startup): Remove inferior-octave-startup-hook.
12227 (octave-function-file-comment): Fix typo.
12228 (octave-sync-function-file-names): Use read-char-choice.
12230 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
12232 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
12233 to t for the less important warnings.
12235 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
12237 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
12239 2013-04-27 Glenn Morris <rgm@gnu.org>
12241 * vc/log-view.el (log-view-current-entry):
12242 Treat "---" separator lines as part of the following rev. (Bug#14169)
12244 2013-04-27 Juri Linkov <juri@jurta.org>
12246 * subr.el (read-number): Doc fix about using it by interactive
12247 code letter `n'. (Bug#14254)
12249 2013-04-27 Juri Linkov <juri@jurta.org>
12251 * desktop.el (desktop-auto-save-timeout): New option.
12252 (desktop-file-checksum): New variable.
12253 (desktop-save): Add optional arg `auto-save' and don't auto-save
12254 if nothing changed.
12255 (desktop-auto-save-timer): New variable.
12256 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
12257 (after-init-hook): Call `desktop-auto-save-set-timer'.
12258 Suggested by Reuben Thomas <rrt@sc3d.org> in
12259 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
12261 2013-04-27 Leo Liu <sdl.web@gmail.com>
12263 * progmodes/octave.el (octave-function-file-p)
12264 (octave-skip-comment-forward, octave-function-file-comment)
12265 (octave-update-function-file-comment): New functions.
12266 (octave-mode-map): Bind C-c ; to
12267 octave-update-function-file-comment.
12268 (octave-mode-menu): Add octave-update-function-file-comment.
12269 (octave-mode, inferior-octave-mode): Fix doc-string.
12270 (octave-insert-defun): Conform to Octave's coding convention.
12273 * files.el (basic-save-buffer): Don't let errors in
12274 before-save-hook prevent saving buffer.
12276 2013-04-20 Roland Winkler <winkler@gnu.org>
12278 * faces.el (read-face-name): Use completing-read if arg multiple
12281 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12283 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12284 displayed, move point to after the totals line.
12285 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12288 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12290 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12291 Add current dir to the load-path.
12292 (package-generate-autoloads): Don't rely on
12293 autoload-ensure-default-file.
12295 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12297 * textmodes/remember.el (remember-store-in-files): Document that
12298 the file name format is passed to `format-time-string'.
12300 2013-04-26 Leo Liu <sdl.web@gmail.com>
12302 * progmodes/octave.el (octave-sync-function-file-names): New function.
12303 (octave-mode): Use it in before-save-hook.
12305 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12307 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12310 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12311 \n and comment, even if it's not an implicit ; (bug#14218).
12313 2013-04-26 Glenn Morris <rgm@gnu.org>
12315 * subr.el (read-number): Once more use `read' rather than
12316 `string-to-number', to trap non-numeric input. (Bug#14254)
12318 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12320 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12321 Use `syntax-multiline' text property consistently instead of
12322 `font-lock-multiline'. (Bug#14237)
12324 2013-04-26 Glenn Morris <rgm@gnu.org>
12326 * emacs-lisp/shadow.el (list-load-path-shadows):
12327 No longer necessary to check for duplicate simple.el, since
12328 2012-07-07 change to init_lread to not include installation lisp
12329 directories in load-path when running uninstalled. (Bug#14270)
12331 2013-04-26 Leo Liu <sdl.web@gmail.com>
12333 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12334 (octave-mode, inferior-octave-mode): Use setq-local.
12335 (octave-not-in-string-or-comment-p): Rename to
12336 octave-in-string-or-comment-p.
12337 (octave-in-comment-p, octave-in-string-p)
12338 (octave-in-string-or-comment-p): Replace defsubst with defun.
12340 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12342 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12344 2013-04-25 Bastien Guerry <bzg@gnu.org>
12346 * textmodes/remember.el (remember-data-directory)
12347 (remember-directory-file-name-format): Fix custom types.
12349 2013-04-25 Leo Liu <sdl.web@gmail.com>
12351 * progmodes/octave.el (octave-completion-at-point-function):
12352 Make use of inferior octave process.
12353 (octave-initialize-completions): Remove.
12354 (inferior-octave-completion-table): New function.
12355 (inferior-octave-completion-at-point): Use it.
12356 (octave-completion-alist): Remove.
12358 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12360 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12361 (opascal-mode-syntax-table): New var.
12362 (opascal-literal-kind, opascal-is-literal-end)
12363 (opascal-literal-token-at): Rewrite.
12364 (opascal--literal-start-re, opascal-font-lock-keywords)
12365 (opascal--syntax-propertize): New constants.
12366 (opascal-font-lock-defaults): Adjust.
12367 (opascal-mode): Use them. Set comment-<foo> variables as well.
12368 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12369 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12370 (delphi-other-face, opascal-other-face): Remove face variables.
12371 (opascal-save-state): Remove macro.
12372 (opascal-fontifying-progress-step): Remove constant.
12373 (opascal--ignore-changes): Remove var.
12374 (opascal-set-token-property, opascal-parse-next-literal)
12375 (opascal-is-stable-literal, opascal-complete-literal)
12376 (opascal-is-literal-start, opascal-face-of)
12377 (opascal-parse-region, opascal-parse-region-until-stable)
12378 (opascal-fontify-region, opascal-after-change)
12379 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12380 (opascal-debug-parse-region, opascal-debug-parse-window)
12381 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12382 (opascal-debug-fontify-buffer): Remove.
12383 (opascal-debug-mode-map): Adjust accordingly.
12385 2013-04-25 Leo Liu <sdl.web@gmail.com>
12387 Merge octave-mod.el and octave-inf.el into octave.el with some
12389 * progmodes/octave.el: New file renamed from octave-mod.el.
12390 * progmodes/octave-inf.el: Merged into octave.el.
12391 * progmodes/octave-mod.el: Renamed to octave.el.
12393 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12395 * textmodes/reftex-vars.el
12396 (reftex-label-ignored-macros-and-environments): New defcustom.
12398 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12400 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12402 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12403 (smie-indent-keyword): Improve the check to ensure that the next
12404 comment is really on the same line.
12405 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12407 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12408 semi-colons if the line is not otherwise empty (bug#14218).
12410 2013-04-25 Glenn Morris <rgm@gnu.org>
12412 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12414 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12416 * progmodes/opascal.el (opascal-set-token-property): Rename from
12417 opascal-set-text-properties and only set `token' (bug#14134).
12418 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12419 (opascal-literal-text-properties): Remove.
12420 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12423 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12425 * textmodes/remember.el (remember-handler-functions): Add an
12426 option for a new handler `remember-store-in-files'.
12427 (remember-data-directory, remember-directory-file-name-format):
12429 (remember-store-in-files): New function to store remember notes
12430 as separate files within a directory.
12432 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12434 * progmodes/compile.el (compilation-next-error-function):
12435 Pass "formats" to compilation-find-file (bug#11777).
12437 2013-04-24 Glenn Morris <rgm@gnu.org>
12439 * vc/vc-bzr.el (vc-bzr-print-log):
12440 * vc/vc-hg.el (vc-hg-print-log):
12441 * vc/vc-svn.el (vc-svn-print-log):
12442 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12444 * vc/vc-bzr.el (vc-bzr-print-log):
12445 * vc/vc-cvs.el (vc-cvs-print-log):
12446 * vc/vc-git.el (vc-git-print-log):
12447 * vc/vc-hg.el (vc-hg-print-log):
12448 * vc/vc-mtn.el (vc-mtn-print-log):
12449 * vc/vc-rcs.el (vc-rcs-print-log):
12450 * vc/vc-sccs.el (vc-sccs-print-log):
12451 * vc/vc-svn.el (vc-svn-print-log):
12452 * vc/vc.el (vc-print-log-internal): Doc fixes.
12454 2013-04-23 Glenn Morris <rgm@gnu.org>
12456 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12457 Remove venerable code attempting to avoid substitute-command-keys.
12459 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12461 * textmodes/reftex-vars.el (reftex-label-regexps):
12462 Call `reftex-compile-variables' after changes to this variable.
12464 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12466 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12467 Use lexical-binding.
12468 (jit-lock-force-redisplay): Use markers, check buffer's continued
12469 existence and beware narrowed buffers.
12470 (jit-lock-fontify-now): Adjust call accordingly.
12472 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12474 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12475 to avoid misleading the user.
12477 2013-04-22 Leo Liu <sdl.web@gmail.com>
12479 * info-look.el: Prefer latex2e.info. (Bug#14240)
12481 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12483 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12485 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12486 * net/tramp.el (tramp-call-process): ... here.
12487 (tramp-set-completion-function, tramp-parse-putty):
12488 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12489 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12490 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12491 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12492 (tramp-call-local-coding-command): Use `tramp-call-process'
12493 instead of `tramp-compat-call-process'.
12495 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12496 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12497 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12498 (tramp-find-inline-compress): Improve traces.
12499 (tramp-maybe-send-script): Check for Perl binary.
12500 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12502 2013-04-22 Daiki Ueno <ueno@gnu.org>
12504 * epg.el (epg-context-pinentry-mode): New function.
12505 (epg-context-set-pinentry-mode): New function.
12506 (epg--start): Pass --pinentry-mode option to gpg command.
12508 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12510 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12511 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12512 `completion-at-point'. (Bug#13774)
12514 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12515 default key binding for `describe-distribution' has been moved to
12516 `C-h C-o'. (Bug#13970)
12518 2013-04-21 Glenn Morris <rgm@gnu.org>
12520 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12522 (vc-print-log): Clarify interactive prompt.
12524 2013-04-20 Glenn Morris <rgm@gnu.org>
12526 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12527 No longer include timestamp etc information.
12529 2013-04-20 Roland Winkler <winkler@gnu.org>
12531 * faces.el (read-face-name): Bug fix, return just one face if arg
12532 multiple is nil. (Bug#14209)
12534 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12536 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12537 (remove-function): Autoload.
12539 * comint.el (comint-redirect-original-filter-function): Remove.
12540 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12541 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12542 (vc-cvs-annotate-command):
12543 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12544 * progmodes/prolog.el (prolog-consult-compile):
12545 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12546 Use add/remove-function instead.
12547 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12548 (gud-tooltip-process-output, gud-tooltip-tips):
12549 Use add/remove-function instead.
12550 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12551 (scheme-interaction-mode, exit-scheme-interaction-mode):
12552 Use add/remove-function instead.
12554 * vc/vc-dispatcher.el: Use lexical-binding.
12555 (vc--process-sentinel): Rename from vc-process-sentinel.
12556 Change last arg to be the code to run. Don't use vc-previous-sentinel
12557 and vc-sentinel-commands any more.
12558 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12559 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12561 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12563 * progmodes/sh-script.el (sh-imenu-generic-expression):
12564 Handle function names with a single character. (Bug#14111)
12566 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12568 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12569 for subroutines defined in an eval (bug#14182).
12571 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12573 * bookmark.el (bookmark-completing-read): Improve handling of empty
12574 string (bug#14176).
12576 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12578 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12580 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12582 New faster Imenu implementation (bug#14058).
12583 * progmodes/python.el:
12584 (python-imenu-prev-index-position):
12585 (python-imenu-format-item-label-function)
12586 (python-imenu-format-parent-item-label-function)
12587 (python-imenu-format-parent-item-jump-label-function):
12589 (python-imenu-format-item-label)
12590 (python-imenu-format-parent-item-label)
12591 (python-imenu-format-parent-item-jump-label)
12592 (python-imenu--put-parent, python-imenu--build-tree)
12593 (python-imenu-create-index, python-imenu-create-flat-index)
12594 (python-util-popn): New functions.
12595 (python-mode): Set imenu-create-index-function to
12596 python-imenu-create-index.
12598 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12600 * winner.el (winner-active-region): Use region-active-p, activate-mark
12601 and deactivate-mark (bug#14225).
12603 * simple.el (deactivate-mark): Don't inline it.
12605 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12607 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12609 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12611 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12612 file extensions from the archive-mode entry in order to prefer
12613 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12615 2013-04-18 Leo Liu <sdl.web@gmail.com>
12617 * bindings.el (help-event-list): Add ?\?.
12619 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12621 * subr.el (with-wrapper-hook): Declare obsolete.
12622 * simple.el (filter-buffer-substring-function): New hook.
12623 (filter-buffer-substring): Use it.
12624 (filter-buffer-substring-functions): Mark obsolete.
12625 * minibuffer.el (completion-in-region-function): New hook.
12626 (completion-in-region): Use it.
12627 (completion-in-region-functions): Mark obsolete.
12628 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12629 * abbrev.el (abbrev-expand-function): New hook.
12630 (expand-abbrev): Use it.
12631 (abbrev-expand-functions): Mark obsolete.
12632 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12633 and :filter-return.
12635 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12637 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12638 and do not care about match data.
12640 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12642 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12643 completion tables when completing error conditions and
12644 `declare' arguments.
12645 (lisp-complete-symbol, field-complete): Mark as obsolete.
12646 (check-parens): Unmatched parens are user errors.
12647 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12649 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12651 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12652 command changed buffer (ie. `flyspell-pre-buffer' is not current
12653 buffer), which prevents making decisions based on invalid value of
12654 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12655 cause an error when `flyspell-pre-point' was nil after switching
12657 (flyspell-post-command-hook): No longer needs to change buffers when
12658 checking pre-word. While at it remove unnecessary progn.
12660 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12662 * textmodes/ispell.el (ispell-add-per-file-word-list):
12663 Fix `flyspell-correct-word-before-point' error when accepting
12664 words and `coment-padding' is an integer by using
12665 `comment-normalize-vars' (Bug #14214).
12667 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12669 New defun movement commands.
12670 * progmodes/python.el (python-nav--syntactically)
12671 (python-nav--forward-defun, python-nav-backward-defun)
12672 (python-nav-forward-defun): New functions.
12674 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12676 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12677 (python-syntax-context): Use named compiler-macro for backwards
12678 compatibility with Emacs 24.x.
12680 2013-04-17 Leo Liu <sdl.web@gmail.com>
12682 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12683 octave-hide-process-buffer.
12685 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12687 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12690 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12692 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12693 Fix adjustment of offset when receiving incomplete responses from GDB
12696 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12698 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12699 python-mode-abbrev-table.
12700 (python-skeleton-define): Adjust accordingly.
12701 (python-mode-abbrev-table): New table that inherits from it so that
12702 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12704 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12705 (abbrev-symbol): Use it.
12706 (abbrev--before-point): Use it since we already handle inheritance.
12708 2013-04-16 Leo Liu <sdl.web@gmail.com>
12710 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12711 binding to info-lookup-symbol.
12713 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12715 * minibuffer.el (completion--twq-all):
12716 * term/ns-win.el (ns-initialize-window-system):
12717 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12719 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12721 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12724 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12726 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12728 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12729 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12731 (ruby-end-of-defun): Remove the unused arg, change the docstring
12732 to reflect that this function is only used as the value of
12733 `end-of-defun-function'.
12734 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12735 to reflect an earlier change that beginning/end-of-defun functions
12736 jump between methods in a class definition, as well as top-level
12739 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12741 * minibuffer.el (minibuffer-complete): Don't just scroll
12742 a *Completions* that's been iconified.
12743 (minibuffer-force-complete): Make sure repetitions do cycle when going
12744 through completion-in-region -> minibuffer-complete.
12746 2013-04-15 Alan Mackenzie <acm@muc.de>
12748 Correct the placement of c-cpp-delimiters when there're #s not at
12751 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12752 place a submatch around the #.
12753 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12754 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12757 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12759 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12760 (advice--member-p): New arg `name'.
12761 (advice--add-function, advice-member-p): Use it (bug#14202).
12763 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12765 Reformulate java imenu-generic-expression.
12766 The old expression contained ill formed regexps.
12768 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12769 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12770 (cc-imenu-java-method-arg-regexp): New defconsts.
12771 (cc-imenu-java-build-type-args-regex): New defun.
12772 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12773 handling of spaces in the regexp.
12775 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12777 * textmodes/ispell.el (ispell-command-loop): Remove
12778 flyspell highlight of a word when ispell accepts it (bug #14178).
12780 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12782 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12783 uses code from the previous `ange-ftp-run-real-handler'.
12784 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12785 only in case that function exist. This is needed for proper
12786 unloading of Tramp.
12788 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12790 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12792 * textmodes/reftex.el (reftex-compile-variables): Use it.
12794 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12796 * files.el (normal-mode): Only use default major-mode if no other mode
12799 * emacs-lisp/trace.el (trace-values): New function.
12801 * files.el: Allow : in local variables (bug#14089).
12802 (hack-local-variable-regexp): New var.
12803 (hack-local-variables-prop-line, hack-local-variables): Use it.
12805 2013-04-13 Roland Winkler <winkler@gnu.org>
12807 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12808 data before it gets modified by bibtex-beginning-of-entry.
12810 2013-04-13 Roland Winkler <winkler@gnu.org>
12812 * textmodes/bibtex.el (bibtex-url): Doc fix.
12814 2013-04-13 Roland Winkler <winkler@gnu.org>
12816 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12817 does not visit a BibTeX file, exclude it from the list of buffers
12818 returned by bibtex-initialize.
12820 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12822 * window.el (split-window): Remove interactive form, since as a
12823 command this function is a special case of split-window-below.
12824 Correct doc string.
12826 2013-04-12 Roland Winkler <winkler@gnu.org>
12828 * faces.el (read-face-name): Do not override value of arg default.
12829 Allow single faces and strings as default values. Remove those
12830 elements from return value that are not faces.
12831 (describe-face): Simplify.
12832 (face-at-point): New optional args thing and multiple so that this
12833 function can provide the same functionality previously provided by
12835 (make-face-bold, make-face-unbold, make-face-italic)
12836 (make-face-unitalic, make-face-bold-italic, invert-face)
12837 (modify-face, read-face-and-attribute): Use face-at-point.
12839 * cus-edit.el (customize-face, customize-face-other-window)
12840 * cus-theme.el (custom-theme-add-face)
12841 * face-remap.el (buffer-face-set)
12842 * facemenu.el (facemenu-set-face): Use face-at-point.
12844 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12846 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12848 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12850 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12851 off leading { and trailing } from field values.
12853 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12855 * emacs-lisp/timer.el (timer--check): New function.
12856 (timer--time, timer-set-function, timer-event-handler): Use it.
12857 (timer-set-idle-time): Simplify.
12858 (timer--activate): CSE.
12859 (timer-event-handler): Give more info in error message.
12860 (internal-timer-start-idle): New function, moved from C.
12862 * mpc.el (mpc-proc): Add `restart' argument.
12863 (mpc-proc-cmd): Use it.
12864 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12865 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12868 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12870 * progmodes/sh-script.el: Implement `sh-mode' own
12871 `add-log-current-defun-function' (bug#14112).
12872 (sh-current-defun-name): New function.
12873 (sh-mode): Use the function.
12875 2013-04-09 Bastien Guerry <bzg@gnu.org>
12877 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12879 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12881 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12883 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12886 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12888 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12891 2013-04-07 Leo Liu <sdl.web@gmail.com>
12893 * pcmpl-x.el: New file.
12895 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12897 Do not set x-display-name until X connection is established.
12898 This is needed to prevent from weird situation described at
12899 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12900 * frame.el (make-frame): Set x-display-name after call to
12901 window system initialization function, not before.
12902 * term/x-win.el (x-initialize-window-system): Add optional
12903 display argument and use it.
12904 * term/w32-win.el (w32-initialize-window-system):
12905 * term/ns-win.el (ns-initialize-window-system):
12906 * term/pc-win.el (msdos-initialize-window-system):
12907 Add compatible optional display argument.
12909 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12911 * files.el (normal-backup-enable-predicate): On MS-Windows and
12912 MS-DOS compare truenames of temporary-file-directory and of the
12913 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12914 don't fail comparison by compare-strings. Also, compare file
12915 names case-insensitively on MS-Windows and MS-DOS.
12917 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12919 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12920 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12922 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12924 * whitespace.el (whitespace-color-on, whitespace-color-off):
12925 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12927 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12929 * ispell.el (ispell-set-spellchecker-params):
12930 Really set `ispell-args' for all equivs.
12932 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12934 * ido.el (ido-completions): Use extra elements of ido-decorations
12936 (ido-decorations): Update docstring.
12938 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12940 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12941 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12942 nil during initialization, in order not to miss changes since the
12943 file was opened. (Bug#14140)
12945 2013-04-05 Leo Liu <sdl.web@gmail.com>
12947 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12949 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12951 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12953 2013-04-04 Glenn Morris <rgm@gnu.org>
12955 * electric.el (electric-pair-inhibit-predicate): Add :version.
12957 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12959 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12960 when a package is required several times (bug#14082).
12962 2013-04-04 Roland Winkler <winkler@gnu.org>
12964 * faces.el (read-face-name): Behave as promised by the docstring.
12965 Assume that arg default is a list of faces.
12966 (describe-face): Call read-face-name with list of default faces.
12968 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12970 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12971 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12972 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12974 (bookmark-exit-hook-internal): Save even if list is empty.
12976 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12978 * emacs-lisp/package.el (package-pinned-packages): New var.
12979 (package--add-to-archive-contents): Obey it (bug#14118).
12981 2013-04-03 Alan Mackenzie <acm@muc.de>
12983 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12984 Also adapt to the new values of element 7 of a parse state.
12986 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12987 parameter `not-in-delimiter'. Handle being inside comment opener.
12988 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12989 character in case we're typing a '*' after a '/'.
12990 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12991 instead by passing the parameter to c-state-pp-to-literal.
12993 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12994 for elt. 7 of a parse state.
12996 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12998 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12999 * international/latin1-disp.el, international/mule-util.el:
13000 * language/cyril-util.el, language/european.el, language/ind-util.el:
13001 * language/lao-util.el, language/thai.el, language/tibet-util.el:
13002 * language/tibetan.el, language/viet-util.el:
13003 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
13005 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
13007 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
13008 (electric-pair-post-self-insert-function): Use it.
13009 (electric-pair-default-inhibit): New function, extracted from
13010 electric-pair-post-self-insert-function.
13012 2013-03-31 Roland Winkler <winkler@gnu.org>
13014 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
13016 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
13018 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
13020 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
13022 Un-indent after "pass" and "return" statements (Bug#13888)
13023 * progmodes/python.el (python-indent-block-enders): New var.
13024 (python-indent-calculate-indentation): Use it.
13026 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
13028 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
13029 defun. Defining it as defalias could introduce too eager
13030 byte-compiler optimization. (Bug#14030)
13032 2013-03-30 Chong Yidong <cyd@gnu.org>
13034 * iswitchb.el (iswitchb-read-buffer): Fix typo.
13036 2013-03-30 Leo Liu <sdl.web@gmail.com>
13038 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
13039 (kmacro-execute-from-register): Pass the keyboard macro to
13040 kmacro-call-macro or repeating won't work correctly.
13042 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
13044 * progmodes/subword.el: Back to using `forward-symbol'.
13046 * subr.el (forward-whitespace, forward-symbol)
13047 (forward-same-syntax): Move from thingatpt.el.
13049 2013-03-29 Leo Liu <sdl.web@gmail.com>
13051 * kmacro.el (kmacro-to-register): New command.
13052 (kmacro-execute-from-register): New function.
13053 (kmacro-keymap): Bind to 'x'. (Bug#14071)
13055 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
13057 * mpc.el: Use defvar-local and setq-local.
13058 (mpc--proc-connect): Connection failures are not bugs.
13059 (mpc-mode-map): `follow-link' only applies to the buffer's content.
13060 (mpc-volume-map): Bind to the up-events.
13062 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
13064 * progmodes/subword.el (superword-mode): Use `forward-sexp'
13065 instead of `forward-symbol'.
13067 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
13069 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
13070 (edebug--recursive-edit): Use it.
13071 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
13072 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
13074 2013-03-28 Leo Liu <sdl.web@gmail.com>
13076 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
13078 2013-03-27 Eli Zaretskii <eliz@gnu.org>
13080 * facemenu.el (list-colors-callback): New defvar.
13081 (list-colors-redisplay): New function.
13082 (list-colors-display): Install list-colors-redisplay as the
13083 revert-buffer-function. (Bug#14063)
13085 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
13087 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
13088 and suffixes don't overlap (bug#14061).
13090 * case-table.el: Use lexical-binding.
13091 (case-table-get-table): New function.
13092 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
13094 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
13096 * progmodes/subword.el: Add `superword-mode' to do word motion
13097 over symbol_words (parallels and leverages `subword-mode' which
13098 does word motion inside MixedCaseWords).
13100 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
13102 * eshell/em-unix.el: Move su and sudo to...
13103 * eshell/em-tramp.el: ...Eshell tramp module.
13105 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13107 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
13108 Change return value to be a sexp. Delay `get-buffer' to after
13109 restoring the desktop (bug#13951).
13111 2013-03-26 Leo Liu <sdl.web@gmail.com>
13113 * register.el: Move semantic tag handling back to
13114 cedet/semantic/senator.el. (Bug#14052)
13116 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
13118 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
13119 into the prompt either (bug#13963).
13121 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
13123 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
13124 part of "(error-foo)".
13126 2013-03-24 Juri Linkov <juri@jurta.org>
13128 * replace.el (list-matching-lines-prefix-face): New defcustom.
13129 (occur-1): Pass `list-matching-lines-prefix-face' to the function
13130 `occur-engine' if `face-differs-from-default-p' returns t.
13131 (occur-engine): Add `,' inside backquote construct to evaluate
13132 `prefix-face'. Propertize the prefix with the `prefix-face' face.
13133 Pass `prefix-face' to the functions `occur-context-lines' and
13134 `occur-engine-add-prefix'.
13135 (occur-engine-add-prefix, occur-context-lines): Add optional arg
13136 `prefix-face' and propertize the prefix with `prefix-face'.
13139 2013-03-24 Leo Liu <sdl.web@gmail.com>
13141 * nxml/rng-valid.el (rng-validate-while-idle)
13142 (rng-validate-quick-while-idle): Guard against deleted buffer.
13145 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
13146 is the last entry in kill-buffer-hook.
13148 * files.el (kill-buffer-hook): Doc fix.
13150 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
13152 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
13153 Make it safe-local.
13155 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
13157 2013-03-23 Leo Liu <sdl.web@gmail.com>
13159 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
13162 * nxml/rng-valid.el (rng-validate-mode)
13163 (rng-after-change-function, rng-do-some-validation):
13164 * nxml/rng-maint.el (rng-validate-buffer):
13165 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
13166 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
13167 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
13168 (nxml-extend-after-change-region): Use with-silent-modifications.
13170 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
13173 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
13174 (rng-next-error-1, rng-previous-error-1): Do not let-bind
13175 timer-idle-list. (Bug#13999)
13177 2013-03-23 Juri Linkov <juri@jurta.org>
13179 * info.el (info-index-match): New face.
13180 (Info-index, Info-apropos-matches): Add a nested subgroup to the
13181 main pattern and add text properties with the new face to matches
13182 in index entries relative to the beginning of the index entry.
13185 2013-03-21 Eric Ludlam <zappo@gnu.org>
13187 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
13188 Inhibit read only while inserting objects.
13190 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
13192 * progmodes/cfengine.el: Update docs to mention
13193 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
13194 symbol motion. Remove "_" from the word syntax.
13196 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
13198 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
13199 syntax for both `cfengine2-mode' and `cfengine3-mode'.
13201 2013-03-20 Juri Linkov <juri@jurta.org>
13203 * info.el (Info-next-reference-or-link)
13204 (Info-prev-reference-or-link): New functions.
13205 (Info-next-reference, Info-prev-reference): Use them.
13206 (Info-try-follow-nearest-node): Handle footnote navigation.
13207 (Info-fontify-node): Fontify footnotes. (Bug#13989)
13209 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
13211 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
13212 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
13214 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
13216 Suppress unnecessary non-ASCII chatter during build process.
13217 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
13218 (batch-skkdic-convert): Suppress most of the chatter.
13219 It's not needed so much now that machines are faster,
13220 and its non-ASCII component was confusing; see Dmitry Gutov in
13221 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
13223 2013-03-20 Leo Liu <sdl.web@gmail.com>
13225 * ido.el (ido-chop): Fix bug#10994.
13227 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13229 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
13231 (whitespace-color-on, whitespace-color-off):
13232 Use `font-lock-fontify-buffer' (Bug#13817).
13234 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
13236 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
13237 remapping in mode-line.
13238 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
13240 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
13242 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
13243 value for `whitespace-line' face (Bug#13875).
13244 (whitespace-font-lock-keywords): Change description.
13245 (whitespace-color-on): Don't save `font-lock-keywords' value, save
13246 the constructed keywords instead.
13247 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
13249 2013-03-19 Leo Liu <sdl.web@gmail.com>
13251 * progmodes/compile.el (compilation-display-error): New command.
13252 (compilation-mode-map, compilation-minor-mode-map): Bind it to
13255 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13257 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
13259 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
13261 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13263 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13265 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13267 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13268 * net/tramp-gvfs.el (top):
13269 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13270 (tramp-handle-shell-command): Use it.
13271 (tramp-dissect-file-name): Raise an error when hostname is a
13272 method name, and neither method nor user is specified.
13274 * net/trampver.el: Update release number.
13276 2013-03-18 Leo Liu <sdl.web@gmail.com>
13278 Make sure eldoc can be turned off properly.
13279 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13281 (eldoc-display-message-p): Revert last change.
13282 (eldoc-display-message-no-interference-p)
13283 (eldoc-print-current-symbol-info): Tweak.
13285 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13287 * doc-view.el (doc-view-new-window-function): Check the new window
13288 overlay's display property instead the char property of the
13289 buffer's first char. Use `with-selected-window' instead of
13290 `save-window-excursion' with `select-window'.
13291 (doc-view-document->bitmap): Check the current doc-view overlay's
13292 display property instead the char property of the buffer's first char.
13294 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13296 Automate the build of ja-dic.el (Bug#13984).
13297 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13298 from the input, rather than assume that it's been done for us by the
13299 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13300 the current date into a ja-dic.el comment, as that complicates
13301 regression testing.
13303 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13305 * whitespace.el: Fix double evaluation.
13306 (whitespace-space, whitespace-hspace, whitespace-tab)
13307 (whitespace-newline, whitespace-trailing, whitespace-line)
13308 (whitespace-space-before-tab, whitespace-indentation)
13309 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13311 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13312 (whitespace-color-on): Use a single font-lock-add-keywords call.
13313 Fix double-evaluation of face variables.
13315 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13317 * net/tramp-adb.el (tramp-adb-parse-device-names):
13318 Use `start-process' instead of `call-process'. Otherwise, the
13319 function might be blocked under MS Windows. (Bug#13299)
13321 2013-03-17 Leo Liu <sdl.web@gmail.com>
13323 Extend eldoc to display info in the mode-line. (Bug#13978)
13324 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13325 (eldoc-mode-line-string): New variable.
13326 (eldoc-minibuffer-message): New function.
13327 (eldoc-message-function): New variable.
13328 (eldoc-message): Use it.
13329 (eldoc-display-message-p)
13330 (eldoc-display-message-no-interference-p):
13331 Support eldoc-post-insert-mode.
13333 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13334 (eval-expression): Run it.
13336 2013-03-17 Roland Winkler <winkler@gnu.org>
13338 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13339 strings in the list of return values.
13341 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13343 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13344 radix before checking for HMS forms.
13346 2013-03-16 Leo Liu <sdl.web@gmail.com>
13348 * progmodes/scheme.el: Add indentation and font-locking for λ.
13351 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13353 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13354 token before point (bug#13942).
13356 2013-03-16 Leo Liu <sdl.web@gmail.com>
13358 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13360 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13362 * startup.el (command-line-normalize-file-name): Fix handling of
13363 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13364 <xfq.free@gmail.com> in
13365 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13367 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13369 Sync with Tramp 2.2.7.
13371 * net/trampver.el: Update release number.
13373 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13375 * doc-view.el: Fix bug#13887.
13376 (doc-view-insert-image): Don't modify overlay associated to
13377 non-live windows, and implement horizontal centering of image in
13378 case it's smaller than the window.
13379 (doc-view-new-window-function): Force redisplay of new windows on
13382 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13384 * saveplace.el (save-place-alist-to-file): Don't sort
13385 `save-place-alist', just pretty-print it (bug#13882).
13387 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13389 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13390 Check whether `default-file-name-coding-system' is bound.
13391 It isn't in XEmacs.
13393 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13395 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13396 backquotes for `obsolete' (bug#13929).
13398 * international/mule.el (find-auto-coding): Include file name in
13399 obsolescence warning (bug#13922).
13401 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13403 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13404 for CFEngine 3-specific indentation.
13405 (cfengine3-indent-line): Use it. Fix up category regex.
13406 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13408 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13410 * type-break.el (type-break-file-name):
13411 * textmodes/remember.el (remember-data-file):
13412 * strokes.el (strokes-file):
13413 * shadowfile.el (shadow-initialize):
13414 * saveplace.el (save-place-file):
13415 * ps-bdf.el (bdf-cache-file):
13416 * progmodes/idlwave.el (idlwave-config-directory):
13417 * net/quickurl.el (quickurl-url-file):
13418 * international/kkc.el (kkc-init-file-name):
13419 * ido.el (ido-save-directory-list-file):
13420 * emulation/viper.el (viper-custom-file-name):
13421 * emulation/vip.el (vip-startup-file):
13422 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13423 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13425 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13427 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13428 * language/thai-word.el: Switch to UTF-8.
13430 See ChangeLog.16 for earlier changes.
13432 ;; Local Variables:
13436 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13438 This file is part of GNU Emacs.
13440 GNU Emacs is free software: you can redistribute it and/or modify
13441 it under the terms of the GNU General Public License as published by
13442 the Free Software Foundation, either version 3 of the License, or
13443 (at your option) any later version.
13445 GNU Emacs is distributed in the hope that it will be useful,
13446 but WITHOUT ANY WARRANTY; without even the implied warranty of
13447 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13448 GNU General Public License for more details.
13450 You should have received a copy of the GNU General Public License
13451 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.