1 2014-02-17 Stefan Monnier <monnier@iro.umontreal.ca>
3 * ido.el (ido-file-internal): Remove unused var `d'.
4 Use \` for to match BoS. Fit within 80n columns.
6 2014-02-17 Daniel Colascione <dancol@dancol.org>
8 * net/dbus.el (dbus-call-method): Work around bug#16775 by having
9 dbus-call-method check for completion using a busy-wait loop with
12 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
14 Sync with Tramp 2.2.9.
16 * net/trampver.el: Update release number.
18 2014-02-16 Dmitry Gutov <dgutov@yandex.ru>
20 * ido.el (ido-file-internal): Don't add the name of an existing
21 directory twice. (Bug#16747)
23 2014-02-16 Glenn Morris <rgm@gnu.org>
25 * vc/ediff-init.el (ediff-use-faces, ediff-highlight-all-diffs):
26 Do not use ediff-defvar-local on pre-defined variables. (Bug#16744)
28 2014-02-15 Michael R. Mauger <michael@mauger.com>
30 * progmodes/sql.el: Version 3.4
31 (sql-oracle-options): New default value ("-L").
32 (sql-mode-oracle-font-lock-keywords): Add placeholder highlighting.
33 (sql-placeholders-filter): Correct placeholder pattern.
34 (sql-read-table-name): Bug fix. Detect absence of SQLi process.
35 (sql-login-delay): New variable.
36 (sql-product-interactive): Use it.
38 2014-02-15 Juanma Barranquero <lekktu@gmail.com>
40 * frameset.el (frameset--jump-to-register): Check that buffer is live
43 2014-02-15 Glenn Morris <rgm@gnu.org>
45 * info.el (info-initialize): Revert 2014-01-10 change.
47 2014-02-14 Glenn Morris <rgm@gnu.org>
49 * replace.el (map-query-replace-regexp)
50 (read-regexp-defaults-function, read-regexp): Doc fixes.
52 * dired.el (dired-read-regexp):
53 * faces.el (list-faces-display):
54 * misearch.el (multi-isearch-read-matching-buffers)
55 (multi-isearch-read-matching-files):
56 * play/cookie1.el (cookie-apropos):
57 * progmodes/grep.el (grep-read-regexp): Doc fixes.
59 * textmodes/remember.el (remember): Use frameset-to-register
60 rather than frame-configuration-to-register.
62 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
64 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
67 2014-02-13 Daniel Colascione <dancol@dancol.org>
69 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
70 when adding overlays so that line numbers from compiler match line
73 2014-02-13 Glenn Morris <rgm@gnu.org>
75 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
77 * jit-lock.el (jit-lock-mode): Doc fix.
79 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
81 * apropos.el (apropos-read-pattern): When the user passes an empty
82 string, give a more helpful error message than "Wrong type
83 argument: stringp, nil".
85 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
87 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
89 2014-02-13 Glenn Morris <rgm@gnu.org>
91 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
93 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
95 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
96 shift-select commands.
98 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
100 * progmodes/js.el (js-indent-line): Don't widen.
101 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
103 2014-02-12 Glenn Morris <rgm@gnu.org>
105 * icomplete.el (icomplete): Add info-link to defgroup.
106 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
107 (icomplete-minibuffer-map, icomplete-mode)
108 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
110 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
111 (package-menu-filter): Rename from package-menu-filter-interactive.
114 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
116 * frameset.el (frameset--jump-to-register): Select the required
117 window and buffer before restoring position (bug#16696).
119 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
121 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
123 2014-02-10 Glenn Morris <rgm@gnu.org>
125 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
127 2014-02-10 Eli Zaretskii <eliz@gnu.org>
129 * w32-common-fns.el (x-get-selection): Doc fix.
130 * select.el (x-get-selection): Doc fix. (Bug#15109)
132 * face-remap.el (face-remap-add-relative)
133 (face-remap-remove-relative, face-remap-reset-base)
134 (face-remap-set-base): Call force-mode-line-update to redisplay
135 the current buffer due to potential change in faces. (Bug#16709)
137 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
139 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
140 script more robustly.
142 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
144 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
146 * simple.el (choose-completion): Doc fix (bug#14160).
148 * subr.el (event-start): Say what a nil EVENT value means.
150 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
153 * progmodes/grep.el (find-program): Doc fix (bug#14289).
155 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
157 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
159 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
160 predicate function (bug#15455).
162 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
164 * ielm.el (inferior-emacs-lisp-mode): Instead of
165 `comment-use-global-state', set `comment-use-syntax'.
167 2014-02-10 Glenn Morris <rgm@gnu.org>
169 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
171 2014-02-09 Alan Mackenzie <acm@muc.de>
173 Fix c-invalidate-state-cache on narrowed buffers.
174 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
175 Widen when setting and clearing the CPP delimiter properties.
177 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
179 * help.el (describe-bindings): Doc fix (bug#9888).
181 * files.el (save-buffer): Use ARG as the parameter name for
182 consistency (bug#10346).
183 (save-buffer): Clarify the 0 argument (bug#10346).
185 * cus-edit.el (customize-apropos): Fix error string.
186 (custom-buffer-create): Doc fix (bug#11122).
187 (custom-sort-items): Doc fix (bug#11121).
189 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
191 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
192 (icomplete-simple-completing-p): Mention the previous variable.
194 * font-lock.el (font-lock-value-in-major-mode): Clarify the
195 meaning of the parameter (bug#12282).
197 * files.el (find-file-noselect): Clarify prompt when changing
198 readedness (bug#13261).
199 (locate-file): Suffixes aren't returned, so don't say that they
201 (backup-inhibited): Doc clarification (bug#12525).
203 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
204 before we actually start to delete things (bug#16331).
206 * subr.el (event-start): Doc fix (bug#14228).
209 2014-02-09 Glenn Morris <rgm@gnu.org>
211 * emacs-lisp/warnings.el (lwarn):
212 Empower help-enable-auto-load. (Bug#15940)
214 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
216 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
219 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
221 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
222 Insert output at end of buffer. (Bug#16120)
224 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
226 * simple.el (choose-completion-string-functions): Document new
227 calling convention (bug#14153).
228 (execute-extended-command): Clarify doc string (bug#13373).
230 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
232 * find-dired.el (find-name-dired): Doc fix (bug#14290).
233 (find-grep-dired): Doc fix (bug#14288).
235 2014-02-08 Juri Linkov <juri@jurta.org>
237 * isearch.el (isearch-quote-char): Check character validity
238 like in `quoted-insert' (bug#16677).
240 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
242 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
244 * isearch.el (isearch-hide-immediately): Doc clarification
247 * simple.el (line-move): Document utility function used many
248 places in the Emacs sources (bug#14843).
250 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
251 (dired-prev-marked-file): Doc fix (bug#14855).
252 (dired-up-directory): Doc fix (bug#14848).
254 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
256 * files.el (file-relative-name): Doc fix (bug#15159).
258 * fringe.el (fringe-styles): Doc fix (bug#15239).
260 * isearch.el (isearch-filter-predicate): Documentation typo fix
263 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
265 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
267 * replace.el (replace-match-maybe-edit): Doc clarification
270 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
272 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
274 2014-02-08 Glenn Morris <rgm@gnu.org>
276 * help-fns.el (describe-variable):
277 Check {file,dir}-local-variables-alist, and buffer-file-name,
278 in the correct buffer.
280 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
282 * help-fns.el (describe-variable): Fix the case where
283 a value is directory-local with no dir-locals file. (Bug#16635)
285 2014-02-08 Glenn Morris <rgm@gnu.org>
287 * abbrev.el (edit-abbrevs-mode):
288 Derive from fundamental-mode. (Bug#16682)
290 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
292 * simple.el (quoted-insert): Check character validity (bug#16677).
294 2014-02-07 Juri Linkov <juri@jurta.org>
296 * desktop.el (desktop-read): Claim the lock when the owner is not
297 the current process. (Bug#16157)
299 2014-02-07 Juri Linkov <juri@jurta.org>
301 * desktop.el (desktop-buffers-not-to-save): Change default from nil
302 to "\\` ". (Bug#16651)
304 2014-02-07 Juri Linkov <juri@jurta.org>
306 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
307 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
308 (desktop-auto-save-cancel-timer): New function with some code from
309 `desktop-auto-save-set-timer'.
310 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
311 Instead of setting `desktop-save-mode' to nil, call
312 `desktop-save-mode' with arg 0. (Bug#16630)
314 2014-02-07 Glenn Morris <rgm@gnu.org>
316 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
317 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
318 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
320 * obsolete/iswitchb.el: Move to obsolete/.
321 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
322 since obsolete/ is not scanned for autoloads.
323 * emacs-lisp/authors.el (authors-valid-file-names):
326 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
327 Disable now non-functional find-file-hook.
329 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
331 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
332 instead of ";" in order to avoid additional prompts. Let heredoc
333 scripts read from tty. (Bug#16582)
334 (tramp-send-command): No special handling of heredocs, it isn't
337 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
339 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
340 with a space (bug#16664). Limit the symbols considered to the ones
341 that are bound or fbound (bug#16646).
343 2014-02-06 Glenn Morris <rgm@gnu.org>
345 * epa.el (epa-mail-aliases): Doc fix.
347 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
349 * emacs-lisp/lisp.el (lisp-completion-at-point):
350 Use `completion-table-merge' instead of `completion-table-in-turn'
353 * minibuffer.el (completion-table-merge): New function.
355 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
357 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
358 (tramp-sh-handle-set-file-acl)
359 (tramp-sh-handle-start-file-process)
360 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
361 (tramp-find-executable, tramp-send-command): Use it.
363 2014-02-05 Glenn Morris <rgm@gnu.org>
365 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
367 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
369 * progmodes/python.el (python-shell-send-string):
370 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
372 2014-02-04 Anders Lindgren <andlind@gmail.com>
374 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
375 the names (bug#16620).
377 2014-02-03 Martin Rudalics <rudalics@gmx.at>
379 * faces.el (window-divider): New default value. Rewrite doc-string.
380 (window-divider-first-pixel, window-divider-last-pixel): New faces.
382 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
384 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
385 `protected' and `public' can also be called without arguments.
387 2014-02-03 Glenn Morris <rgm@gnu.org>
389 * register.el (window-configuration-to-register)
390 (frame-configuration-to-register): Unadvertise unused argument.
391 * frameset.el (frameset-to-register): Remove unused argument.
393 * frameset.el (frameset-to-register):
394 * kmacro.el (kmacro-to-register):
395 * register.el (increment-register):
396 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
397 (calc-append-to-register, calc-prepend-to-register):
398 * play/gametree.el (gametree-layout-to-register)
399 (gametree-apply-register-layout):
400 * textmodes/picture.el (picture-clear-rectangle-to-register)
401 (picture-yank-rectangle-from-register):
402 * vc/emerge.el (emerge-combine-versions-register):
403 Use register-read-with-preview to read registers.
405 2014-02-03 João Távora <joaotavora@gmail.com>
407 * elec-pair.el (electric-pair-backward-delete-char): Don't error
408 when at beginning of (possibly narrowed) buffer.
410 2014-02-02 Daniel Colascione <dancol@dancol.org>
412 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
413 Also try to display local help from just before point.
415 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
417 c-parse-state. Don't "append-lower-brace-pair" in certain
418 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
419 recognised as a comment.
421 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
422 as well as normal comment starter.
423 (c-parse-state-get-strategy): Extra return possibility
425 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
426 return value list to indicate replacement of a brace-pair cons
428 (c-parse-state-1): With 'back-and-forward, only call
429 c-append-lower-brace-pair-to state-cache when cons-separated.
431 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
433 * term/ns-win.el (ns-suspend-error): New function.
434 (ns-initialize-window-system): Add ns-suspend-error to
435 suspend-hook (Bug#16612).
437 2014-02-02 Daniel Colascione <dancol@dancol.org>
439 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
441 2014-02-02 Daniel Colascione <dancol@dancol.org>
443 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
445 2014-02-02 Glenn Morris <rgm@gnu.org>
447 * register.el (register-read-with-preview, point-to-register)
448 (window-configuration-to-register, frame-configuration-to-register)
449 (jump-to-register, number-to-register, view-register, insert-register)
450 (copy-to-register, append-to-register, prepend-to-register)
451 (copy-rectangle-to-register): Doc fixes.
453 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
455 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
456 * emacs-lisp/find-func.el (find-function-C-source): Idem.
457 * emacs-lisp/nadvice.el (advice--cd*r): New function.
458 * help-fns.el (describe-function-1): Use it.
460 2014-02-02 Glenn Morris <rgm@gnu.org>
462 * register.el (register-preview-default): New function,
463 split from register-preview.
464 (register-preview-function): Rename from register-preview-functions,
466 (register-preview): Use register-preview-function.
467 (register-read-with-preview): Error on non-character event. (Bug#16595)
469 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
471 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
472 `:' before binary operators (bug#16609). Don't check for `:'
473 before `[' and `(', or their syntax status. A percent literal
474 can't end with either.
475 (ruby-font-lock-keywords): For built-ins that require arguments,
476 check that they're followed by something that looks like argument
479 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
481 * subr.el (butlast): Document what an omitted N means (bug#13437).
484 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
486 * net/shr.el (shr-generic): Make into a defsubst to make the stack
487 depth shallower (bug#16587).
488 (shr-tag-svg): Respect `shr-inhibit-images'.
489 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
491 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
493 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
494 (ruby-smie-grammar): Make "." right-associative. Make its priority
495 lower than the ternary and all binary operators.
496 (ruby-smie-rules): Indent "(" relative to the first non-"."
497 parent, or the first "." parent at indentation.
498 Use `ruby-align-chained-calls' for indentation of "." tokens.
501 2014-01-31 Juri Linkov <juri@jurta.org>
503 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
504 from `make-hash-table'.
506 * textmodes/ispell.el (ispell-init-process): Change message format
507 to be consistent with other messages.
509 2014-01-31 Glenn Morris <rgm@gnu.org>
511 * delsel.el (delete-selection-mode): Doc fix.
513 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
514 (trace-function-background): Doc fixes.
516 * ido.el (ido-use-virtual-buffers): Doc fix.
517 Reset :version, since the default value has not changed.
519 * register.el (register-preview-delay, register-read-with-preview):
522 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
523 do not mess with mail-buffer position (fixes 2009-11-03 change).
524 * progmodes/cc-mode.el (c-submit-bug-report):
525 Check auto-fill-mode is bound. (Bug#16592)
527 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
529 * startup.el (fancy-splash-image-file): New function,
530 split from fancy-splash-head.
531 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
532 so that we are both using the same image. (Bug#16574)
534 2014-01-30 Glenn Morris <rgm@gnu.org>
536 * simple.el (eval-expression): Doc fix.
538 * hexl.el (hexl-mode-hook):
539 * ielm.el (ielm-mode-hook):
540 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
541 (lisp-interaction-mode-hook):
542 * progmodes/cfengine.e (cfengine3-documentation-function):
543 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
545 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
547 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
548 is a symbol (bug#16584).
550 2014-01-30 Glenn Morris <rgm@gnu.org>
552 * help.el (help-for-help-internal): Add "P" to text.
554 2014-01-29 Glenn Morris <rgm@gnu.org>
556 * simple.el (just-one-space, cycle-spacing): Doc fixes.
558 2014-01-28 Martin Rudalics <rudalics@gmx.at>
560 * window.el (fit-frame-to-buffer): Fix calculations for margins and
563 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
565 * progmodes/hideif.el: Extend to full CPP expression syntax.
566 (hif-token-alist): Add missing tokens.
567 (hif-token-regexp): Add support for float/octal/hex immediates.
568 (hif-string-literal-regexp): New const.
569 (hif-tokenize): Recognize strings and float/octal/hex immediates.
570 (hif-exprlist): New function.
571 (hif-parse-if-exp): Use it.
572 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
573 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
574 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
575 (hif-logxor, hif-comma): New functions.
577 2014-01-28 Glenn Morris <rgm@gnu.org>
579 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
581 * indent.el (tab-stop-list): Doc fix. Add :version.
583 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
584 (cvs-append-to-ignore): Add compatibility alias.
586 2014-01-27 Glenn Morris <rgm@gnu.org>
588 * dired.el (dired-hide-details-mode): Don't autoload it,
589 since it cannot be used outside Dired buffers anyway.
591 * emulation/cua-base.el (cua-mode): Doc fix.
593 * dired.el (dired-hide-details-hide-symlink-targets)
594 (dired-hide-details-hide-information-lines)
595 (dired-hide-details-mode): Doc fixes.
597 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
598 * strokes.el (strokes-file): Doc fix. Bump :version.
599 (strokes-help): Doc fix.
600 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
601 * emulation/viper.el (viper): Doc fix for custom group.
602 (top-level): Remove oh-so-no-longer-relevant text about vip.
603 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
605 * ido.el (ido-save-directory-list-file):
606 * saveplace.el (save-place-file):
607 * calendar/timeclock.el (timeclock-file):
608 * net/quickurl.el (quickurl-url-file):
609 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
610 * progmodes/idlwave.el (idlwave-config-directory):
611 * textmodes/remember.el (remember-data-file):
614 2014-01-26 Glenn Morris <rgm@gnu.org>
616 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
617 Doc fix. Make obsolete.
618 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
620 * sort.el (delete-duplicate-lines): Doc fix.
622 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
624 * progmodes/ada-mode.el (ada):
625 * woman.el (woman): Link to info manual and Commentary section.
627 * progmodes/flymake.el (flymake):
628 * nxml/nxml-mode.el (nxml):
630 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
631 * htmlfontify.el (htmlfontify):
634 * ido.el (ido): Link to info manual.
636 2014-01-25 Leo Liu <sdl.web@gmail.com>
638 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
640 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
642 * net/shr.el (shr-tag-img): Prefer the title over the alt text
645 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
647 * net/eww.el (eww-download-callback):
648 Fix reference to eww-download-directory.
650 * emacs-lisp/bytecomp.el (byte-compile-file):
651 Remove unused local variable `file-name'.
653 2014-01-24 Glenn Morris <rgm@gnu.org>
655 * woman.el (woman-default-faces, woman-monochrome-faces):
656 Fix obsolescence specification.
658 * subr.el (with-demoted-errors): Doc fix.
660 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
662 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
663 (cl--macroexp-fboundp): New function.
664 (cl--make-type-test): Use it.
666 2014-01-23 Glenn Morris <rgm@gnu.org>
668 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
669 * simple.el (eval-expression): Doc fixes.
671 2014-01-22 Glenn Morris <rgm@gnu.org>
673 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
675 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
677 * emacs-lisp/package.el: Write files silently.
678 (package-autoload-ensure-default-file, package--write-file-no-coding)
679 (package-generate-description-file, package--download-one-archive)
680 (package-install-from-archive): Tell `write-region' to stay quiet.
681 (package-menu-mode, package-menu--print-info): Omit the Archive column
682 if there's only one archive.
683 (package-all-keywords, package--has-keyword-p): Remove dead code.
685 2014-01-22 Glenn Morris <rgm@gnu.org>
687 * version.el (emacs-bzr-version-bzr): Fix typo.
689 * version.el (emacs-repository-get-version):
690 Check either .bzr or .git, but not both.
691 Make the git case actually use the DIR argument, and return nil
692 rather than the empty string.
693 Avoid error if .git exists but the git executable is not found.
695 2014-01-22 Martin Rudalics <rudalics@gmx.at>
697 Fixes in window size functions around Bug#16430 and Bug#16470.
698 * window.el (window-total-size, window-size): New argument ROUND.
699 (window--min-delta-1, window-min-delta, window--max-delta-1):
700 Be more conservative when calculating the numbers of lines or
701 columns a window can shrink (Bug#16430).
702 (fit-window-to-buffer): Simplify code.
703 * term.el (term-window-width): Call window-body-width again.
705 2014-01-22 Glenn Morris <rgm@gnu.org>
707 * image.el (image-format-suffixes): Doc fix.
709 * international/quail.el (quail-define-package): Doc fix.
711 * emacs-lisp/authors.el (authors-valid-file-names):
712 (authors-renamed-files-alist): Additions.
714 * vc/vc-git.el (vc-git-print-log): Remove --follow;
715 reverts 2014-01-09 change. (Bug#16422)
717 * calc/calc-embed.el (thing-at-point-looking-at):
718 * emacs-lisp/map-ynp.el (x-popup-dialog):
719 * obsolete/lmenu.el (x-popup-dialog):
720 * emacs-lisp/package.el (url-recreate-url):
721 * mail/mailclient.el (clipboard-kill-ring-save):
722 * subr.el (x-popup-dialog): Update declaration.
723 * mail/rmail.el (rmail-mime-message-p):
724 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
726 2014-01-21 Daniel Colascione <dancol@dancol.org>
728 * progmodes/sh-script.el (sh--inside-noncommand-expression):
729 Correctly detect when we're inside an arithmetic expansion form
730 containing nested parenthesis.
731 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
732 to detect cases where we shouldn't expand "<<" to a heredoc
735 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
737 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
738 (eldoc--message-command-p): New function.
739 (eldoc-display-message-p): Use it.
740 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
741 message is not automatically erased for us.
742 (eldoc-print-current-symbol-info): Erase previous message, if any.
744 2014-01-21 Tassilo Horn <tsdh@gnu.org>
746 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
747 specify it's an interactive function.
749 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
750 Fix regex used for scanning for citation keys which failed for
751 citations with optional arguments.
753 2014-01-21 Leo Liu <sdl.web@gmail.com>
755 * simple.el (read--expression): Don't enable eldoc-mode.
757 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
759 * simple.el (move-beginning-of-line): Make sure we don't move forward
762 2014-01-20 Juri Linkov <juri@jurta.org>
764 * saveplace.el (toggle-save-place, save-place-to-alist)
765 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
766 'dired-mode) before checking for dired-directory. (Bug#16477)
768 2014-01-20 Juri Linkov <juri@jurta.org>
770 * indent.el (indent-line-to): Use backward-to-indentation
771 instead of back-to-indentation. (Bug#16461)
773 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
775 Revert some of the CANNOT_DUMP fix (Bug#16494).
776 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
777 but fixing this can wait until after the next release.
778 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
780 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
782 * eshell/esh-mode.el (eshell-password-prompt-regexp):
783 Use `password-word-equivalents'.
784 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
785 to t. (Bug#5664, Bug#13124)
787 2014-01-19 Alan Mackenzie <acm@muc.de>
789 Bind open-paren-in-column-0-is-defun-start to nil at some entry
791 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
792 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
793 * progmodes/cc-mode.el (c-before-change, c-after-change)
794 (c-font-lock-fontify-region): Bind it here.
796 2014-01-19 Martin Rudalics <rudalics@gmx.at>
798 * term.el (term-window-width): Call window-text-width instead of
799 window-width (Bug#16470).
801 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
803 * simple.el (password-word-equivalents): Remove duplicates.
804 Sort, to make this easier next time.
805 Downcase. Omit ": " after "jelszó".
807 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
809 * term/common-win.el (saved-region-selection): Defvar it.
810 (x-select-text): Set saved-region-selection (Bug#16382).
812 2014-01-18 Glenn Morris <rgm@gnu.org>
814 * emacs-lisp/authors.el (authors-aliases)
815 (authors-renamed-files-alist): Add some entries.
817 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
819 * net/tramp.el (tramp-password-prompt-regexp):
820 Use `password-word-equivalents' if available.
821 (tramp-action-password, tramp-process-one-action)
822 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
824 2014-01-17 Chong Yidong <cyd@gnu.org>
826 * simple.el (password-word-equivalents): New defcustom.
827 * comint.el (comint-password-prompt-regexp): Use it. Bump version
829 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
832 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
834 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
835 (ruby-align-to-stmt-keywords): Change the default value.
836 Use `ruby-alignable-keywords' to generate the possible customization
838 (ruby-smie-rules): Instead of using a hardcoded list of alignable
839 keywords, check against the value of `ruby-alignable-keywords'
840 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
842 2014-01-17 Glenn Morris <rgm@gnu.org>
844 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
846 Make M-x authors return zero *Authors Errors* from current logs.
847 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
848 (authors-ignored-files): Add some entries, remove others.
849 (authors-ambiguous-files, authors-valid-file-names):
851 (authors-renamed-files-alist): Add, remove, and adjust entries.
852 (authors-renamed-files-regexps): Add some entries.
853 Remove some very broad ones. Make some entries `lax'.
854 (authors-lax-changelogs): New constant.
855 (authors-disambiguate-file-name): Treat top-level specially.
856 (authors-lax-changelog-p): New function.
857 (authors-canonical-file-name): Check file as written against
858 authors-valid-file-names. Do not special-case etc/.
859 Handle `lax' logs and authors-renamed-files-regexps elements.
861 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
863 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
864 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
867 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
869 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
870 Assume we're already in the proper buffer.
871 Inspired by Anders Lindgren <andlind@gmail.com>.
872 (follow-post-command-hook): Call it from the right buffer.
873 (follow-comint-scroll-to-bottom): Adjust call.
874 (follow-all-followers): Use get-buffer-window-list.
876 2014-01-15 Daniel Colascione <dancol@dancol.org>
878 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
879 `buffer-file-name' in interactive-form so that we don't leave
880 pathless file names in `file-name-history'.
882 2014-01-15 Juri Linkov <juri@jurta.org>
884 * indent.el (indent-rigidly): Set deactivate-mark to nil
885 in transient indentation mode. (Bug#16438)
887 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
889 * emacs-lisp/package.el (package-desc-keywords): New function
891 (describe-package-1, package-all-keywords)
892 (package--has-keyword-p): Use it.
894 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
896 * simple.el (define-alternatives): When creating the
897 COMMAND-alternatives variable, assign COMMAND as its definition
898 name so that `describe-variable' can relocate it.
900 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
902 * font-lock.el (font-lock-keywords): Fix typo in docstring
905 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
907 * ispell.el (ispell-region): Reset `in-comment' for new line
908 instead of wrongly reset `add-coment' (bug#13577).
910 2014-01-14 Daiki Ueno <ueno@gnu.org>
912 * epa-file.el (epa-file-write-region): Encode the region according
913 to `buffer-file-format'. Problem reported at:
914 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
916 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
918 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
919 so it applies in the right buffer (bug#16410).
921 2014-01-13 Daniel Colascione <dancol@dancol.org>
923 * textmodes/rst.el (rst-define-key): Provide deprecated
924 keybindings through named functions instead of anonymous ones so
925 that "??" doesn't appear in describe-mode output.
927 2014-01-13 Bastien Guerry <bzg@gnu.org>
929 * simple.el (define-alternatives): Call the selected command
930 interactively. When setting `COMMAND--implementation' for the
931 first time, tell the user how to chose another implementation.
932 Enhance the docstring.
934 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
936 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
937 (log-edit--match-first-line): New function.
938 (log-edit-font-lock-keywords): Use it.
939 (log-edit-mode): Make jit-lock-defer-multiline work.
941 2014-01-13 Bastien Guerry <bzg@gnu.org>
943 * rect.el (rectangle-mark-mode): When the region is not active,
944 display a message saying that the mark as been set and that
945 rectangle mode is in use.
946 (rectangle--highlight-for-redisplay): Only put an overlay with a
947 visible vertical bar when (display-graphic-p) is non-nil.
948 This partially fixes Bug#16403.
950 2014-01-13 Juri Linkov <juri@jurta.org>
952 * info.el (Info-find-file): Go to DIR before displaying the error
953 about a nonexistent file if no previous Info file is visited.
954 Use `user-error' instead of `error' for "Info file %s does not exist".
955 (Info-find-node-2): In case of a nonexistent node in unwind forms
956 go to the Top node if there is no previous node to revert to.
959 2014-01-13 Martin Rudalics <rudalics@gmx.at>
961 fit-frame/window-to-buffer code fixes including one for Bug#14096.
962 * window.el (fit-frame-to-buffer): Fix doc-string.
963 Respect window-min-height/-width. Fit pixelwise when
964 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
965 when avoiding that frame goes partially off-screen.
966 (fit-window-to-buffer): Respect window-min-height/-width
969 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
971 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
974 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
976 * net/shr.el (shr-render-region): Autoload.
978 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
980 * net/eww.el (eww-download-directory): Rename from
981 `eww-download-path' (Bug#16419).
983 2014-01-12 Leo Liu <sdl.web@gmail.com>
985 * dired-x.el (dired-mode-map): Fix last change.
987 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
989 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
992 * emacs-lisp/generic.el (generic--normalize-comments):
993 Rename from generic--normalise-comments. All uses changed.
994 * play/bubbles.el (bubbles--neighborhood-score):
995 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
996 (bubbles--neighborhood-available)
997 (bubbles--update-neighborhood-score):
998 Rename from names with 'neighbourhood'. All uses changed.
1000 2014-01-12 Leo Liu <sdl.web@gmail.com>
1002 Re-implement the feature of showing eldoc info after editing.
1003 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
1004 (eldoc-edit-message-commands): New function.
1005 (eldoc-print-after-edit): New variable.
1006 (eldoc-pre-command-refresh-echo-area): Emit message only by
1007 eldoc-message-commands.
1008 (eldoc-mode): Restrict eldoc-message-commands to editing commands
1009 if eldoc-print-after-edit is set. (Bug#16346)
1010 * simple.el (read--expression): Enable eldoc-mode.
1011 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
1013 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
1014 Eric S. Raymond <esr@thyrsus.com>
1016 * version.el (emacs-repository-get-version): Enhance so the
1017 function works correctly in either a Bazaar or Git repo.
1019 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
1021 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
1022 Goes with removal of the joke manpages from /etc.
1024 2014-01-10 Kenichi Handa <handa@gnu.org>
1026 * mail/rmail.el (rmail-get-coding-system):
1027 Check rmail-get-coding-function before "funcall"ing it.
1029 2014-01-10 Glenn Morris <rgm@gnu.org>
1031 * emacs-lisp/authors.el (authors-fixed-entries):
1032 Update for files that no longer exist.
1034 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
1036 * version.el (emacs-bzr-get-version): Restore compatibilty with
1039 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
1041 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
1044 2014-01-10 Eli Zaretskii <eliz@gnu.org>
1046 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
1048 2014-01-10 Chong Yidong <cyd@gnu.org>
1050 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1052 2014-01-10 Anders Lindgren <andlind@gmail.com>
1054 * follow.el (follow-cache-command-list): Include right-char and
1057 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1060 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1061 * woman.el (woman-mark-horizontal-position):
1062 Rename from woman-mark-horizonal-position. Use changed.
1064 2014-01-10 Glenn Morris <rgm@gnu.org>
1066 * info.el (info-initialize): If running uninstalled, ensure our
1067 own info files are always found first, even if INFOPATH is set.
1069 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1071 2014-01-09 David Engster <deng@randomsample.de>
1073 * emacs-lisp/eieio-custom.el:
1074 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1075 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1076 * emacs-lisp/eieio.el: Regenerate autoloads.
1078 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1080 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1081 following renames. (Bug#8756)
1083 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1085 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1087 (activate-mark): Add `no-tmm' argument.
1088 (set-mark, push-mark-command): Use it instead of running
1089 activate-mark-hook by hand.
1091 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1093 In preparation for the move to git, sanitize out some
1094 Bazaar-specific names.
1096 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1098 * version.el (emacs-bzr-version): Name changed to
1099 emacs-repository-version. Obsolete-variable alias made.
1100 * loadup.el: Follow through on this name change.
1101 * mail/emacsbug.el (report-emacs-bug): Factor out any
1102 assumption about the version control system in use.
1104 2014-01-08 David Engster <deng@randomsample.de>
1106 * help-fns.el (help-fns-describe-function-functions):
1107 New variable to call functions for augmenting help buffers.
1108 (describe-function-1): Remove explicit calls to
1109 `help-fns--compiler-macro', `help-fns--parent-mode' and
1110 `help-fns--obsolete'. Put them in above new variable instead, and
1111 call them through `run-hook-with-args'.
1112 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1113 `eieio-describe-class'. Not meant for interactive use anymore,
1114 but to augment existing help buffers. Remove optional second
1115 argument. Create proper button for file location.
1116 Rewrite function to use `insert' instead of `princ' and `prin1' where
1118 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1119 (eieio-method-def, eieio-class-def): Move further up.
1120 (describe-method, describe-generic, eieio-describe-method):
1122 (eieio-help-constructor, eieio-help-generic): Rename from
1123 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1124 Rewrite to use `insert' in the current buffer and use proper help
1126 (eieio-help-find-method-definition)
1127 (eieio-help-find-class-definition): Also accept symbols as
1129 (eieio-help-mode-augmentation-maybee): Remove.
1130 (eieio-describe-class-sb): Use `describe-function'.
1131 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1132 Add `eieio-help-generic' and `eieio-help-constructor'.
1134 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1137 * language/china-util.el (hz-ascii-designation):
1138 Rename from hz-ascii-designnation.
1139 (hz-ascii-designation): Rename from hz-ascii-designnation.
1142 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1144 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1147 2014-01-08 Bastien Guerry <bzg@gnu.org>
1149 * emacs-lisp/package.el (package-delete):
1150 Correctly delete the package from package-alist.
1152 2014-01-08 Daiki Ueno <ueno@gnu.org>
1154 * emacs-lisp/package.el (url-recreate-url): Declare.
1155 (url-http-target-url): Declare.
1156 (package-handle-response): Include requested URL in the error message.
1157 (package--check-signature): Don't re-signal errors from
1158 package--with-work-buffer. Suggested by Stefan Monnier.
1160 2014-01-07 Bastien Guerry <bzg@gnu.org>
1162 * minibuffer.el (completion--try-word-completion): When both a
1163 hyphen and a space are possible candidates for the character
1164 following a word, display both candidates. (Bug#15980)
1166 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1168 * window.el (balance-windows-2): While rounding don't give a
1169 window more than the remainder. Bug#16351, bug#16383.
1171 2014-01-07 Glenn Morris <rgm@gnu.org>
1173 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1174 (menu-bar-help-menu): Use view-external-packages instead.
1176 2014-01-07 Bastien Guerry <bzg@gnu.org>
1178 * emacs-lisp/package.el (package-delete): Also delete the package
1179 name from `package-alist', not its description only.
1181 2014-01-07 Glenn Morris <rgm@gnu.org>
1183 * help.el (view-external-packages):
1184 * menu-bar.el (menu-bar-help-extra-packages):
1185 Visit efaq.info rather than etc/MORE.STUFF.
1187 2014-01-07 Juri Linkov <juri@jurta.org>
1189 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1190 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1192 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1193 that shadows RET. (Bug#16342)
1195 2014-01-07 Chong Yidong <cyd@gnu.org>
1197 * isearch.el (isearch-yank-char, isearch-yank-word)
1198 (isearch-yank-line): Doc fix.
1200 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1202 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1203 * emacs-lisp/elint.el (elint-find-builtins):
1204 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1205 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1206 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1207 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1208 * apropos.el (apropos-safe-documentation):
1209 * subr.el (symbol-file): Remove redundant fboundp.
1210 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1212 2014-01-06 Bastien Guerry <bzg@gnu.org>
1214 * hl-line.el (global-hl-line-overlay): Make a local variable.
1215 (global-hl-line-overlays): New variable to store all overlays.
1216 (global-hl-line-mode): Don't delete overlays from the current
1217 buffer when `global-hl-line-sticky-flag' is non-nil.
1218 (global-hl-line-highlight): Add new overlays to
1219 `global-hl-line-overlays'.
1220 (global-hl-line-unhighlight-all): New function to delete all
1221 overlays when turning off `global-hl-line-mode'.
1222 This fixes Bug#16183.
1224 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1226 * subr.el (set-transient-map): Fix nested case and docstring.
1228 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1230 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1233 2014-01-06 Daniel Colascione <dancol@dancol.org>
1235 Fix defun navigation in vc log view.
1237 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1238 like `beginning-of-defun'.
1239 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1240 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1241 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1242 (log-view-extract-comment): Call `log-view-current-entry' directly
1243 instead of relying on broken `log-view-beginning-of-defun' behavior.
1245 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1248 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1249 * emacs-lisp/debug.el (cancel-debug-on-entry):
1250 * epg.el (epg-error-to-string):
1251 * files.el (recover-file):
1252 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1253 * mail/emacsbug.el (report-emacs-bug-hook):
1254 * mail/sendmail.el (mail-recover):
1255 * ses.el (ses-yank-resize):
1256 * term/ns-win.el (ns-print-buffer):
1257 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1258 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1260 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1262 2014-01-06 Leo Liu <sdl.web@gmail.com>
1264 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1265 to avoid shadowing global key. (Bug#16354)
1267 2014-01-06 Daniel Colascione <dancol@dancol.org>
1269 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1272 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1274 * window.el (balance-windows): Add mising t to fix Bug#16351.
1276 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1278 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1280 (shr-insert): If we have a word that's longer than `shr-width',
1281 break after it anyway. Otherwise we'll do no breaking once we get
1284 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1286 * net/eww.el (eww): Support single/double quote for search.
1287 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1288 (eww-history-quit): Delete and use quit-window.
1289 (eww-history-kill): Delete, because it doesn't work well and
1291 (eww-history-mode-map): Delete some keys and add easy-menu.
1293 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1295 Fix misspelling of 'chinese' in rx (Bug#16237).
1296 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1299 Change subword regexps back to vars (Bug#16296).
1300 * progmodes/subword.el (subword-forward-regexp)
1301 (subword-backward-regexp): Change these back to variables.
1303 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1305 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1306 syntax-begin-function (bug#16247).
1308 2014-01-03 Chong Yidong <cyd@gnu.org>
1310 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1311 (advice--docstring): Delete variable.
1312 (advice--make-1): Leave the docstring empty.
1313 (advice-add): Use function-documentation for advised docstring.
1315 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1316 Ignore function-documentation property when getting documentation.
1317 (ad-activate-advised-definition): Use function-documentation
1318 generate the docstring.
1319 (ad-make-advised-definition): Don't call
1320 ad-make-advised-definition-docstring.
1321 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1324 * progmodes/sql.el (sql-help): Use function-documentation instead
1325 of dynamic-docstring-function property. No need to autoload now.
1326 (sql--help-docstring): New variable.
1327 (sql--make-help-docstring): Use it.
1329 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1331 * ielm.el (ielm-tab): Retarget.
1332 (ielm-map): Use ielm-tab for tab.
1333 (ielm-complete-filename): Use comint-filename-completion.
1334 (ielm-complete-symbol): Remove.
1335 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1336 remove ielm-tab from completion-at-point-functions (bug#16224).
1338 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1339 Beware signals raised by predicates (bug#16201).
1341 2014-01-02 Richard Stallman <rms@gnu.org>
1343 * dired-aux.el (dired-do-print): Handle printer-name.
1345 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1346 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1347 (rmail-epa-decrypt): Turn off mime processing.
1349 * mail/rmail.el (rmail-make-in-reply-to-field):
1350 Add parens in message-id.
1352 * mail/rmail.el (rmail-get-coding-function): Variable.
1353 (rmail-get-coding-system): Use it.
1355 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1357 * international/mule-conf.el: Unify the charset indian-is13194.
1358 (indian-is13194): Specify unify-map.
1360 2013-12-31 Leo Liu <sdl.web@gmail.com>
1362 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1364 2013-12-30 Daniel Colascione <dancol@dancol.org>
1366 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1367 of printing a useless when we resume from sleep.
1369 * progmodes/sh-script.el
1370 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
1371 in indentation code. (Bug#16233)
1373 2013-12-28 João Távora <joaotavora@gmail.com>
1375 * elec-pair.el (electric-pair-post-self-insert-function):
1376 Don't open extra newlines at beginning of buffer. (Bug#16272)
1378 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1380 * frame.el (window-system-for-display): Don't allow to create a
1381 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1383 2013-12-28 Glenn Morris <rgm@gnu.org>
1385 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1388 * apropos.el (apropos-match-face):
1389 * calculator.el (calculator-displayer):
1390 * dabbrev.el (dabbrev-search-these-buffers-only):
1391 * face-remap.el (buffer-face-mode-face):
1392 * simple.el (yank-handled-properties):
1393 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1394 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1395 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1396 (hashcash-double-spend-database):
1397 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1398 (ruby-deep-indent-paren-style):
1399 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1400 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1401 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1402 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1403 Specify custom types.
1405 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1406 * bookmark.el (bookmark-bmenu-use-header-line):
1407 * doc-view.el (doc-view-scale-internally):
1408 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1409 * register.el (register-preview-delay):
1410 * net/shr.el (shr-bullet):
1411 * progmodes/cfengine.el (cfengine-cf-promises)
1412 (cfengine-parameters-indent):
1413 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1414 * textmodes/reftex-vars.el (reftex-label-regexps):
1415 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1417 * net/tls.el (tls-certtool-program): Fix default value.
1419 * desktop.el (desktop-restore-in-current-display):
1420 * newcomment.el (comment-empty-lines):
1421 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1422 (idlwave-pad-keyword):
1423 * progmodes/tcl.el (tcl-tab-always-indent):
1424 * textmodes/reftex-vars.el (reftex-index-default-tag):
1425 * elec-pair.el (electric-pair-skip-whitespace):
1426 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1428 * emacs-lisp/authors.el (authors-ignored-files)
1429 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1431 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1433 * shell.el (shell-dynamic-complete-command): Doc fix.
1434 (shell--command-completion-data): Shell completion now matches
1435 executable filenames from the current buffer's directory, on
1436 systems in which this behavior is the default (windows-nt, ms-dos).
1438 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1440 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1442 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1444 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1447 * electric.el: Move all electric-pair-* to elec-pair.el.
1448 * elec-pair.el: New file, split from electric.el.
1450 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1452 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1453 indentation level is larger than the width, because that will
1455 (shr-insert): Fill repeatedly long texts, so that Japanese is
1456 formatted correctly (bug#16263).
1457 (shr-find-fill-point): Off by one error in comparison with the
1460 2013-12-26 João Távora <joaotavora@gmail.com>
1462 * electric.el (electric-pair-mode): More flexible engine for skip-
1463 and inhibit predicates, new options for pairing-related functionality.
1464 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1465 if that keeps or improves their balance in buffers.
1466 (electric-pair-delete-adjacent-pairs): Delete the pair when
1467 backspacing over adjacent matched delimiters.
1468 (electric-pair-open-extra-newline): Open extra newline when
1469 inserting newlines between adjacent matched delimiters.
1470 (electric--sort-post-self-insertion-hook):
1471 Sort post-self-insert-hook according to priority values when
1472 minor-modes are activated.
1473 * simple.el (newline-and-indent): Call newline with interactive
1475 (blink-paren-post-self-insert-function): Set priority to 100.
1476 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1477 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1478 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1479 electric-pair-open-newline-between-pairs to nil.
1481 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1483 * progmodes/python.el: Use lexical-binding.
1484 (python-nav-beginning-of-defun): Stop searching ASAP.
1486 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1488 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1489 Fix interactive spec. Doc fix. (Bug#15754)
1491 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1493 * emacs-lisp/byte-run.el (eval-when-compile):
1494 * progmodes/cc-defs.el (cc-eval-when-compile):
1495 Fix edebug spec (bug#16184).
1497 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1499 * net/shr.el (shr-visit-file): Remove debugging function.
1500 (shr-insert): Don't infloop if we can't find a good place to break
1501 the line (bug#16256).
1503 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1505 * progmodes/python.el:
1506 (python-nav--lisp-forward-sexp): New function.
1507 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1508 python-nav-lisp-forward-sexp-safe.
1509 (python-nav--forward-sexp): New argument SAFE allows switching
1510 forward sexp movement behavior for parens.
1511 (python-nav-forward-sexp): Throw errors on unterminated parens
1513 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1514 (python-nav-backward-sexp-safe): New functions.
1515 (python-shell-buffer-substring):
1516 Use `python-nav-forward-sexp-safe'.
1518 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1520 * net/shr.el (shr-find-fill-point): Don't break lines before a
1522 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1523 (shr-find-fill-point): Remove the special checks for the quotation
1524 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1526 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1528 * net/eww.el (eww-form-textarea): Use a different face for
1529 textareas than text input since they have different keymaps
1532 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1534 * progmodes/python.el (python-nav-beginning-of-statement):
1535 Speed up (Bug#15295).
1537 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1539 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1540 the window configuration.
1542 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1544 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1545 we run on MS-Windows or MS-DOS.
1547 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1549 * window.el (balance-windows-area): Call window-size instead of
1550 window-height and window-width. Bug#16241.
1552 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1554 * net/eww.el (eww-bookmark-quit): Remove.
1555 (eww-bookmark-browse): Restore the window configuration when you
1556 choose a bookmark (bug#16144).
1558 2013-12-24 Daniel Colascione <dancol@dancol.org>
1560 * icomplete.el: Remove redundant :group arguments to `defcustom'
1562 (icomplete-show-matches-on-no-input): New customizable variable.
1563 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1564 we have something to show.
1565 (icomplete-exhibit): Compute completions even if we have no user input.
1567 2013-12-23 Daniel Colascione <dancol@dancol.org>
1569 * icomplete.el: Move `provide' to end of file.
1571 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1573 * net/gnutls.el (gnutls-verify-error): Add version tag.
1575 2013-12-23 Chong Yidong <cyd@gnu.org>
1577 * subr.el (set-transient-map): Rename from
1578 set-temporary-overlay-map. Doc fix.
1580 * face-remap.el (text-scale-adjust):
1581 * indent.el (indent-rigidly):
1582 * kmacro.el (kmacro-call-macro):
1583 * minibuffer.el (minibuffer-force-complete):
1584 * repeat.el (repeat):
1585 * simple.el (universal-argument--mode):
1586 * calendar/todo-mode.el (todo-insert-item--next-param):
1587 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1589 * indent.el (indent-rigidly): Use substitute-command-keys.
1591 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1593 * net/eww.el (eww-tag-select): Add text-property to jump to next
1595 (eww): Add non-supported ftp error.
1597 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1599 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1600 comments. Handle electric indent after typing `?' and `!'.
1602 2013-12-22 Chong Yidong <cyd@gnu.org>
1604 * faces.el (face-spec-recalc): If the theme specs are not
1605 applicable to a frame, fall back on the defface spec.
1606 This prevents themes from obliterating faces on low-color terminals.
1608 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1610 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1611 after `{'. We need it after block openers, and it doesn't seem
1612 to hurt after hash openers.
1614 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1616 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1617 extracted from `ruby-smie-rules'.
1618 (ruby--electric-indent-chars): New variable.
1619 (ruby--electric-indent-p): New function.
1620 (ruby-mode): Use `electric-indent-functions' instead of
1621 `electric-indent-chars'.
1623 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1625 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1627 (ruby-smie-rules): Indent plus one level after `=>'.
1629 2013-12-21 Richard Stallman <rms@gnu.org>
1631 * simple.el (newline): Doc fix.
1633 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1635 * net/eww.el (eww-list-histories, eww-list-histories)
1636 (eww-history-browse, eww-history-quit, eww-history-kill)
1637 (eww-history-mode-map, eww-history-mode): New command and
1638 functions to list browser histories.
1639 (eww-form-text): Support text form with disabled
1640 and readonly attributes.
1641 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1643 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1645 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1646 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1647 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1648 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1650 (eww-bookmark-mode-map): Add menu.
1651 (eww-render, eww-mode): Use `setq-local'.
1652 (eww-tool-bar-map): New variable.
1653 (eww-mode): Set `tool-bar-map'.
1654 (eww-view-source): Check for `html-mode' with `fboundp'.
1656 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1658 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1659 elements with text inside. Also remove debugging.
1661 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1663 * cus-start.el (all): Add ns-use-srgb-colorspace.
1665 2013-12-21 Chong Yidong <cyd@gnu.org>
1667 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1668 undefined. Thus, theme settings for undefined faces do not take
1669 effect until the faces are defined with defface, the same as with
1672 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1673 (face-spec-reset-face): Don't assign extra properties in temacs.
1674 (face-spec-recalc): Apply X resources too.
1676 2013-12-21 Chong Yidong <cyd@gnu.org>
1678 * faces.el (face-spec-set):
1679 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1680 * custom.el (defface): Doc fixes (Bug#16203).
1682 * indent.el (indent-rigidly-map): Add docstring, and move commands
1683 into named functions.
1684 (indent-rigidly-left, indent-rigidly-right)
1685 (indent-rigidly-left-to-tab-stop)
1686 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1687 indentation direction based on bidi direction, and accumulate
1688 sequential commands in a single undo boundary.
1689 (indent-rigidly--pop-undo): New utility function.
1691 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1693 * faces.el (read-face-name): Require crm.el when using crm-separator.
1695 2013-12-20 Daniel Colascione <dancol@dancol.org>
1697 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1698 so that we don't reflow comments into the shebang line.
1700 2013-12-20 Juri Linkov <juri@jurta.org>
1702 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1703 a position when `dired-directory' is non-nil. Check integer
1704 positions with `integerp'.
1705 (toggle-save-place, save-places-to-alist): Add check for
1707 (save-place-find-file-hook): Check integer positions with
1709 (save-place-dired-hook): Use `dired-goto-file' when
1710 `dired-filename' is found in the assoc list. Check integer
1711 positions with `integerp'.
1712 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1714 * dired.el (dired-initial-position-hook): Rename back from
1715 `dired-initial-point-hook'.
1716 (dired-initial-position): Rename `dired-initial-point-hook' to
1717 `dired-initial-position-hook'.
1718 (dired-file-name-at-point): Doc fix. (Bug#15329)
1720 2013-12-20 Juri Linkov <juri@jurta.org>
1722 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1723 (read-regexp-suggestions): New function.
1724 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1725 Use `read-regexp-suggestions'. Add non-empty default to history
1727 (occur-read-regexp-defaults-function): Remove function.
1728 (occur-read-primary-args): Use `regexp-history-last' instead of
1729 `occur-read-regexp-defaults-function'.
1731 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1732 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1733 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1734 `hi-lock-read-regexp-defaults-function'. Doc fix.
1735 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1736 with `find-tag-default-as-symbol-regexp'. Doc fix.
1737 (hi-lock-read-regexp-defaults): Remove function.
1738 (hi-lock-regexp-okay): Add check for null.
1740 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1741 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1743 * subr.el (find-tag-default-as-symbol-regexp): New function.
1744 (find-tag-default-as-regexp): Move symbol regexp formatting to
1745 `find-tag-default-as-symbol-regexp'.
1747 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1749 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1752 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1754 * calendar/todo-mode.el: New implementation of item insertion
1755 commands and key bindings.
1756 (todo-key-prompt): New face.
1757 (todo-insert-item): New command.
1758 (todo-insert-item--parameters): New defconst, replacing defvar
1759 todo-insertion-commands-args-genlist.
1760 (todo-insert-item--param-key-alist): New defconst, replacing
1761 defvar todo-insertion-commands-arg-key-list.
1762 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1763 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1764 (todo-insert-item--next-param): New functions.
1765 (todo-insert-item--args, todo-insert-item--argleft)
1766 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1768 (todo-key-bindings-t): Change binding of "i" from
1769 todo-insertion-map to todo-insert-item.
1770 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1771 (todo-insertion-command-name, todo-insertion-commands-names)
1772 (todo-define-insertion-command, todo-insertion-commands)
1773 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1775 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1777 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1778 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1780 (todo-move-category): Allow choosing a non-existing todo file to
1781 move the category to, and create that file.
1782 (todo-default-priority): New user option.
1783 (todo-set-item-priority): Use it.
1784 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1785 (desktop-restore-file-buffer): Declare.
1786 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1787 (todo-modes-set-2): Locally set desktop-save-buffer to
1788 todo-desktop-save-buffer.
1789 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1790 (auto-mode-alist): Add autoload cookie.
1792 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1794 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1795 helpers.el was a poor choice of name.
1796 (string-remove-prefix): New function.
1797 (string-remove-suffix): New function.
1799 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1801 Fix assignment for new window total sizes.
1802 * window.el (window--pixel-to-size): Remove function.
1803 (window--pixel-to-total-1, window--pixel-to-total):
1804 Fix calculation of new total sizes.
1806 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1808 * comint.el (comint-output-filter): Fix rear-nonsticky property
1809 placement (Bug#16010).
1811 2013-12-20 Chong Yidong <cyd@gnu.org>
1813 * faces.el (read-color): Minor fix for completion function.
1815 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1817 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1818 New option. (Bug#16182)
1819 (ruby-smie--indent-to-stmt-p): Use it.
1820 (ruby-smie-rules): Revert the logic in the handling of `when'.
1821 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1822 (ruby-deep-arglist, ruby-deep-indent-paren)
1823 (ruby-deep-indent-paren-style): Update docstrings to note that the
1824 vars don't have any effect with SMIE.
1826 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1828 * calc/calc.el (calc-enter, calc-pop): Use the variable
1829 `calc-context-sensitive-enter'.
1831 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1833 * net/shr.el (shr-insert): Protect against infloops in degenerate
1836 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1838 * progmodes/octave.el (octave): Add link to manual and octave
1840 (octave-mode-menu): Link to octave-mode manual.
1842 2013-12-20 Leo Liu <sdl.web@gmail.com>
1844 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1845 insertion using skeleton-end-newline. (Bug#16138)
1847 2013-12-20 Juri Linkov <juri@jurta.org>
1849 * replace.el (occur-engine): Use `add-face-text-property'
1850 to add the face property to matches and titles. (Bug#14645)
1852 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1853 the palette of other hi-lock colors.
1854 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1856 2013-12-19 Juri Linkov <juri@jurta.org>
1858 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1859 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1860 (minibuffer-history-symbol): Move variable declaration closer to
1863 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1866 2013-12-19 Juri Linkov <juri@jurta.org>
1868 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1870 (log-edit-hook): Add it to :options. (Bug#16170)
1872 2013-12-19 Juri Linkov <juri@jurta.org>
1874 * simple.el (eval-expression-print-format): Don't check for
1875 command names and the last command. Always display additional
1876 formats of the integer result in the echo area, and insert them
1877 to the current buffer only with a zero prefix arg.
1878 Display character when char-displayable-p is non-nil.
1879 (eval-expression): With a zero prefix arg, set `print-length' and
1880 `print-level' to nil, and insert the integer values from
1881 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1883 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1884 `eval-last-sexp-arg-internal'. Doc fix.
1885 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1886 `eval-last-sexp-print-value'. Doc fix.
1887 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1888 Set `print-length' and `print-level' to nil when arg is zero.
1889 (eval-last-sexp): Doc fix.
1890 (eval-defun-2): Print the integer values from
1891 `eval-expression-print-format' at the end.
1893 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1894 values from `eval-expression-print-format' at the end.
1896 * ielm.el (ielm-eval-input): Print the integer
1897 values from `eval-expression-print-format' at the end.
1899 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1901 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1902 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1904 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1906 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1907 (hl-line-highlight, global-hl-line-highlight): Use it.
1908 (hl-line-overlay): Use defvar-local.
1910 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1912 * term/ns-win.el: Require dnd.
1913 (global-map): Remove drag items.
1914 (ns-insert-text, ns-set-foreground-at-mouse)
1915 (ns-set-background-at-mouse):
1916 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1917 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1920 2013-12-19 Glenn Morris <rgm@gnu.org>
1922 * emacs-lisp/ert.el (ert-select-tests):
1923 Fix string/symbol mixup. (Bug#16121)
1925 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1927 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1928 keywords to their parent.
1930 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1932 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1933 first arg to be a string (fixed dead code), or an operator symbol.
1934 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1936 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1937 did nothing. Don't respond to `(:after ".")', it will be called
1938 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1939 change anything. Only return indentation for binary operators
1940 when they are hanging. De-dent opening paren when its parent is
1941 `.', otherwise it looks bad when the dot is not at bol or eol
1944 2013-12-19 Juri Linkov <juri@jurta.org>
1946 * replace.el (query-replace-read-args): Split a non-negative arg
1947 and a negative arg into separate elements.
1948 (query-replace, query-replace-regexp, replace-string)
1949 (replace-regexp): Add arg `backward'. Doc fix.
1950 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1951 move point to the beginning of the match.
1952 (replace-search, replace-highlight): Use new arg `backward'
1953 to set the value of `isearch-forward'.
1954 (perform-replace): Add arg `backward' and use it to perform
1955 replacement backward. (Bug#14979)
1957 * isearch.el (isearch-query-replace): Use a negative prefix arg
1958 to call `perform-replace' with a non-nil arg `backward'.
1960 2013-12-18 Juri Linkov <juri@jurta.org>
1962 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1963 to the default list. Move `log-edit-show-files' to the end.
1964 Add more available functions to options.
1965 (log-edit): Move default specific settings to
1966 `log-edit-insert-message-template'. Don't move point.
1967 (log-edit-insert-message-template): New function.
1968 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1971 2013-12-18 Juri Linkov <juri@jurta.org>
1973 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1974 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1976 2013-12-18 Leo Liu <sdl.web@gmail.com>
1978 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1981 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1983 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1984 formats for displaying file sizes when the -s switch is given.
1985 Instead, compute a separate format for displaying the size in
1986 blocks, which is displayed in addition to the "regular" size.
1987 When -h is given in addition to -s, produce size in blocks in
1988 human-readable form as well. (Bug#16179)
1990 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1992 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1993 Reference tables with ~\ref{...} instead of only \ref{...}.
1995 2013-12-18 Chong Yidong <cyd@gnu.org>
1997 * cus-edit.el (custom-magic-alist): Fix "themed" description
2000 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
2001 is non-nil, do not create a new entry in the symbol's theme-value
2002 or theme-face property; update theme-settings only (Bug#14664).
2003 (custom-available-themes): Doc fix.
2005 * cus-theme.el (custom-new-theme-mode-map): Add bindings
2008 * replace.el (occur-engine): Avoid infloop (Bug#7593).
2010 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
2012 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
2015 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
2017 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
2019 2013-12-18 Glenn Morris <rgm@gnu.org>
2021 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
2022 * cus-start.el (load-prefer-newer): New option.
2024 2013-12-18 Le Wang <l26wang@gmail.com>
2026 * comint.el (comint-previous-matching-input-from-input):
2027 Retain point (Bug#13404).
2029 2013-12-18 Chong Yidong <cyd@gnu.org>
2031 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
2033 2013-12-18 Glenn Morris <rgm@gnu.org>
2035 * mail/emacsbug.el (report-emacs-bug):
2036 Only mention enable-multibyte-characters if non-standard.
2038 2013-12-17 Juri Linkov <juri@jurta.org>
2040 * arc-mode.el (archive-extract-by-file): Check if directory exists
2041 before deletion to not show irrelevant errors if it doesn't exist.
2043 2013-12-17 Juri Linkov <juri@jurta.org>
2045 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
2048 * net/eww.el (browse-web): Add alias to `eww'.
2049 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2050 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2052 * net/browse-url.el (browse-url-browser-function): Move `eww'
2053 closer to similar functions.
2055 * startup.el (fancy-startup-screen, fancy-about-screen):
2056 Set browse-url-browser-function to eww-browse-url locally.
2059 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2061 * window.el (window--pixel-to-total): Remove unused `mini' var.
2062 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2063 (split-window): Remove unused `new' var.
2064 (window--display-buffer): Remove unused `frame' and `delta' vars.
2065 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2068 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2070 * dired.el (dired-mark-pop-up):
2071 * register.el (register-preview): Don't bind
2072 split-height-threshold here since it's now done in
2073 display-buffer-below-selected.
2075 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2077 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2078 xterm-rgb-convert-to-16bit.
2079 (rxvt-register-default-colors): Standardize with
2080 xterm-register-default-colors (Bug#14078).
2082 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2084 * simple.el (kill-region): Pass mark first, then point, so that
2085 kill-append works right (Bug#12819).
2086 (copy-region-as-kill, kill-ring-save): Likewise.
2088 2013-12-17 Leo Liu <sdl.web@gmail.com>
2090 * net/rcirc.el (rcirc-add-face):
2091 * eshell/em-prompt.el (eshell-emit-prompt):
2092 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2095 2013-12-17 Chong Yidong <cyd@gnu.org>
2097 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2098 Suggested by Xue Fuqiao.
2100 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2102 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2104 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2106 * net/shr.el (shr-insert-document): Remove unused var
2107 `shr-preliminary-table-render'.
2108 (shr-rescale-image): Remove unused arg `force'.
2109 (shr-put-image): Update calls accordingly.
2110 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2112 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2114 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2115 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2116 :close-all, to see which indentation method to use (Bug#16116).
2117 (smie-rules-function): Document the method :close-all.
2119 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2121 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2123 * net/eww.el (eww-display-html): If we can't find the anchor we're
2124 looking for, then go to point-min.
2126 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2128 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2129 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2130 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2131 Expand dir too, in case it's relative.
2133 2013-12-16 Juri Linkov <juri@jurta.org>
2135 * desktop.el (desktop-auto-save-timeout): Change default to
2136 `auto-save-timeout'. Doc fix.
2137 (desktop-save): Skip the timestamp in desktop-saved-frameset
2138 when checking for auto-save changes.
2139 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2140 `desktop-auto-save' is called repeatedly by the idle timer.
2141 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2142 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2145 2013-12-16 Juri Linkov <juri@jurta.org>
2147 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2149 (isearch-pre-command-hook): Check `this-command' for symbolp.
2151 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2153 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2155 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2157 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2158 (cfengine3--current-function): Bring in the current-function
2159 functionality from `cfengine3--current-word'.
2160 (cfengine3-completion-function): Bring in the
2161 bounds-of-current-word functionality from
2162 `cfengine3--current-word'.
2164 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2166 * window.el (display-buffer-below-selected):
2167 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2169 2013-12-16 Leo Liu <sdl.web@gmail.com>
2171 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2172 Remove NOMSG arg and all uses changed.
2174 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2176 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2177 (cua--deactivate-rectangle): Don't deactivate the mark.
2178 (cua-set-rectangle-mark): Don't set mark-active since
2179 cua--activate-rectangle already does it for us.
2180 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2181 non-rectangular region.
2183 * emulation/cua-base.el (cua-repeat-replace-region):
2184 Use with-current-buffer.
2186 * net/gnutls.el: Use cl-lib.
2187 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2189 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2191 * emacs-lisp/package.el (package-built-in-p): Support both
2192 built-in and the package.el converted package descriptions.
2193 (package-show-package-list): Allow keywords.
2194 (package-keyword-button-action): Use it instead of
2195 `finder-list-matches'.
2196 (package-menu-filter-interactive): Interactive filtering (by
2198 (package-menu--generate): Support keywords and change keymappings
2199 and headers when they are given.
2200 (package--has-keyword-p): Helper function.
2201 (package-menu--refresh): Use it.
2202 (package--mapc): Helper function.
2203 (package-all-keywords): Use it.
2204 (package-menu-mode-map): Set up menu items and keybindings to
2205 provide a filtering UI.
2207 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2209 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2210 the behavior when a certificate fails validation. Defaults to
2211 old behavior: never abort, just warn.
2212 (gnutls-negotiate): Use it.
2214 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2216 * window.el (display-buffer-below-selected): Never split window
2217 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2219 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2221 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2222 (package-buffer-info): Use it (bug#15108).
2224 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2226 * icomplete.el (icomplete-completions): Make sure the prefix is already
2227 displayed elsewhere before hiding it (bug#16219).
2229 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2231 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2232 open-paren tokens when preceded by a open-paren, too.
2233 (ruby-smie-rules): Handle virtual indentation after open-paren
2234 tokens specially. If there is code between it and eol, return the
2235 column where is starts (Bug#16118).
2237 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2239 * progmodes/cfengine.el: Fix `add-hook' doc.
2240 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2241 (cfengine3--current-word): Fix parameters.
2242 (cfengine3-make-syntax-cache): Simplify further.
2243 (cfengine3-completion-function, cfengine3--current-function):
2244 Use `assq' for symbols.
2245 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2247 2013-12-13 Glenn Morris <rgm@gnu.org>
2249 * loadup.el (load-path): Warn if site-load or site-init changes it.
2250 No more need to reset it when bootstrapping.
2252 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2254 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2255 locations for cf-promises.
2256 (cfengine-mode-syntax-functions-regex): New caching variable.
2257 (cfengine3-fallback-syntax): Fallback syntax for cases where
2258 cf-promises doesn't run.
2259 (cfengine3--current-word): Reimplement using
2260 `cfengine-mode-syntax-functions-regex'.
2261 (cfengine3-completion-function, cfengine3--current-function):
2262 Use `cfengine3-make-syntax-cache' directly.
2263 (cfengine3-clear-syntax-cache): New function.
2264 (cfengine3-make-syntax-cache): Simplify and create
2265 `cfengine-mode-syntax-functions-regex' on demand.
2266 (cfengine3-format-function-docstring): Don't call
2267 `cfengine3-make-syntax-cache' explicitly.
2269 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2271 Fix windmove-find-other-window broken after pixelwise resizing
2273 * windmove.el (windmove-other-window-loc): Revert change from
2275 (windmove-find-other-window): Call window-in-direction.
2276 * window.el (window-in-direction): New arguments SIGN, WRAP and
2277 MINI to emulate original windmove-find-other-window behavior.
2279 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2281 * simple.el (blink-matching--overlay): New variable.
2282 (blink-matching-open): Instead of moving point, highlight the
2283 matching paren with an overlay
2284 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2286 * faces.el (paren-showing-faces, show-paren-match)
2287 (show-paren-mismatch): Move from paren.el.
2289 2013-12-13 Leo Liu <sdl.web@gmail.com>
2291 * indent.el (indent-region): Disable progress reporter in
2292 minibuffer. (Bug#16108)
2294 * bindings.el (visual-order-cursor-movement): Fix version.
2296 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2298 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2299 Also match after beginning of line.
2300 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2301 files. Thanks to Russell Sim. (Bug#15378)
2303 2013-12-13 Juri Linkov <juri@jurta.org>
2305 * simple.el <Keypad support>: Remove key bindings duplicated
2306 with bindings.el. (Bug#14397)
2308 2013-12-13 Juri Linkov <juri@jurta.org>
2310 * comint.el (comint-mode-map): Replace `delete-char' with
2311 `delete-forward-char'. (Bug#16109)
2313 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2315 * progmodes/python.el (python-indent-calculate-indentation):
2316 Fix de-denters cornercase. (Bug#15731)
2318 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2320 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2321 (advice--make): Pay attention to `depth'.
2322 (advice--make-1): Don't autoload commands eagerly.
2323 * emacs-lisp/elp.el (elp-instrument-function):
2324 * emacs-lisp/trace.el (trace-function-internal):
2325 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2327 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2329 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2331 * term/w32-win.el (w32-handle-dropped-file):
2332 * startup.el (normal-top-level):
2333 * net/browse-url.el (browse-url-file-url):
2334 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2335 decode file names using 'utf-8' rather than
2336 file-name-coding-system.
2338 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2340 * progmodes/python.el (python-indent-context)
2341 (python-indent-calculate-indentation): Fix auto-identation
2342 behavior for comment blocks. (Bug#15916)
2344 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2346 * progmodes/python.el (python-indent-calculate-indentation):
2347 When determining indentation, don't treat "return", "pass", etc., as
2348 operators when they are just string constituents. (Bug#15812)
2350 2013-12-12 Juri Linkov <juri@jurta.org>
2352 * uniquify.el (uniquify-buffer-name-style): Change default to
2353 `post-forward-angle-brackets'.
2355 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2356 `uniquify'. Change default to `post-forward-angle-brackets'.
2358 2013-12-11 Glenn Morris <rgm@gnu.org>
2360 * emacs-lisp/package.el (finder-list-matches):
2361 Autoload rather than falsely declaring.
2363 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2365 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2366 (eww-mode-map): Use them.
2368 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2370 * window.el (display-buffer-in-side-window): Fix doc-string
2373 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2375 * vc/vc-git.el: Silence byte-compiler warnings.
2376 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2377 (log-edit-set-header): Declare.
2379 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2381 * Makefile.in (custom-deps, finder-data): Run output file names
2382 through unmsys--file-name. (Bug#16099)
2384 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2386 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2387 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2389 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2390 instead of deleting the selection "by hand" (bug#16098).
2391 Rely on insert-for-yank to yank rectangles.
2392 (cua-highlight-region-shift-only): Mark obsolete.
2393 (cua-mode): Don't enable/disable transient-mark-mode,
2394 shift-select-mode (cua-mode works both with and without them), and
2395 pc-selection-mode (obsolete).
2396 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2397 (cua--deactivate-rectangle): Deactivate it.
2399 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2400 (delete-selection-helper): Make sure yank starts at the top of the
2402 (minibuffer-keyboard-quit): Use region-active-p.
2404 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2406 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2407 to `delete' (bug#16109).
2409 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2411 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2412 info manual and show keybindings and set `:group' keyword.
2414 2013-12-11 Juri Linkov <juri@jurta.org>
2416 * delsel.el (delete-active-region): Let-bind `this-command'
2417 to prevent `kill-region' from changing its original value.
2418 (delete-selection-helper): Handle `overwrite-mode' for the type
2419 `kill' exactly the same way as for the type `t'.
2420 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2421 Support more commands. (Bug#13312)
2423 2013-12-11 Juri Linkov <juri@jurta.org>
2425 * bindings.el: Map kp keys to non-kp keys systematically
2426 with basic modifiers control, meta and shift. (Bug#14397)
2428 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2430 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2431 "Close browser" menu items. Fix wrong function of "List
2434 2013-12-11 Juri Linkov <juri@jurta.org>
2436 * misearch.el (multi-isearch-buffers): Set the value of
2437 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2438 arg of isearch-forward to t.
2439 (multi-isearch-buffers-regexp): Set the value of
2440 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2441 arg of isearch-forward-regexp to t.
2442 (multi-isearch-files): Set the value of
2443 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2444 arg of isearch-forward to t.
2445 (multi-isearch-files-regexp): Set the value of
2446 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2447 arg of isearch-forward-regexp to t. (Bug#16035)
2449 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2450 arg of isearch-forward to t.
2451 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2452 arg of isearch-forward-regexp to t.
2453 (dired-isearch-filter-filenames): Remove unnecessary check for
2454 `dired-isearch-filenames'.
2456 * comint.el (comint-history-isearch-backward):
2457 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2458 (comint-history-isearch-backward-regexp):
2459 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2461 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2463 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2464 unmsys--file-name. (Bug#16099)
2466 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2468 * emacs-lisp/package.el (package-keyword-button-action):
2469 Remove finder.el require dependency.
2471 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2473 * emacs-lisp/package.el: Require finder.el.
2474 (describe-package-1): Add keyword buttons.
2475 (package-make-button): New convenience function.
2476 (package-keyword-button-action): Keyword button action using
2477 `finder-list-matches'.
2479 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2481 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2484 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2486 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2489 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2491 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2492 after the end of a percent literal.
2494 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2496 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2497 Handle caret-delimited strings (Bug#16079).
2499 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2501 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2502 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2503 `ruby-parse-partial' (Bug#16078).
2505 2013-12-09 Leo Liu <sdl.web@gmail.com>
2507 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2509 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2511 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2512 (js-switch-indent-offset): New option.
2513 (js--proper-indentation): Use it. And handle the case when
2514 "default" is actually a key in an object literal.
2515 (js--same-line): New function.
2516 (js--multi-line-declaration-indentation): Use it.
2517 (js--indent-in-array-comp, js--array-comp-indentation):
2519 (js--proper-indentation): Use them, to handle array comprehension
2522 2013-12-08 Leo Liu <sdl.web@gmail.com>
2524 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2525 (flymake-make-overlay): Remove arg MOUSE-FACE.
2526 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2528 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2530 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2532 (redisplay-highlight-region-function): Use it.
2534 * emulation/cua-base.el (cua--explicit-region-start)
2535 (cua--last-region-shifted): Remove.
2536 (cua--deactivate): Use deactivate-mark.
2537 (cua--pre-command-handler-1): Don't handle shift-selection.
2538 (cua--post-command-handler-1): Don't change transient-mark-mode.
2539 (cua--select-keymaps): Use region-active-p rather than
2540 cua--explicit-region-start or cua--last-region-shifted.
2541 (cua-mode): Enable shift-select-mode.
2543 2013-12-08 Leo Liu <sdl.web@gmail.com>
2545 * progmodes/flymake.el (flymake-popup-current-error-menu):
2546 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2547 (flymake-posn-at-point-as-event, flymake-popup-menu)
2548 (flymake-make-emacs-menu): Remove. (Bug#16077)
2550 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2552 * rect.el (rectangle-mark-mode): Activate mark even if
2553 transient-mark-mode is off (bug#16066).
2554 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2555 is > mark and at bolp.
2557 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2558 (region-extract-function): Use it.
2559 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2560 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2562 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2563 kill-ring-save, kill-region, delete-char, delete-forward-char.
2564 Ignore self-insert-iso.
2566 * emulation/cua-gmrk.el (cua--init-global-mark):
2567 Ignore `self-insert-iso'.
2569 * emulation/cua-base.el (cua--prefix-copy-handler)
2570 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2571 checking cua--rectangle.
2572 (cua-delete-region): Use region-extract-function.
2573 (cua-replace-region): Delete function.
2574 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2575 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2576 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2577 (cua--init-keymaps): Don't remap delete-selection commands.
2578 (cua-mode): Use delete-selection-mode instead of rolling our own
2581 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2582 Obey region-extract-function.
2584 Make registers and delete-selection-mode work on rectangles.
2585 * register.el (describe-register-1): Don't modify the register's value.
2586 (copy-to-register): Obey region-extract-function.
2587 * delsel.el (delete-active-region): Obey region-extract-function.
2589 2013-12-08 Leo Liu <sdl.web@gmail.com>
2591 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2592 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2593 (flymake-compilation-prevents-syntax-check)
2594 (flymake-start-syntax-check-on-newline)
2595 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2596 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2597 (flymake-xml-program, flymake-master-file-dirs)
2598 (flymake-master-file-count-limit)
2599 (flymake-allowed-file-name-masks): Relocate.
2600 (flymake-makehash, flymake-float-time)
2601 (flymake-replace-regexp-in-string, flymake-split-string)
2602 (flymake-get-temp-dir): Remove.
2603 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2604 (flymake-current-row, flymake-selected-frame)
2605 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2606 related functions. (Bug#16077)
2608 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2610 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2612 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2614 * help-fns.el (describe-function-1): Use new advice-* functions
2615 rather than old ad-* functions. Fix function type description and
2616 source links for advised functions and subrs.
2618 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2620 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2622 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2624 * progmodes/compile.el (compilation-start):
2625 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2627 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2628 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2630 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2632 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2633 Touch up the last change.
2635 2013-12-06 Leo Liu <sdl.web@gmail.com>
2637 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2638 (inferior-octave-startup): Always use "octave> " for prompt.
2639 (octave-goto-function-definition)
2640 (octave-sync-function-file-names)
2641 (octave-find-definition-default-filename): Remove redundant backquotes.
2643 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2645 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2647 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2648 where appropriate already.
2649 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2650 end of method names (Bug#15874).
2652 2013-12-06 Juri Linkov <juri@jurta.org>
2654 * isearch.el (isearch--saved-overriding-local-map):
2655 New internal variable.
2656 (isearch-mode): Set it to the initial value of
2657 `overriding-terminal-local-map'.
2658 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2659 with `isearch--saved-overriding-local-map'. (Bug#16035)
2661 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2663 * progmodes/octave.el (inferior-octave-completion-table):
2664 Turn back into function, use `completion-table-with-cache'
2665 (Bug#11906). Update all references.
2667 * minibuffer.el (completion-table-with-cache): New function.
2669 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2671 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2673 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2675 * net/eww.el (eww-current-source): New variable to store page
2677 (eww-display-html, eww-mode, eww-save-history)
2678 (eww-restore-history): Use it.
2679 (eww-view-source): New command to view page source.
2680 Opportunistically uses `html-mode' to highlight the buffer.
2681 (eww-mode-map): Install it.
2683 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2685 * net/dbus.el (dbus-unregister-service)
2686 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2688 (dbus-unregister-service): Skip :serial entries in
2689 `dbus-registered-objects-table'.
2690 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2692 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2694 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2695 around keywords with extra `split-string' argument.
2697 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2699 * windmove.el (windmove-other-window-loc): Handle navigation
2700 between windows (excluding the minibuffer window - Bug#16017).
2702 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2704 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2705 in D-Bus type syntax.
2706 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2707 preserve unibyte strings. (Bug#16048)
2709 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2711 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2712 Call force-mode-line-update is the proper buffer (bug#16042).
2714 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2716 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2717 `log-edit-remember-comment', make argument optional. Adjust all
2719 (log-edit-mode): Add `log-edit-remember-comment' to
2720 `kill-buffer-hook' locally.
2721 (log-edit-kill-buffer): Don't remember comment explicitly since
2722 the buffer is killed anyway.
2724 2013-12-04 Juri Linkov <juri@jurta.org>
2726 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2727 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2729 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2731 * notifications.el (notifications-close-notification): Call the
2732 D-Bus method with ID being a `:uint32'. (Bug#16030)
2734 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2736 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2738 2013-12-03 Juri Linkov <juri@jurta.org>
2740 * progmodes/compile.el (compilation-start): Rename window alist
2741 entry `no-display-ok' to `allow-no-window'.
2743 * simple.el (shell-command): Add window alist entry
2744 `allow-no-window' to `display-buffer'.
2745 (async-shell-command): Doc fix.
2747 * window.el (display-buffer-no-window): New action function.
2748 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2750 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2752 * vc/log-edit.el (log-edit-set-header): Extract from
2753 `log-edit-toggle-header'.
2754 (log-edit-extract-headers): Separate the summary, when extracted
2755 from header, from the rest of the message with an empty line.
2757 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2758 line, if present, to the Summary header.
2760 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2762 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2763 in current-buffer (bug#16029).
2765 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2767 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2768 (debugger-mode-map): Bind it.
2769 (debugger--backtrace-base): New function.
2770 (debugger-eval-expression): Use it.
2771 (debugger-frame-number): Skip local vars when present.
2772 (debugger--locals-visible-p, debugger--insert-locals)
2773 (debugger--show-locals, debugger--hide-locals): New functions.
2775 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2777 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2779 (tramp-get-remote-locale): New defun.
2780 (tramp-open-connection-setup-interactive-shell): Use it.
2782 2013-12-02 Leo Liu <sdl.web@gmail.com>
2784 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2786 * progmodes/sh-script.el (sh-shell-process):
2787 * progmodes/octave.el (inferior-octave-process-live-p):
2788 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2789 (gdb-inferior-io-sentinel):
2790 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2792 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2794 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2795 `save-selected-window' to `log-edit-hide-buf'. This makes
2796 `log-edit-show-files' idempotent.
2797 (log-edit-show-files): Mark the new window as dedicated.
2799 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2801 * vc/log-edit.el (log-edit-mode-map): Add binding for
2802 `log-edit-kill-biffer'.
2803 (log-edit-hide-buf): Add a FIXME comment.
2804 (log-edit-add-new-comment): New function, extracted from
2806 (log-edit-done, log-edit-add-to-changelog): Use it.
2807 (log-edit-kill-buffer): New command.
2809 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2811 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2812 instead of killing the buffer.
2814 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2816 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2818 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2820 * net/eww.el (eww-form-checkbox-selected-symbol)
2821 (eww-form-checkbox-symbol): New customizable variable.
2822 (eww-form-checkbox, eww-toggle-checkbox):
2823 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2825 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2826 (shr--get-media-pref, shr--extract-best-source): New function.
2827 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2828 no :src tag was specified.
2830 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2831 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2832 Use \\` to match beginning of string instead of ^.
2833 (eww-browse-with-external-browser): Provide optional URL parameter.
2834 (eww-render): Set `eww-current-title' back to "".
2836 * net/shr.el (shr-tag-video): Display content for video if no
2837 poster is available.
2838 (shr-tag-audio): Add support for <audio> tag.
2840 * net/eww.el (eww-text-input-types): New const.
2841 (eww-process-text-input): Treat input types in
2842 `eww-text-input-types' as text.
2844 * net/shr.el (shr-tag-table): Fix comment typo.
2846 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2848 * net/eww.el (eww-follow-link): New command to avoid reloading
2849 pages when we follow #target links (bug#15243).
2850 (eww-quit): Special mode buffers shouldn't query before exiting.
2852 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2854 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2857 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2859 * net/eww.el (eww-restore-history): Update the window title after
2860 moving in the history.
2861 (eww-current-dom): New variable used to save the current DOM.
2863 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2865 * vc/log-edit.el (log-edit-mode-map): Add binding for
2866 `log-edit-beginning-of-line'.
2867 (log-edit-setup-add-author): New user option.
2868 (log-edit-beginning-of-line): New command.
2869 (log-edit): Move major mode call above the contents setup so that
2870 the local variable values are already applied.
2871 (log-edit): Only insert "Author: " when
2872 `log-edit-setup-add-author' is non-nil.
2873 (log-edit): When SETUP is non-nil, position point after ": "
2874 instead of point-min.
2876 2013-12-01 Glenn Morris <rgm@gnu.org>
2878 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2880 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2882 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2883 redisplay to make sure the initial frame gets a chance to become
2884 visible. (Bug#16014)
2886 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2888 Support resizing frames and windows pixelwise.
2889 * cus-start.el (frame-resize-pixelwise)
2890 (window-resize-pixelwise): New entries.
2891 * emacs-lisp/debug.el (debug): Use window-total-height instead
2892 of window-total-size.
2893 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2894 * help.el (describe-bindings-internal): Call help-buffer
2895 (temp-buffer-max-width): New option.
2896 (resize-temp-buffer-window, help-window-setup)
2897 (with-help-window): Rewrite.
2898 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2900 * window.el (frame-char-size, window-min-pixel-height)
2901 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2902 (window-min-pixel-width, window-safe-min-pixel-size)
2903 (window-combination-p, window-safe-min-size)
2904 (window-resizable-p, window--size-to-pixel)
2905 (window--pixel-to-size, window--resize-apply-p): New functions.
2906 (window-safe-min-height): Fix doc-string.
2907 (window-size, window-min-size, window--min-size-1)
2908 (window-sizable, window-sizable-p, window--min-delta-1)
2909 (window-min-delta, window--max-delta-1, window-max-delta)
2910 (window--resizable, window--resizable-p, window-resizable)
2911 (window-full-height-p, window-full-width-p, window-at-side-p)
2912 (window--in-direction-2, window-in-direction)
2913 (window--resize-reset-1, window--resize-mini-window)
2914 (window-resize, window-resize-no-error)
2915 (window--resize-child-windows-normal)
2916 (window--resize-child-windows, window--resize-siblings)
2917 (window--resize-this-window, window--resize-root-window)
2918 (window--resize-root-window-vertically)
2919 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2920 (maximize-window, minimize-window, delete-window)
2921 (quit-restore-window, window-split-min-size, split-window)
2922 (balance-windows-2, balance-windows)
2923 (balance-windows-area-adjust, balance-windows-area)
2924 (window--state-get-1, window-state-get, window--state-put-1)
2925 (window--state-put-2, window-state-put)
2926 (display-buffer-record-window, window--display-buffer):
2927 Make functions handle pixelwise sizing of windows.
2928 (display-buffer--action-function-custom-type)
2929 (display-buffer-fallback-action):
2930 Add display-buffer-in-previous-window.
2931 (display-buffer-use-some-window): Resize window to height it had
2933 (fit-window-to-buffer-horizontally): New option.
2934 (fit-frame-to-buffer): Describe new values.
2935 (fit-frame-to-buffer-bottom-margin): Replace with
2936 fit-frame-to-buffer-margins.
2937 (window--sanitize-margin): New function.
2938 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2939 using window-text-pixel-size.
2941 2013-11-30 Glenn Morris <rgm@gnu.org>
2943 * emacs-lisp/bytecomp.el (byte-compile-form):
2944 Make the `interactive-only' warning like the `obsolete' one.
2945 * comint.el (comint-run):
2946 * files.el (insert-file-literally, insert-file):
2947 * replace.el (replace-string, replace-regexp):
2948 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2949 (goto-line, insert-buffer, next-line, previous-line):
2950 Tweak `interactive-only' spec.
2952 Stop keeping (most) generated cedet grammar files in the repository.
2953 * Makefile.in (semantic): New.
2954 (compile-main): Depend on semantic.
2956 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2958 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2959 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2961 * uniquify.el (uniquify-buffer-name-style): Change default.
2963 * loadup.el: Preload "uniquify".
2965 * time.el (display-time-update): Update all mode lines (bug#15999).
2967 * electric.el (electric-indent-mode): Enable by default.
2968 * loadup.el: Preload "electric".
2970 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2972 * emacs-lisp/helpers.el (string-empty-p): New function.
2973 (string-blank-p): New function.
2975 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2977 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2980 2013-11-29 Andreas Politz <politza@fh-trier.de>
2981 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2982 allow non-lambda lists as functions.
2983 (imenu--in-alist): Don't recurse into non-subalists.
2984 (imenu): Don't pass function itself as an argument (Bug#14029).
2986 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2988 * progmodes/python.el (python-mode-map): Remove binding for ":".
2989 (python-indent-electric-colon): Remove command.
2990 (python-indent-post-self-insert-function): Integrate the previous code
2991 of python-indent-electric-colon. Make it conditional on
2992 electric-indent-mode.
2993 (python-mode): Add ?: to electric-indent-chars.
2994 Move python-indent-post-self-insert-function to the end of
2995 post-self-insert-hook.
2997 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2999 * doc-view.el (doc-view-goto-page): Update mode-line.
3001 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
3003 2013-11-27 Glenn Morris <rgm@gnu.org>
3005 * international/charprop.el, international/uni-bidi.el:
3006 * international/uni-category.el, international/uni-combining.el:
3007 * international/uni-comment.el, international/uni-decimal.el:
3008 * international/uni-decomposition.el, international/uni-digit.el:
3009 * international/uni-lowercase.el, international/uni-mirrored.el:
3010 * international/uni-name.el, international/uni-numeric.el:
3011 * international/uni-old-name.el, international/uni-titlecase.el:
3012 * international/uni-uppercase.el:
3013 Remove generated files from VCS repository.
3015 2013-11-27 Eli Zaretskii <eliz@gnu.org>
3017 * filenotify.el (file-notify-add-watch): Don't special-case
3018 w32notify when computing the directory to watch.
3020 2013-11-27 Glenn Morris <rgm@gnu.org>
3022 Make bootstrap without generated uni-*.el files possible again.
3023 * loadup.el: Update command-line-args checking for unidata-gen.
3024 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
3025 * composite.el, international/characters.el:
3026 Handle unicode tables being undefined.
3028 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
3029 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
3030 (compile-main): Depend on leim rule.
3032 * loadup.el: Move leim-list.el to leim/ subdirectory.
3033 * startup.el (normal-top-level): No more leim directory.
3034 * international/ja-dic-cnv.el (skkdic-convert):
3035 Disable version-control and autoloads in output files.
3036 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
3037 Disable version-control and autoloads in output files.
3038 * leim/quail: Move here from ../leim.
3039 * leim/quail/hangul.el (hangul-input-method-activate):
3040 Add autoload cookie.
3041 (generated-autoload-load-name): Set file-local value.
3042 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
3043 (generated-autoload-load-name): Set file-local value.
3045 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
3047 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
3048 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3049 (eww-quit): Ask confirmation before quitting eww.
3051 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3053 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3054 reading output from Diff on MS-Windows and MS-DOS.
3056 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3058 * emacs-lisp/helpers.el (string-reverse): New function.
3060 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3062 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3063 names on MS Windows, like "/[::1]:".
3065 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3068 2013-11-26 Glenn Morris <rgm@gnu.org>
3070 * progmodes/python.el (python-indent-guess-indent-offset):
3071 Avoid corner-case error. (Bug#15975)
3073 Preload leim-list.el. (Bug#4789)
3074 * loadup.el: Load leim-list.el when found.
3075 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3077 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3079 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3081 * emacs-lisp/helpers.el (string-join): New function.
3083 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3085 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3086 Mark as obsolete and replace it with a symbol property.
3087 (byte-compile-form): Use new 'interactive-only property.
3088 * comint.el, files.el, replace.el, simple.el:
3089 Apply new 'interactive-only properly.
3091 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3093 * window.el (display-buffer-at-bottom): Make sure that
3094 split-window-sensibly creates the new window on bottom
3097 2013-11-23 David Kastrup <dak@gnu.org>
3099 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3100 on the conflict markers when available.
3101 (smerge--get-marker): New function.
3102 (smerge-end-re, smerge-base-re): Add subgroup.
3104 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3106 * frame.el (handle-focus-in, handle-focus-out): Add missing
3109 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3111 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3112 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3114 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3116 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3117 (gomoku--last-pos): New var.
3118 (gomoku--intangible-chars): New const.
3119 (gomoku--intangible): New function.
3120 (gomoku-mode): Use it. Derive from special-mode.
3121 (gomoku-move-up): Adjust line count.
3122 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3123 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3124 Simplify accordingly.
3126 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3127 Remove blink-cursor code.
3128 (blink-cursor-timer-function, blink-cursor-suspend):
3129 Don't special-case GUIs.
3130 (blink-cursor-mode): Use focus-in/out-hook.
3132 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3134 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3135 work when annotation is invisible (Bug#13886).
3137 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3139 * json.el (json-alist-p): Only return non-nil if the alist has
3140 simple keys (Bug#13518).
3142 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3144 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3145 when control-statement is the first statement in a buffer (Bug#15956).
3147 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3149 * imenu.el (imenu-generic-skip-comments-and-strings):
3150 New option (Bug#15560).
3151 (imenu--generic-function): Use it.
3153 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3155 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3158 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3160 * emacs-lisp/helpers.el: Add some string helpers.
3161 (string-trim-left): Removes leading whitespace.
3162 (string-trim-right): Removes trailing whitespace.
3163 (string-trim): Removes leading and trailing whitespace.
3165 * subr.el (string-suffix-p): New function.
3167 2013-11-23 Glenn Morris <rgm@gnu.org>
3169 * progmodes/python.el (python-shell-send-file):
3170 Add option to delete file when done. (Bug#15647)
3171 (python-shell-send-string, python-shell-send-region): Use it.
3173 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3175 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3176 to set buffer-read-only to t, never to nil. (Bug#15938)
3178 * textmodes/tex-mode.el (latex-noindent-environments):
3179 Add safe-local-variable property. (Bug#15936)
3181 2013-11-23 Glenn Morris <rgm@gnu.org>
3183 * textmodes/enriched.el (enriched-mode): Doc fix.
3184 * emacs-lisp/authors.el (authors-renamed-files-alist):
3185 Add enriched.doc -> enriched.txt.
3187 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3189 2013-11-22 Leo Liu <sdl.web@gmail.com>
3191 * progmodes/octave.el (inferior-octave-startup): Spit out error
3194 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3196 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3199 (ruby-encoding-magic-comment-style): Add :version.
3201 2013-11-22 Leo Liu <sdl.web@gmail.com>
3203 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3205 (octave-help-mode): Adapt to change to help-mode-finish to use
3206 derived-mode-p on 2013-09-17.
3207 (inferior-octave-prompt): Also match octave-gui.
3208 (octave-kill-process): Don't ask twice. (Bug#10564)
3210 2013-11-22 Leo Liu <sdl.web@gmail.com>
3212 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3213 (inferior-octave-startup, inferior-octave-check-process)
3214 (inferior-octave-track-window-width-change)
3215 (octave-completion-at-point, octave-eldoc-function): Use it.
3216 (octave-kill-process): Provide confirmation. (Bug#10564)
3218 2013-11-21 Leo Liu <sdl.web@gmail.com>
3220 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3221 Fix obsolete variable comment-use-global-state.
3223 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3225 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3226 Add `octave-source-file'.
3227 (octave-source-file): New function. (Bug#15935)
3229 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3231 * net/eww.el (eww-local-regex): New variable.
3232 (eww): Use it to detect localhost and similar.
3234 2013-11-21 Leo Liu <sdl.web@gmail.com>
3236 Add completion for command `ag'.
3237 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3238 (pcomplete/ag): New function.
3239 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3241 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3243 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3245 (make-obsolete): Remove interactive spec.
3247 2013-11-21 Glenn Morris <rgm@gnu.org>
3249 * startup.el (command-line-1): Use path-separator with -L.
3251 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3253 * emacs-lisp/package.el (describe-package-1): Add package archive
3256 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3258 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3259 Change default to "# encoding: %s" to differentiate it from the
3260 default Ruby encoding comment template.
3262 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3264 * ses.el (ses-mode): Doc fix. (Bug#14748)
3266 2013-11-20 Leo Liu <sdl.web@gmail.com>
3268 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3270 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3272 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3273 when rebase or bisect are in progress.
3275 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3277 * filenotify.el (file-notify-add-watch): Doc fix.
3279 2013-11-19 Leo Liu <sdl.web@gmail.com>
3281 * obsolete/rcompile.el: Mark obsolete.
3283 * progmodes/compile.el (compilation-start)
3284 (compilation-goto-locus, compilation-find-file):
3285 Pass no-display-ok and handle nil value from display-buffer.
3288 * window.el (display-buffer-alist, display-buffer): Document the
3289 new parameter no-display-ok. Return either a window or nil
3290 but never a non-window value.
3292 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3294 * electric.el (electric-indent-mode-map): Remove.
3295 (electric-indent-mode): Change the global-map instead (bug#15915).
3297 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3300 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3302 * emacs-lisp/nadvice.el (remove-function): Align with
3303 add-function's behavior.
3305 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3306 (gdb--string-regexp): New constant.
3307 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3308 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3309 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3311 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3312 Adjust use accordingly.
3313 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3315 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3317 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3318 interpolation curlies (Bug#15914).
3320 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3322 * calc/calc.el (calc-context-sensitive-enter): New variable.
3323 (calc-enter): Use `calc-context-sensitive-enter'.
3325 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3327 * progmodes/cfengine.el: Version bump.
3328 (cfengine-cf-promises): New defcustom to locate cf-promises.
3329 (cfengine3-vartypes): Add new "data" type.
3330 (cfengine3--current-word): New function to get current name-like
3332 (cfengine3--current-function): New function to look up a CFEngine
3333 function's definition.
3334 (cfengine3-format-function-docstring): New function.
3335 (cfengine3-make-syntax-cache): New function.
3336 (cfengine3-documentation-function): New function: ElDoc glue.
3337 (cfengine3-completion-function): New function: completion glue.
3338 (cfengine3-mode): Set `compile-command',
3339 `eldoc-documentation-function', and add to
3340 `completion-at-point-functions'.
3342 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3344 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3345 `tramp-current-connection'.
3347 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3349 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3350 nil/self/true/false with "end of symbol".
3352 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3354 * subr.el (version-regexp-alist): Fix a typo.
3356 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3358 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3359 "en_US.utf8" and "LC_CTYPE" to "".
3360 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3361 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3363 2013-11-15 Leo Liu <sdl.web@gmail.com>
3365 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3367 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3369 * progmodes/gud.el (ctl-x-map):
3370 Remove C-x SPC binding. (Bug#12342)
3371 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3373 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3375 * subr.el (version-regexp-alist):
3376 Recognize hg, svn and darcs versions as snapshot versions.
3378 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3379 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3380 (ruby--encoding-comment-required-p): Extract from
3381 `ruby-mode-set-encoding'.
3382 (ruby-mode-set-encoding): Add the ability to always insert an
3383 utf-8 encoding comment. Fix and simplify coding comment update
3386 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3388 * net/tramp-gvfs.el (top): Run init code only when
3389 `tramp-gvfs-enabled' is not nil.
3390 (tramp-gvfs-enabled): Check also :system bus.
3392 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3394 Sync with upstream verilog-mode revision 78e66ba.
3395 * progmodes/verilog-mode.el (verilog-end-of-defun)
3396 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3397 (verilog-get-end-of-defun): Remove unused argument.
3398 (verilog-comment-depth): Remove unused local `e'.
3399 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3400 Don't pass arg to verilog-get-end-of-defun.
3402 2013-11-14 Glenn Morris <rgm@gnu.org>
3404 * obsolete/assoc.el (aget): Prefix dynamic variable.
3406 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3408 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3410 * widget.el, hfy-cmap.el: Remove bogus package version number.
3412 2013-11-13 Glenn Morris <rgm@gnu.org>
3414 * replace.el (replace-eval-replacement):
3415 Try to give more helpful error message. (Bug#15836)
3417 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3418 (archive-7z-update): Avoid custom type mismatches.
3420 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3422 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3424 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3425 address can be empty.
3427 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3428 Accept nil SWITCHES.
3429 (tramp-gvfs-handle-write-region): Implement APPEND.
3431 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3433 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3434 binary "|" operator and closing block args delimiter.
3435 Remove FIXME comment referring to Ruby 1.8-only syntax.
3436 (ruby-smie--implicit-semi-p): Not after "|" operator.
3437 (ruby-smie--closing-pipe-p): New function.
3438 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3439 (ruby-smie-rules): Indent after "|".
3441 2013-11-12 Glenn Morris <rgm@gnu.org>
3443 * ps-print.el (ps-face-attribute-list):
3444 Handle anonymous faces. (Bug#15827)
3446 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3448 * window.el (display-buffer-other-frame): Fix doc-string.
3451 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3453 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3455 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3457 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3458 (tramp-sh-handle-file-local-copy): Don't write a message when
3459 saving temporary files.
3461 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3462 both directories are remote.
3463 (tramp-smb-handle-directory-files): Do not return double entries.
3464 Do not expand full file names.
3465 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3466 (tramp-smb-handle-write-region): Implement APPEND.
3467 (tramp-smb-get-stat-capability): Fix a stupid bug.
3469 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3471 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3473 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3475 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3476 throwing error over malformed let/let* (bug#15814).
3478 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3480 * iswitchb.el (iswitchb-mode): Mark obsolete.
3482 2013-11-11 Glenn Morris <rgm@gnu.org>
3484 * international/uni-bidi.el, international/uni-category.el:
3485 * international/uni-name.el, international/uni-numeric.el:
3486 Regenerate for Unicode 6.3.0.
3488 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3490 * net/tramp.el (tramp-methods):
3491 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3492 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3494 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3496 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3497 Force highlighting text after Summary keyword in doc face for rpm.
3499 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3501 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3502 available and the word has no wildcards, append one to the grep pattern.
3503 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3504 (ispell-complete-word): Call `ispell-lookup-words' with the value
3505 independent of `ispell-look-p'.
3507 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3509 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3511 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3514 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3516 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3517 (ruby-font-lock-keywords): Use backquote.
3519 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3521 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3522 (ruby-smie--backward-token): Only consider full-string matches.
3524 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3526 * faces.el (describe-face): Add distant-foreground.
3528 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3530 * progmodes/ruby-mode.el: Improve encoding comment handling.
3531 (ruby-encoding-magic-comment-style): New option.
3532 (ruby-custom-encoding-magic-comment-template): New option.
3533 (ruby--insert-coding-comment, ruby--detect-encoding):
3534 New functions extracted from `ruby-mode-set-encoding'.
3535 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3536 to control the style of the auto-inserted encoding comment.
3538 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3540 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3541 Use `smie-backward-sexp' with token argument.
3543 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3545 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3546 Remove instrumentation code.
3548 2013-11-08 Glenn Morris <rgm@gnu.org>
3550 * progmodes/autoconf.el (autoconf-mode):
3551 Tweak comment-start-skip. (Bug#15822)
3553 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3555 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3556 at bobp (bug#15826).
3557 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3559 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3561 * man.el (Man-start-calling): New macro, extracted from
3562 Man-getpage-in-background.
3563 (Man-getpage-in-background): Use it.
3564 (Man-update-manpage): New command.
3565 (Man-mode-map): Bind it.
3567 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3569 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3570 of "and", "or", "&&" and "||".
3571 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3572 argument. Prohibit opening curly brace because it could only be a
3573 block opener in that position.
3574 (ruby-smie--forward-token, ruby-smie--backward-token):
3575 Separate "|" from "&" or "*" going after it. That can happen in block
3577 (ruby-smie--indent-to-stmt): New function, seeks the end of
3578 previous statement or beginning of buffer.
3579 (ruby-smie-rules): Use it.
3580 (ruby-smie-rules): Check if there's a ":" before a curly block
3581 opener candidate; if there is, it's a hash.
3583 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3585 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3586 (cl--block-wrapper): Fix last accidental change.
3588 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3590 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3591 Instrument, in order to hunt failure on hydra.
3593 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3595 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3596 malformed bindings form (bug#15814).
3598 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3600 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3601 "." compared to " @ ". This incidentally fixes some indentation
3603 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3604 (ruby-smie-grammar): New tokens: "and" and "or".
3605 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3606 Exclude "and" and "or". Remove "do" in order to work around token
3608 (ruby-smie-rules): Add all infix tokens. Handle the case of
3609 beginning-of-buffer.
3611 2013-11-06 Glenn Morris <rgm@gnu.org>
3613 * Makefile.in (setwins_almost, setwins_for_subdirs):
3614 Avoid accidental matches.
3616 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3618 * menu-bar.el (popup-menu): Use key-binding.
3620 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3622 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3623 menus, support also the menus produced by minor modes.
3626 2013-11-06 Leo Liu <sdl.web@gmail.com>
3628 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3629 DISTANCE to bound the search. All uses changed. (Bug#15808)
3631 2013-11-06 Glenn Morris <rgm@gnu.org>
3633 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3634 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3635 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3637 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3639 * electric.el (electric-indent-just-newline): New command.
3640 (electric-indent-mode-map): New keymap.
3641 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3642 Re-add :group which weren't redundant.
3644 * electric.el (electric-indent-local-mode): New minor mode.
3645 (electric-indent-functions-without-reindent): New var.
3646 (electric-indent-post-self-insert-function): Use it.
3647 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3649 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3651 * international/quail.el (quail-help): Be more explicit about the
3652 meaning of the labels shown on the keys. (Bug#15800)
3654 * startup.el (normal-top-level): Load the subdirs.el files before
3655 setting the locale environment. (Bug#15805)
3657 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3659 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3660 via arguments so as to get the right ones (bug#15418).
3662 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3664 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3666 Fix problems found while writing a test suite.
3668 * net/tramp-compat.el (tramp-compat-load): New defun.
3669 * net/tramp.el (tramp-handle-load): Use it.
3671 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3672 "(numberp ok-if-already-exists)" correctly.
3674 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3676 * international/characters.el (glyphless-char-display-control):
3679 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3681 * progmodes/python.el (python-mode):
3682 * progmodes/scheme.el (scheme-mode):
3683 * progmodes/prolog.el (prolog-mode):
3684 * progmodes/ruby-mode.el (ruby-mode):
3685 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3686 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3688 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3690 * rect.el (rectangle--highlight-for-redisplay):
3691 * emacs-lisp/smie.el (smie--next-indent-change):
3692 Use buffer-chars-modified-tick.
3694 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3696 * electric.el (electric-indent-post-self-insert-function):
3697 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3699 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3701 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3703 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3705 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3708 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3710 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3712 * progmodes/python.el: Fix up last change.
3713 (python-shell--save-temp-file): New function.
3714 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3715 `string' comes from the current buffer.
3716 (python-shell-send-string-no-output): Remove `msg' arg.
3717 (python--use-fake-loc): New var.
3718 (python-shell-buffer-substring): Obey it. Try to compensate for the
3719 extra coding line added by python-shell--save-temp-file.
3720 (python-shell-send-region): Use python-shell--save-temp-file and
3721 python-shell-send-file directly. Add `nomain' argument.
3722 (python-shell-send-buffer): Use python-shell-send-region.
3723 (python-electric-pair-string-delimiter): New function.
3724 (python-mode): Use it.
3726 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3728 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3729 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3730 environment and decoding all of the default-directory's to here
3732 (command-line): Decode also argv[0].
3734 * loadup.el: Error out if default-directory is a multibyte string
3735 when we are dumping.
3737 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3739 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3741 * emacs-lisp/package.el (package-menu-mode)
3742 (package-menu--print-info, package-menu--archive-predicate):
3743 Add Archive column to package list.
3745 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3747 Fix problems found while writing a test suite.
3749 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3750 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3751 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3752 to nil when running original file name handler. Otherwise,
3753 there are problems with constructs like "$$FOO".
3755 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3758 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3760 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3762 * subr.el (version<, version<=, version=):
3763 Update docstrings with information for snapshot versions.
3765 * helpers.el: New library for misc helper functions.
3766 (hash-table-keys): New function returning a list of hash keys.
3767 (hash-table-values): New function returning a list of hash values.
3769 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3771 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3772 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3774 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3776 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3777 checking whether point is after a 1-letter word.
3779 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3781 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3782 Don't infloop when expanding region over `multiline' syntax-type that
3783 begins a line (bug#15778).
3785 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3787 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3788 Make it into a proper minor mode.
3789 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3790 (rectangle-mark-mode-map): New keymap.
3791 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3793 2013-11-04 Glenn Morris <rgm@gnu.org>
3795 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3797 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3799 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3800 (ruby-smie-rules): Use smie-rule-parent instead.
3802 * emacs-lisp/smie.el (smie-rule-parent): Always call
3803 smie-indent-virtual rather than only for hanging tokens.
3804 (smie--next-indent-change): New helper command.
3806 2013-11-03 Glenn Morris <rgm@gnu.org>
3808 * Makefile.in (abs_srcdir): Remove.
3809 (emacs): Unset EMACSLOADPATH.
3811 2013-11-02 Glenn Morris <rgm@gnu.org>
3813 * Makefile.in (EMACS): Use a relative filename.
3814 (abs_top_builddir): Remove.
3815 (custom-deps, finder-data, autoloads): Use --chdir.
3817 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3819 Use relative filenames in TAGS files.
3820 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3821 (lisptagsfiles4, TAGS): Use relative file names.
3822 (TAGS-LISP): Remove.
3823 (maintainer-clean): No more TAGS-LISP file.
3825 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3826 (lisptagsfiles4): Use absolute filenames again.
3827 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3828 Remove all *loaddefs files, not just the first. Remove esh-groups.
3829 (maintainer-clean): Delete TAGS, TAGS-LISP.
3831 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3833 * emacs-lisp/package.el (package-version-join):
3834 Recognize snapshot versions.
3836 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3838 * subr.el (version-regexp-alist): Add support for snapshot versions.
3840 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3842 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3843 New function, replacement for `smie-rule-parent' for when we want to
3844 skip over our direct parent if it's an assignment token..
3845 (ruby-smie-rules): Use it.
3847 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3849 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3850 unconditionally. Remove now unnecessary forward declarations.
3851 Remove XEmacs-specific setup.
3852 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3853 (ruby-font-lock-syntactic-keywords)
3854 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3855 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3856 (ruby-here-doc-end-syntax): Remove.
3857 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3858 defined as function.
3860 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3862 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3864 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3866 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3867 table and abbrev table, `define-derived-mode' does that for us
3870 2013-11-01 Glenn Morris <rgm@gnu.org>
3872 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3873 files is atomic for some time, so no parallel compilation issues).
3875 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3877 * faces.el (face-x-resources): Add :distant-foreground.
3878 (region): Use :distant-foreground for gtk and ns.
3880 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3882 Allow multiple bibliographies when BibLaTeX is used rather than
3884 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3885 (reftex-locate-bibliography-files): Us it.
3887 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3889 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3890 allow comments in pbm files.
3892 * term/w32-win.el (dynamic-library-alist): Support newer versions
3893 of libjpeg starting with v7: look only for the DLL from the
3894 version against which Emacs was built.
3895 Support versions of libpng beyond 1.4.x.
3896 Support libtiff v4.x.
3898 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3900 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3901 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3903 (ruby-deep-arglist): Add property :type.
3905 2013-10-31 Glenn Morris <rgm@gnu.org>
3907 * Makefile.in (custom-deps, finder-data): No need to setq the target
3908 variables, we are in the right directory and the defaults work fine.
3910 2013-10-30 Glenn Morris <rgm@gnu.org>
3912 * Makefile.in (autoloads): Do not use abs_lisp.
3914 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3915 `newline' does not respect `standard-output', so use `princ'.
3917 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3919 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3920 * buff-menu.el (Buffer-menu--unmark): New function.
3921 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3923 2013-10-30 Glenn Morris <rgm@gnu.org>
3925 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3927 * emacs-lisp/package.el (lm-homepage): Declare.
3929 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3932 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3934 * Makefile.in (finder-data, autoloads, update-subdirs)
3935 (compile-main, compile-clean, compile-always, bootstrap-clean):
3936 Check return value of cd.
3937 (compile-calc): Remove.
3939 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3941 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3943 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3944 (byte-compile-and-folded): New function.
3945 (=, <, >, <=, >=): Use it.
3947 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3948 (path-separator, null-device, buffer-file-coding-system)
3949 (lpr-headers-switches): Check system-type before modifying them.
3950 (find-buffer-file-type-coding-system): Mark obsolete.
3951 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3952 find-file-not-found-set-buffer-file-coding-system.
3953 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3954 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3955 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3956 (w32-direct-print-region-helper, w32-direct-print-region-function)
3957 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3958 * startup.el (normal-top-level-add-subdirs-to-load-path):
3959 * ps-print.el (ps-print-region-function):
3960 * lpr.el (print-region-function): Use new name.
3962 * subr.el (custom-declare-variable-early): Remove function.
3963 (custom-declare-variable-list): Remove var.
3964 (error, user-error): Remove `while' loop.
3965 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3966 (user-emacs-directory-warning, locate-user-emacs-file):
3968 * simple.el (read-quoted-char-radix, read-quoted-char):
3969 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3971 * custom.el (custom-declare-variable-list): Don't process
3972 custom-declare-variable-list.
3974 * progmodes/python.el (python-shell-get-buffer): New function.
3975 (python-shell-get-process): Use it.
3976 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3977 Python which encoding was used. Don't split-string since we only care
3978 about the first line. Return the temp-file, if applicable.
3979 (python-shell-send-region): Tell compile.el how to turn locations in
3980 the temp-file into locations in the source buffer.
3982 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3984 * subr.el (undefined): Add missing behavior from the C code for
3987 * rect.el: Use lexical-binding. Add new rectangular region support.
3988 (rectangle-mark): New command.
3989 (rectangle--region): New var.
3990 (deactivate-mark-hook): Reset rectangle--region.
3991 (rectangle--extract-region, rectangle--insert-for-yank)
3992 (rectangle--highlight-for-redisplay)
3993 (rectangle--unhighlight-for-redisplay): New functions.
3994 (region-extract-function, redisplay-unhighlight-region-function)
3995 (redisplay-highlight-region-function): Use them to handle
3997 * simple.el (region-extract-function): New var.
3998 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3999 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
4000 (kill-region): Replace obsolete `yank-handler' arg with `region'.
4001 (copy-region-as-kill, kill-ring-save): Add `region' argument.
4002 (redisplay-unhighlight-region-function)
4003 (redisplay-highlight-region-function): New vars.
4004 (redisplay--update-region-highlight): New function.
4005 (pre-redisplay-function): Use it.
4006 (exchange-point-and-mark): Don't deactivate the mark before
4007 reactivate-it anyway.
4008 * comint.el (comint-kill-region): Remove yank-handler argument.
4009 * delsel.el (delete-backward-char, backward-delete-char-untabify)
4010 (delete-char): Remove property, since it's now part of their
4012 (self-insert-iso): Remove property since this command doesn't exist.
4014 * emacs-lisp/package.el (package--download-one-archive)
4015 (describe-package-1): Don't query the user about final newline.
4017 2013-10-29 Daniel Colascione <dancol@dancol.org>
4019 * net/tramp.el (tramp-methods): Document new functionality.
4020 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
4021 tramp-hostname-checker if method provides one instead of scanning
4022 argument list for "%h" to decide hostname acceptability.
4024 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
4026 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
4027 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
4028 Handle COPY-CONTENTS. (Bug#15737)
4030 2013-10-28 Daiki Ueno <ueno@gnu.org>
4033 (epa-file-cache-passphrase-for-symmetric-encryption):
4034 Document that this option has no effect with GnuPG 2.0 (bug#15552).
4036 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
4038 * image.el (defimage):
4039 (image-load-path): Doc fixes.
4041 2013-10-27 Alan Mackenzie <acm@muc.de>
4043 Indent statements in macros following "##" correctly.
4044 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
4045 Modify the "#" arm of a cond form to handle "#" and "##" operators.
4047 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4049 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4051 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4053 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4054 after `=' is probably a new expression.
4056 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4058 * man.el (man-imenu-title): New option.
4059 (Man-mode-map): Add menu. (Bug#15722)
4060 (Man-mode): Add imenu to menu.
4062 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4064 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4065 specific in what the first arg can be: a non-keyword word,
4066 string/regexp/percent literal opener, opening paren, or unary
4067 operator followed directly by word.
4069 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4071 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4072 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4073 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4074 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4075 Remove vars, they do not apply any more.
4076 (prolog-mode-abbrev-table): Remove redundant declaration.
4077 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4078 (prolog-use-smie): Remove.
4079 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4080 supported by prolog-electric-if-then-else-flag.
4081 (prolog-mode-variables, prolog-menu): Use setq-local.
4082 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4083 Remove binding to `Backspace' since this key doesn't exist anyway.
4084 Remove bindings for electric self-inserting keys.
4085 (prog-mode): Assume it's defined.
4086 (prolog-post-self-insert): New function.
4087 (prolog-mode): Use it.
4088 (prolog-indent-line, prolog-indent-level)
4089 (prolog-find-indent-of-matching-paren)
4090 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4091 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4092 (prolog-goto-next-paren, prolog-in-string-or-comment)
4093 (prolog-tokenize, prolog-inside-mline-comment)
4094 (prolog-find-start-of-mline-comment): Remove functions.
4095 (prolog-find-unmatched-paren, prolog-clause-end)
4096 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4097 (prolog-electric--if-then-else): Rename from
4098 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4099 (prolog-tokenize-searchkey): Remove const.
4100 (prolog-clause-info): Use forward-sexp.
4101 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4102 (prolog-electric-if-then-else): Remove commands.
4103 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4104 for use in post-self-insert-hook.
4105 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4106 for use in post-self-insert-hook.
4107 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4108 for use in post-self-insert-hook.
4109 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4110 adapt it for use in post-self-insert-hook.
4112 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4114 * emacs-lisp/ert.el (ert-run-tests-interactively):
4115 Use `completing-read'. (Bug#9756)
4117 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4119 * simple.el (line-move): Call line-move-1 instead of
4120 line-move-visual when the current window hscroll is zero, but
4121 temporary-goal-column indicates we will need to hscroll as result
4122 of the movement. (Bug#15712)
4124 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4126 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4127 capitalization. Use :visible instead of :active.
4128 Fix `ruby-indent-exp' reference. Add menu items for the generic
4129 commands that are used with SMIE.
4130 (ruby-do-end-to-brace): Insert space after `{'.
4132 2013-10-25 John Anthony <john@jo.hnanthony.com>
4134 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4136 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4138 2013-10-25 Glenn Morris <rgm@gnu.org>
4140 * vc/vc.el (vc-print-log): Don't use a working revision unless
4141 one was explicitly specified. (Bug#15322)
4143 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4145 * subr.el (add-to-list): Preserve return value in compiler-macro
4148 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4150 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4151 result. Ask user to retry using '-all' flag. (Bug#15701)
4153 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4155 * emacs-lisp/smie.el: New smie-config system.
4156 (smie-config): New defcustom.
4157 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4158 (smie-config-guess, smie-config-save): New commands.
4159 (smie-config--mode-local, smie-config--buffer-local)
4160 (smie-config--trace, smie-config--modefuns): New vars.
4161 (smie-config--advice, smie-config--mode-hook)
4162 (smie-config--setter, smie-config-local, smie-config--get-trace)
4163 (smie-config--guess-value, smie-config--guess): New functions.
4164 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4165 text properties. Treat "string fence" syntax like string syntax.
4167 * progmodes/sh-script.el (sh-use-smie): Change default.
4168 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4169 (sh-var-value): Simplify by CSE.
4170 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4171 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4173 (sh-guess-basic-offset): Use cl-incf.
4174 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4176 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4178 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4181 2013-10-24 Glenn Morris <rgm@gnu.org>
4183 * Makefile.in (abs_top_srcdir): Remove.
4184 (update-subdirs): Use relative path to update-subdirs.
4186 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4188 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4189 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4190 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4191 Call unmsys--file-name before expand-file-name, not after it.
4193 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4195 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4196 (ert-test-skipped): New error.
4197 (ert-skip, ert-stats-skipped): New defuns.
4198 (ert--skip-unless): New macro.
4199 (ert-test-skipped): New struct.
4200 (ert--run-test-debugger, ert-test-result-type-p)
4201 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4202 (ert--stats-set-test-and-result, ert-char-for-test-result)
4203 (ert-string-for-test-result, ert-run-tests-batch)
4204 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4205 Handle skipped tests. (Bug#9803)
4207 2013-10-24 Glenn Morris <rgm@gnu.org>
4209 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4211 * Makefile.in (abs_top_srcdir): New, set by configure.
4212 (update-subdirs): Correct build-aux location.
4214 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4216 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4217 value, whether we could auto-deduce `backend', or not.
4219 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4220 with parameters" example. Simplify the "is it block or is it
4221 hash" check, but also make it more thorough.
4223 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4225 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4227 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4229 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4232 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4235 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4237 * progmodes/compile.el (compilation-directory-matcher)
4238 (compilation-page-delimiter):
4239 Support GNU Make-4.0 directory quoting. (Bug#15678)
4241 2013-10-23 Leo Liu <sdl.web@gmail.com>
4243 * ido.el (ido-tidy): Handle read-only text.
4245 2013-10-23 Glenn Morris <rgm@gnu.org>
4247 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4248 (emacs, compile, compile-always):
4249 Quote entities that might contain whitespace.
4250 (custom-deps, finder-data, autoloads): Use abs_lisp.
4251 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4252 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4253 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4255 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4257 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4258 Use `following-char'.
4260 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4262 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4263 * progmodes/ruby-mode.el (ruby-smie-rules):
4264 Remove corresponding workaround. Fix indentation rule of ";" so it
4265 also applies when ";" is the parent.
4267 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4269 * frame.el (display-screens, display-pixel-height)
4270 (display-pixel-width, display-mm-width, display-backing-store)
4271 (display-save-under, display-planes, display-color-cells)
4272 (display-visual-class, display-monitor-attributes-list):
4273 Mention the optional ‘display’ argument in doc strings.
4275 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4277 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4278 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4280 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4282 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4283 TODO. Add "." after " @ ".
4284 (ruby-smie--at-dot-call): New function. Checks if point at method
4285 call with explicit target.
4286 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4287 to the method name tokens when it precedes them.
4288 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4289 (ruby-smie-rules): Add rule for indentation before and after "."
4292 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4294 * textmodes/remember.el (remember-diary-extract-entries):
4297 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4300 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4302 * progmodes/ruby-mode.el (ruby-smie-grammar):
4303 Add (almost) all infix operators.
4304 (ruby-smie--implicit-semi-p): Add new operator chars.
4306 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4308 (ruby-smie--args-separator-p): Check that there's no newline
4309 between method call and its arguments.
4311 2013-10-20 Alan Mackenzie <acm@muc.de>
4313 Allow comma separated lists after Java "implements".
4315 * progmodes/cc-engine.el (c-backward-over-enum-header):
4317 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4318 from a "disallowed" list in enum fontification.
4320 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4322 * startup.el (default-frame-background-mode): Remove unused defvar.
4324 * progmodes/verilog-mode.el (verilog-mode): Don't set
4325 comment-indent-function globally.
4327 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4329 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4330 Move Info menu item creation to ns-win.el.
4332 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4335 * menu-bar.el: Move GNUstep specific menus...
4337 * term/ns-win.el (ns-initialize-window-system): ... to here.
4339 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4341 * simple.el (newline): Only run post-self-insert-hook when
4342 called interactively.
4344 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4346 * icomplete.el (icomplete-with-completion-tables): Add :version.
4348 2013-10-19 Alan Mackenzie <acm@muc.de>
4350 Fix fontification bugs with constructors and const.
4352 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4353 CASE 2) Remove the check for the absence of a suffix construct
4354 after a function declaration with only types (no identifiers) in
4355 the parentheses. Also, accept a function declaration with just a
4356 type inside the parentheses, if this type can be positively
4357 recognised as such, or if a prefix keyword like "explicit" nails
4358 down the construct as a declaration.
4360 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4362 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4363 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4364 the problem whereby selecting a menu item that leads to a
4365 minibuffer prompt moves the cursor out of the minibuffer window,
4366 making it hard to type at the prompt. Suggested by Stefan Monnier
4367 <monnier@iro.umontreal.ca>.
4369 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4371 * menu-bar.el: Don't make Services menu.
4373 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4375 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4376 (ffap-alist): Use ffap-c++-mode for c++-mode.
4377 (ffap-c++-path): New variable.
4378 (ffap-c++-mode): New function.
4380 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4382 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4384 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4386 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4387 introduced on 2013-09-08, which results in an infinite loop
4388 requesting a password.
4390 2013-10-18 Glenn Morris <rgm@gnu.org>
4392 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4394 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4396 Sync with upstream verilog-mode revision 1a6ecec7.
4397 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4398 (verilog-mode-release-date): Remove.
4399 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4400 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4401 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4402 (verilog-auto-tieoff-ignore-regexp)
4403 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4404 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4405 (verilog-signals-with, verilog-dir-cache-preserving)
4406 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4408 (verilog-case-fold): New option, to control case folding in
4409 regexp searches, bug597.
4410 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4411 (verilog-string-match-fold, verilog-in-paren-count)
4412 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4413 (verilog-at-close-struct-p): New functions.
4414 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4415 (verilog-forward-sexp, verilog-set-auto-endcomments):
4416 (verilog-leap-to-case-head): Handle "unique0" case.
4417 (verilog-in-constraint-re): New constant.
4418 (verilog-keywords, verilog-type-font-keywords):
4419 Add some SystemVerilog 1800-2012 keywords.
4420 (verilog-label-be): Remove unimplemented argument, bug669.
4421 (verilog-batch-execute-func): When batch expanding clear
4422 create-lockfiles to prevent spurious user locks when a file ends
4424 (verilog-calculate-indent, verilog-calc-1)
4425 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4426 (verilog-do-indent): Fix indentation of nested constraints
4428 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4429 (verilog-auto-inst-param): Use verilog-string-match-fold.
4430 (verilog-read-inst-module-matcher):
4431 Fix AUTOINST on gate primitives with #1.
4432 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4433 Reads all user-defined typed variables.
4434 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4435 (verilog-signals-matching-regexp)
4436 (verilog-signals-not-matching-regexp, verilog-auto):
4437 Respect verilog-case-fold.
4438 (verilog-diff-report): Fix line count.
4439 (verilog-auto-assign-modport): Remove unused local `modi'.
4440 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4441 better handle multidimensional arrays.
4442 Fix packed array ports misadding bit index in AUTOINST, bug637.
4443 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4444 to not double-declare existing outputs and inputs, respectively.
4445 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4446 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4447 (verilog-sk-uvm-component): New skeleton.
4448 (verilog-submit-bug-report): Add verilog-case-fold,
4449 remove verilog-mode-release-date.
4451 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4453 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4456 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4458 * textmodes/remember.el (remember): Set buffer-offer-save in
4459 remember buffers (bug#13566).
4461 2013-10-18 Daniel Colascione <dancol@dancol.org>
4463 When evaluating forms in ielm, direct standard output to ielm
4464 buffer. Add new ielm-return-for-effect command. Remove trailing
4465 whitespace throughout.
4467 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4468 (ielm-return-for-effect): New command.
4469 (ielm-send-input): Accept optional `for-effect' parameter.
4470 (ielm-eval-input): Accept optional `for-effect' parameter.
4471 Bind `standard-output' to stream we create using
4472 `ielm-standard-output-impl'. Suppress printing result when
4474 (ielm-standard-output-impl): New function.
4475 (inferior-emacs-lisp-mode): Explain new features in documentation.
4477 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4481 * net/tramp.el (tramp-debug-message): Do not check for connection
4483 (tramp-message): Use "vector" connection property.
4485 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4486 (tramp-equal-remote, tramp-eshell-directory-change)
4487 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4488 (tramp-adb-handle-rename-file)
4489 * net/tramp-cmds.el (tramp-list-remote-buffers)
4490 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4491 * net/tramp-compat.el (tramp-compat-process-running-p)
4492 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4493 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4494 (tramp-gvfs-handle-rename-file)
4495 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4496 (tramp-set-file-uid-gid)
4497 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4498 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4501 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4502 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4503 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4504 (tramp-gw-open-network-stream): Suppress unrelated traces.
4506 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4507 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4508 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4509 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4510 connection property.
4512 * net/tramp-cache.el (top): Suppress traces when reading
4515 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4516 Refactor common code. Improve debug message.
4517 (tramp-maybe-open-connection)
4518 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4519 connection buffer too early.
4521 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4522 from `tramp-smb-actions-with-acl'.
4523 (tramp-smb-actions-set-acl): New defconst.
4524 (tramp-smb-handle-copy-directory)
4525 (tramp-smb-action-get-acl): New defun, renamed from
4526 `tramp-smb-action-with-acl'.
4527 (tramp-smb-action-set-acl): New defun.
4528 (tramp-smb-handle-set-file-acl): Rewrite.
4530 2013-10-17 Glenn Morris <rgm@gnu.org>
4532 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4534 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4536 * skeleton.el (skeleton-newline): Remove.
4537 (skeleton-internal-1): Use (insert "\n") instead.
4539 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4542 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4543 forward-sexp-function while we redo its job (bug#15613).
4545 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4547 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4548 represented by lists.
4550 2013-10-16 Glenn Morris <rgm@gnu.org>
4552 * tmm.el (tmm--history): New dynamic variable.
4553 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4555 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4557 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4558 (tramp-smb-errors): Add error messages.
4559 (tramp-smb-actions-with-acl): New defconst.
4560 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4561 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4562 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4563 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4564 (tramp-smb-get-stat-capability): Fix tests.
4566 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4568 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4571 2013-10-16 Glenn Morris <rgm@gnu.org>
4573 * ansi-color.el (ansi-color-drop-regexp):
4574 Add 1J, 1K, 2K. (Bug#15617)
4576 * files.el (hack-local-variables--warned-lexical): New.
4577 (hack-local-variables):
4578 Warn about misplaced lexical-binding. (Bug#15616)
4580 * net/eww.el (eww-render): Always set eww-current-url,
4581 and update header line. (Bug#15622)
4582 (eww-display-html): ... Rather than just doing it here.
4584 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4586 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4587 menu navigations commands.
4589 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4591 * progmodes/subword.el (subword-capitalize): Be careful when
4592 the search for [[:alpha:]] fails (bug#15580).
4594 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4596 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4597 to commands that scroll the menu.
4599 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4601 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4602 Handle methods ending with `?' and `!'.
4604 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4606 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4607 `japanese-cp932' to `cp932' to fix the problem where saving a
4608 source file written in Shift_JIS twice would end up having
4609 `coding: japanese-cp932' which Ruby could not recognize.
4610 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4611 in `ruby-encoding-map'.
4612 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4613 doesn't need to be explicitly declared in magic comment.
4614 (ruby-encoding-map): Add type declaration for better customize UI.
4616 2013-10-13 Glenn Morris <rgm@gnu.org>
4618 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4619 Occur buffers are read-only. http://bugs.debian.org/720775
4621 * emacs-lisp/authors.el (authors-fixed-entries):
4622 Comment out old alpha stuff.
4624 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4626 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4627 to `after-save-hook' instead of `before-save-hook'.
4628 (ruby-mode-set-encoding): Use the value of coding system used to
4629 write the file. Call `basic-save-buffer-1' after modifying the
4632 2013-10-13 Alan Mackenzie <acm@muc.de>
4634 Fix indentation/fontification of Java enum with
4635 "implements"/generic.
4637 * progmodes/cc-engine.el (c-backward-over-enum-header):
4638 Extracted from the three other places and enhanced to handle generics.
4639 (c-inside-bracelist-p): Uses new function above.
4640 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4642 (c-font-lock-enum-tail): Uses new function above.
4644 2013-10-13 Kenichi Handa <handa@gnu.org>
4646 * international/mule-cmds.el (select-safe-coding-system): Remove a
4647 superfluous condition in chekcing whether a coding system is safe
4650 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4652 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4654 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4656 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4658 2013-10-13 Glenn Morris <rgm@gnu.org>
4660 * menu-bar.el (menu-bar-update-buffers):
4661 Unify Buffers menu prompt string. (Bug#15576)
4663 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4665 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4667 (authors-fixed-entries): Use accented form of name.
4669 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4671 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4672 method calls (bug#15594).
4673 (ruby-smie--args-separator-p): New function.
4674 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4675 recognize paren-free method calls.
4677 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4678 internals of universal-argument.
4680 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4682 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4683 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4684 dropped menu on second mouse click on the menu bar.
4686 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4688 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4689 (explicit-shell-file-name): Declare.
4690 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4691 (sh-completion-at-point-function): New function.
4693 (sh-smie--keyword-p): Remove unused argument.
4694 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4696 (sh-set-shell): Always setup SMIE, even if we use the
4697 old indentation code.
4699 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4701 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4703 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4704 predicate would return nil are almost non-existent.
4705 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4707 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4708 cache also after commands that modify the buffer but don't move
4711 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4713 * env.el (substitute-env-in-file-name): New function.
4714 (substitute-env-vars): Extend the meaning of the optional arg.
4716 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4718 * term/w32-win.el (dynamic-library-alist): Define separate lists
4719 of GIF DLLs for versions before and after 5.0.0 of giflib.
4722 2013-10-10 João Távora <joaotavora@gmail.com>
4724 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4725 not locked, use last revision and current source as
4726 defaults. (Bug#15569)
4728 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4730 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4733 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4735 * window.el (pop-to-buffer-same-window): Fix doc-string.
4738 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4740 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4742 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4744 * calendar/icalendar.el (icalendar-import-file):
4745 Fix interactive spec. (Bug#15482)
4747 2013-10-10 Glenn Morris <rgm@gnu.org>
4749 * desktop.el (desktop-save): Default to saving in .emacs.d,
4750 since PWD is no longer in desktop-path by default. (Bug#15319)
4752 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4753 now that text mode has a menu with the same entry.
4754 (menu-bar-text-mode-auto-fill): Remove now unused func.
4755 * textmodes/text-mode.el (text-mode-map):
4756 Use auto-fill help text from menu-bar.el.
4758 2013-10-10 John Anthony <john@jo.hnanthony.com>
4760 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4762 2013-10-09 Juri Linkov <juri@jurta.org>
4764 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4765 instead of this-command-keys. Add universal-argument-more and
4766 universal-argument-minus to the list of prefix commands. (Bug#15568)
4768 2013-10-09 Glenn Morris <rgm@gnu.org>
4770 * vc/vc-svn.el (vc-svn-create-repo):
4771 Expand paths in file://... url. (Bug#15446)
4773 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4775 (authors): Remove unused local variables.
4777 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4779 * profiler.el: Create a more coherent calltree from partial backtraces.
4780 (profiler-format): Hide the tail with `invisible' so that C-s can still
4781 find the hidden elements.
4782 (profiler-calltree-depth): Don't recurse so enthusiastically.
4783 (profiler-function-equal): New hash-table-test.
4784 (profiler-calltree-build-unified): New function.
4785 (profiler-calltree-build): Use it.
4786 (profiler-report-make-name-part): Indent the calltree less.
4787 (profiler-report-mode): Add visibility specs for profiler-format.
4788 (profiler-report-expand-entry, profiler-report-toggle-entry):
4789 Expand the whole subtree when provided with a prefix arg.
4791 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4793 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4795 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4796 hanging iuwu-mod token.
4797 (ruby-smie--forward-token): Do not include a dot after a token in
4799 (ruby-smie--backward-token): Likewise.
4801 2013-10-08 Juri Linkov <juri@jurta.org>
4803 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4804 to isearch-other-control-char.
4805 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4806 and isearch-post-command-hook to post-command-hook.
4807 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4808 and isearch-post-command-hook from post-command-hook.
4809 (isearch-unread-key-sequence)
4810 (isearch-reread-key-sequence-naturally)
4811 (isearch-lookup-scroll-key, isearch-other-control-char)
4812 (isearch-other-meta-char): Remove functions.
4813 (isearch-pre-command-hook, isearch-post-command-hook):
4814 New functions based on isearch-other-meta-char rewritten
4815 relying on the new behavior of overriding-terminal-local-map
4816 that does not replace the local keymaps any more. (Bug#15200)
4818 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4820 Support menus on text-mode terminals.
4821 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4824 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4826 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4827 Move here from mouse.el.
4828 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4830 (tty-menu-navigation-map): New map for TTY menu navigation.
4832 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4834 * frame.el (display-mouse-p): Report text-mode mouse as available
4836 (display-popup-menus-p): Report availability if mouse is
4837 available; don't condition on window-system.
4839 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4840 (tty-menu-selected-face): New faces.
4842 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4844 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4845 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4846 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4847 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4849 (lisp-mode-variables): New `elisp' argument.
4850 (emacs-lisp-mode): Use it.
4851 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4852 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4854 * indent.el: Use lexical-binding.
4855 (indent-region): Add progress reporter.
4856 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4858 (indent--next-tab-stop): New function to implement this behavior.
4859 (tab-to-tab-stop, move-to-tab-stop): Use it.
4861 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4863 * indent.el (indent-rigidly--current-indentation): New function.
4864 (indent-rigidly-map): New var.
4865 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4867 2013-10-08 Bastien Guerry <bzg@gnu.org>
4869 * register.el (insert-register): Fix 2013-10-07 change.
4871 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4873 * progmodes/perl-mode.el: Use lexical-binding.
4874 Remove redundant :group args.
4875 (perl-nochange): Change default to be closer to other major modes's
4877 (perl-indent-line): Don't consider text on current line as a
4878 valid beginning of function from which to indent.
4880 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4881 with more than one argument (bug#15538).
4883 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4885 * vc/pcvs.el: Use lexical-binding.
4886 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4887 environment of `eval'.
4888 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4889 than a list of expressions. Adjust callers.
4890 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4892 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4894 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4895 case of the dot in a chained method call being on the following line.
4897 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4899 * electric.el (electric-indent-inhibit): New var.
4900 (electric-indent-post-self-insert-function): Use it.
4901 * progmodes/python.el (python-mode): Set it.
4903 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4906 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4908 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4909 (css-mode): Use electric-indent-chars.
4911 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4912 (font-lock-beg, font-lock-end): Move before first use.
4913 (nxml-mode): Use syntax-propertize-function.
4914 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4915 (nxml-extend-after-change-region): Remove.
4916 * nxml/xmltok.el: Use lexical-binding.
4917 (xmltok-save): Use `declare'.
4918 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4919 * nxml/nxml-util.el: Use lexical-binding.
4920 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4922 * nxml/nxml-ns.el: Use lexical-binding.
4923 (nxml-ns-save): Use `declare'.
4924 (nxml-ns-prefixes-for): Avoid add-to-list.
4925 * nxml/rng-match.el: Use lexical-binding.
4926 (rng--ipattern): Use cl-defstruct.
4927 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4928 (rng-cons-group-after, rng-subst-group-after)
4929 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4930 Use closures instead of `(lambda...).
4932 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4934 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4937 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4938 Use `tramp-handle-insert-file-contents'.
4939 (tramp-gvfs-handle-insert-file-contents): Remove function.
4941 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4942 Use `save-restriction' in order to keep markers.
4944 * net/trampver.el: Update release number.
4946 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4948 * progmodes/compile.el (compilation-parse-errors):
4949 Use compilation--put-prop.
4950 (compilation--ensure-parse): Check compilation-multiline.
4952 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4954 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4957 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4959 * progmodes/ruby-mode.el: Fix recently added tests.
4960 (ruby-smie-grammar): Add - and +.
4961 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4962 (ruby-smie--backward-id): New functions.
4963 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4964 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4967 2013-10-07 Leo Liu <sdl.web@gmail.com>
4969 * register.el (register-preview-delay)
4970 (register-preview-functions): New variables.
4971 (register-read-with-preview, register-preview)
4972 (register-describe-oneline): New functions.
4973 (point-to-register, window-configuration-to-register)
4974 (frame-configuration-to-register, jump-to-register)
4975 (number-to-register, view-register, insert-register)
4976 (copy-to-register, append-to-register, prepend-to-register)
4977 (copy-rectangle-to-register): Use register-read-with-preview to
4978 read register. (Bug#15525)
4980 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4982 * net/network-stream.el (network-stream-open-starttls): Don't add
4983 --insecure if it's already present, because that gnutls-cli
4984 rejects getting that parameter twice.
4986 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4988 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4991 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4993 * newcomment.el (comment-use-global-state): Change default value
4994 to t, mark obsolete (Bug#15251).
4995 (comment-beginning): In addition to `comment-to-syntax', check the
4996 value of `comment-use-global-state'.
4998 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
5000 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
5001 (ruby-comment-column): Follow the global default, by default.
5002 (ruby-smie-grammar): Add assignment syntax.
5003 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
5004 open-paren, a comma, or a \.
5005 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
5006 and line continuations.
5007 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
5008 followed by implicit semi-colons. Add rule for string concatenation
5009 and for indentation at BOB.
5010 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
5012 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
5013 calling next-sexp, since next-token may have skipped chars which
5014 next-sexp doesn't know should be skipped!
5016 2013-10-05 Leo Liu <sdl.web@gmail.com>
5018 * progmodes/octave.el (octave-send-region):
5019 Call compilation-forget-errors.
5021 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5023 * vc/vc-svn.el (vc-svn-find-admin-dir):
5024 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
5025 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
5026 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
5027 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
5029 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5031 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
5033 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
5035 * subr.el (read-passwd): Hide chars even when called within a context
5036 where after-change-functions is disabled (bug#15501).
5037 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
5038 until we removed ourself from overriding-terminal-local-map.
5040 2013-10-04 Leo Liu <sdl.web@gmail.com>
5042 * progmodes/octave.el (inferior-octave-mode):
5043 Call compilation-forget-errors.
5045 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
5047 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5049 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5051 * net/secrets.el (secrets-create-collection): Add optional
5052 argument ALIAS. Use proper Label keyword. Append ALIAS as
5053 dbus-call-method argument. (Bug#15516)
5055 2013-10-04 Leo Liu <sdl.web@gmail.com>
5057 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5058 (inferior-octave-compilation-font-lock-keywords): New variables.
5059 (compilation-error-regexp-alist)
5060 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5061 (inferior-octave-mode): Use compilation-shell-minor-mode.
5063 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5065 * minibuffer.el (completion--replace): Be careful that `end' might be
5068 2013-10-03 Daiki Ueno <ueno@gnu.org>
5070 Add support for package signature checking.
5071 * emacs-lisp/package.el (url-http-file-exists-p)
5072 (epg-make-context, epg-context-set-home-directory)
5073 (epg-verify-string, epg-context-result-for)
5074 (epg-signature-status, epg-signature-to-string)
5075 (epg-check-configuration, epg-configuration)
5076 (epg-import-keys-from-file): Declare.
5077 (package-check-signature): New user option.
5078 (package-unsigned-archives): New user option.
5079 (package-desc): Add `signed' field.
5080 (package-load-descriptor): Set `signed' field if .signed file exists.
5081 (package--archive-file-exists-p): New function.
5082 (package--check-signature): New function.
5083 (package-install-from-archive): Check package signature.
5084 (package--download-one-archive): Check archive signature.
5085 (package-delete): Remove .signed file.
5086 (package-import-keyring): New command.
5087 (package-refresh-contents): Import default keyring.
5088 (package-desc-status): Add "unsigned" status.
5089 (describe-package-1, package-menu--print-info)
5090 (package-menu-mark-delete, package-menu--find-upgrades)
5091 (package-menu--status-predicate): Support "unsigned" status.
5093 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5095 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5096 the new compilation scheme using the new byte-codes.
5098 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5099 (byte-pophandler): New byte codes.
5100 (byte-goto-ops): Adjust accordingly.
5101 (byte-compile--use-old-handlers): New var.
5102 (byte-compile-catch): Use new byte codes depending on
5103 byte-compile--use-old-handlers.
5104 (byte-compile-condition-case--old): Rename from
5105 byte-compile-condition-case.
5106 (byte-compile-condition-case--new): New function.
5107 (byte-compile-condition-case): New function that dispatches depending
5108 on byte-compile--use-old-handlers.
5109 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5112 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5113 Optimize under `condition-case' and `catch' if
5114 byte-compile--use-old-handlers is nil.
5115 (disassemble-offset): Handle new bytecodes.
5117 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5119 * subr.el (error): Use `declare'.
5120 (decode-char, encode-char): Use advertised-calling-convention instead
5121 of the docstring to discourage use of the `restriction' arg.
5123 2013-10-03 Daiki Ueno <ueno@gnu.org>
5125 * epg.el (epg-verify-file): Add a comment saying that it does not
5126 notify verification error as a return value nor a signal.
5127 (epg-verify-string): Ditto.
5129 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5131 * progmodes/compile.el (compilation-start): Try globbing the arg to
5134 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5136 Sync with Tramp 2.2.8.
5138 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5139 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5140 * net/trampver.el: Update release number.
5142 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5144 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5145 and default-process-coding-system for darwin only.
5147 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5149 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5151 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5153 * vc/vc-git.el (vc-git-grep): Disable pager.
5155 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5157 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5158 Use :url instead of :homepage, as per
5159 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5161 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5162 non-nil, use `syntax-ppss' (Bug#15251).
5164 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5166 * progmodes/octave.el (inferior-octave-startup-file):
5167 Prefer ~/.emacs.d/init_octave.m.
5169 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5171 * emacs-lisp/package.el (package-desc-from-define):
5172 Accept additional arguments as plist, convert them to an alist and store
5173 them in the `extras' slot.
5174 (package-generate-description-file): Convert extras alist back to
5175 plist and append to the `define-package' form arguments.
5176 (package--alist-to-plist): New function.
5177 (package--ac-desc): Add `extras' slot.
5178 (package--add-to-archive-contents): Check if the archive-contents
5179 vector is long enough, and if it is, pass its `extras' slot value
5180 to `package-desc-create'.
5181 (package-buffer-info): Call `lm-homepage', pass the returned value
5182 to `package-desc-from-define'.
5183 (describe-package-1): Render the homepage button (Bug#13291).
5185 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5186 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5188 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5190 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5191 and default-process-coding-system to utf-8-unix (Bug#15402).
5193 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5195 * subr.el (looking-back): Do not recommend using looking-back.
5197 2013-09-28 Alan Mackenzie <acm@muc.de>
5199 Fix indentation/fontification of Java enum with "implements".
5201 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5202 regexp which matches "implements", etc., in Java.
5203 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5204 specifier clauses coming after "enum".
5205 * progmodes/cc-fonts.el (c-font-lock-declarations)
5206 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5209 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5211 * faces.el (region): Change ns_selection_color to
5212 ns_selection_fg_color, add ns_selection_bg_color.
5214 2013-09-28 Leo Liu <sdl.web@gmail.com>
5216 * progmodes/octave.el (inferior-octave-completion-table)
5217 (inferior-octave-completion-at-point): Minor tweaks.
5219 * textmodes/ispell.el (ispell-lookup-words): Rename from
5220 lookup-words. (Bug#15460)
5221 (lookup-words): Obsolete.
5222 (ispell-complete-word, ispell-command-loop): All uses changed.
5224 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5226 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5227 (octave-mode-menu): Add octave-send-buffer.
5228 (octave-send-buffer): New function.
5230 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5232 * progmodes/octave.el (octave-mode-map): Add key binding for
5234 (octave-mode-menu): Add octave-lookfor.
5235 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5237 (octave-lookfor): New function.
5239 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5241 * emacs-lisp/cl-macs.el:
5242 (cl--loop-destr-temps): Remove.
5243 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5245 (cl--loop-set-iterator-function): New function.
5246 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5247 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5248 Bind `it' with `let' instead of substituting it with `cl-subst'.
5249 (cl--unused-var-p): New function.
5250 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5251 Eliminate some unused variable warnings (bug#15326).
5253 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5255 * doc-view.el (doc-view-scale-reset): Rename from
5256 `doc-view-reset-zoom-level'.
5257 (doc-view-scale-adjust): New command.
5258 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5259 `doc-view-scale-adjust'.
5261 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5263 * doc-view.el (doc-view-reset-zoom-level): New command.
5264 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5265 zoom commands (bug#15466).
5267 2013-09-26 Kenichi Handa <handa@gnu.org>
5269 * international/quail.el (quail-help): Make it not a command.
5271 2013-09-26 Leo Liu <sdl.web@gmail.com>
5273 * minibuffer.el (completion-all-sorted-completions): Make args
5274 optional as they are.
5276 2013-09-25 Daniel Colascione <dancol@dancol.org>
5278 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5279 specs are and that they're not evaluated.
5281 2013-09-24 Sam Steingold <sds@gnu.org>
5283 * midnight.el (clean-buffer-list-kill-regexps)
5284 (clean-buffer-list-kill-buffer-names): Update for the new Man
5285 buffer naming which includes the object name.
5287 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5289 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5290 (eshell-parse-command, eshell-parse-pipeline): Use it since
5291 eshell-separate-commands requires a dynamic scoped var.
5292 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5294 2013-09-23 Leo Liu <sdl.web@gmail.com>
5296 * autoinsert.el (auto-insert-alist): Make the value of
5297 lexical-binding match its file setting.
5299 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5301 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5303 * autoarg.el (autoarg-kp-digit-argument):
5304 * electric.el (Electric-command-loop):
5305 * kmacro.el (kmacro-step-edit-insert):
5306 Do not set universal-argument-num-events.
5308 2013-09-22 Leo Liu <sdl.web@gmail.com>
5310 * files.el (interpreter-mode-alist): Add octave.
5312 2013-09-21 Alan Mackenzie <acm@muc.de>
5314 C++: fontify identifier in declaration following "public:" correctly.
5315 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5316 to match "public", etc.
5317 (c-decl-prefix-re): Add ":" into the C++ value.
5318 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5319 bit. Add a check for a ":" preceded by "public", etc.
5321 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5323 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5324 recognized by GDB 7.5 and later.
5326 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5328 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5330 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5332 * subr.el (internal--call-interactively): New const.
5333 (called-interactively-p): Use it (bug#3984).
5335 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5337 * vc/pcvs.el (cvs-mode-ignore):
5338 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5339 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5341 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5343 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5344 (eshell-ls-orig-insert-directory): Remove.
5345 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5346 (eshell-ls-use-in-dired): Use advice-add/remove.
5347 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5348 Add `orig-fun' arg for use in :around advice.
5349 Make it check (redundantly) eshell-ls-use-in-dired.
5351 2013-09-19 Glenn Morris <rgm@gnu.org>
5353 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5355 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5357 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5359 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5361 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5362 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5363 (tramp-get-remote-python): New defuns.
5364 (tramp-get-remote-uid-with-perl)
5365 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5366 contributed by yary <not.com@gmail.com> (tiny change).
5367 (tramp-get-remote-uid-with-python)
5368 (tramp-get-remote-gid-with-python): New defuns. Python code
5369 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5370 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5372 2013-09-19 Glenn Morris <rgm@gnu.org>
5374 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5376 * eshell/em-unix.el (eshell-remove-entries):
5377 Rename argument to avoid name-clash with global `top-level'.
5379 * eshell/esh-proc.el (eshell-kill-process-function):
5380 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5381 (eshell-reset-after-proc): Remove unused arg `proc'.
5383 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5384 (directory-files-and-attributes): Mark unused arg.
5386 * eshell/em-unix.el (eshell-remove-entries):
5387 Remove unused arg `path'. Update callers.
5389 * eshell/em-hist.el (eshell-hist-parse-arguments):
5390 Remove unused arg `silent'. Update callers.
5392 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5393 Fix (f)boundp mix-up.
5395 * eshell/em-smart.el (eshell-smart-scroll-window)
5396 (eshell-disable-after-change):
5397 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5399 2013-09-18 Alan Mackenzie <acm@muc.de>
5401 Fix fontification of type when followed by "const".
5402 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5403 "known" types from fontification.
5405 2013-09-18 Glenn Morris <rgm@gnu.org>
5407 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5408 (chart-face-list): Drop Emacsen without display-color-p.
5410 * net/eww.el (libxml-parse-html-region): Declare.
5411 (eww-display-html): Explicit error if no libxml2 support.
5413 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5415 * image.el (image-type-from-buffer, image-multi-frame-p):
5416 Remove --without-x warning/error.
5418 * mouse.el (mouse-yank-primary):
5419 * term.el (term-mouse-paste):
5420 Reorder to silence --without-x compilation.
5422 * mpc.el (doc-view-mode): Silence --without-x compilation.
5424 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5425 Silence --without-x compilation.
5427 * progmodes/gud.el (gud-find-file, gud-mode):
5428 Silence --without-x compilation.
5429 (tooltip-mode): Declare.
5431 * wdired.el (dired-backup-overwrite): Remove declaration.
5432 (wdired-mode-map): Add doc string.
5434 * custom.el (x-get-resource): Declare.
5436 * eshell/em-glob.el (ange-cache):
5437 * eshell/em-unix.el (ange-cache): Declare.
5439 * faces.el (x-display-list, x-open-connection, x-get-resource):
5442 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5443 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5446 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5448 * net/gnutls.el (gnutls-log-level): Declare.
5450 * net/shr.el (image-size, image-animate): Declare.
5452 * simple.el (font-info): Declare.
5454 * subr.el (x-popup-dialog): Declare.
5456 * term/common-win.el (x-select-enable-primary)
5457 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5460 * term/ns-win.el (x-handle-args): Declare.
5462 * term/x-win.el (x-select-enable-clipboard): Declare.
5464 * term/w32-win.el (create-default-fontset): Declare.
5466 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5469 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5470 (fit-frame-to-buffer): Explicit error if --without-x.
5471 (mouse-autoselect-window-select): Silence compiler.
5473 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5475 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5476 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5477 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5478 * eshell/esh-util.el (eshell-sublist):
5479 Remove unused local variables.
5481 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5483 * textmodes/two-column.el: Make 2C-split work for --without-x.
5484 (scroll-bar-columns): Autoload.
5485 (top-level): Require fringe when compiling.
5487 2013-09-18 Leo Liu <sdl.web@gmail.com>
5489 * subr.el (add-hook): Robustify to handle closure as well.
5491 2013-09-17 Glenn Morris <rgm@gnu.org>
5493 * simple.el (messages-buffer-mode-map): Unbind "g".
5495 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5497 * help-mode.el (help-mode-finish): Use derived-mode-p.
5498 Remove obsolete highlighting.
5500 * play/life.el (life-mode): Use define-derived-mode. Derive from
5502 (life): Let-bind inhibit-read-only.
5503 (life-setup): Avoid `setq'. Use `life-mode'.
5505 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5506 which should not be needed any more.
5507 (package-menu-refresh, package-menu-describe-package): Use user-error.
5509 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5510 (eshell-post-rewrite-command-hook): Make obsolete.
5511 (eshell-parse-command): Simplify.
5512 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5513 (eshell--cmd): Declare.
5514 (eshell-parse-pipeline): Remove unused var `final-p'.
5515 Pass a dynvar to eshell-post-rewrite-command-hook.
5516 Implement the new eshell-post-rewrite-command-function.
5517 (eshell-invoke-directly): Remove unused arg `input'.
5518 * eshell/esh-io.el (eshell-io-initialize):
5519 Use eshell-post-rewrite-command-function (bug#15399).
5520 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5521 adjust to new calling convention.
5522 (eshell-create-handles): Rename args to avoid clashing with dynvar
5525 2013-09-17 Glenn Morris <rgm@gnu.org>
5527 * simple.el (messages-buffer-mode): New major mode.
5528 (messages-buffer): New function.
5529 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5530 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5531 (ert-run-test): Use `messages-buffer' function.
5532 (ert--force-message-log-buffer-truncation): Ignore read-only.
5533 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5534 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5536 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5538 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5540 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5542 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5544 * icomplete.el (icomplete-in-buffer): New var.
5545 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5546 vars and replace them with functions.
5547 (icomplete-minibuffer-setup): Adjust accordingly.
5548 (icomplete--completion-table, icomplete--completion-predicate)
5549 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5551 (icomplete-forward-completions, icomplete-backward-completions)
5552 (icomplete-simple-completing-p, icomplete-exhibit)
5553 (icomplete-completions): Use them.
5554 (icomplete--in-region-buffer): New var.
5555 (icomplete--in-region-setup): New function.
5556 (icomplete-mode): Use it.
5558 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5560 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5561 return args and options.
5562 (eshell-eval-using-options): Use the new return value of
5563 eshell--do-opts to set the options's vars in their scope.
5564 (eshell--set-option): Rename from eshell-set-option.
5566 (eshell--process-option): Rename from eshell-process-option.
5568 (eshell--process-args): Use an `opt-vals' alist to store the options's
5569 values during their processing and return them additionally to the
5572 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5574 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5575 continuation character an operator, as far as indentation is
5576 concerned (Bug#15369).
5578 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5580 * window.el (window--state-put-2): Don't process buffer state
5581 when buffer doesn't exist any more (Bug#15382).
5583 2013-09-15 Glenn Morris <rgm@gnu.org>
5585 * eshell/em-unix.el (eshell/rm):
5586 Make -f ignore missing files. (Bug#15373)
5588 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5589 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5590 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5592 2013-09-14 Glenn Morris <rgm@gnu.org>
5594 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5596 2013-09-13 Glenn Morris <rgm@gnu.org>
5598 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5599 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5601 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5603 * frame.el (x-focus-frame): Mark as declared in frame.c.
5605 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5607 * ls-lisp.el: Use advice-add.
5608 (original-insert-directory): Remove.
5609 (ls-lisp--insert-directory): Rename from insert-directory; add
5610 `orig-fun' argument.
5611 (insert-directory): Advise.
5613 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5615 * term.el (term-emulate-terminal): Decode the command string
5616 before passing it to term-command-hook. (Bug#15337)
5618 2013-09-13 Glenn Morris <rgm@gnu.org>
5620 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5622 * eshell/esh-ext.el (eshell-search-path): Declare.
5624 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5625 Otherwise an error occurs if eshell-dirs module not loaded.
5627 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5629 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5631 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5632 `tramp-check-proper-host'. Check for a valid method name.
5634 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5635 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5636 * net/tramp-sh.el (tramp-maybe-open-connection):
5637 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5639 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5640 also for hash values.
5642 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5644 * term/ns-win.el (parameters): Don't declare as dynamic.
5645 (before-make-frame-hook): Don't add ineffective function.
5647 * eshell/*.el: Use lexical-binding (bug#15231).
5649 2013-09-12 Kenichi Handa <handa@gnu.org>
5651 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5653 2013-09-12 Glenn Morris <rgm@gnu.org>
5655 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5656 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5658 * subr.el (do-after-load-evaluation): Also give compiler warnings
5659 when obsolete files are used (except by obsolete files).
5661 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5662 in the status output, assume `filename' is the first. (Bug#15322)
5664 * vc/vc.el (vc-deduce-fileset): Doc fix.
5666 * calc/calc-help.el (Info-goto-node):
5667 * progmodes/cperl-mode.el (Info-find-node):
5668 * vc/ediff.el (Info-goto-node): Update declarations.
5670 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5672 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5673 (vc-bzr-pull): Require vc-dispatcher.
5674 * vc/vc-git.el (vc-compilation-mode): Declare.
5675 (vc-git-pull): Require vc-dispatcher.
5677 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5679 * progmodes/octave.el (help-button-action): Declare.
5681 * shell.el (shell-directory-tracker): Output error as a message
5682 rather than just returning it as a string.
5683 (shell-process-pushd): Remove useless use of message.
5685 * dframe.el (dframe-timer-fn):
5686 * files.el (dir-locals-read-from-file):
5687 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5689 * reveal.el (reveal-post-command):
5690 * saveplace.el (load-save-place-alist-from-file):
5691 * shell.el (shell-resync-dirs):
5692 * w32-common-fns.el (x-get-selection-value):
5693 * emacs-lisp/copyright.el (copyright-find-copyright):
5694 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5695 * emulation/tpu-edt.el (tpu-copy-keyfile):
5696 * play/bubbles.el (bubbles--mark-neighbourhood):
5697 * progmodes/executable.el
5698 (executable-make-buffer-file-executable-if-script-p):
5699 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5701 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5703 Cleanup Eshell to rely less on dynamic scoping.
5704 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5705 last-value, and ext-command here. Bind `args' closer to `body'.
5706 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5707 (eshell--args): Declare new dynamic var.
5708 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5709 last-value, and ext-command. Pass `args' to `body'.
5710 (eshell-process-args): Bind eshell--args.
5711 (eshell-set-option): Use eshell--args.
5712 * eshell/eshell.el (eshell): Use derived-mode-p.
5713 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5714 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5715 (eshell-glob-function): Declare.
5716 * eshell/esh-util.el: Require cl-lib.
5717 (eshell-read-hosts-file): Avoid add-to-list.
5718 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5720 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5722 (eshell/diff): Remove unused var `err'.
5723 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5725 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5726 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5728 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5729 Move declaration before first use.
5730 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5731 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5734 2013-09-12 Glenn Morris <rgm@gnu.org>
5736 * term/ns-win.el (global-map): Remove binding for ispell-next,
5737 deleted 1999-05-29. (Bug#15357)
5739 2013-09-11 Glenn Morris <rgm@gnu.org>
5741 * echistory.el (electric-command-history): Remove call to deleted func.
5743 * play/landmark.el (landmark-mode): Fix typos.
5745 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5746 Check cvs-sort-ignore-file is bound.
5748 * savehist.el: No need for cl when compiling on Emacs.
5750 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5752 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5754 (eshell-self-insert-command, eshell-send-invisible):
5755 Remove unused argument.
5756 (eshell-handle-control-codes): Remove unused var `orig'.
5757 Avoid delete-backward-char.
5759 * files.el (set-auto-mode): Simplify a bit further.
5761 2013-09-11 Glenn Morris <rgm@gnu.org>
5763 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5764 (set-auto-mode): Don't regexp-quote elements.
5765 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5766 * progmodes/cc-mode.el (interpreter-mode-alist):
5767 * progmodes/ruby-mode.el (interpreter-mode-alist):
5768 Revert previous change.
5770 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5772 * play/snake.el (snake-mode):
5773 * play/mpuz.el (mpuz-mode):
5774 * play/landmark.el (lm-mode):
5775 * play/blackbox.el (blackbox-mode):
5776 * play/5x5.el (5x5-mode):
5777 * obsolete/options.el (Edit-options-mode):
5778 * net/quickurl.el (quickurl-list-mode):
5779 * net/newst-treeview.el (newsticker-treeview-mode):
5780 * mail/rmailsum.el (rmail-summary-mode):
5781 * mail/mspools.el (mspools-mode):
5782 * locate.el (locate-mode):
5783 * ibuffer.el (ibuffer-mode):
5784 * emulation/ws-mode.el (wordstar-mode):
5785 * emacs-lisp/debug.el (debugger-mode):
5786 * array.el (array-mode):
5787 * net/eudc.el (eudc-mode): Use define-derived-mode.
5788 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5789 Move initialization into declaration.
5790 (mairix-searches-mode): Use define-derived-mode.
5791 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5792 (eudc-edit-hotlist): Use dolist.
5793 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5794 (Man-mode): Use define-derived-mode.
5795 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5796 (Info-edit-mode): Use define-derived-mode.
5797 (Info-cease-edit): Use Info-mode.
5798 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5800 (eshell-mode): Use define-derived-mode.
5801 * chistory.el (command-history-mode-map): Rename from
5802 command-history-map.
5803 (command-history-mode): Use define-derived-mode.
5804 (Command-history-setup): Remove function.
5805 * calc/calc.el (calc-trail-mode-map): New var.
5806 (calc-trail-mode): Use define-derived-mode.
5807 (calc-trail-buffer): Set calc-main-buffer manually.
5808 * bookmark.el (bookmark-insert-annotation): New function.
5809 (bookmark-edit-annotation): Use it.
5810 (bookmark-edit-annotation-mode): Make it a proper major mode.
5811 (bookmark-send-edited-annotation): Use derived-mode-p.
5812 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5813 closer to its ideal place. Use \' to match EOS.
5815 * profiler.el (profiler-calltree-find): Use function-equal.
5817 2013-09-10 Glenn Morris <rgm@gnu.org>
5819 * files.el (interpreter-mode-alist): Convert to regexps.
5820 (set-auto-mode): Adapt for this. (Bug#15306)
5821 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5822 Comment out unused variable.
5823 * progmodes/cc-mode.el (interpreter-mode-alist):
5824 * progmodes/python.el (interpreter-mode-alist):
5825 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5826 * progmodes/sh-script.el (sh-set-shell):
5827 No longer use interpreter-mode-alist to get list of shells.
5829 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5831 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5833 * simple.el: Use set-temporary-overlay-map for universal-argument.
5834 (universal-argument-map): Don't use default-bindings (bug#15317).
5835 Bind switch-frame explicitly. Replace universal-argument-minus with
5836 a conditional binding.
5837 (universal-argument-num-events, saved-overriding-map): Remove.
5838 (restore-overriding-map): Remove.
5839 (universal-argument--mode): Rename from save&set-overriding-map,
5841 (universal-argument, universal-argument-more, negative-argument)
5842 (digit-argument): Adjust accordingly.
5843 (universal-argument-minus): Remove.
5844 (universal-argument-other-key): Remove.
5846 * subr.el (with-demoted-errors): Add `format' argument.
5848 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5850 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5851 `tramp-cleanup-connection'.
5853 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5854 parameters KEEP-DEBUG and KEEP-PASSWORD.
5856 * net/tramp.el (tramp-file-name-handler):
5857 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5858 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5859 (tramp-maybe-open-connection):
5860 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5861 Use `tramp-cleanup-connection'.
5863 * net/tramp-sh.el (tramp-maybe-open-connection):
5864 Catch 'uname-changed inside the progress reporter.
5866 2013-09-10 Glenn Morris <rgm@gnu.org>
5868 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5870 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5871 returns "alternate access method" in mode (eg "-rw-r--r--.").
5873 2013-09-08 Glenn Morris <rgm@gnu.org>
5875 * saveplace.el (load-save-place-alist-from-file):
5876 Demote errors. (Bug#15305)
5878 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5880 Improve compatibility with older Emacsen, and XEmacs.
5882 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5883 only if it is bound. It isn't for XEmacs.
5884 (with-tramp-progress-reporter): Do not let-bind `result'.
5885 This yields to scoping errors in XEmacs.
5886 (tramp-handle-make-auto-save-file-name): New function, moved from
5889 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5890 for `make-auto-save-file-name'.
5891 (tramp-adb--gnu-switches-to-ash):
5892 Use `tramp-compat-replace-regexp-in-string'.
5894 * net/tramp-cache.el (tramp-cache-print): Call
5895 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5897 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5898 bound. It isn't for XEmacs.
5900 * net/tramp-compat.el (tramp-compat-copy-file):
5901 Catch `wrong-number-of-arguments' error.
5902 (tramp-compat-replace-regexp-in-string): New defun.
5904 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5905 for `make-auto-save-file-name'.
5906 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5908 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5909 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5910 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5912 * net/tramp-gw.el (tramp-gw-open-network-stream):
5913 Use `tramp-compat-replace-regexp-in-string'.
5915 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5916 Call `tramp-handle-make-auto-save-file-name'.
5917 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5918 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5919 (tramp-sh-file-inotifywait-process-filter):
5920 Use `tramp-compat-replace-regexp-in-string'.
5921 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5923 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5924 for `make-auto-save-file-name'.
5925 (tramp-smb-handle-copy-directory):
5926 Call `tramp-compat-replace-regexp-in-string'.
5927 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5928 (tramp-smb-handle-copy-file): Improve error message.
5929 (tramp-smb-handle-rename-file): Rename directly only in case
5930 `newname' does not exist yet. This is a restriction of smbclient.
5931 (tramp-smb-maybe-open-connection): Rerun the function only when
5932 `auth-sources' is non-nil.
5934 2013-09-08 Kenichi Handa <handa@gnu.org>
5936 * international/characters.el: Set category "^" (Combining) for
5939 2013-09-07 Alan Mackenzie <acm@muc.de>
5941 Correctly fontify Java class constructors.
5942 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5944 (c-recognize-typeless-decls): Set the Java value to t.
5945 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5946 While handling a "(", add a check for, effectively, Java, and handle a
5947 "typeless" declaration there.
5949 2013-09-07 Roland Winkler <winkler@gnu.org>
5951 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5952 field subtitle for entry type book.
5954 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5956 * minibuffer.el: Make minibuffer-complete call completion-in-region
5957 rather than other way around.
5958 (completion--some, completion-pcm--find-all-completions):
5959 Don't delay signals when debugging.
5960 (minibuffer-completion-contents): Beware fields within the
5961 minibuffer contents.
5962 (completion-all-sorted-completions): Use defvar-local.
5963 (completion--do-completion, completion--cache-all-sorted-completions)
5964 (completion-all-sorted-completions, minibuffer-force-complete):
5965 Add args `beg' and `end'.
5966 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5967 (minibuffer-complete): Use completion-in-region.
5968 (completion-complete-and-exit): New fun, extracted from
5969 minibuffer-complete-and-exit.
5970 (minibuffer-complete-and-exit): Use it.
5971 (completion--complete-and-exit): Rename from
5972 minibuffer--complete-and-exit.
5973 (completion-in-region--single-word): New function, extracted from
5974 minibuffer-complete-word.
5975 (minibuffer-complete-word): Use it.
5976 (display-completion-list): Make `common-substring' argument obsolete.
5977 (completion--in-region): Call completion--in-region-1 instead of
5978 minibuffer-complete.
5979 (completion-help-at-point): Pass boundaries to
5980 minibuffer-completion-help as args rather than via an overlay.
5981 (completion-pcm--string->pattern): Use `any-delim'.
5982 (completion-pcm--optimize-pattern): New function.
5983 (completion-pcm--pattern->regex): Handle `any-delim'.
5984 * icomplete.el (icomplete-forward-completions)
5985 (icomplete-backward-completions, icomplete-completions):
5986 Adjust calls to completion-all-sorted-completions and
5987 completion--cache-all-sorted-completions.
5988 (icomplete-with-completion-tables): Default to t.
5989 * emacs-lisp/crm.el (crm--current-element): Rename from
5990 crm--select-current-element. Don't put an overlay but return the
5992 (crm--completion-command): Take two new args to bind to the boundaries.
5993 (crm-completion-help): Adjust accordingly.
5994 (crm-complete): Use completion-in-region.
5995 (crm-complete-word): Use completion-in-region--single-word.
5996 (crm-complete-and-exit): Use completion-complete-and-exit.
5998 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6000 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
6003 2013-09-06 Juri Linkov <juri@jurta.org>
6005 * info.el (Info-display-images-node): When image file doesn't exist
6006 display text version of the image if it's provided in the Info file.
6007 Otherwise, display the location of missing image from SRC attribute.
6008 Add help-echo text property from ALT attribute. (Bug#15279)
6010 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
6012 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
6013 (edit-abbrevs-mode): Use define-derived-mode.
6015 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
6016 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
6018 (epa-key-list-mode, epa-key-mode, epa-info-mode):
6019 Use define-derived-mode.
6021 * epg.el (epg-start-encrypt): Minor CSE simplification.
6023 2013-09-06 William Xu <william.xwl@gmail.com>
6025 * arc-mode.el: Add support for 7za (bug#15264).
6026 (archive-7z-program): New var.
6027 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
6028 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
6029 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
6031 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
6035 * net/tramp.el (tramp-syntax, tramp-prefix-format)
6036 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
6037 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
6038 (tramp-postfix-host-format, tramp-file-name-regexp)
6039 (tramp-completion-file-name-regexp)
6040 (tramp-completion-dissect-file-name)
6041 (tramp-handle-substitute-in-file-name): Remove 'url case.
6042 (tramp-file-name-regexp-url)
6043 (tramp-completion-file-name-regexp-url): Remove constants.
6045 2013-09-06 Glenn Morris <rgm@gnu.org>
6047 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6049 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6051 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6052 keywords" below "here-doc beginnings" (Bug#15270).
6054 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6056 * subr.el (pop): Use `car-safe'.
6057 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6058 to detect unused `pop' return value.
6060 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6062 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6063 (python-fill-string): Remove unused var `marker'.
6064 (python-skeleton-add-menu-items): Remove unused var `items'.
6066 * international/mule-cmds.el: Require CL.
6067 (find-coding-systems-for-charsets): Avoid add-to-list.
6068 (sanitize-coding-system-list): New function, extracted from
6069 select-safe-coding-system-interactively.
6070 (select-safe-coding-system-interactively): Use it.
6071 (read-input-method-name): Accept symbols for `default'.
6073 * emacs-lisp/advice.el (defadvice): Add indent rule.
6075 2013-09-05 Daniel Hackney <dan@haxney.org>
6079 * net/browse-url.el:
6082 * net/eudcb-ldap.el:
6095 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6096 byte compiler. Remove some unused let-bound variables.
6098 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6100 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6101 a "ref-cell", since it gets better optimized (bug#14883).
6103 2013-09-05 Glenn Morris <rgm@gnu.org>
6105 * progmodes/cc-awk.el (c-forward-sws): Declare.
6107 2013-09-04 Glenn Morris <rgm@gnu.org>
6109 * generic-x.el [rul-generic-mode]: Require cc-mode.
6110 (c++-mode-syntax-table): Declare.
6111 (rul-generic-mode-syntax-table): Init in the defvar.
6113 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6115 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6116 (vc-do-command, vc-set-async-update):
6117 * vc/vc-mtn.el (vc-mtn-dir-status):
6118 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6119 (vc-hg-pull, vc-hg-merge-branch):
6120 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6121 (vc-git-merge-branch):
6122 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6123 (vc-cvs-dir-status-files):
6124 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6125 (vc-bzr-dir-status-files):
6126 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6127 * vc/vc-annotate.el: Use lexical-binding.
6128 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6129 (vc-sentinel-movepoint): Declare.
6130 (vc-annotate): Don't use `goto-line'.
6131 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6132 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6133 (vc-sentinel-movepoint): Declare.
6134 * vc/vc-svn.el: Use lexical-binding.
6135 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6137 * vc/vc-rcs.el: Use lexical-binding.
6139 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6140 `deleted'. Don't drop errors silently.
6142 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6144 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6146 * vc/vc.el (vc-ignore): Rewrite.
6147 (vc-default-ignore): New function.
6148 (vc-default-ignore-completion-table): Use find-ignore-file.
6150 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6151 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6152 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6153 Remove. Most code moved to vc.el.
6155 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6157 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6158 * net/tramp-smb.el (tramp-smb-get-file-entries):
6159 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6160 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6162 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6164 (eww-change-select): Remove unused var `properties'.
6165 (eww-make-unique-file-name): Remove unused var `base'.
6167 * finder.el (finder-compile-keywords): Don't mess with windows.
6169 * calculator.el (calculator-funcall): Fix typo in last change.
6171 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6173 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6174 <pkg>-autoloads.el file stop us.
6176 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6177 warnings, and factor out common code.
6179 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6181 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6182 two-character operators and whether the character preceding them
6183 changes their meaning (Bug#15208).
6185 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6187 Format code sent to Python shell for robustness.
6188 * progmodes/python.el (python-shell-buffer-substring):
6190 (python-shell-send-region, python-shell-send-buffer): Use it.
6192 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6194 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6195 * net/tramp.el (tramp-user-error): ... here.
6196 (tramp-find-method, tramp-check-proper-host)
6197 (tramp-dissect-file-name, tramp-debug-message)
6198 (tramp-handle-shell-command):
6199 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6200 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6202 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6204 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6206 * avoid.el (mouse-avoidance-point-position)
6207 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6210 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6212 * progmodes/python.el (python-shell-completion-get-completions):
6213 Drop use of deleted `comint-last-prompt-overlay'.
6214 (python-nav-if-name-main): New command.
6216 2013-09-01 Glenn Morris <rgm@gnu.org>
6218 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6219 Avoid leading space in $wins. Otherwise the sed command used by
6220 eg compile-main ends up containing "/*.el". (Bug#15170)
6222 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6224 2013-08-30 Glenn Morris <rgm@gnu.org>
6226 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6227 Fix is-this-a-directory logic. (Bug#15220)
6229 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6231 * textmodes/css-mode.el: Use SMIE.
6232 (css-smie-grammar): New var.
6233 (css-smie--forward-token, css-smie--backward-token)
6234 (css-smie-rules): New functions.
6235 (css-mode): Use them.
6236 (css-navigation-syntax-table): Remove var.
6237 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6238 (css-indent-calculate, css-indent-line): Remove functions.
6240 Misc changes to reduce use of `(lambda...); and other cleanups.
6241 * cus-edit.el: Use lexical-binding.
6242 (customize-push-and-save, customize-apropos)
6243 (custom-buffer-create-internal): Use closures.
6244 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6245 * progmodes/ada-xref.el: Use setq.
6246 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6247 * dframe.el: Use lexical-binding.
6248 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6249 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6250 * descr-text.el: Use lexical-binding.
6251 (describe-text-widget, describe-text-sexp, describe-property-list):
6253 * comint.el (comint-history-isearch-push-state): Use a closure.
6254 * calculator.el: Use lexical-binding.
6255 (calculator-number-to-string): Make it work with lexical-binding.
6256 (calculator-funcall): Same and use cl-letf.
6258 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6259 (lisp--company-doc-string, lisp--company-location): New functions.
6260 (lisp-completion-at-point): Use them to improve Company support.
6262 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6263 params of lambda expressions.
6264 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6265 (ruby-smie--opening-pipe-p): New function.
6266 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6267 symbols and matched |...| for formal params.
6268 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6269 from being treated as hanging. Handle "rescue".
6271 2013-08-29 Glenn Morris <rgm@gnu.org>
6273 * progmodes/cc-engine.el (c-pull-open-brace):
6274 Move definition before use.
6276 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6278 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6279 are immutable. Don't use `unsafe' any more.
6280 (cl--defsubst-expand): Don't substitute at the same time as keeping
6281 a residual unused let-binding. Don't use `unsafe' any more.
6283 2013-08-29 Glenn Morris <rgm@gnu.org>
6285 * calendar/cal-china.el (calendar-chinese-year-cache):
6288 * nxml/nxml-util.el (nxml-debug-clear-inside):
6289 Use cl-loop rather than loop.
6291 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6293 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6295 2013-08-28 Glenn Morris <rgm@gnu.org>
6297 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6299 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6301 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6303 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6305 * simple.el (repeat-complex-command--called-interactively-skip):
6307 (repeat-complex-command): Use it (bug#14136).
6309 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6310 (c-define-abbrev-table): Add `doc' argument.
6311 (c-mode-abbrev-table, c++-mode-abbrev-table)
6312 (objc-mode-abbrev-table, java-mode-abbrev-table)
6313 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6314 (awk-mode-abbrev-table): Use it.
6315 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6316 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6317 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6318 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6319 Move initialization into the declaration; and remove any
6322 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6323 and dynamic let binding.
6325 * vc/smerge-mode.el: Remove redundant :group args.
6327 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6330 2013-08-28 Juri Linkov <juri@jurta.org>
6332 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6333 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6334 (isearch-other-meta-char): Handle an undefined shifted printing
6335 character by downshifting it. (Bug#15200)
6337 2013-08-28 Juri Linkov <juri@jurta.org>
6339 * isearch.el (isearch-search): Change regexp error message for
6340 non-regexp searches. (Bug#15166)
6342 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6344 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6345 for portability to hosts where /bin/sh has problems.
6347 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6349 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6351 2013-08-27 Juri Linkov <juri@jurta.org>
6353 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6354 in the keyboard macro. (Bug#15126)
6356 2013-08-27 Juri Linkov <juri@jurta.org>
6358 * isearch.el (isearch-quote-char): Comment out converting unibyte
6359 to multibyte, thus syncing with its `quoted-insert' counterpart.
6362 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6364 * window.el (display-buffer-use-some-window): Add missing
6365 argument in call of get-largest-window (Bug#15185).
6366 Reported by Stephen Leake.
6368 2013-08-27 Glenn Morris <rgm@gnu.org>
6370 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6372 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6374 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6375 from a matcher-function unless there's no more matches (bug#15161).
6377 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6379 * minibuffer.el: Revert change from 2013-08-20.
6381 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6382 with text property `tramp-default', if appropriate.
6383 (tramp-check-proper-host): New defun.
6384 (tramp-dissect-file-name): Do not check hostname. Revert change
6386 (tramp-backtrace): Make VEC-OR-PROC optional.
6388 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6389 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6390 * net/tramp-sh.el (tramp-maybe-open-connection):
6391 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6392 Apply `tramp-check-proper-host'.
6394 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6396 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6397 lambda expression in order to have `describe-variable' display it.
6399 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6401 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6402 BUF can be optional. (Bug#15186)
6404 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6406 * progmodes/flymake.el (flymake-get-real-file-name-function):
6407 Fix broken customization. (Bug#15184)
6409 2013-08-25 Alan Mackenzie <acm@muc.de>
6411 Improve indentation of bracelists defined by macros (without "=").
6413 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6414 expansion begins with "{", regard it as bracelist when it doesn't
6417 Parse C++ inher-intro when there's a template split over 2 lines.
6419 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6420 rigorously the search for "class" etc. followed by ":".
6422 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6423 random languages a regexp which never matches rather than nil.
6425 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6427 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6428 (c-awk-regexp-one-line-possibly-open-char-list-re)
6429 (c-awk-one-line-possibly-open-regexp-re)
6430 (c-awk-one-line-non-syn-ws*-re): Remove.
6431 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6432 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6433 (c-awk-space*-unclosed-regexp-/-re): New constants.
6434 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6435 aren't regexp delimiters.
6437 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6438 handling for a rare situation in AWK Mode involving unterminated
6441 2013-08-23 Glenn Morris <rgm@gnu.org>
6443 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6445 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6447 * files.el (create-file-buffer): If the result would begin with
6448 spaces, prepend a "|" instead of removing them. (Bug#15162)
6450 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6452 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6453 text-properties (bug#15155).
6455 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6457 (calc-keypad-redraw): Remove unused var `pad'.
6458 (calc-keypad-press): Remove unused var `menu'.
6460 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6462 * window.el (display-buffer-pop-up-frame):
6463 Call pop-up-frame-function with BUFFER current so `make-frame' will
6464 use it as the new frame's buffer (Bug#15133).
6466 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6468 * calendar/timeclock.el: Minor cleanups.
6469 (timeclock-ask-before-exiting, timeclock-use-display-time):
6471 (timeclock-modeline-display): Define as alias before the
6473 (timeclock-mode-line-display): Use define-minor-mode.
6474 (timeclock-day-list-template): Make it a function, add an argument.
6475 (timeclock-day-list-required, timeclock-day-list-length)
6476 (timeclock-day-list-debt, timeclock-day-list-span)
6477 (timeclock-day-list-break): Adjust calls accordingly.
6479 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6481 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6482 Use read--expression so that completion works again.
6484 2013-08-21 Sam Steingold <sds@gnu.org>
6486 Add rudimentary inferior shell interaction
6487 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6488 (sh-set-shell): Reset it.
6489 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6490 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6492 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6494 * align.el: Use lexical-binding.
6495 (align-region): Simplify accordingly.
6497 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6499 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6501 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6504 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6508 * net/tramp-cmds.el:
6510 * net/tramp-gvfs.el:
6512 * net/tramp-sh.el: Don't wrap external variable declarations by
6513 `eval-when-compile'.
6515 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6517 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6518 now that Emacs supports ImageMagick animations.
6520 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6522 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6523 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6525 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6527 * window.el (mouse-autoselect-window-select): Do autoselect when
6528 mouse pointer is on margin.
6530 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6532 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6534 2013-08-16 Glenn Morris <rgm@gnu.org>
6536 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6537 Handle "Remote Directory" response of some clients. (Bug#15058)
6539 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6540 Tweak warning. (Bug#14926)
6542 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6543 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6545 * image-mode.el (image-mode-map): Add menu items to reverse,
6546 increase, decrease, reset animation speed.
6547 (image--set-speed, image-increase-speed, image-decrease-speed)
6548 (image-reverse-speed, image-reset-speed): New functions.
6549 (image-mode-map): Add bindings for speed commands.
6551 * image.el (image-animate-get-speed, image-animate-set-speed):
6553 (image-animate-timeout): Respect image :speed property.
6555 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6557 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6558 previous line (bug#15101).
6559 (debugger-eval-expression, debugger-record-expression):
6560 Use read--expression (bug#15102).
6562 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6564 Remove byte compiler warnings, visible when compiling with
6565 `byte-compile-force-lexical-warnings' set to t.
6567 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6568 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6569 (tramp-handle-unhandled-file-name-directory)
6570 (tramp-handle-file-notify-add-watch, tramp-action-login)
6571 (tramp-action-succeed, tramp-action-permission-denied)
6572 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6575 * net/tramp-adb.el (tramp-adb-parse-device-names)
6576 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6577 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6578 (tramp-adb-handle-file-truename): Remove unused arguments.
6580 * net/tramp-cache.el (tramp-flush-directory-property)
6581 (tramp-flush-connection-property, tramp-list-connections)
6582 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6584 * net/tramp-compat.el (tramp-compat-make-temp-file):
6585 Rename FILENAME to F.
6587 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6588 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6589 (tramp-zeroconf-parse-workstation-device-names)
6590 (tramp-zeroconf-parse-webdav-device-names)
6591 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6593 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6594 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6596 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6598 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6599 (tramp-sh-handle-insert-file-contents-literally)
6600 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6602 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6603 Remove unused variables.
6605 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6606 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6607 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6609 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6610 Make them a defconst.
6611 (tramp-uuencode-region): Remove unused variable.
6613 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6615 * frameset.el (frameset--prop-setter): New function.
6616 (frameset-prop): Add gv-setter declaration.
6617 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6618 parameter was already set in FILTERED. Doc fix.
6619 (frameset--record-minibuffer-relationships): Allow saving a
6620 minibufferless frame without its corresponding minibuffer frame.
6621 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6622 frame, if the frame id matches.
6623 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6624 frames before orphaned ones.
6625 (frameset-restore): Warn about orphaned windows, instead of error out.
6627 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6629 * window.el (window-make-atom): Don't overwrite parameter
6631 (display-buffer-in-atom-window): Handle special case where we
6632 split an already atomic window.
6633 (window--major-non-side-window, display-buffer-in-side-window)
6634 (window--side-check): Ignore minibuffer window when walking
6636 (window-deletable-p): Return 'frame only if no other frame uses
6637 our minibuffer window.
6638 (record-window-buffer): Run buffer-list-update-hook.
6639 (split-window): Make sure window--check-frame won't destroy an
6640 existing atomic window in case the new window gets nested
6642 (display-buffer-at-bottom): Ignore minibuffer window when
6643 walking window tree. Don't split a side window.
6644 (pop-to-buffer): Don't set-buffer here, the select-window call
6646 (mouse-autoselect-window-select): Autoselect only if we are in the
6647 text portion of the window.
6649 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6651 * net/shr.el (shr-parse-image-data): New function to grab both the
6652 data itself and the Content-Type.
6653 (shr-put-image): Use it.
6655 * net/eww.el (eww-display-image): Ditto.
6657 * image.el (image-content-type-suffixes): New variable.
6659 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6661 * progmodes/python.el (python-imenu--build-tree)
6662 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6664 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6666 * simple.el (backward-word): Mention the optional argument.
6668 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6670 * frameset.el (frameset--make): Rename constructor from make-frameset.
6671 (frameset-p, frameset-valid-p): Don't autoload.
6672 (frameset-valid-p): Use normal accessors.
6674 2013-08-13 Glenn Morris <rgm@gnu.org>
6676 * progmodes/compile.el (compile-command): Tweak example in doc.
6677 * obsolete/scribe.el (scribe-mode):
6678 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6680 * mail/feedmail.el (feedmail-confirm-outgoing)
6681 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6683 * cus-start.el (truncate-partial-width-windows): Fix type.
6685 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6687 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6689 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6691 * emacs-lisp/timer.el (timer--time-setter): New function.
6692 (timer--time): Use it as gv-setter.
6694 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6695 setter is not a symbol.
6697 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6699 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6700 if sending fails. This makes debugging easier.
6702 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6704 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6705 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6706 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6708 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6710 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6712 2013-08-12 Glenn Morris <rgm@gnu.org>
6714 * format.el (format-annotate-function):
6715 Handle read-only text properties in the source. (Bug#14887)
6717 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6719 * net/eww.el (eww-display-html): Ignore coding system errors.
6720 One web site uses "utf-8lias" as the coding system.
6722 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6724 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6726 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6728 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6729 (tutorial--detailed-help): Remove unused local variables.
6730 (tutorial--save-tutorial-to): Use ignore-errors.
6731 (help-with-tutorial): Use looking-at-p.
6733 * view.el (view-buffer-other-window, view-buffer-other-frame):
6734 Mark unused arguments.
6736 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6737 (woman-select-symbol-fonts, woman, woman-find-file)
6738 (woman-insert-file-contents, woman-non-underline-faces):
6740 (woman1-unquote): Move declaration.
6742 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6743 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6744 argument. Remove unused local variable.
6745 (xml-parse-elem-type): Use string-match-p.
6746 (xml-substitute-numeric-entities): Use ignore-errors.
6748 * calculator.el (calculator): Mark unused argument.
6749 (calculator-paste, calculator-quit, calculator-integer-p):
6751 (calculator-string-to-number, calculator-decimal, calculator-exp)
6752 (calculator-op-or-exp): Use string-match-p.
6754 * dired.el (dired-buffer-more-recently-used-p): Declare.
6755 (dired-insert-set-properties, dired-insert-old-subdirs):
6758 * dired-aux.el (dired-compress): Use ignore-errors.
6759 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6760 (dired-do-async-shell-command, dired-do-shell-command)
6761 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6762 (dired-insert-subdir-validate): Use string-match-p.
6763 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6764 (dired-add-entry): Use string-match-p, looking-at-p.
6765 (dired-insert-subdir-newpos): Remove unused local variable.
6767 * filenotify.el (file-notify-callback): Remove unused local variable.
6769 * filesets.el (filesets-error): Mark unused argument.
6770 (filesets-which-command-p, filesets-filter-dir-names)
6771 (filesets-directory-files, filesets-get-external-viewer)
6772 (filesets-ingroup-get-data): Use string-match-p.
6774 * find-file.el (ff-other-file-name, ff-other-file-name)
6775 (ff-find-the-other-file, ff-cc-hh-converter):
6776 Remove unused local variables.
6777 (ff-get-file-name): Use string-match-p.
6778 (ff-all-dirs-under): Use ignore-errors.
6780 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6781 (follow-select-if-visible): Remove unused local variable.
6783 * forms.el (read-file-filter): Move declaration.
6784 (forms--make-format, forms--make-parser, forms-insert-record):
6785 Quote function with #'.
6786 (forms--update): Use string-match-p. Quote function with #'.
6788 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6789 (help-make-xrefs): Use looking-at-p.
6790 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6792 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6793 (ibuffer-confirm-operation-on): Use string-match-p.
6795 * msb.el (msb-item-handler, msb-dired-item-handler):
6796 Mark unused arguments.
6798 * ses.el (ses-decode-cell-symbol)
6799 (ses-kill-override): Remove unused local variable.
6800 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6801 (ses-load): Use ignore-errors, looking-at-p.
6802 (ses-jump-safe): Use ignore-errors.
6803 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6805 * tabify.el (untabify, tabify): Mark unused arguments.
6807 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6808 Mark unused argument.
6809 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6810 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6812 * emacs-lisp/timer.el (timer--time): Define setter with
6813 gv-define-setter to avoid deprecation warning.
6815 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6816 (*record-cmpl-statistics-p*): Remove (was commented out).
6817 (cmpl-statistics-block): Remove (body was commented out).
6818 All callers changed.
6819 (add-completions-from-buffer, load-completions-from-file):
6820 Remove unused variables.
6822 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6824 * filecache.el (file-cache-delete-file-list):
6825 Print message only when told so.
6826 (file-cache-files-matching): Use #' in mapconcat argument.
6828 * ffap.el (ffap-url-at-point): Fix reference to variable
6829 thing-at-point-default-mail-uri-scheme.
6831 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6833 * subr.el (define-error): New function.
6834 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6835 error-file-not-found and define with define-error.
6836 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6837 and define with define-error.
6838 * userlock.el (file-locked, file-supersession):
6839 * simple.el (mark-inactive):
6840 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6841 * progmodes/ada-mode.el (ada-mode-errors):
6842 * play/life.el (life-extinct):
6843 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6844 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6845 * nxml/rng-util.el (rng-error):
6846 * nxml/rng-uri.el (rng-uri-error):
6847 * nxml/rng-match.el (rng-compile-error):
6848 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6849 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6850 * nxml/nxml-rap.el (nxml-scan-error):
6851 * nxml/nxml-outln.el (nxml-outline-error):
6852 * net/soap-client.el (soap-error):
6853 * net/gnutls.el (gnutls-error):
6854 * net/ange-ftp.el (ftp-error):
6855 * mpc.el (mpc-proc-error):
6856 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6857 (json-number-format, json-string-escape, json-string-format)
6858 (json-key-format, json-object-format):
6859 * jka-compr.el (compression-error):
6860 * international/quail.el (quail-error):
6861 * international/kkc.el (kkc-error):
6862 * emacs-lisp/ert.el (ert-test-failed):
6863 * calc/calc.el (calc-error, inexact-result, math-overflow)
6865 * bookmark.el (bookmark-error-no-filename):
6866 * epg.el (epg-error): Define with define-error.
6868 * time.el (display-time-event-handler)
6869 (display-time-next-load-average): Don't call sit-for since it seems
6870 unnecessary (bug#15045).
6872 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6873 Use #' instead of ' to quote functions.
6874 (checkdoc-output-mode): Use setq-local.
6875 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6876 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6877 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6878 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6879 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6880 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6881 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6882 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6884 * ido.el (ido-completion-help): Fix up compiler warning.
6886 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6888 * frameset.el (frameset-p): Add autoload cookie.
6889 (frameset--jump-to-register): New function, based on code moved from
6891 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6893 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6894 (frameset-restore, frameset-save, frameset-session-filter-alist):
6895 Remove declarations.
6896 (register-alist): Doc fix.
6897 (frameset-to-register): Move to frameset.el.
6898 (jump-to-register, describe-register-1): Remove frameset-specific code.
6900 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6902 * allout-widgets.el (allout-widgets-pre-command-business)
6903 (allout-widgets-post-command-business)
6904 (allout-widgets-after-change-handler)
6905 (allout-decorate-item-and-context, allout-set-boundary-marker)
6906 (allout-body-modification-handler)
6907 (allout-graphics-modification-handler): Mark ignored arguments.
6908 (allout-widgets-post-command-business)
6909 (allout-widgets-exposure-change-processor)
6910 (allout-widgets-exposure-undo-processor)
6911 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6912 (allout-parse-item-at-point, allout-decorate-item-guides)
6913 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6914 * allout.el (epa-passphrase-callback-function): Declare.
6915 (allout-overlay-insert-in-front-handler)
6916 (allout-overlay-interior-modification-handler)
6917 (allout-isearch-end-handler, allout-chart-siblings)
6918 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6919 (allout-yank-processing, allout-process-exposed)
6920 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6921 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6922 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6923 (lisp-indent-defform): Mark ignored arguments.
6924 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6925 (calculate-lisp-indent): Remove unused variables.
6926 * international/characters.el (indian-2-column, arabic-2-column)
6927 (tibetan): Mark ignored arguments.
6928 (use-cjk-char-width-table): Mark ignored arguments.
6929 Remove unused variables.
6930 * international/fontset.el (build-default-fontset-data)
6931 (x-compose-font-name, create-fontset-from-fontset-spec):
6932 Mark ignored arguments.
6933 (fontset-plain-name): Remove unused variables.
6934 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6935 (keyboard-coding-system): Mark ignored arguments.
6936 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6937 * help.el (resize-temp-buffer-window):
6938 * window.el (display-buffer-in-major-side-window)
6939 (display-buffer-in-side-window, display-buffer-in-previous-window):
6940 Remove unused variables.
6941 * isearch.el (isearch-forward-symbol):
6942 * version.el (emacs-bzr-version-bzr):
6943 * international/mule-cmds.el (current-language-environment):
6944 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6946 * term/pc-win.el (x-list-fonts, x-display-planes)
6947 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6948 (x-server-version, x-display-screens, x-display-mm-height)
6949 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6950 (x-selection-owner-p, x-own-selection-internal)
6951 (x-disown-selection-internal, x-get-selection-internal)
6952 (msdos-initialize-window-system):
6953 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6954 * term/x-win.el (x-handle-no-bitmap-icon):
6955 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6956 (vc-default-find-file-hook, vc-default-extra-menu):
6957 Mark ignored arguments.
6959 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6961 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6962 break-condition in the context of the debugged code (bug#12685).
6964 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6967 Do not use an overlay to highlight the last prompt. (Bug#14744)
6968 (comint-mode): Make comint-last-prompt buffer local.
6969 (comint-last-prompt): New variable.
6970 (comint-last-prompt-overlay): Remove. Superseded by
6972 (comint-snapshot-last-prompt, comint-output-filter):
6973 Use comint-last-prompt.
6975 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6977 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6978 (frameset-save): Check validity of the resulting frameset.
6980 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6982 * ido.el (ido-record-command): Add doc string.
6984 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6986 * frameset.el (frameset): Do not disable creation of the default
6987 frameset-p predicate. Doc fix.
6988 (frameset-valid-p): New function, copied from the old predicate-p.
6989 Add additional checks.
6990 (frameset-restore): Check with frameset-valid-p.
6991 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6992 (frameset-name, frameset-description, frameset-properties)
6993 (frameset-states): Add docstring.
6994 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6995 (frameset-filter-alist): Doc fixes.
6997 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6999 * frameset.el (frameset-p, frameset-prop): Doc fixes.
7001 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
7003 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
7004 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
7005 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
7006 (byte-compile-normal-call): Remove obsolescence check.
7008 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
7010 * frameset.el (frameset-restore): Doc fix.
7012 * register.el (frameset-frame-id, frameset-frame-with-id)
7013 (frameset-p, frameset-restore, frameset-save): Declare.
7014 (register-alist): Document framesets.
7015 (frameset-session-filter-alist): Declare.
7016 (frameset-to-register): New function.
7017 (jump-to-register): Implement jumping to framesets. Doc fix.
7018 (describe-register-1): Describe framesets.
7020 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
7022 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
7024 * desktop.el (desktop-save-frameset): Use new frameset-save args.
7025 Use lexical-binding.
7027 * frameset.el (frameset): Use type vector, not list (incompatible
7028 change). Do not declare a new constructor, use the default one.
7029 Upgrade suggested properties `app', `name' and `desc' to slots `app',
7030 `name' and `description', respectively, and add read-only slot
7031 `timestamp'. Doc fixes.
7032 (frameset-copy, frameset-persistent-filter-alist)
7033 (frameset-filter-alist, frameset-switch-to-gui-p)
7034 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
7035 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
7036 (frameset-filter-iconified, frameset-keep-original-display-p):
7038 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
7039 Rename from frameset-filter-(save|restore)-param. All callers changed.
7041 (frameset-p): Adapt to change to vector and be more thorough.
7042 Change arg name to OBJECT. Doc fix.
7043 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
7044 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
7045 All callers changed.
7046 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
7047 All callers changed.
7048 (frameset--record-minibuffer-relationships): Rename from
7049 frameset--process-minibuffer-frames. All callers changed.
7050 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7051 Use new default constructor (again). Doc fix.
7052 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7053 All callers changed.
7054 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7055 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7057 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7058 PARAMETERS and WINDOW-STATE, respectively.
7059 (frameset-restore): Add new keyword argument PREDICATE.
7060 Reset frameset--target-display to nil. Doc fix.
7062 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7064 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7066 (bat-mode-syntax-table): Mark \n as end-of-comment.
7067 (bat-font-lock-keywords): Remove comment rule.
7069 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7070 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7072 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7073 (byte-compile-callargs-warn): Use `push'.
7074 (byte-compile-arglist-warn): Ignore higher-order "calls".
7075 (byte-compile-file-form-autoload): Use `pcase'.
7076 (byte-compile-function-form): If quoting a symbol, check that it exists.
7078 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7080 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7081 and add a few popular commands found in batch files.
7082 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7083 (dos-mode): Doc fixes.
7085 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7087 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7088 (dos-mode): Use setq-local. Add space after "rem".
7089 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7090 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7092 2013-08-07 Arni Magnusson <arnima@hafro.is>
7094 * progmodes/dos.el: New file.
7095 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7098 2013-08-06 Glenn Morris <rgm@gnu.org>
7100 * calendar/calendar.el: Add new faces, and day-header-array.
7101 (calendar-weekday-header, calendar-weekend-header)
7102 (calendar-month-header): New faces.
7103 (calendar-day-header-construct): New function.
7104 (calendar-day-header-width): Also :set calendar-day-header-array.
7105 (calendar-american-month-header, calendar-european-month-header)
7106 (calendar-iso-month-header): Use calendar- faces.
7107 (calendar-generate-month):
7108 Use calendar-day-header-array for day headers; apply faces to them.
7109 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7110 (calendar-abbrev-construct): Add optional maxlen argument.
7111 (calendar-day-name-array): Doc fix.
7112 (calendar-day-name-array, calendar-abbrev-length)
7113 (calendar-day-abbrev-array):
7114 Also :set calendar-day-header-array, and maybe redraw.
7115 (calendar-day-header-array): New option. (Bug#15007)
7116 (calendar-font-lock-keywords): Set to nil and make obsolete.
7117 (calendar-day-name): Add option to use header array.
7119 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7121 * net/shr.el (shr-render-td): Remove debugging.
7122 (shr-render-td): Make width computation consistent by defaulting
7123 all zero-width columns to 10 characters. This may not be optimal,
7124 but it's at least consistent.
7125 (shr-make-table-1): Redo last change to fix the real problem in
7128 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7130 * files.el (cache-long-line-scans):
7131 Make obsolete alias to `cache-long-scans'.
7133 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7135 * frameset.el (frameset, frameset-filter-alist)
7136 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7137 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7138 (frameset-compute-pos): Rename from frameset--compute-pos,
7140 (frameset-move-onscreen): Use frameset-compute-pos.
7141 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7143 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7144 Fix typos in docstrings.
7146 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7148 * frame.el (get-other-frame): Tiny cleanup.
7150 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7152 * vc/vc.el (vc-default-ignore-completion-table):
7153 Silence byte-compiler warning.
7155 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7156 slot, which can indeed be nil.
7157 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7158 Move entry for `left' from persistent to live filter alist.
7159 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7161 (frameset-filter-params): When restoring a frame, copy items added to
7162 `filtered', to avoid unwittingly modifying the original parameters.
7163 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7164 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7166 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7167 to use looking-at-p instead of looking-at. (Bug#15028)
7169 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7171 Revert introduction of isearch-filter-predicates (bug#14714).
7172 Rely on add-function instead.
7173 * isearch.el (isearch-filter-predicates): Rename it back to
7174 isearch-filter-predicate.
7175 (isearch-message-prefix): Use advice-function-mapc and advice
7176 properties to get the isearch-message-prefix.
7177 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7178 instead of run-hook-with-args-until-failure.
7179 (isearch-filter-visible): Not obsolete any more.
7180 * loadup.el: Preload nadvice.
7181 * replace.el (perform-replace): Revert to funcall
7182 instead of run-hook-with-args-until-failure.
7183 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7184 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7185 dired-isearch-filenames-toggle; make it into a proper minor mode.
7186 Use add/remove-function.
7187 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7188 Call the minor-mode rather than add/remove-hook.
7189 (dired-isearch-filter-filenames):
7190 Remove isearch-message-prefix property.
7191 * info.el (Info--search-loop): New function, extracted from Info-search.
7192 Funcall isearch-filter-predicate instead of
7193 run-hook-with-args-until-failure isearch-filter-predicates.
7194 (Info-search): Use it.
7195 (Info-mode): Use isearch-filter-predicate instead of
7196 isearch-filter-predicates.
7198 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7200 Do not call to `selected-window' where it is assumed by default.
7201 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7202 `window-hscroll', `window-width', `window-height', `window-buffer',
7203 `window-frame', `window-start', `window-point', `next-window'
7204 and `window-display-table'.
7205 * abbrev.el (abbrev--default-expand):
7206 * bs.el (bs--show-with-configuration):
7207 * buff-menu.el (Buffer-menu-mouse-select):
7208 * calc/calc.el (calc):
7209 * calendar/calendar.el (calendar-generate-window):
7210 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7212 * comint.el (send-invisible, comint-dynamic-complete-filename)
7213 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7214 * completion.el (complete):
7215 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7216 * disp-table.el (describe-current-display-table):
7217 * doc-view.el (doc-view-insert-image):
7218 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7219 * ehelp.el (with-electric-help):
7220 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7221 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7222 * emacs-lisp/helper.el (Helper-help-scroller):
7223 * emulation/cua-base.el (cua--post-command-handler-1):
7224 * eshell/esh-mode.el (eshell-output-filter):
7225 * ffap.el (ffap-gnus-wrapper):
7226 * help-macro.el (make-help-screen):
7227 * hilit-chg.el (highlight-compare-buffers):
7228 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7229 * hl-line.el (global-hl-line-highlight):
7230 * icomplete.el (icomplete-simple-completing-p):
7231 * isearch.el (isearch-done):
7232 * jit-lock.el (jit-lock-stealth-fontify):
7233 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7234 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7235 * mpc.el (mpc-tagbrowser, mpc):
7236 * net/rcirc.el (rcirc-any-buffer):
7237 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7238 * play/landmark.el (landmark-max-width, landmark-max-height):
7239 * play/zone.el (zone):
7240 * progmodes/compile.el (compilation-goto-locus):
7241 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7242 * progmodes/etags.el (find-tag-other-window):
7243 * progmodes/fortran.el (fortran-column-ruler):
7244 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7245 * progmodes/verilog-mode.el (verilog-point-text):
7246 * reposition.el (reposition-window):
7247 * rot13.el (toggle-rot13-mode):
7248 * server.el (server-switch-buffer):
7249 * shell.el (shell-dynamic-complete-command)
7250 (shell-dynamic-complete-environment-variable):
7251 * simple.el (insert-buffer, set-selective-display)
7252 (delete-completion-window):
7253 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7254 (speedbar-recenter):
7255 * startup.el (fancy-splash-head):
7256 * textmodes/ispell.el (ispell-command-loop):
7257 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7258 * tutorial.el (help-with-tutorial):
7259 * vc/add-log.el (add-change-log-entry):
7260 * vc/compare-w.el (compare-windows):
7261 * vc/ediff-help.el (ediff-indent-help-message):
7262 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7263 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7264 (ediff-setup-control-frame):
7265 * vc/emerge.el (emerge-position-region):
7266 * vc/pcvs-util.el (cvs-bury-buffer):
7267 * window.el (walk-windows, mouse-autoselect-window-select):
7268 * winner.el (winner-set-conf, winner-undo): Related users changed.
7270 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7272 * frameset.el (frameset--set-id): Doc fix.
7273 (frameset-frame-id, frameset-frame-id-equal-p)
7274 (frameset-locate-frame-id): New functions.
7275 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7276 (frameset-restore): Use them.
7278 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7280 Do not call to `selected-frame' where it is assumed by default.
7281 Affected functions are `raise-frame', `redraw-frame',
7282 `frame-first-window', `frame-terminal' and `delete-frame'.
7283 * calendar/appt.el (appt-disp-window):
7284 * epg.el (epg-wait-for-completion):
7285 * follow.el (follow-delete-other-windows-and-split)
7286 (follow-avoid-tail-recenter):
7287 * international/mule.el (set-terminal-coding-system):
7288 * mail/rmail.el (rmail-mail-return):
7289 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7290 * progmodes/f90.el (f90-add-imenu-menu):
7291 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7292 * server.el (server-switch-buffer):
7293 * simple.el (delete-completion-window):
7295 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7296 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7297 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7298 * vc/ediff.el (ediff-documentation): Related users changed.
7299 * frame.el (selected-terminal): Remove the leftover.
7301 2013-08-05 Glenn Morris <rgm@gnu.org>
7303 * calendar/calendar.el (calendar-generate-month):
7304 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7305 (calendar-generate-month, calendar-font-lock-keywords):
7306 Fix for calendar-day-header-width > length of any day name.
7308 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7310 * desktop.el (desktop-clear): Use new name of sort predicate.
7312 * frameset.el (frameset): Add docstring. Move :version property to its
7314 (frameset-copy): Rename from copy-frameset.
7315 (frameset-p): Check more thoroughly.
7316 (frameset-prop): Do not check for :version, which is no longer a prop.
7317 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7318 Use new :never value instead of t.
7319 (frameset-filter-alist): Expand and clarify docstring.
7320 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7321 (frameset-filter-minibuffer, frameset-filter-save-param)
7322 (frameset-filter-restore-param, frameset-filter-iconified):
7323 Add pointer to docstring of frameset-filter-alist.
7324 (frameset-filter-params): Rename filter values to be more meaningful:
7325 :never instead of t, and reverse the meanings of :save and :restore.
7326 (frameset--process-minibuffer-frames): Clarify error message.
7327 (frameset-save): Avoid unnecessary and confusing call to framep.
7328 Use new BOA constructor for framesets.
7329 (frameset--reuse-list): Doc fix.
7330 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7331 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7332 (frameset-minibufferless-first-p): Doc fix.
7333 Rename from frameset-sort-frames-for-deletion.
7334 (frameset-restore): Doc fixes. Use new function names.
7335 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7337 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7339 * desktop.el (desktop-restore-forces-onscreen)
7340 (desktop-restore-reuses-frames): Document :keyword constant values.
7341 (desktop-filter-parameters-alist): Remove, now identical to
7342 frameset-filter-alist.
7343 (desktop--filter-tty*): Remove, moved to frameset.el.
7344 (desktop-save-frameset, desktop-restore-frameset):
7345 Do not pass :filters argument.
7347 * frameset.el (frameset-live-filter-alist)
7348 (frameset-persistent-filter-alist): New variables.
7349 (frameset-filter-alist): Use them. Add autoload cookie.
7350 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7351 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7352 `frameset--id' (it's supposed to be internal to frameset.el).
7353 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7354 (frameset--initial-params): New function.
7355 (frameset--get-frame): Use it. Doc fix.
7356 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7357 Accept :all, not 'all.
7358 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7359 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7360 with fbound symbols. Fix frame id matching, and remove matching ids if
7361 the frame being restored is deleted. Obey :delete.
7363 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7365 * subr.el (macrop): New function.
7366 (text-clone--maintaining): New var.
7367 (text-clone--maintain): Rename from text-clone-maintain. Use it
7368 instead of inhibit-modification-hooks.
7370 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7371 a proxy, so as handle autoloads and redefinitions of the target.
7372 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7374 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7375 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7376 (pcase--mutually-exclusive-p): New function.
7377 (pcase--split-consp): Use it.
7378 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7379 mutually exclusive with the current predicate.
7381 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7382 (edebug-macrop): Remove. Use `macrop' instead.
7383 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7385 * eshell/esh-cmd.el (eshell-macrop):
7386 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7388 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7390 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7391 (advice-mapc): New function, using it.
7392 (advice-function-member-p): New function.
7393 (advice--normalize): Store the cdr in advice--saved-rewrite since
7394 that's the part that will be changed.
7395 (advice--symbol-function): New function.
7396 (advice-remove): Handle removal before the function is defined.
7397 Adjust to new advice--saved-rewrite.
7398 (advice-member-p): Use advice-function-member-p and
7399 advice--symbol-function.
7401 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7403 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7404 (frameset-filter-minibuffer): Doc fix.
7405 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7406 (frameset--set-id, frameset--process-minibuffer-frames)
7407 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7408 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7410 * desktop.el (desktop-clear): Only delete frames when called
7411 interactively and desktop-restore-frames is non-nil. Doc fix.
7412 (desktop-read): Set desktop-saved-frameset to nil.
7414 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7416 * vc/vc.el (vc-ignore): Rewrite.
7417 (vc-default-ignore-completion-table):
7419 (vc--add-line, vc--remove-regexp): New functions.
7421 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7422 (vc-svn-ignore-completion-table): New function.
7424 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7425 (vc-hg-ignore-completion-table):
7426 (vc-hg-find-ignore-file): New functions.
7428 * vc/vc-git.el (vc-git-ignore): Rewrite.
7429 (vc-git-ignore-completion-table):
7430 (vc-git-find-ignore-file): New functions.
7432 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7434 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7435 (vc-bzr-ignore-completion-table):
7436 (vc-bzr-find-ignore-file): New functions.
7438 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7440 * frameset.el (frameset-prop): New function and setter.
7441 (frameset-save): Do not modify frame list passed by the caller.
7443 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7445 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7447 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7449 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7450 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7452 * custom.el (custom-initialize-default, custom-initialize-set)
7453 (custom-initialize-reset, custom-initialize-changed): Affect the
7454 toplevel-default-value (bug#6275, bug#14586).
7455 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7458 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7460 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7461 Add cl-def* expressions.
7463 * frameset.el (frameset-filter-params): Fix order of arguments.
7465 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7467 Move code related to saving frames to frameset.el.
7468 * desktop.el: Require frameset.
7469 (desktop-restore-frames): Doc fix.
7470 (desktop-restore-reuses-frames): Rename from
7471 desktop-restoring-reuses-frames.
7472 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7473 (desktop-clear): Clear frames too.
7474 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7475 (desktop--filter-tty*, desktop-save, desktop-read):
7476 Use frameset functions.
7477 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7478 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7479 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7480 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7481 (desktop--process-minibuffer-frames, desktop-save-frames)
7482 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7483 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7484 (desktop--sort-states, desktop-restoring-frames-p)
7485 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7486 (desktop-restoring-frameset-p, desktop-restore-frameset)
7487 (desktop--check-dont-save, desktop-save-frameset): New functions.
7488 (desktop--app-id): New constant.
7489 (desktop-first-buffer, desktop-buffer-ok-count)
7490 (desktop-buffer-fail-count): Move before first use.
7491 * frameset.el: New file.
7493 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7495 * files.el: Use lexical-binding.
7496 (dir-locals-read-from-file): Remove unused `err' variable.
7497 (hack-dir-local-variables--warned-coding): New var.
7498 (hack-dir-local-variables): Use it to avoid repeated warnings.
7499 (make-backup-file-name--default-function): New function.
7500 (make-backup-file-name-function): Use it as default.
7501 (buffer-stale--default-function): New function.
7502 (buffer-stale-function): Use it as default.
7503 (revert-buffer-insert-file-contents--default-function): New function.
7504 (revert-buffer-insert-file-contents-function): Use it as default.
7505 (insert-directory): Avoid add-to-list.
7507 * autorevert.el (auto-revert-handler): Simplify.
7508 Use buffer-stale--default-function.
7510 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7512 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7514 * whitespace.el (whitespace-ensure-local-variables): New function.
7515 (whitespace-cleanup-region): Call it.
7516 (whitespace-turn-on): Call it.
7518 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7520 Complete file name handlers.
7522 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7523 (tramp-handle-verify-visited-file-modtime)
7524 (tramp-handle-file-notify-rm-watch): New functions.
7525 (tramp-call-process): Do not bind `default-directory'.
7527 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7528 Order alphabetically.
7529 [access-file, add-name-to-file, dired-call-process]:
7530 [dired-compress-file, file-acl, file-notify-rm-watch]:
7531 [file-ownership-preserved-p, file-selinux-context]:
7532 [make-directory-internal, make-symbolic-link, set-file-acl]:
7533 [set-file-selinux-context, set-visited-file-modtime]:
7534 [verify-visited-file-modtime]: Add handler.
7535 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7537 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7538 [file-notify-add-watch, file-notify-rm-watch]:
7539 [set-file-times, set-visited-file-modtime]:
7540 [verify-visited-file-modtime]: Add handler.
7541 (with-tramp-gvfs-error-message)
7542 (tramp-gvfs-handle-set-visited-file-modtime)
7543 (tramp-gvfs-fuse-file-name): Remove.
7544 (tramp-gvfs-handle-file-notify-add-watch)
7545 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7546 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7548 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7549 Order alphabetically.
7550 [file-notify-rm-watch ]: Use default Tramp handler.
7551 [executable-find]: Remove private handler.
7552 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7553 `default-directory'.
7554 (tramp-sh-handle-executable-find)
7555 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7556 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7557 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7558 Do not use `format' in `tramp-message'.
7560 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7561 [file-notify-rm-watch, set-visited-file-modtime]:
7562 [verify-visited-file-modtime]: Add handler.
7563 (tramp-smb-call-winexe): Do not bind `default-directory'.
7565 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7567 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7569 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7571 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7573 (log-view-diff-changeset): Same.
7574 (log-view-diff-common): Call backend command `previous-revision'
7575 to find out the previous revision, in both cases. Swap the
7576 variables `to' and `fr', so that `fr' usually refers to the
7577 earlier revision (Bug#14989).
7579 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7581 * ibuf-ext.el (ibuffer-filter-by-filename):
7582 Make it work with dired buffers too.
7584 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7586 * emacs-lisp/re-builder.el (reb-color-display-p):
7587 * files.el (save-buffers-kill-terminal):
7588 * net/browse-url.el (browse-url):
7589 * server.el (server-save-buffers-kill-terminal):
7590 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7591 Prefer nil to selected-frame for the first arg of frame-parameter.
7593 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7595 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7597 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7599 * minibuffer.el (completion--twq-all): Try and preserve each
7600 completion's case choice (bug#14907).
7602 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7604 * net/network-stream.el (open-network-stream): Mention the new
7605 :nogreeting parameter.
7606 (network-stream-open-starttls): Use the :nogreeting parameter
7609 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7611 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7612 more natural than popping.
7614 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7615 (shr-urlify): Highlight under mouse.
7617 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7619 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7621 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7623 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7626 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7627 point-min==1. Fix search string. Fix parentheses missing.
7629 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7630 assume point-min==1. Fix search string. Fix parentheses missing.
7632 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7634 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7637 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7639 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7640 initial frame is minibuffer-less. (Bug#14841)
7642 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7644 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7647 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7648 (tramp-maybe-open-connection): Use it.
7650 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7652 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7653 minimal set of parameters passed when creating a frame, because
7654 the minibuffer status of a frame cannot be changed later.
7656 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7658 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7659 replace-regexp-in-string and inadvertent omissions in previous change.
7660 (todo-filter-items): Ensure only file names are comma-separated in
7661 name of filtered items buffer.
7663 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7665 * desktop.el: Optionally force offscreen frames back onscreen.
7666 (desktop-restoring-reuses-frames): New option.
7667 (desktop--compute-pos, desktop--move-onscreen): New functions.
7668 (desktop--make-frame): Use desktop--move-onscreen.
7670 2013-07-27 Alan Mackenzie <acm@muc.de>
7672 Fontify a Java generic method as a function.
7673 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7676 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7678 * calendar/todo-mode.el: Add command to rename todo files.
7679 (todo-rename-file): New command.
7680 (todo-key-bindings-t): Add key binding for it. Change the
7681 bindings of todo-filter-regexp-items(-multifile) to use `x'
7682 instead of `r', since the latter is better suited to the new
7685 2013-07-27 Alan Mackenzie <acm@muc.de>
7687 Make Java try-with-resources statement parse properly.
7688 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7689 (c-block-stmt-1-2-key): New language constants/variables.
7690 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7691 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7692 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7693 with c-block-stmt-1-2-key.
7695 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7697 * desktop.el (desktop--make-frame): Apply most frame parameters after
7698 creating the frame to force (partially or totally) offscreen frames to
7699 be restored as such.
7701 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7703 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7706 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7708 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7709 `base' arg of backtrace-frame.
7711 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7713 * simple.el (list-processes): Doc fix.
7715 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7717 * desktop.el (desktop--select-frame):
7718 Try harder to reuse existing frames.
7720 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7722 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7723 (edebug-eval): Use backtrace-eval.
7724 (edebug--display, edebug--recursive-edit): Don't let-bind the
7725 edebug-outer-* vars that keep track of variables we locally let-bind.
7726 (edebug-outside-excursion): Don't restore outside values of locally
7728 (edebug--display): Use user-error.
7729 (cl-lexical-debug, cl-debug-env): Remove.
7731 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7733 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7734 are restored to be sure that they are visible before deleting any
7737 2013-07-26 Matthias Meulien <orontee@gmail.com>
7739 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7740 vc-print-root-log. (Bug#14948)
7742 2013-07-26 Richard Stallman <rms@gnu.org>
7744 Add aliases for encrypting mail.
7745 * epa.el (epa-mail-aliases): New option.
7746 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7747 Bind inhibit-read-only so read-only text doesn't ruin everything.
7748 (epa-mail-default-recipients): New subroutine broken out.
7749 Handle epa-mail-aliases.
7751 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7753 Add support for lexical variables to the debugger's `e' command.
7754 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7755 vars, except for debugger-outer-match-data.
7756 (debugger-frame-number): Move check for "on a function call" from
7757 callers into it. Add `skip-base' argument.
7758 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7759 (debugger-env-macro): Only reset the state stored in non-variables,
7760 i.e. current-buffer and match-data.
7761 (debugger-eval-expression): Rewrite using backtrace-eval.
7762 * subr.el (internal--called-interactively-p--get-frame): Remove.
7763 (called-interactively-p):
7764 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7765 `base' arg of backtrace-frame instead.
7767 2013-07-26 Glenn Morris <rgm@gnu.org>
7769 * align.el (align-regexp): Doc fix. (Bug#14857)
7770 (align-region): Explicit error if subexpression missing/does not match.
7772 * simple.el (global-visual-line-mode):
7773 Do not duplicate the mode lighter. (Bug#14858)
7775 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7777 * window.el (display-buffer): In display-buffer bind
7778 split-window-keep-point to t, bug#14829.
7780 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7782 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7783 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7784 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7785 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7787 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7788 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7790 2013-07-25 Glenn Morris <rgm@gnu.org>
7792 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7794 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7796 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7797 parameter to modify-frame-parameters if the value has not changed;
7798 this is a workaround for bug#14949.
7799 (desktop--make-frame): On cl-delete-if call, check parameter name,
7802 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7804 * vc/vc.el (vc-ignore): New function.
7806 * vc/vc-svn.el (vc-svn-ignore): New function.
7808 * vc/vc-hg.el (vc-hg-ignore): New function.
7810 * vc/vc-git.el (vc-git-ignore): New function.
7812 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7813 (vc-dir-ignore): New function.
7815 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7816 (cvs-append-to-ignore): Move here from pcvs.el.
7818 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7820 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7822 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7824 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7825 (desktop-restore-frames): Warn when deleting an existing frame failed.
7827 2013-07-24 Glenn Morris <rgm@gnu.org>
7829 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7831 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7833 * filenotify.el (file-notify-supported-p):
7834 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7837 * autorevert.el (auto-revert-use-notify):
7838 (auto-revert-notify-add-watch):
7839 * net/tramp.el (tramp-file-name-for-operation):
7840 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7841 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7842 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7843 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7844 Remove `file-notify-supported-p' entry.
7846 2013-07-24 Glenn Morris <rgm@gnu.org>
7848 * printing.el: Replace all uses of deleted ps-windows-system,
7849 ps-lp-system, ps-flatten-list with lpr- versions.
7851 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7853 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7854 checked with memq (bug#14935).
7856 * files.el (revert-buffer-function): Use a non-nil default.
7857 (revert-buffer-preserve-modes): Declare var to
7858 provide access to the `preserve-modes' argument.
7859 (revert-buffer): Let-bind it.
7860 (revert-buffer--default): New function, extracted from revert-buffer.
7862 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7864 * lpr.el: Signal print errors more prominently.
7865 (print-region-function): Don't default to nil.
7866 (lpr-print-region): New function, extracted from print-region-1.
7867 Check lpr's return value and signal an error in case of problem.
7868 (print-region-1): Use it.
7869 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7871 (ps-printer-name): Default to nil.
7872 (ps-printer-name-option): Default to lpr-printer-switch.
7873 (ps-print-region-function): Don't default to nil.
7874 (ps-postscript-code-directory): Simplify default.
7875 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7876 (ps-string-list, ps-eval-switch, ps-flatten-list)
7877 (ps-flatten-list-1): Remove.
7878 (ps-multibyte-buffer): Avoid setq.
7879 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7880 (print-region-function, ps-print-region-function): Don't set them here.
7882 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7884 * ido.el (ido-fractionp):
7885 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7886 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7887 (ido-max-directory-size, ido-max-dir-file-cache)
7888 (ido-decorations): Doc fix.
7890 * ansi-color.el: Fix old URL.
7892 2013-07-23 Michael R. Mauger <michael@mauger.com>
7894 * progmodes/sql.el: Version 3.3
7895 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7896 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7897 (sql-interactive-remove-continuation-prompt): Rewrite, use
7898 functions above. Fix continuation prompt and complete output line
7900 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7901 redirected output buffer.
7902 (sql-mode): Restore deleted code (Bug#13591).
7904 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7906 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7908 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7910 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7912 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7913 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7914 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7916 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7918 * desktop.el (desktop-clear): Simplify; remove useless checks
7919 against invalid buffer names.
7920 (desktop-list*): Use cl-list*.
7921 (desktop-buffer-info, desktop-create-buffer): Simplify.
7923 2013-07-23 Leo Liu <sdl.web@gmail.com>
7925 * bookmark.el (bookmark-make-record): Restore NAME as a default
7928 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7930 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7931 extracted from autoload--insert-text.
7932 (autoload--insert-text): Remove.
7933 (autoload--print-cookie-text): New function, extracted from
7934 autoload--insert-cookie-text.
7935 (autoload--insert-cookie-text): Remove.
7936 (autoload-generate-file-autoloads): Adjust calls accordingly.
7938 * winner.el (winner-hook-installed-p): Remove.
7939 (winner-mode): Simplify accordingly.
7941 * subr.el (add-to-list): Fix compiler-macro when `append' is
7942 not constant. Don't use `cl-member' for the base case.
7944 * progmodes/subword.el: Fix boundary case (bug#13758).
7945 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7947 (subword-backward-regexp): Make it a constant.
7948 (subword-forward-internal): Don't treat a trailing capital as the
7949 beginning of a word.
7951 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7953 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7954 global value of tabulated-list-revert-hook (bug#14930).
7956 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7958 * desktop.el: Require 'cl-lib.
7959 (desktop-before-saving-frames-functions): New hook.
7960 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7961 for frames being saved. Rename from desktop--save-minibuffer-frames.
7962 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7963 Do not save frames with non-nil `desktop-dont-save' parameter.
7964 Filter out deleted frames.
7965 (desktop--find-frame): Use cl-find-if.
7966 (desktop--select-frame): Use cl-(first|second|third) to access values
7968 (desktop--make-frame): Use cl-delete-if.
7969 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7970 (desktop-restore-frames): Use cl-(first|second|third) to access values
7971 of desktop-mini. Look for visible frame at the end, not while
7974 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7975 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7976 Use string-match-p, looking-at-p (bug#14927).
7978 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7980 * desktop.el (desktop-saved-frame-states):
7981 Rename from desktop--saved-states; all users changed.
7982 (desktop-save-frames): Rename from desktop--save-frames.
7983 Do not save state to desktop file.
7984 (desktop-save): Save desktop-saved-frame-states to desktop file
7986 (desktop-restoring-frames-p): New function.
7987 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7988 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7989 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7991 * desktop.el: Correctly restore iconified frames.
7992 (desktop--filter-iconified-position): New function.
7993 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7995 2013-07-20 Glenn Morris <rgm@gnu.org>
7997 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7998 Let `message' do the formatting.
7999 (def-gdb-preempt-display-buffer): Add explicit format.
8001 * image-dired.el (image-dired-track-original-file):
8002 Use with-current-buffer.
8003 (image-dired-track-thumbnail): Use with-current-buffer.
8004 Avoid changing point of wrong window.
8006 * image-dired.el (image-dired-track-original-file):
8007 Avoid changing point of wrong window. (Bug#14909)
8009 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
8011 * progmodes/gdb-mi.el (gdb-done-or-error):
8012 Guard against "%" in gdb output. (Bug#14127)
8014 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
8016 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
8019 * international/mule.el (coding-system-iso-2022-flags): Fix last
8022 2013-07-20 Kenichi Handa <handa@gnu.org>
8024 * international/mule.el (coding-system-iso-2022-flags):
8025 Add `8-bit-level-4'. (Bug#8522)
8027 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
8029 * net/shr.el (shr-mouse-browse-url): New command and keystroke
8032 * net/eww.el (eww-process-text-input): Allow inputting when the
8033 point is at the start of the line, as the properties aren't
8036 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
8039 2013-07-19 Richard Stallman <rms@gnu.org>
8041 * epa.el (epa-popup-info-window): Doc fix.
8043 * subr.el (split-string): New arg TRIM.
8045 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
8047 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
8048 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8050 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8052 * filenotify.el (file-notify--library): Rename from
8053 `file-notify-support'. Do not autoload. Adapt all uses.
8054 (file-notify-supported-p): New defun.
8056 * autorevert.el (auto-revert-use-notify):
8057 Use `file-notify-supported-p' instead of `file-notify-support'.
8059 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8061 * net/tramp.el (tramp-file-name-for-operation):
8062 Add `file-notify-supported-p'.
8064 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8066 (tramp-sh-file-name-handler-alist): Add it as handler for
8067 `file-notify-supported-p '.
8069 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8070 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8071 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8072 Add `ignore' as handler for `file-notify-*' functions.
8074 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8076 * simple.el (line-move-partial, line-move): Don't start vscroll or
8077 scroll-up if the current line is not taller than the window.
8080 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8082 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8083 highlight question marks in the method names as strings.
8084 (ruby-block-beg-keywords): Inline.
8085 (ruby-font-lock-keyword-beg-re): Extract from
8086 `ruby-font-lock-keywords'.
8088 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8090 * frame.el (blink-cursor-blinks): New defcustom.
8091 (blink-cursor-blinks-done): New defvar.
8092 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8093 (blink-cursor-timer-function): Check if number of blinks has been
8095 (blink-cursor-suspend, blink-cursor-check): New defuns.
8097 2013-07-15 Glenn Morris <rgm@gnu.org>
8099 * edmacro.el (edmacro-format-keys): Fix previous change.
8101 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8103 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8104 The hack didn't work outside English locales anyway.
8106 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8108 * simple.el (define-alternatives): Rename from alternatives-define,
8109 per RMS' suggestion.
8111 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8113 * desktop.el (desktop-restore-frames): Change default to t.
8114 (desktop-restore-in-current-display): Now offer more options.
8115 (desktop-restoring-reuses-frames): New customization option.
8116 (desktop--saved-states): Doc fix.
8117 (desktop-filter-parameters-alist): New variable, renamed and expanded
8118 from desktop--excluded-frame-parameters.
8119 (desktop--target-display): New variable.
8120 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8121 (desktop--filter-tty*, desktop--filter-*-color)
8122 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8123 (desktop--filter-save-desktop-parm)
8124 (desktop-restore-in-original-display-p): New functions.
8125 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8126 (desktop--save-minibuffer-frames): New function, inspired by a similar
8127 function from Martin Rudalics.
8128 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8129 (desktop--restore-in-this-display-p): Remove.
8130 (desktop--find-frame): Rename from desktop--find-frame-in-display
8131 and add predicate argument.
8132 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8133 (desktop--reuse-list): New variable.
8134 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8136 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8138 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8140 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8142 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8144 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8145 Highlight conversion methods on Kernel.
8147 2013-07-13 Alan Mackenzie <acm@muc.de>
8149 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8150 and comment it out. This out-commenting enables certain C++
8151 declarations to be parsed correctly.
8153 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8155 * international/mule.el (define-coding-system): Doc fix.
8157 * simple.el (default-font-height): Don't call font-info if the
8158 frame's default font didn't change since the frame was created.
8161 2013-07-13 Leo Liu <sdl.web@gmail.com>
8163 * ido.el (ido-read-file-name): Guard against non-symbol value.
8165 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8167 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8170 2013-07-13 Leo Liu <sdl.web@gmail.com>
8172 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8173 ido-set-matches call. (Bug#6852)
8175 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8177 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8178 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8180 (ruby-font-lock-keywords): Distinguish calls to functions with
8181 module-like names from module references. Highlight character
8184 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8186 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8187 (gdb-send): Handle continued commands. (Bug#14847)
8189 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8191 * desktop.el (desktop--v2s): Remove unused local variable.
8192 (desktop-save-buffer): Make defvar-local; adjust docstring.
8193 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8194 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8196 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8198 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8200 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8202 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8205 2013-07-12 Glenn Morris <rgm@gnu.org>
8207 * doc-view.el: Require cl-lib at runtime too.
8208 (doc-view-remove-if): Remove.
8209 (doc-view-search-next-match, doc-view-search-previous-match):
8212 * edmacro.el: Require cl-lib at runtime too.
8213 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8214 (edmacro-mismatch, edmacro-subseq): Remove.
8216 * shadowfile.el: Require cl-lib.
8217 (shadow-remove-if): Remove.
8218 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8221 * wid-edit.el: Require cl-lib.
8222 (widget-choose): Use cl-remove-if.
8223 (widget-remove-if): Remove.
8225 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8226 (ebrowse-delete-if-not): Remove.
8227 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8228 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8229 Use cl-delete-if-not.
8231 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8233 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8234 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8236 2013-07-12 Leo Liu <sdl.web@gmail.com>
8238 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8240 2013-07-11 Glenn Morris <rgm@gnu.org>
8242 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8243 (edebug-gensym-index, edebug-gensym):
8244 Remove reimplementation of cl-gensym.
8245 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8247 * thumbs.el: Require cl-lib at run-time too.
8248 (thumbs-gensym-counter, thumbs-gensym):
8249 Remove reimplementation of cl-gensym.
8250 (thumbs-temp-file): Use cl-gensym.
8252 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8253 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8254 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8255 (ert--union, ert--gensym-counter, ert--gensym-counter)
8256 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8257 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8258 (ert-make-test-unbound, ert--expand-should-1)
8259 (ert--expand-should, ert--should-error-handle-error)
8260 (should-error, ert--explain-equal-rec)
8261 (ert--plist-difference-explanation, ert-select-tests)
8262 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8263 Use cl-lib functions rather than reimplementations.
8265 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8267 * net/tramp.el (tramp-methods): Extend docstring.
8268 (tramp-connection-timeout): New defcustom.
8269 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8270 (with-tramp-progress-reporter): Simplify.
8271 (tramp-process-actions): Improve messages.
8273 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8274 * net/tramp-sh.el (tramp-maybe-open-connection):
8275 Use `tramp-connection-timeout'.
8276 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8279 2013-07-11 Leo Liu <sdl.web@gmail.com>
8281 * ido.el (ido-read-file-name): Conform to the requirements of
8282 read-file-name. (Bug#11861)
8283 (ido-read-directory-name): Conform to the requirements of
8284 read-directory-name.
8286 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8288 * subr.el (delay-warning): New function.
8290 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8292 * simple.el (default-line-height): New function.
8293 (line-move-partial, line-move): Use it instead of computing the
8295 (line-move-partial): Always compute ROWH. If the last line is
8296 partially-visible, but its text is completely visible, allow
8297 cursor to enter such a partially-visible line.
8299 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8301 Improve error messages. (Bug#14808)
8303 * net/tramp.el (tramp-current-connection): New defvar, moved from
8305 (tramp-message-show-progress-reporter-message): Remove, not
8307 (tramp-error-with-buffer): Show message in minibuffer.
8308 Discard input before waiting. Reset connection timestamp.
8309 (with-tramp-progress-reporter): Improve messages.
8310 (tramp-process-actions): Use progress reporter. Delete process in
8311 case of error. Improve messages.
8313 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8314 Call `tramp-error-with-buffer' with vector and buffer.
8315 (tramp-current-connection): Remove.
8316 (tramp-maybe-open-connection): The car of
8317 `tramp-current-connection' are the first 3 slots of the vector.
8319 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8321 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8322 inside continued strings.
8324 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8326 Timestamp fixes for undo (Bug#14824).
8327 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8329 2013-07-10 Leo Liu <sdl.web@gmail.com>
8331 * files.el (require-final-newline): Allow safe local value.
8334 2013-07-09 Leo Liu <sdl.web@gmail.com>
8336 * ido.el (ido-read-directory-name): Handle fallback.
8337 (ido-read-file-name): Update DIR to ido-current-directory.
8339 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8341 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8343 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8344 "autoload". Remove "warn lower camel case" section, previously
8345 commented out. Highlight negation char. Do not highlight the
8346 target in singleton method definitions.
8348 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8350 * faces.el (tty-setup-hook): Declare the hook.
8352 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8353 and detect when a guard/pred depends on local vars (bug#14773).
8354 (pcase--u1): Adjust caller.
8356 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8358 * simple.el (line-move-partial, line-move): Account for
8360 (line-move-partial): Avoid setting vscroll when the last
8361 partially-visible line in window is of default height.
8363 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8365 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8368 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8370 * subr.el (read-quoted-char): Remove unused local variable `char'.
8372 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8374 * ediff.el (ediff-version): Version update.
8375 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8376 (ediff-merge-with-ancestor-command, ediff-directories-command)
8377 (ediff-directories3-command, ediff-merge-directories-command)
8378 (ediff-merge-directories-with-ancestor-command): New functions.
8379 All are command-line interfaces to ediff: to facilitate calling
8380 Emacs with the appropriate ediff functions invoked.
8382 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8383 (viper-save-kill-buffer): Check if buffer is modified.
8385 * viper.el (viper-version): Version update.
8386 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8388 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8390 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8391 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8392 (viper-intercept-ESC-key): Simplify.
8393 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8394 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8395 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8396 (viper-setup-ESC-to-escape): New functions.
8397 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8398 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8400 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8402 * simple.el (default-font-height, window-screen-lines):
8404 (line-move, line-move-partial): Use them instead of
8405 frame-char-height and window-text-height. This makes scrolling
8406 text smoother when the buffer's default face uses a font that is
8407 different from the frame's default font.
8409 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8411 * files.el (write-file): Do not display confirm dialog for NS,
8412 it does its own dialog, which can't be canceled (Bug#14578).
8414 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8416 * simple.el (line-move-partial): Adjust the row returned by
8417 posn-at-point for the current window-vscroll. (Bug#14567)
8419 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8421 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8422 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8425 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8427 * window.el (window-state-put-stale-windows): New variable.
8428 (window--state-put-2): Save list of windows without matching buffer.
8429 (window-state-put): Remove "bufferless" windows if possible.
8431 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8433 * simple.el (alternatives-define): Remove leftover :group keyword.
8436 2013-07-06 Leo Liu <sdl.web@gmail.com>
8438 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8439 (ido-enable-virtual-buffers): New variable.
8440 (ido-buffer-internal, ido-toggle-virtual-buffers)
8441 (ido-make-buffer-list): Use it.
8442 (ido-exhibit): Support turning on and off virtual buffers
8445 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8447 * simple.el (alternatives-define): New macro.
8449 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8451 * subr.el (read-quoted-char): Use read-key.
8452 (sit-for): Let read-event decode tty input (bug#14782).
8454 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8456 * calendar/todo-mode.el: Add handling of file deletion, both by
8457 mode command and externally. Fix various related bugs.
8458 Clarify Commentary and improve some documentation strings and code.
8459 (todo-delete-file): New command.
8460 (todo-check-file): New function.
8461 (todo-show): Handle external deletion of the file we're trying to
8462 show (bug#14688). Replace called-interactively-p by an optional
8463 prefix argument to avoid problematic interaction with catch form
8464 when byte compiled (bug#14702).
8465 (todo-quit): Handle external deletion of the archive's todo file.
8466 Make sure the buffer that was visiting the archive file is still
8467 live before trying to bury it.
8468 (todo-category-completions): Handle external deletion of any
8469 category completion files.
8470 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8471 of todo files, in case of external deletion.
8472 (todo-add-file): Replace unnecessary setq by let-binding.
8473 (todo-find-archive): Check whether there are any archives.
8474 Replace unnecessary setq by let-binding.
8475 (todo-archive-done-item): Use find-file-noselect to get the
8476 archive buffer whether or not the archive already exists.
8477 Remove superfluous code. Use file size instead of buffer-file-name to
8478 check if the archive is new; if it is, update list of archives.
8479 (todo-default-todo-file): Allow nil to be a valid value for when
8480 there are no todo files.
8481 (todo-reevaluate-default-file-defcustom): Use corrected definition
8482 of todo-default-todo-file.
8483 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8484 (todo-delete-category, todo-show-categories-table)
8485 (todo-category-number): Clarify comment.
8486 (todo-filter-items): Clarify documentation string.
8487 (todo-show-current-file, todo-display-as-todo-file)
8488 (todo-reset-and-enable-done-separator): Tweak documentation string.
8489 (todo-done-separator): Make separator length window-width, since
8490 bug#2749 is now fixed.
8492 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8494 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8495 Support both "gvfs-monitor-dir" and "inotifywait".
8496 (tramp-sh-file-inotifywait-process-filter): Rename from
8497 `tramp-sh-file-notify-process-filter'.
8498 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8499 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8501 2013-07-05 Leo Liu <sdl.web@gmail.com>
8503 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8505 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8507 * frame.el (display-pixel-height, display-pixel-width)
8508 (display-mm-height, display-mm-width): Mention behavior on
8509 multi-monitor setups in docstrings.
8510 (w32-display-monitor-attributes-list): Declare function.
8511 (display-monitor-attributes-list): Use it.
8513 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8515 * filenotify.el: New package.
8517 * autorevert.el (top): Require filenotify.el.
8518 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8520 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8521 (auto-revert-notify-handler): Use `file-notify-*' functions.
8523 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8525 * net/tramp.el (tramp-file-name-for-operation):
8526 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8528 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8529 for `file-notify-add-watch' and `file-notify-rm-watch'.
8530 (tramp-process-sentinel): Improve trace.
8531 (tramp-sh-handle-file-notify-add-watch)
8532 (tramp-sh-file-notify-process-filter)
8533 (tramp-sh-handle-file-notify-rm-watch)
8534 (tramp-get-remote-inotifywait): New defuns.
8536 2013-07-03 Juri Linkov <juri@jurta.org>
8538 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8539 call of `occur-read-primary-args' to interactive spec.
8541 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8542 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8544 2013-07-03 Matthias Meulien <orontee@gmail.com>
8546 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8547 `Buffer-menu-multi-occur'. Add it to the menu.
8548 (Buffer-menu-mode): Document it in docstring.
8549 (Buffer-menu-multi-occur): New command. (Bug#14673)
8551 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8553 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8554 keywords and built-ins.
8556 2013-07-03 Glenn Morris <rgm@gnu.org>
8558 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8560 Make info-xref checks case-sensitive by default
8561 * info.el (Info-find-node, Info-find-in-tag-table)
8562 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8563 Add option for exact case matching of nodes.
8564 * info-xref.el (info-xref): New custom group.
8565 (info-xref-case-fold): New option.
8566 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8568 2013-07-03 Leo Liu <sdl.web@gmail.com>
8570 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8572 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8574 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8575 middle of block statement initially, lower the depth. Remove
8576 FIXME comment, not longer valid. Remove middle of block statement
8577 detection, no need to do that anymore since we've been using
8578 `ruby-parse-region' here.
8580 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8582 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8584 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8586 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8588 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8590 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8591 (desktop-restore-in-current-display): New customization option.
8592 (desktop--excluded-frame-parameters): Add `font'.
8593 (desktop--save-frames): Rename from desktop--save-windows.
8594 (desktop--restore-in-this-display-p): New function.
8595 (desktop--make-full-frame): Remove unwanted width/height from
8596 full(width|height) frames.
8597 (desktop--restore-frames): Rename from desktop--restore-windows.
8598 Obey desktop-restore-current-display. Do not delete old frames or
8599 select a new frame unless we were able to restore at least one frame.
8601 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8603 * files.el (find-file-noselect): Simplify conditional expression.
8605 * textmodes/remember.el (remember-append-to-file):
8606 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8608 Add `remember-notes' function to store random notes across Emacs
8610 * textmodes/remember.el (remember-data-file): Add :set callback to
8611 affect notes buffer (if any).
8612 (remember-notes): New command.
8613 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8614 New defcustoms for the `remember-notes' function.
8615 (remember-notes-save-and-bury-buffer): New command.
8616 (remember-notes-mode-map): New variable.
8617 (remember-mode): New minor mode.
8618 (remember-notes--kill-buffer-query): New function.
8619 * startup.el (initial-buffer-choice): Add notes to custom type.
8621 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8623 * bindings.el (right-char, left-char): Don't call sit-for, this is
8624 no longer needed. Use arithmetic comparison only for numerical
8627 * international/mule-cmds.el (select-safe-coding-system):
8628 Handle the case of FROM being a string correctly. (Bug#14755)
8630 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8632 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8633 progression on degenerate tables.
8634 (shr-rescale-image): ImageMagick animated images currently don't work.
8636 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8638 Some fixes and improvements for desktop frame restoration.
8639 It is still experimental and disabled by default.
8640 * desktop.el (desktop--save-windows): Put the selected frame at
8641 the head of the list.
8642 (desktop--make-full-frame): New function.
8643 (desktop--restore-windows): Try to re-select the frame that was
8644 selected upon saving. Do not abort if some frames fail to restore,
8645 just show an error message and continue. Set up maximized frames
8646 so they have default non-maximized dimensions.
8648 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8650 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8651 Don't start heredoc inside a string or comment.
8653 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8655 * bindings.el (visual-order-cursor-movement): New defcustom.
8656 (right-char, left-char): Provide visual-order cursor motion by
8657 calling move-point-visually. Update the doc strings.
8659 2013-06-28 Kenichi Handa <handa@gnu.org>
8661 * international/mule.el (define-coding-system): New coding system
8662 properties :inhibit-null-byte-detection,
8663 :inhibit-iso-escape-detection, and :prefer-utf-8.
8664 (set-buffer-file-coding-system): If :charset-list property of
8665 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8666 appropriate for setting.
8668 * international/mule-cmds.el (select-safe-coding-system):
8669 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8670 multibyte characters, return utf-8 (or one of its siblings).
8672 * international/mule-conf.el (prefer-utf-8): New coding system.
8673 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8676 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8678 * net/shr.el (shr-render-region): New function.
8680 * net/eww.el: Autoload `eww-browse-url'.
8682 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8684 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8685 Adapt to `package-desc-version' being a list.
8686 Use `package--ac-desc-version' to retrieve version from a package
8689 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8691 New experimental feature to save&restore window and frame setup.
8692 * desktop.el (desktop-save-windows): New defcustom.
8693 (desktop--saved-states): New var.
8694 (desktop--excluded-frame-parameters): New defconst.
8695 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8696 (desktop--restore-windows, desktop--save-windows): New functions.
8697 (desktop-save): Call `desktop--save-windows'.
8698 (desktop-read): Call `desktop--restore-windows'.
8700 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8702 * net/shr.el (add-face-text-property): Remove compat definition.
8704 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8706 * info.el (Info-try-follow-nearest-node): Move search for footnote
8707 above search for node name to prevent missing a footnote (bug#14717).
8709 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8711 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8713 2013-06-27 Leo Liu <sdl.web@gmail.com>
8715 * net/eww.el (eww-read-bookmarks): Check file size.
8717 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8719 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8720 advice--pending if newdef is nil or an autoload (bug#13820).
8721 (advice-mapc): New function.
8723 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8725 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8727 (eww-mode-map): Add a menu bar.
8728 (eww-add-bookmark): New command.
8729 (eww-bookmark-mode): New mode and commands.
8730 (eww-add-bookmark): Remove newlines from the title.
8731 (eww-bookmark-browse): Don't bug out if it's the only window.
8733 2013-06-26 Glenn Morris <rgm@gnu.org>
8735 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8736 (hfy-size): Handle ttys. (Bug#14668)
8738 * info-xref.el: Update for Texinfo 5 change in *note format.
8739 (info-xref-node-re, info-xref-note-re): New constants.
8740 (info-xref-check-buffer): Use info-xref-note-re.
8742 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8744 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8746 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8747 nil terminate the loop (bug#14718).
8749 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8751 * net/eww.el: Rework history traversal. When going forward/back,
8752 put these actions into the history, too, so that they can be
8754 (eww-render): Move the history reset to the correct buffer.
8756 2013-06-25 Juri Linkov <juri@jurta.org>
8758 * files-x.el (modify-dir-local-variable): Change the header comment
8759 in the file with directory local variables. (Bug#14692)
8761 * files-x.el (read-file-local-variable-value): Add `default'.
8764 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8766 * net/eww.el (eww-make-unique-file-name): Create a unique file
8767 name before saving to entering `y' accidentally asynchronously.
8769 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8771 * net/eww.el (eww-download): New command and keystroke.
8773 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8775 * net/eww.el (eww-copy-page-url): Change name of command.
8777 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8778 be more consistent with Info and dired.
8780 * net/eww.el (eww-mode-map): Ditto.
8782 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8784 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8785 packages from archives.
8786 (package-archive-contents): Change format; include obsolete packages.
8787 (package-desc): Use `dir' to mark builtin packages.
8788 (package--from-builtin): Set the `dir' field to `builtin'.
8789 (generated-autoload-file, version-control): Declare.
8790 (package-compute-transaction): Change first arg and return value to be
8791 lists of package-descs. Adjust to new package-archive-contents format.
8792 (package--add-to-archive-contents): Adjust to new
8793 package-archive-contents format.
8794 (package-download-transaction): Arg is now a list of package-descs.
8795 (package-install): If `pkg' is a package name, pass it as
8796 a requirement, so it is subject to the usual (e.g. disabled) checks.
8797 (describe-package): Accept package-desc as well.
8798 (describe-package-1): Describe a specific package-desc. Add links to
8799 other package-descs for the same package name.
8800 (package-menu-describe-package): Pass the actual package-desc.
8801 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8803 (package-desc-status): New function.
8804 (package-menu--refresh): New function, extracted
8805 from package-menu--generate.
8806 (package-menu--generate): Use it.
8807 (package-delete): Update package-alist.
8808 (package-menu-execute): Don't call package-initialize.
8810 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8811 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8812 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8813 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8814 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8815 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8817 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8819 * window.el (window--state-get-1): Workaround for bug#14527.
8820 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8822 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8824 * net/eww.el (eww-back-url): Implement the history by stashing all
8825 the data into a list.
8826 (eww-forward-url): Allow going forward in the history, too.
8828 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8830 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8831 for values and use read--expression for expressions (bug#14710).
8832 (read-file-local-variable): Avoid setq.
8833 (read-file-local-variable-mode): Use minor-mode-list.
8835 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8837 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8840 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8842 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8843 Update imenu-support when dialect changes.
8845 2013-06-25 Leo Liu <sdl.web@gmail.com>
8847 * ido.el (ido-read-internal): Allow forward slash on windows.
8849 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8851 * net/eww.el (eww): Start of strings is \\`, not ^.
8853 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8855 * net/shr.el (shr-browse-url): Fix interactive spec.
8857 * net/eww.el (eww): Add a trailing slash to domain names.
8859 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8861 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8863 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8865 * net/shr.el (shr-browse-url): Use an external browser if given a
8868 * net/eww.el (eww-external-browser): Move to shr.
8870 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8872 * net/eww.el (eww): Work more correctly for file: URLs.
8873 (eww-detect-charset): Allow quoted charsets.
8874 (eww-yank-page-url): New command and keystroke.
8876 2013-06-24 Daiki Ueno <ueno@gnu.org>
8878 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8879 file name of gpg executable.
8880 (epg-context-program): New function.
8881 (epg-context-home-directory): New function.
8882 (epg-context-set-program): New function.
8883 (epg-context-set-home-directory): New function.
8884 (epg--start): Use `epg-context-program' instead of
8886 (epg--list-keys-1): Likewise.
8888 2013-06-24 Leo Liu <sdl.web@gmail.com>
8890 * ido.el (ido-read-internal): Fix bug#14620.
8892 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8894 * faces.el (face-documentation): Simplify.
8895 (read-face-attribute, tty-find-type, x-resolve-font-name):
8896 Use `string-match-p'.
8897 (list-faces-display): Use `string-match-p'. Simplify.
8898 (face-spec-recalc): Check face to avoid face alias loops.
8899 (read-color): Use `string-match-p' and non-capturing parenthesis.
8901 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8903 * net/shr.el (shr-rescale-image): Use the new
8904 :max-width/:max-height functionality.
8906 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8908 * net/eww.el (eww-search-prefix): New variable.
8910 (eww-external-browser): New variable.
8911 (eww-mode-map): New keystroke.
8912 (eww-browse-with-external-browser): New command.
8914 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8916 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8918 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8919 Don't skip aligning the next header field when padding is 0;
8920 otherwise, field width is not respected unless the title is as
8923 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8925 * emacs-lisp/package.el (package-el-version): Remove.
8926 (package-process-define-package): Fix inf-loop.
8927 (package-install): Allow symbols as arguments again.
8929 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8931 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8932 add some more keyword-like methods.
8933 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8935 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8937 * bs.el (bs-buffer-show-mark): Make defvar-local.
8938 (bs-mode): Use setq-local.
8940 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8941 (emacs-lock--try-unlocking): Make defvar-local.
8943 2013-06-22 Glenn Morris <rgm@gnu.org>
8945 * play/cookie1.el (cookie-apropos): Minor simplification.
8947 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8949 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8951 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8952 `regexp-opt', it breaks the build during dumping.
8954 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8956 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8957 Highlight keyword-like methods on Kernel and Module with
8958 font-lock-builtin-face.
8959 (auto-mode-alist): Consolidate different entries into one regexp
8960 and add more *file-s.
8962 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8964 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8966 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8967 (diary-entry): Use it in the action of this button type instead of
8970 * calendar/todo-mode.el: New version.
8971 (todo-add-category): Append new category to end of file and give
8972 it the highest number, instead of putting it at the beginning and
8973 giving it 0. Incorporate noninteractive functionality.
8974 (todo-forward-category): Adapt to 1-based category numbering.
8975 Allow skipping over archived categories.
8976 (todo-backward-category): Derive from todo-forward-category.
8977 (todo-backward-item, todo-forward-item): Make noninteractive and
8978 delegate interactive part to new commands. Make sensitive to done items.
8979 (todo-categories): Make value an alist of category names and
8980 vectors of item counts.
8981 (todo-category-beg): Make a defconst.
8982 (todo-category-number): Use 1 instead of 0 as initial value.
8983 (todo-category-select): Make sensitive to overlays, optional item
8984 highlighting and done items.
8985 (todo-delete-item): Make sensitive to overlays and marked and done items.
8986 (todo-edit-item): Make sensitive to overlays and editing of
8987 date/time header optional. Add format checks.
8988 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8989 no-op if point is not on an item. Advertise using todo-edit-quit.
8990 (todo-edit-mode): Make sensitive to new format, font-locking, and
8991 multiple todo files.
8992 (todo-insert-item, todo-insert-item-here): Derive from
8993 todo-basic-insert-item and extend functionality.
8994 (todo-item-end, todo-item-start): Make sensitive to done items.
8995 (todo-item-string): Don't return text properties. Restore point.
8996 (todo-jump-to-category): Make sensitive to multiple todo files and
8997 todo archives. Use extended category completion.
8998 (todo-lower-item, todo-raise-item): Rename to *-priority and
8999 derive from todo-set-item-priority.
9000 (todo-mode): Derive from special-mode. Make sensitive to new
9001 format, font-locking and multiple todo files. Make read-only.
9002 (todo-mode-map): Don't suppress digit keys, so they can supply
9003 prefix arguments. Add many new key bindings.
9004 (todo-prefix): Insert as an overlay instead of file text.
9005 Change semantics from diary date expression to purely visual mark.
9006 (todo-print): Rename to todo-print-buffer. Make buffer display
9007 features printable. Remove option to restrict number of items
9008 printed. Add option to print to file.
9009 (todo-print-function): Rename to todo-print-buffer-function.
9010 (todo-quit): Extend to handle exiting new todo modes.
9011 (todo-remove-item): Make sensitive to overlays.
9012 (todo-save): Extend to buffers of filtered items.
9013 (todo-show): Make sensitive to done items, multiple todo files and
9014 new todo modes. Offer to convert legacy todo file before creating
9015 first new todo file.
9016 (todo-show-priorities): Rename to todo-top-priorities.
9017 Change semantics of value 0.
9018 (todo-top-priorities): Rename to todo-filter-top-priorities,
9019 derive from todo-filter-items and extend functionality.
9020 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
9021 and extend functionality to other types of filtered items.
9022 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
9023 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
9024 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
9025 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
9026 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
9027 (todo-edit-mode-hook, todo-entry-prefix-function)
9028 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
9029 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
9030 (todo-initials, todo-insert-threshold, todo-item-string-start)
9031 (todo-line-string, todo-menu, todo-mode-hook)
9032 (todo-more-important-p, todo-previous-answer, todo-previous-line)
9033 (todo-print-priorities, todo-remove-separator)
9034 (todo-save-top-priorities-too, todo-string-count-lines)
9035 (todo-string-multiline-p, todo-time-string-format)
9036 (todo-tmp-buffer-name): Remove.
9037 (todo-add-file, todo-archive-done-item, todo-choose-archive)
9038 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
9039 (todo-edit-category-diary-inclusion)
9040 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
9041 (todo-edit-file, todo-edit-item-date-day)
9042 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
9043 (todo-edit-item-date-month, todo-edit-item-date-to-today)
9044 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
9045 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
9046 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
9047 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
9048 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9049 (todo-filter-top-priorities-multifile, todo-find-archive)
9050 (todo-find-filtered-items-file, todo-go-to-source-item)
9051 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9052 (todo-jump-to-archive-category, todo-lower-category)
9053 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9054 (todo-move-category, todo-move-item, todo-next-button)
9055 (todo-next-item, todo-padded-string, todo-powerset)
9056 (todo-previous-button, todo-previous-item)
9057 (todo-print-buffer-to-file, todo-raise-category)
9058 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9059 (todo-set-category-number, todo-set-item-priority)
9060 (todo-set-top-priorities-in-category)
9061 (todo-set-top-priorities-in-file, todo-show-categories-table)
9062 (todo-sort-categories-alphabetically-or-numerically)
9063 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9064 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9065 (todo-toggle-item-header, todo-toggle-item-highlighting)
9066 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9067 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9068 (todo-unarchive-items, todo-unmark-category): New commands.
9069 (todo-absolute-file-name, todo-add-to-buffer-list)
9070 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9071 (todo-basic-insert-item, todo-category-completions)
9072 (todo-category-number, todo-category-string-matcher-1)
9073 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9074 (todo-check-format, todo-clear-matches)
9075 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9076 (todo-current-category, todo-date-string-matcher)
9077 (todo-define-insertion-command, todo-diary-expired-matcher)
9078 (todo-diary-goto-entry, todo-diary-item-p)
9079 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9080 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9081 (todo-done-item-section-p, todo-done-separator)
9082 (todo-done-string-matcher, todo-files, todo-filter-items)
9083 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9084 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9085 (todo-insert-category-line, todo-insert-item-from-calendar)
9086 (todo-insert-sort-button, todo-insert-with-overlays)
9087 (todo-insertion-command-name, todo-insertion-key-bindings)
9088 (todo-label-to-key, todo-longest-category-name-length)
9089 (todo-make-categories-list, todo-mode-external-set)
9090 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9091 (todo-modes-set-3, todo-multiple-filter-files)
9092 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9093 (todo-read-category, todo-read-date, todo-read-dayname)
9094 (todo-read-file-name, todo-read-time)
9095 (todo-reevaluate-category-completions-files-defcustom)
9096 (todo-reevaluate-default-file-defcustom)
9097 (todo-reevaluate-filelist-defcustoms)
9098 (todo-reevaluate-filter-files-defcustom)
9099 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9100 (todo-reset-done-separator, todo-reset-done-separator-string)
9101 (todo-reset-done-string, todo-reset-global-current-todo-file)
9102 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9103 (todo-reset-prefix, todo-set-categories)
9104 (todo-set-date-from-calendar, todo-set-show-current-file)
9105 (todo-set-top-priorities, todo-short-file-name)
9106 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9107 (todo-total-item-counts, todo-update-buffer-list)
9108 (todo-update-categories-display, todo-update-categories-sexp)
9109 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9111 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9113 (todo-categories, todo-display, todo-edit, todo-faces)
9114 (todo-filtered): New defgroups.
9115 (todo-archived-only, todo-button, todo-category-string, todo-date)
9116 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9117 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9118 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9119 (todo-add-item-if-new-category, todo-always-add-time-string)
9120 (todo-categories-align, todo-categories-archived-label)
9121 (todo-categories-category-label, todo-categories-diary-label)
9122 (todo-categories-done-label, todo-categories-number-separator)
9123 (todo-categories-todo-label, todo-categories-totals-label)
9124 (todo-category-completions-files, todo-completion-ignore-case)
9125 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9126 (todo-done-separator-string, todo-done-string)
9127 (todo-files-function, todo-filter-done-items, todo-filter-files)
9128 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9129 (todo-initial-category, todo-initial-file, todo-item-mark)
9130 (todo-legacy-date-time-regexp, todo-mode-line-function)
9131 (todo-nondiary-marker, todo-number-prefix)
9132 (todo-print-buffer-function, todo-show-current-file)
9133 (todo-show-done-only, todo-show-first, todo-show-with-done)
9134 (todo-skip-archived-categories, todo-top-priorities-overrides)
9135 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9136 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9138 (todo-category-done, todo-date-pattern, todo-date-string-start)
9139 (todo-diary-items-buffer, todo-done-string-start)
9140 (todo-filtered-items-buffer, todo-item-start)
9141 (todo-month-abbrev-array, todo-month-name-array)
9142 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9143 (todo-top-priorities-buffer): New defconsts.
9144 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9145 (todo-categories-with-marks, todo-category-string-face)
9146 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9147 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9148 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9149 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9150 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9151 (todo-font-lock-keywords, todo-global-current-todo-file)
9152 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9153 (todo-insertion-commands-args)
9154 (todo-insertion-commands-args-genlist)
9155 (todo-insertion-commands-names, todo-insertion-map)
9156 (todo-key-bindings-t, todo-key-bindings-t+a)
9157 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9158 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9159 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9160 (todo-visited): New variables.
9162 2013-06-21 Glenn Morris <rgm@gnu.org>
9164 * play/cookie1.el (cookie-apropos): Add optional display argument.
9165 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9166 (psychoanalyze-pinhead): Use cookie-doctor.
9168 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9170 * emacs-lisp/package.el (tar-get-file-descriptor)
9171 (tar--extract): Declare.
9173 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9175 Extend flymake's warning predicate to be a function (bug#14217).
9176 * progmodes/flymake.el (flymake-warning-predicate): New.
9177 (flymake-parse-line): Use it.
9178 (flymake-warning-re): Make obsolete alias to
9179 `flymake-warning-predicate'.
9181 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9183 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9184 (package-obsolete-list): Remove.
9185 (package-activate): Remove min-version argument. Add `force' argument.
9186 Adjust to new package-alist format.
9187 (package-mark-obsolete): Remove.
9188 (package-unpack): Force reload of the package's autoloads.
9189 (package-installed-p): Check builtins if the installed package is not
9191 (package-initialize): Don't reset package-obsolete-list.
9192 Don't specify which package version to activate.
9193 (package-process-define-package, describe-package-1)
9194 (package-menu--generate): Adjust to new package-alist format.
9196 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9198 * allout-widgets.el (allout-widgets-mode-off)
9199 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9200 (allout-widgets-post-command-business)
9201 (allout-widgets-after-copy-or-kill-function)
9202 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9203 (allout-decorate-item-and-context)
9204 (allout-graphics-modification-handler): Fix typos in docstrings.
9205 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9207 * cmuscheme.el (scheme-start-file): Doc fix.
9208 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9209 (scheme-input-filter): Use `string-match-p'.
9211 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9213 * dired-x.el: Use Dired consistently in docstrings.
9215 * dired.el: Use Dired consistently in docstrings.
9216 (dired-readin, dired-mode): Use `setq-local'.
9217 (dired-switches-alist): Make defvar-local.
9218 (dired-buffers-for-dir): Use `zerop'.
9219 (dired-safe-switches-p, dired-switches-escape-p)
9220 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9221 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9222 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9223 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9224 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9225 (dired-toggle-marks, dired-mark-files-containing-regexp)
9226 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9227 (dired-flag-auto-save-files, dired-flag-backup-files):
9229 (dired-mark-files-regexp, dired-build-subdir-alist):
9230 Use `string-match-p', `looking-at-p'.
9232 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9233 (direct-print-region-helper): Use `string-match-p'.
9235 2013-06-21 Leo Liu <sdl.web@gmail.com>
9237 * comint.el (comint-redirect-results-list-from-process):
9240 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9242 * net/eww.el (eww-update-header-line-format): Quote % characters.
9244 2013-06-21 Glenn Morris <rgm@gnu.org>
9246 * play/cookie1.el (cookie): New custom group.
9247 (cookie-file): New option.
9248 (cookie-check-file): New function.
9249 (cookie): Make it interactive. Make start and end messages optional.
9250 Interactively, display the result. Default to cookie-file.
9251 (cookie-insert): Default to cookie-file.
9252 (cookie-snarf): Make start and end messages optional.
9253 Default to cookie-file. Use with-temp-buffer.
9254 (cookie-read): Rename from read-cookie.
9255 Make start and end messages optional. Default to cookie-file.
9256 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9258 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9259 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9261 2013-06-21 Leo Liu <sdl.web@gmail.com>
9263 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9265 2013-06-21 Glenn Morris <rgm@gnu.org>
9267 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9269 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9270 Daniel Hackney <dan@haxney.org>
9272 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9273 Consolidate the single-file vs tarball code.
9274 (package-desc-suffix): New function.
9275 (package-desc-full-name): Don't bother inlining it.
9276 (package-load-descriptor): Return the new package-desc.
9277 (package-mark-obsolete): Remove unused arg `package'.
9278 (package-unpack): Make it work for single files as well.
9279 Make it update package-alist.
9280 (package--make-autoloads-and-stuff): Rename from
9281 package--make-autoloads-and-compile. Don't compile any more.
9282 (package--compile): New function.
9283 (package-generate-description-file): New function, extracted from
9284 package-unpack-single.
9285 (package-unpack-single): Remove.
9286 (package--with-work-buffer): Add indentation and debugging info.
9287 (package-download-single): Remove.
9288 (package-install-from-archive): Rename from package-download-tar, make
9289 it take a pkg-desc, and make it work for single files as well.
9290 (package-download-transaction): Simplify.
9291 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9292 external tar program.
9293 (package-install-from-buffer): Remove `pkg-desc' argument.
9294 Use package-tar-file-info for tar-mode buffers.
9295 (package-install-file): Simplify accordingly.
9296 (package-archive-base): Change to take a pkg-desc.
9297 * tar-mode.el (tar--check-descriptor): New function, extracted from
9299 (tar-get-descriptor): Use it.
9300 (tar-get-file-descriptor): New function.
9301 (tar--extract): New function, extracted from tar-extract.
9302 (tar--extract): Use it.
9303 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9304 case the summary uses non-ascii. Adjust to new calling convention of
9305 package-tar-file-info.
9307 2013-06-21 Leo Liu <sdl.web@gmail.com>
9309 * comint.el (comint-redirect-results-list-from-process):
9310 Fix random delay. (Bug#14681)
9312 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9314 * profiler.el (profiler-format-number): Use log, not log10.
9316 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9318 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9320 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9322 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9323 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9325 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9326 (AUTOGENEL): ... here.
9327 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9328 (cl--defsubst-expand): Use it.
9330 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9332 * subr.el (log10): Move here from C code, and declare as obsolete.
9333 All uses of (log10 X) replaced with (log X 10).
9335 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9337 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9338 Declare with `defvar-local'.
9339 (tabulated-list-use-header-line, tabulated-list-entries)
9340 (tabulated-list-padding, tabulated-list-printer)
9341 (tabulated-list-sort-key): Declare with `defvar-local'.
9342 (tabulated-list-init-header, tabulated-list-print-fake-header):
9345 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9347 * arc-mode.el (archive-mode): Add `archive-write-file' to
9348 `write-contents-functions' also for remote files. (Bug#14652)
9350 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9352 * cus-edit.el (custom-commands): Fix typos.
9353 (custom-display): Fix tooltip text.
9354 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9355 Fix typos in docstrings.
9356 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9357 (custom-unlispify-menu-entry, custom-magic-value-create)
9358 (custom-add-see-also, custom-group-value-create): Use ?\s.
9359 (custom-guess-type, customize-apropos, editable-field)
9360 (custom-face-value-create): Use `string-match-p'.
9361 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9363 * custom.el (custom-load-symbol): Use `string-match-p'.
9365 * ansi-color.el: Convert to lexical binding.
9366 (ansi-colors): Fix URL.
9367 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9368 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9369 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9371 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9373 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9375 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9377 2013-06-19 Tom Tromey <tromey@redhat.com>
9379 * net/eww.el (eww-top-url): Remove.
9380 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9381 (eww-render): Set new variables. Don't set eww-top-url.
9382 (eww-handle-link): Handle "prev", "home", and "contents".
9383 Downcase the rel text.
9384 (eww-top-url): Choose best top URL.
9386 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9388 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9389 relying in widget.el. Using widget.el leads to too many
9390 user interface inconsistencies.
9391 (eww-self-insert): Implement entering commands in text fields.
9392 (eww-process-text-input): New function to make text input field editing
9394 (eww-submit): Rewrite to use the new-style form methods.
9395 (eww-select-display): Display the correct selected item.
9396 (eww-change-select): Implement changing the select value.
9397 (eww-toggle-checkbox): Implement radio/checkboxes.
9398 (eww-update-field): Fix compilation error.
9399 (eww-tag-textarea): Implement <textarea>.
9401 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9402 we don't shadow mode-specific bindings.
9404 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9407 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9409 2013-06-19 Glenn Morris <rgm@gnu.org>
9411 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9413 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9415 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9418 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9420 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9422 * net/browse-url.el (browse-url-browser-function):
9423 `eww-browse-url' has the right calling signature, `eww' does not.
9425 2013-06-19 Glenn Morris <rgm@gnu.org>
9427 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9428 Only eval autoloaded macros.
9429 (byte-compile-autoload): Only give the macro warning for macros.
9431 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9432 (ps-underlined-faces): Declare.
9434 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9435 (speedbar-add-supported-extension): Declare.
9437 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9438 Don't include a date stamp in the header of the generated file;
9439 it leads to needless differences between output files.
9441 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9443 * net/secrets.el (secrets-struct-secret-content-type):
9444 Replace check of introspection data by a test call of "CreateItem".
9445 Some servers do not offer introspection.
9447 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9449 * electric.el (electric-pair-mode): Improve interaction with
9450 electric-layout-mode.
9451 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9452 (electric-pair-syntax): Use text-mode-syntax-table in comments
9454 (electric-pair--insert): New function.
9455 (electric-pair-post-self-insert-function): Use it and
9456 electric--after-char-pos.
9458 2013-06-19 Leo Liu <sdl.web@gmail.com>
9460 * progmodes/octave.el (octave-help): Fix regexp.
9462 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9464 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9465 (shr-table-horizontal-line): Allow nil as a value, and change the
9467 (shr-insert-table-ruler): Respect the nil value.
9469 2013-06-18 Tom Tromey <tromey@barimba>
9471 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9473 (eww-open-file): New defun.
9474 (eww-render): Initialize new variables.
9475 (eww-display-html): Handle "link" and "a".
9476 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9477 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9478 (eww-back-url): Rename from eww-previous-url.
9479 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9482 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9484 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9485 Distinguish ternary operator tokens from slash symbol and slash
9488 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9490 Convert symbol prettification into minor mode and global minor mode.
9492 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9493 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9494 (prettify-symbols--keywords): Rename from
9495 `prog-prettify-symbols-alist' and make a local defvar.
9496 (prettify-symbols--compose-symbol): Rename from
9497 `prog--prettify-font-lock-compose-symbol'.
9498 (prettify-symbols--make-keywords): Rename from
9499 `prog-prettify-font-lock-symbols-keywords' and simplify.
9500 (prog-prettify-install): Remove.
9501 (prettify-symbols-mode): New minor mode, based on
9502 `prog-prettify-install'.
9503 (turn-on-prettify-symbols-mode): New function.
9504 (global-prettify-symbols-mode): New globalized minor mode.
9506 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9507 * progmodes/cfengine.el (cfengine3-mode):
9508 * progmodes/perl-mode.el (perl-mode): Don't call
9509 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9511 2013-06-18 Juri Linkov <juri@jurta.org>
9513 * files-x.el (modify-file-local-variable-message): New function.
9514 (modify-file-local-variable)
9515 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9516 and call `modify-file-local-variable-message' when it's non-nil.
9517 (add-file-local-variable, delete-file-local-variable)
9518 (add-file-local-variable-prop-line)
9519 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9520 and use it. (Bug#9820)
9522 2013-06-18 Juri Linkov <juri@jurta.org>
9524 * emulation/vi.el (vi-shell-op):
9525 * emulation/vip.el (vip-execute-com, ex-command):
9526 * emulation/viper-cmd.el (viper-exec-bang):
9527 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9528 the call of `shell-command-on-region'. (Bug#14637)
9530 * simple.el (shell-command-on-region): Doc fix.
9532 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9534 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9537 2013-06-18 Glenn Morris <rgm@gnu.org>
9539 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9541 * newcomment.el (comment-search-forward, comment-search-backward):
9542 Doc fix. (Bug#14376)
9544 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9546 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9547 (buffer-face-mode-invoke): Doc fix.
9549 2013-06-18 Matthias Meulien <orontee@gmail.com>
9551 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9552 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9554 2013-06-18 Glenn Morris <rgm@gnu.org>
9556 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9557 Replace obsolete function generic-make-keywords with its expansion.
9559 * progmodes/python.el (ffap-alist): Declare.
9561 * textmodes/reftex.el (bibtex-mode-map): Declare.
9563 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9565 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9566 (package-unpack, package-unpack-single): Return the pkg-dir.
9567 (package-download-transaction): Use it to update package-alist.
9569 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9571 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9574 2013-06-17 Juri Linkov <juri@jurta.org>
9576 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9578 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9580 * emacs-lisp/package.el (package-load-descriptor):
9581 Remove `with-syntax-table' call, `read' doesn't need it.
9582 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9584 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9586 * startup.el (command-line): Expand package name returned by
9587 `package--description-file' (bug#14639).
9589 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9591 * emacs-lisp/package.el (package-load-descriptor): Do not call
9592 `emacs-lisp-mode', just use its syntax table.
9594 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9596 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9597 `font-lock-extra-managed-props' if any prettifying keyword is added.
9598 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9599 (prog-mode): Use `setq-local'.
9601 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9603 * international/characters.el (standard-case-table): Set syntax of ?»
9604 and ?« to punctuation.
9606 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9608 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9609 Save relevant match data before calling `syntax-ppss' (bug#14595).
9611 2013-06-15 Juri Linkov <juri@jurta.org>
9613 * files-x.el (modify-file-local-variable-prop-line): Add local
9614 variables to the end of the existing comment on the first line.
9615 Use `file-auto-mode-skip' to skip interpreter magic line,
9616 and also skip XML declaration.
9618 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9620 * startup.el (package--builtin-versions): New var.
9621 (package-subdirectory-regexp): Remove.
9622 (package--description-file): Hard code its value instead.
9624 * emacs-lisp/package.el: Don't activate packages older than builtin.
9625 (package-obsolete-list): Rename from package-obsolete-alist, and make
9626 it into a simple list of package-desc.
9627 (package-strip-version): Remove.
9628 (package-built-in-p): Use package--builtin-versions.
9629 (package-mark-obsolete): Simplify.
9630 (package-process-define-package): Mark it obsolete if older than the
9632 (package-handle-response): Use line-end-position.
9633 (package-read-archive-contents, package--download-one-archive):
9635 (package--add-to-archive-contents): Skip if older than the builtin or
9637 (package-menu-describe-package): Fix last change.
9638 (package-list-unversioned): New var.
9639 (package-menu--generate): Use it.
9641 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9642 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9643 (autoload-builtin-package-versions): New variable.
9644 (autoload-generate-file-autoloads): Use them.
9645 Remove the list of autoloaded functions/macros from the
9646 (autoload...) comments.
9648 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9650 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9652 * simple.el (line-move-partial): Don't jump to the next screen
9653 line as soon as it becomes visible. Instead, continue enlarging
9654 the vscroll until the portion of a tall screen line that's left on
9655 display is about the height of the frame's default font.
9658 2013-06-15 Glenn Morris <rgm@gnu.org>
9660 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9661 compilation-error-regexp-alist void, or local while let-bound.
9663 * progmodes/make-mode.el (makefile-mode-syntax-table):
9664 Treat "=" as punctuation. (Bug#14614)
9666 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9668 * help-fns.el (describe-variable):
9669 Add extra line for permanent-local variables.
9671 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9673 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9674 Add export, import, library. (Bug#9164)
9675 (library): Set indent function.
9677 2013-06-14 Glenn Morris <rgm@gnu.org>
9679 * term/xterm.el (xterm--query):
9680 Stop after first matching handler. (Bug#14615)
9682 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9684 Add support for dired in saveplace.
9685 * dired.el (dired-initial-position-hook): New variable.
9686 (dired-initial-position): Call hook to place cursor position.
9687 * saveplace.el (save-place-to-alist): Add dired position.
9688 (save-place-dired-hook): New function.
9690 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9692 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9693 through a symbol rather than letrec.
9695 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9696 (package-desc): Add `dir' field.
9697 (package-desc-full-name): New function.
9698 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9699 (package-maybe-load-descriptor): Remove.
9700 (package-load-all-descriptors): Just call package-load-descriptor.
9701 (package--disabled-p): New function.
9702 (package-desc-vers, package-desc-doc): Remove aliases.
9703 (package--dir): Remove function.
9704 (package-activate): Check if a package is disabled.
9705 (package-process-define-package): New function, extracted from
9707 (define-package): Turn into a place holder.
9708 (package-unpack-single, package-tar-file-info):
9709 Use package--description-file.
9710 (package-compute-transaction): Use package--disabled-p.
9711 (package-download-transaction): Don't call
9712 package-maybe-load-descriptor since they're all loaded anyway.
9713 (package-install): Change argument to be a pkg-desc.
9714 (package-delete): Use a single pkg-desc argument.
9715 (describe-package-1): Use package-desc-dir instead of package--dir.
9716 Use package-desc property instead of package-symbol.
9717 (package-install-button-action): Adjust accordingly.
9718 (package--push): Rewrite.
9719 (package-menu--print-info): Adjust accordingly. Change the ID format
9721 (package-menu-describe-package, package-menu-get-status)
9722 (package-menu--find-upgrades, package-menu-mark-upgrades)
9723 (package-menu-execute, package-menu--name-predicate):
9725 * startup.el (package--description-file): New function.
9726 (command-line): Use it.
9727 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9728 Use package-desc-version.
9730 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9731 (byte-compile-preprocess): Use it.
9732 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9733 can't quite recognize.
9734 (byte-compile-add-to-list): Remove.
9735 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9736 (cconv-closure-convert): Add assertion.
9738 * emacs-lisp/map-ynp.el: Use lexical-binding.
9739 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9740 Factor out some repeated code.
9742 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9744 * subr.el (with-eval-after-load): New macro.
9745 (eval-after-load): Allow form to be a function.
9746 take advantage of lexical-binding.
9747 (do-after-load-evaluation): Use dolist and adjust to new format.
9748 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9750 2013-06-13 Juri Linkov <juri@jurta.org>
9752 * replace.el (perform-replace): Display "symbol " and other search
9753 modes from `isearch-message-prefix' in the *Help* buffer.
9755 * isearch.el (isearch-query-replace): Add " symbol" and other
9756 possible search modes from `isearch-message-prefix' to the prompt.
9757 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9758 when reading a regexp to collect.
9760 2013-06-13 Juri Linkov <juri@jurta.org>
9762 * isearch.el (word-search-regexp): Match whitespace if the search
9763 string begins or ends in whitespace. The LAX arg is applied to
9764 both ends of the search string. Use `regexp-quote' and explicit
9765 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9766 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9767 boundaries are replaced with symbol boundaries, and characters
9768 between symbols match non-word non-symbol syntax. (Bug#14602)
9770 2013-06-13 Juri Linkov <juri@jurta.org>
9772 * isearch.el (isearch-del-char): Don't exceed the length of
9773 `isearch-string' by the prefix arg. (Bug#14563)
9775 2013-06-13 Juri Linkov <juri@jurta.org>
9777 * isearch.el (isearch-yank-word, isearch-yank-line)
9778 (isearch-char-by-name, isearch-quote-char)
9779 (isearch-printing-char, isearch-process-search-char):
9780 Add optional count prefix arg. (Bug#14563)
9782 * international/isearch-x.el
9783 (isearch-process-search-multibyte-characters):
9784 Add optional count prefix arg.
9786 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9788 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9789 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9792 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9794 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9796 2013-06-13 Glenn Morris <rgm@gnu.org>
9798 * startup.el (tty-handle-args):
9799 Don't just discard "--" and anything after. (Bug#14608)
9801 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9803 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9805 Implement changes in Secret Service API. Make it backward compatible.
9806 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9807 (secrets-create-item): Use it. Prefix properties with interface.
9809 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9811 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9812 (term-emulate-terminal): Respect term-suppress-hard-newline.
9814 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9816 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9817 Only remove a `thumb-file' overlay. (Bug#14548)
9819 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9821 * mail/reporter.el (reporter-submit-bug-report):
9822 Handle missing package-name. (Bug#14600)
9824 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9826 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9827 (reftex-citation-prompt, reftex-default-bibliography)
9828 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9829 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9830 (reftex-bib-sort-author, reftex-bib-sort-year)
9831 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9832 (reftex-extract-bib-entries-from-thebibliography)
9833 (reftex-get-bibkey-default, reftex-get-bib-names)
9834 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9835 (reftex-format-bib-entry, reftex-parse-bibitem)
9836 (reftex-format-bibitem, reftex-do-citation)
9837 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9838 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9839 (reftex-insert-bib-matches, reftex-format-citation)
9840 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9841 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9842 existing comments into docstrings.
9844 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9846 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9848 2013-06-12 Andreas Schwab <schwab@suse.de>
9850 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9851 for auto-save files.
9853 2013-06-12 Glenn Morris <rgm@gnu.org>
9855 * ido.el (ido-delete-ignored-files): Remove.
9856 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9857 Go back to calling ido-ignore-item-p directly.
9859 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9861 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9863 * ido.el (ido-delete-ignored-files): New function,
9864 split from ido-make-file-list-1.
9865 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9866 (ido-make-file-list-1): Use ido-delete-ignored-files.
9868 2013-06-12 Leo Liu <sdl.web@gmail.com>
9870 * progmodes/octave.el (inferior-octave-startup)
9871 (inferior-octave-completion-table)
9872 (inferior-octave-track-window-width-change)
9873 (octave-eldoc-function-signatures, octave-help)
9874 (octave-find-definition): Use single quoted strings.
9875 (inferior-octave-startup-args): Change default value.
9876 (inferior-octave-startup): Do not hard code "-i" and
9877 "--no-line-editing".
9878 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9879 (inferior-octave-directory-tracker): Use it.
9880 (octave-goto-function-definition): Robustify.
9881 (octave-help): Support highlighting operators in 'See also'.
9882 (octave-find-definition): Find subfunctions only in Octave mode.
9884 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9886 * help-fns.el (help-fns--compiler-macro): If the handler function is
9887 named, then put a link to it.
9888 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9889 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9891 (cl-eval-when): Simplify debug spec.
9892 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9893 compiler-macro function instead of setting `compiler-macro-file'.
9895 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9897 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9898 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9900 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9901 Daniel Hackney <dan@haxney.org>
9903 First part of Daniel Hackney's patch to package.el.
9904 * emacs-lisp/package.el: Use defstruct.
9905 (package-desc): New, main struct.
9906 (package--bi-desc, package--ac-desc): New structs, used to describe the
9907 format in external files.
9908 (package-desc-vers): Replace with package-desc-version accessor.
9909 (package-desc-doc): Replace with package-desc-summary accessor.
9910 (package-activate-1): Remove `package' arg since the pkg-vec now
9912 (define-package): Use package-desc-from-define.
9913 (package-unpack-single): Change file-name arg to be a symbol.
9914 (package--add-to-archive-contents): Use package-desc-create and new
9915 accessor functions to package--ac-desc.
9916 (package-buffer-info, package-tar-file-info): Return a package-desc.
9917 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9918 arg to be a package-desc.
9919 (package-install-file): Adjust accordingly. Use \' to match EOS.
9920 (package--from-builtin): New function.
9921 (describe-package-1, package-menu--generate): Use it.
9922 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9923 (package-generate-autoloads): Idem and return the name of the file.
9924 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9925 Change pkg-info arg to be a package-desc.
9926 Use package-make-ac-desc.
9927 (package-upload-file): Use \' to match EOS.
9928 * finder.el (finder-compile-keywords): Use package-make-builtin.
9930 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9932 * vc/vc.el (vc-deduce-fileset): Change error message.
9933 (vc-read-backend): New function.
9934 (vc-next-action): Use it.
9936 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9938 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9939 (prolog-font-lock-keywords): Use regexp-opt instead.
9940 Don't manually highlight strings.
9941 (prolog-mode-variables): Simplify comment-start-skip.
9942 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9944 * emacs-lisp/generic.el (generic--normalise-comments)
9945 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9946 (generic-mode-set-comments): Use them.
9947 (generic-bracket-support): Use setq-local.
9948 (generic-make-keywords-list): Declare obsolete.
9950 2013-06-11 Glenn Morris <rgm@gnu.org>
9952 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9953 Prettify after setting font-lock-defaults. (Bug#14574)
9955 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9957 * replace.el (query-replace, occur-read-regexp-defaults-function)
9959 * subr.el (declare-function, number-sequence, local-set-key)
9960 (substitute-key-definition, locate-user-emacs-file)
9961 (with-silent-modifications, split-string, eval-after-load):
9962 Fix typos, remove unneeded backslashes and reflow some docstrings.
9964 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9966 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9967 default for Elisp files.
9969 2013-06-11 Glenn Morris <rgm@gnu.org>
9971 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9972 although define-derived-mode was doing this anyway. (Bug#14583)
9974 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9976 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9977 Fix make-variable-buffer-local call to refer to the correct variable.
9979 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9981 * eshell/em-term.el (eshell-visual-commands)
9982 (eshell-visual-subcommands, eshell-visual-options):
9983 Add summary line to docstrings. Add cross-references.
9985 2013-06-10 Glenn Morris <rgm@gnu.org>
9987 * epa.el (epa-read-file-name): New function. (Bug#14510)
9988 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9990 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9992 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9993 output redirection to be ignored with visual commands.
9995 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9997 * eshell/em-term.el (eshell-visual-command-p): New function.
9998 (eshell-term-initialize): Move long lambda to separate function
9999 eshell-visual-command-p.
10000 * eshell/em-dirs.el (eshell-dirs-initialise):
10001 * eshell/em-script.el (eshell-script-initialize):
10002 Add missing #' to lambda.
10004 2013-06-08 Leo Liu <sdl.web@gmail.com>
10006 * progmodes/octave.el (octave-add-log-current-defun): New function.
10007 (octave-mode): Set add-log-current-defun-function.
10008 (octave-goto-function-definition): Do not move point if not found.
10009 (octave-find-definition): Enhance to try subfunctions first.
10011 2013-06-08 Glenn Morris <rgm@gnu.org>
10013 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10014 (byte-compile-backward-char, byte-compile-backward-word):
10015 Improve previous change, to handle non-explicit nil.
10017 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
10019 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
10020 (smie--opener/closer-at-point): New function.
10021 (smie--matching-block-data): Use it. Don't match from right after an
10022 opener or right before a closer. Obey smie-blink-matching-inners.
10023 Don't signal a mismatch for repeated inners like "switch..case..case".
10025 2013-06-07 Leo Liu <sdl.web@gmail.com>
10027 * progmodes/octave.el (octave-mode): Set comment-use-global-state
10029 (octave-function-header-regexp): Fix. (Bug#14570)
10030 (octave-help-mode-finish-hook, octave-help-mode-finish):
10031 Remove. Just use temp-buffer-show-hook.
10033 * newcomment.el (comment-search-backward): Revert last change.
10036 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
10038 2013-06-07 Eli Zaretskii <eliz@gnu.org>
10040 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
10041 through xargs, to avoid failure due to MS-Windows limitations on
10042 command-line length.
10044 2013-06-06 Glenn Morris <rgm@gnu.org>
10046 * font-lock.el (lisp-font-lock-keywords-2):
10047 Treat user-error like error.
10049 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10050 (byte-compile-backward-char, byte-compile-backward-word):
10051 Handle explicit nil arguments. (Bug#14565)
10053 2013-06-05 Alan Mackenzie <acm@muc.de>
10055 * isearch.el (isearch-allow-prefix): New user option.
10056 (isearch-other-meta-char): Don't exit isearch when a prefix
10057 argument is typed whilst `isearch-allow-prefix' is non-nil.
10060 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10062 * autorevert.el (auto-revert-notify-handler): Use memq.
10063 Hide assertion failure.
10065 * skeleton.el: Use cl-lib.
10066 (skeleton-further-elements): Use defvar-local.
10067 (skeleton-insert): Use cl-progv.
10069 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10071 * progmodes/prog-mode.el (prog-prettify-symbols)
10072 (prog-prettify-install): Update docstrings.
10074 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10076 * simple.el: Move all the prog-mode code to prog-mode.el.
10077 * progmodes/prog-mode.el: New file.
10078 * loadup.el: Add prog-mode.el.
10080 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10082 * simple.el (prog-prettify-symbols): Add version.
10083 (prog-prettify-install): Add convenience function to prettify symbols.
10085 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10086 (perl--augmented-font-lock-keywords-1)
10087 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10088 variables and use it.
10090 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10091 (cfengine3-mode): Remove unneeded variable and use it.
10093 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10094 (lisp--augmented-font-lock-keywords-1)
10095 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10096 Remove unneeded variables and use it.
10098 2013-06-05 João Távora <joaotavora@gmail.com>
10100 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10101 to point when opening the connection. (Bug#14380)
10103 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10105 * subr.el (load-history-regexp, load-history-filename-element)
10106 (eval-after-load, after-load-functions, do-after-load-evaluation)
10107 (eval-next-after-load, display-delayed-warnings)
10108 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10109 definition of save-match-data.
10110 (overriding-local-map): Remove accidental obsolescence declaration.
10112 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10114 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10116 Generalize symbol prettify support to prog-mode and implement it
10117 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10118 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10119 (prog--prettify-font-lock-compose-symbol)
10120 (prog-prettify-font-lock-symbols-keywords): New variables and
10121 functions to support symbol prettification.
10122 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10123 (lisp--augmented-font-lock-keywords-1)
10124 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10125 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10126 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10127 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10128 Implement prettify of -> => :: strings.
10129 * progmodes/perl-mode.el (perl-prettify-symbols)
10130 (perl--font-lock-compose-symbol)
10131 (perl--font-lock-symbols-keywords): Move to prog-mode.
10132 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10133 (perl-font-lock-keywords-1)
10134 (perl-font-lock-keywords-2): Remove explicit prettify support.
10135 (perl--augmented-font-lock-keywords)
10136 (perl--augmented-font-lock-keywords-1)
10137 (perl--augmented-font-lock-keywords-2, perl-mode):
10138 Implement prettify support.
10140 2013-06-05 Leo Liu <sdl.web@gmail.com>
10142 Re-implement smie matching block highlight using
10143 show-paren-data-function. (Bug#14395)
10144 * emacs-lisp/smie.el (smie-matching-block-highlight)
10145 (smie--highlight-matching-block-overlay)
10146 (smie--highlight-matching-block-lastpos)
10147 (smie-highlight-matching-block)
10148 (smie-highlight-matching-block-mode): Remove.
10149 (smie--matching-block-data-cache): New variable.
10150 (smie--matching-block-data): New function.
10151 (smie-setup): Use smie--matching-block-data for
10152 show-paren-data-function.
10154 * progmodes/octave.el (octave-mode-menu): Fix.
10155 (octave-find-definition): Skip garbage lines.
10157 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10159 Fix compilation error with simultaneous dynamic+lexical scoping.
10160 Add warning when a defvar appears after the first let-binding.
10161 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10162 (byte-compile-close-variables): Initialize it.
10163 (byte-compile--declare-var): New function.
10164 (byte-compile-file-form-defvar)
10165 (byte-compile-file-form-define-abbrev-table)
10166 (byte-compile-file-form-custom-declare-variable): Use it.
10167 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10168 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10169 (byte-compile-bind): Handle dynamic bindings that shadow
10171 (byte-compile-unbind): Make arg non-optional.
10172 (byte-compile-let): Simplify.
10173 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10174 (cconv--analyse-function, cconv-analyse-form): Populate it.
10175 Protect byte-compile-bound-variables to limit the scope of defvars.
10176 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10177 Remove unneeded rule for `declare'.
10179 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10180 so as to avoid depending on cl-adjoin at run-time.
10181 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10183 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10184 (macroexp--warn-and-return): Use it.
10186 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10188 * subr.el: Convert to lexical binding.
10189 (overriding-local-map): Make obsolete.
10190 (add-to-list): Doc fix. Add compiler macro.
10191 (read-key): Swap values of local maps.
10193 2013-06-05 Leo Liu <sdl.web@gmail.com>
10195 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10197 2013-06-04 Leo Liu <sdl.web@gmail.com>
10199 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10200 (compilation-auto-jump): Suppress the "Mark set" message to give
10201 way to exit message.
10203 2013-06-04 Alan Mackenzie <acm@muc.de>
10205 Remove faulty optimisation from indentation calculation.
10206 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10207 search limit based on 2000 characters back from indent-point.
10209 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10211 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10213 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10215 * emacs-lisp/lisp.el: Use lexical-binding.
10216 (lisp--local-variables-1, lisp--local-variables): New functions.
10217 (lisp--local-variables-completion-table): New var.
10218 (lisp-completion-at-point): Use it complete let-bound vars.
10220 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10221 eagerly (bug#14422).
10223 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10225 * autorevert.el (auto-revert-notify-enabled)
10226 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10227 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10228 (auto-revert-notify-handler): Handle also gfilenotify.
10230 * subr.el (file-notify-handle-event): New defun. Replacing ...
10231 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10234 2013-06-03 Juri Linkov <juri@jurta.org>
10236 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10237 `M-s h .'. (Bug#14427)
10239 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10240 command `hi-lock-face-symbol-at-point'.
10241 (hi-lock-face-symbol-at-point): New command.
10242 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10243 (hi-lock-menu): Add `highlight-symbol-at-point'.
10244 (hi-lock-mode): Doc fix.
10246 * isearch.el (isearch-forward-symbol-at-point): New command.
10247 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10248 (isearch-highlight-regexp): Add a regexp which matches
10249 words/symbols for word/symbol mode.
10251 * subr.el (find-tag-default-bounds): New function with the body
10252 mostly moved from `find-tag-default'.
10253 (find-tag-default): Move most code to `find-tag-default-bounds',
10254 call it and apply `buffer-substring-no-properties' afterwards.
10256 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10258 * eshell/em-term.el (eshell-term-initialize):
10259 Use `cl-intersection' rather than `intersection'.
10261 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10263 * vc/log-view.el: Doc fix.
10264 (log-view-mode-map): Copy keymap from `special-mode-map'.
10266 2013-06-02 Eric Ludlam <zappo@gnu.org>
10268 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10269 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10270 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10271 (eieio-unbound, eieio-default-superclass)
10272 (eieio--define-field-accessors, method-static, method-before)
10273 (method-primary, method-after, method-num-lists)
10274 (method-generic-before, method-generic-primary)
10275 (method-generic-after, method-num-slots)
10276 (eieio-specialized-key-to-generic-key)
10277 (eieio--check-type, class-v, class-p)
10278 (eieio-class-name, define-obsolete-function-alias)
10279 (eieio-class-parents-fast, eieio-class-children-fast)
10280 (same-class-fast-p, class-constructor, generic-p)
10281 (generic-primary-only-p, generic-primary-only-one-p)
10282 (class-option-assoc, class-option, eieio-object-p)
10283 (class-abstract-p, class-method-invocation-order)
10284 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10285 (eieio-class-un-autoload, eieio-defclass)
10286 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10287 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10288 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10289 (eieio-defgeneric-reset-generic-form)
10290 (eieio-defgeneric-form-primary-only)
10291 (eieio-defgeneric-reset-generic-form-primary-only)
10292 (eieio-defgeneric-form-primary-only-one)
10293 (eieio-defgeneric-reset-generic-form-primary-only-one)
10294 (eieio-unbind-method-implementations)
10295 (eieio--defmethod, eieio--typep)
10296 (eieio-perform-slot-validation, eieio-validate-slot-value)
10297 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10298 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10299 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10300 (eieio-slot-name-index, eieio-class-slot-name-index)
10301 (eieio-set-defaults, eieio-initarg-to-attribute)
10302 (eieio-attribute-to-initarg, eieio-c3-candidate)
10303 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10304 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10305 (eieio-class-precedence-list, eieio-generic-call-methodname)
10306 (eieio-generic-call-arglst, eieio-generic-call-key)
10307 (eieio-generic-call-next-method-list)
10308 (eieio-pre-method-execution-functions, eieio-generic-call)
10309 (eieio-generic-call-primary-only, eieiomt-method-list)
10310 (eieiomt-optimizing-obarray, eieiomt-install)
10311 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10312 (eieio-generic-form, eieio-defmethod, make-obsolete)
10313 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10314 (defclass): Remove `eval-and-compile' from macro.
10315 (call-next-method, shared-initialize): Instead of using
10316 `scoped-class' variable, use new eieio--scoped-class, and
10317 eieio--with-scoped-class.
10318 (initialize-instance): Rename local variable 'scoped-class' to
10319 'this-class' to remove ambiguitity from old global.
10321 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10323 (eieio--scoped-class-stack): New variable.
10324 (eieio--scoped-class): New fcn.
10325 (eieio--with-scoped-class): New scoping macro.
10326 (eieio-defclass): Use pushnew instead of add-to-list.
10327 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10328 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10329 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10330 `scoped-class' variable, use new eieio--scoped-class, and
10331 eieio--with-scoped-class.
10333 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10335 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10337 * eshell/esh-ext.el (eshell-external-command): Pass args to
10338 `eshell-find-interpreter'.
10339 (eshell-find-interpreter): Add new second parameter ARGS.
10341 * eshell/em-script.el (eshell-script-initialize): Add second arg
10342 to the function added as MATCH to `eshell-interpreter-alist'.
10344 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10345 the function added as MATCH to `eshell-interpreter-alist'.
10347 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10348 (eshell-visual-options): New defcustom.
10349 (eshell-escape-control-x): Adapt docstring.
10350 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10351 `eshell-visual-options' in addition to `eshell-visual-commands'.
10352 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10354 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10356 * progmodes/python.el (python-indent-block-enders): Add break,
10357 continue and raise keywords.
10359 2013-06-01 Glenn Morris <rgm@gnu.org>
10361 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10363 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10364 * progmodes/cc-cmds.el (delete-forward-p):
10365 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10366 * progmodes/cc-engine.el (buffer-syntactic-context):
10367 * progmodes/cc-fonts.el (face-property-instance):
10368 * progmodes/cc-mode.el (set-keymap-parents):
10369 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10370 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10371 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10372 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10373 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10375 * progmodes/cc-vars.el (other): Emacs has this widget since
10376 at least 21.1, so don't (re)define it.
10378 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10379 Replace the obsolete alias pcomplete-arg-quote-list.
10381 2013-06-01 Leo Liu <sdl.web@gmail.com>
10383 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10384 punctuation syntax.
10385 (inferior-octave-minimal-columns)
10386 (inferior-octave-last-column-width): New variables.
10387 (inferior-octave-track-window-width-change): New function.
10388 (inferior-octave-mode): Adjust column width so that Octave output,
10389 for example from 'ls', can fit into the window nicely.
10391 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10393 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10394 Highlight expansions inside regexp literals.
10396 2013-05-31 Glenn Morris <rgm@gnu.org>
10398 * obsolete/sym-comp.el (symbol-complete):
10399 Replace obsolete completion-annotate-function.
10401 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10403 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10405 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10406 New function, checks if point is inside a literal that allows
10407 expression expansion.
10408 (ruby-syntax-propertize-expansion): Use it.
10409 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10412 2013-05-30 Juri Linkov <juri@jurta.org>
10414 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10416 (isearch-invisible): New variable.
10417 (isearch-forward): Doc fix.
10418 (isearch-mode): Set `isearch-invisible'
10419 to the value of `search-invisible'.
10420 (isearch-toggle-case-fold): Doc fix.
10421 (isearch-toggle-invisible): New command.
10422 (isearch-query-replace): Let-bind `search-invisible'
10423 to the value of `isearch-invisible'.
10424 (isearch-search): Use `isearch-invisible' instead of
10425 `search-invisible'. Let-bind `search-invisible'
10426 to the value of `isearch-invisible'. (Bug#11378)
10428 2013-05-30 Juri Linkov <juri@jurta.org>
10430 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10431 call when `query-flag' is nil and `search-invisible' is non-nil.
10434 2013-05-30 Glenn Morris <rgm@gnu.org>
10436 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10438 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10439 (cc-require): Suppress spurious "noruntime" warnings.
10440 (cc-require-when-compile): Use fboundp, for sake of compiler.
10442 * progmodes/cc-mode.el: Move load of cc-vars before that of
10443 cc-langs (which in turn loads cc-vars), to quieten compiler.
10445 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10447 * paren.el: Simplify the code.
10448 (show-paren-mode): Always start the timer.
10449 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10450 (show-paren--overlay, show-paren--overlay-1): Rename from
10451 show-paren-overlay and show-paren-overlay-1, and initialize to an
10452 overlay rather than to nil.
10453 (show-paren-function): Misc cleanup and simplifications.
10455 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10457 * paren.el (show-paren-data-function): New hook.
10458 (show-paren--default): New function, extracted from show-paren-function.
10459 (show-paren-function): Use show-paren-data-function.
10461 2013-05-30 Glenn Morris <rgm@gnu.org>
10463 * ielm.el (ielm-map, ielm-complete-symbol):
10464 Use completion-at-point rather than obsolete functions.
10465 (inferior-emacs-lisp-mode): Doc fix.
10466 Set completion-at-point-functions, rather than
10467 comint-dynamic-complete-functions.
10469 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10470 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10471 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10473 * image.el (image-animated-p): Tweak definition.
10475 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10476 (rlogin-process-connection-type): Tweak default. Add set-after.
10477 (rlogin-host): Doc fix.
10478 (rlogin): Tweak prompt.
10479 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10481 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10482 * progmodes/tcl.el (inferior-tcl-mode-map):
10483 Use completion-at-point rather than obsolete alias.
10485 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10487 * minibuffer.el (read-file-name-completion-ignore-case):
10488 Move before completion--in-region, for eager macro expansion.
10490 2013-05-29 Juri Linkov <juri@jurta.org>
10492 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10493 for total count of matching lines. Add `global-matches' for total
10494 count of matches. Rename `matches' to `lines' for count of
10495 matching lines. Add `matches' for count of matches.
10496 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10497 to `prev-line' for line number of prev match endpt.
10498 Increment `matches' for every match. Print the number of
10499 matching lines in the header.
10500 (occur-context-lines): Rename `lines' to `curr-line'.
10501 Rename `prev-lines' to `prev-line'. (Bug#14017)
10503 2013-05-29 Juri Linkov <juri@jurta.org>
10505 * replace.el (perform-replace): Add `skip-read-only-count',
10506 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10507 Increment them for corresponding conditions and report the number
10508 of skipped occurrences in the final message. (Bug#11746)
10509 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10510 (replace-string, replace-regexp): Doc fix.
10512 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10514 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10516 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10517 prog-mode-map (bug#14504).
10519 2013-05-29 Leo Liu <sdl.web@gmail.com>
10521 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10522 (octave-help): Small simplification.
10524 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10525 off the highlight first.
10527 2013-05-29 Glenn Morris <rgm@gnu.org>
10529 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10530 Handle idlwave-last-system-routine-info-cons-cell being nil.
10532 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10533 (idlwave-write-paths): Simplify via with-temp-buffer.
10535 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10536 * emulation/cua-rect.el: Also load cua-base at run time.
10538 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10539 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10540 (cperl-imenu-on-info): Require imenu.
10542 2013-05-28 Alan Mackenzie <acm@muc.de>
10544 Handle "capitalised keywords" correctly.
10545 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10547 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10549 * eshell/em-unix.el: Add -r option to cp.
10551 2013-05-28 Glenn Morris <rgm@gnu.org>
10553 * vc/vc-arch.el (vc-exec-after): Declare.
10554 (vc-switches): Autoload.
10555 * vc/vc-bzr.el: No need to require vc when compiling.
10556 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10557 (vc-resynch-buffer, vc-dir-refresh): Declare.
10558 (vc-setup-buffer, vc-switches): Autoload.
10559 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10560 (vc-resynch-buffer): Declare.
10561 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10562 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10563 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10564 (grep-read-regexp, grep-read-files, grep-expand-template)
10565 (vc-dir-refresh): Declare.
10566 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10567 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10568 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10569 * vc/vc-mtn.el (vc-exec-after): Declare.
10570 (vc-switches): Autoload.
10571 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10572 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10573 (vc-file-tree-walk): Declare.
10574 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10575 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10576 (vc-tag-precondition, vc-rename-master): Autoload.
10577 * vc/vc-svn.el (vc-exec-after): Declare.
10578 (vc-switches, vc-setup-buffer): Autoload.
10579 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10581 (vc-resynch-buffer): Declare.
10583 * obsolete/fast-lock.el (byte-compile-warnings):
10584 Don't warn about obsolete features in this obsolete file.
10586 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10587 Move definition before use.
10589 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10590 (dun-unix-verbs): Remove dun-zippy.
10591 (dun-zippy): Remove function.
10593 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10595 2013-05-27 Juri Linkov <juri@jurta.org>
10597 * replace.el (replace-search): New function with code moved out
10598 from `perform-replace'.
10599 (replace-highlight, replace-dehighlight): Move function definitions
10600 up closer to `replace-search'. (Bug#11746)
10602 2013-05-27 Juri Linkov <juri@jurta.org>
10604 * replace.el (perform-replace): Ignore invisible matches.
10605 In addition to checking `query-replace-skip-read-only', also
10606 filter out matches by calling `run-hook-with-args-until-failure'
10607 on `isearch-filter-predicates', and also check `search-invisible'
10608 for t or call `isearch-range-invisible'.
10609 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10611 2013-05-27 Juri Linkov <juri@jurta.org>
10613 * isearch.el (isearch-filter-predicates): Rename from
10614 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10615 (isearch-message-prefix): Display text from the property
10616 `isearch-message-prefix' of the currently active filters.
10617 (isearch-search): Don't compare `isearch-filter-predicate' with
10618 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10619 on `isearch-filter-predicates'. Also check `search-invisible' for t
10620 or call `isearch-range-invisible'.
10621 (isearch-filter-visible): Make obsolete.
10622 (isearch-lazy-highlight-search):
10623 Call `run-hook-with-args-until-failure' on
10624 `isearch-filter-predicates' and use `isearch-range-invisible'.
10626 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10627 `isearch-filter-predicates' instead of `funcall'ing
10628 `isearch-filter-predicate'.
10629 (Info-mode): Set `Info-isearch-filter' to
10630 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10632 * dired-aux.el (dired-isearch-filter-predicate-orig):
10634 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10635 (dired-isearch-filenames-end): Add and remove
10636 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10637 instead of changing the value of `isearch-filter-predicate'.
10638 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10639 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10640 Put property `isearch-message-prefix' to "filename " on
10641 `dired-isearch-filter-filenames'.
10643 * wdired.el (wdired-change-to-wdired-mode):
10644 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10645 locally instead of changing `isearch-filter-predicate'.
10646 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10648 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10650 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10651 return the commit hash (Bug#14459). Also set the
10652 `vc-git-detached' property.
10653 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10654 (vc-git-mode-line-string): Use the same help-echo format whether
10655 in detached mode or not, because we know the actual revision now.
10656 When in detached mode, shorten the revision to 7 chars.
10658 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10660 * emacs-lisp/easy-mmode.el (define-minor-mode):
10661 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10662 mode hook and provide a docstring.
10664 2013-05-27 Alan Mackenzie <acm@muc.de>
10666 Remove spurious syntax-table text properties inserted by C-y.
10667 * progmodes/cc-mode.el (c-after-change): Also clear hard
10668 syntax-table property with value nil.
10670 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10672 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10673 when reading the events; the buffer layout shall not be changed.
10675 2013-05-27 Leo Liu <sdl.web@gmail.com>
10677 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10679 (inferior-octave-directory-tracker): Automatically re-sync
10681 (octave-help): Improve handling of 'See also'.
10683 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10685 * doc-view.el: Minor naming convention tweaks.
10686 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10688 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10689 even if there's no `display' property yet (bug#14435).
10691 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10693 * subr.el (unmsys--file-name): Rename from reveal-filename.
10695 * Makefile.in (custom-deps, finder-data, autoloads)
10696 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10697 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10698 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10700 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10702 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10703 error-completion on the first 2 args of condition-case (bug#14446).
10706 2013-05-25 Leo Liu <sdl.web@gmail.com>
10708 * comint.el (comint-previous-matching-input): Do not flood the
10709 *Messages* buffer with trivial messages.
10711 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10713 * progmodes/flymake.el (flymake-nop): Don't return a string.
10714 (flymake-set-at): Fix typo.
10716 * simple.el (read--expression): New function, extracted from
10717 eval-expression. Set completion-at-point-functions (bug#14465).
10718 (eval-expression, eval-minibuffer): Use it.
10720 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10722 * progmodes/flymake.el (flymake-save-buffer-in-file)
10723 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10724 (flymake-selected-frame, flymake-log, flymake-ins-after)
10725 (flymake-set-at, flymake-get-buildfile-from-cache)
10726 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10727 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10728 Refine the doc string.
10729 (flymake-get-file-name-mode-and-masks): Reformat.
10730 (flymake-get-real-file-name-function): Fix a minor bug.
10732 2013-05-24 Juri Linkov <juri@jurta.org>
10734 * progmodes/grep.el (grep-mode-font-lock-keywords):
10735 Support =linenumber= format used by git-grep for lines with
10736 function names. (Bug#13549)
10738 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10740 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10741 0 after a semi-colon; it works better for smie-auto-fill.
10742 (octave--indent-new-comment-line): New function.
10743 (octave-indent-new-comment-line): Use it (indirectly).
10744 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10745 modify comment-line-break-function.
10747 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10748 (smie-setup): Use add-function to set it.
10750 2013-05-24 Sam Steingold <sds@gnu.org>
10752 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10753 argument (before the `interactive' argument).
10755 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10757 * image-mode.el (image-mode-winprops): Add winprops to
10758 image-mode-winprops-alist before running
10759 image-mode-new-window-functions.
10760 * doc-view.el (doc-view-new-window-function): Don't delay
10761 doc-view-goto-page via timers (bug#14435).
10763 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10765 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10766 (doc-view-desktop-save-buffer): New function.
10767 (doc-view-restore-desktop-buffer): New function.
10768 (desktop-buffer-mode-handlers):
10769 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10771 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10772 `desktop-save-buffer' function.
10774 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10776 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10777 (tramp-gvfs-file-name-handler): Raise a user error when
10778 `tramp-gvfs-enabled' is nil.
10779 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10780 Do not raise a user error when loading package. (Bug#14447)
10782 * net/xesam.el: Move to obsolete/.
10784 2013-05-24 Glenn Morris <rgm@gnu.org>
10786 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10788 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10790 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10791 (Info-find-node, Man-getpage-in-background): Declare.
10793 * mail/unrmail.el (unrmail):
10794 Replace obsolete detect-coding-with-priority.
10796 * net/socks.el (socks-split-string): Use this rather than split-string.
10797 (socks-nslookup-host): Update for above change.
10798 (dynamic-choice, s5-dynamic-choice-match)
10799 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10800 Comment out unused code.
10802 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10803 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10804 (gud-tooltip-echo-area): Make obsolete.
10805 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10807 * progmodes/js.el (js--optimize-arglist): Declare.
10809 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10811 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10812 (ediff-window-C): Declare.
10814 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10815 Tweak requires to silence compiler.
10817 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10818 (he-search-string, he-tried-table, he-expand-list)
10819 (he-init-string, he-string-member, he-substitute-string)
10820 (he-reset-string): Declare.
10822 * obsolete/options.el (list-options): Use custom-variable-p,
10823 rather than obsolete alias.
10825 2013-05-23 Sam Steingold <sds@gnu.org>
10827 * simple.el (shell-command-on-region): Pass the `replace' argument
10828 down to `call-process-region' to comply with the doc as reported on
10829 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10831 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10833 * emacs-lisp/smie.el (smie-indent-forward-token)
10834 (smie-indent-backward-token): Handle string tokens (bug#14381).
10836 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10838 * ielm.el (ielm-menu): New menu.
10839 (inferior-emacs-lisp-mode): Set comment-start.
10841 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10843 * textmodes/reftex.el (reftex-ref-style-toggle):
10844 Fix deactivate action.
10846 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10847 Add cleveref macros.
10849 * textmodes/reftex-parse.el
10850 (reftex-locate-bibliography-files): Accept options for
10851 bibliography commands.
10852 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10853 Add addbibresource. Basic Biblatex support.
10855 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10857 * net/tramp-gvfs.el (top):
10858 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10859 when loading package. (Bug#14447)
10861 2013-05-23 Glenn Morris <rgm@gnu.org>
10863 * progmodes/js.el: No need to load comint when compiling.
10864 (ring-insert, comint-send-string, comint-send-input)
10865 (comint-last-input-end, ido-chop): Declare.
10867 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10868 * vc/ediff-mult.el: Adjust requires.
10869 (ediff-directories-internal, ediff-directory-revisions-internal)
10870 (ediff-patch-file-internal): Declare.
10871 * vc/ediff-ptch.el: Adjust requires.
10872 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10873 (ediff-find-file): Autoload.
10874 * vc/ediff-util.el: No need to load ediff when compiling.
10875 (ediff-regions-internal): Declare.
10876 * vc/ediff-wind.el: Adjust requires.
10877 (ediff-compute-toolbar-width): Define when compiling.
10878 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10879 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10880 (dired-get-filename, dired-get-marked-files)
10881 (ediff-last-dir-patch, ediff-patch-default-directory)
10882 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10883 (ediff-patch-buffer-internal): Declare.
10885 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10886 (ispell-process, ispell-buffer-local-words, lm-summary)
10887 (lm-section-start, lm-section-end): Declare.
10888 (checkdoc-ispell-init): Simplify.
10890 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10891 (he-string-member, he-reset-string, he-substitute-string): Declare.
10893 * eshell/em-ls.el: Adjust requires.
10894 (eshell-glob-regexp): Declare.
10895 * eshell/em-tramp.el: Adjust requires.
10896 (eshell-parse-command): Autoload.
10897 * eshell/em-xtra.el: Adjust requires.
10898 (eshell-parse-command): Autoload.
10899 * eshell/esh-ext.el: Adjust requires.
10900 (eshell-parse-command, eshell-close-handles): Autoload.
10901 * eshell/esh-io.el: Adjust requires.
10902 (eshell-output-filter): Autoload.
10903 * eshell/esh-util.el: No need to load tramp when compiling.
10904 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10906 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10907 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10908 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10909 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10910 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10911 * eshell/esh-opt.el, eshell/esh-proc.el:
10912 * eshell/esh-var.el: Adjust requires.
10913 * eshell/eshell.el: Do not require esh-util twice.
10914 (eshell-add-input-to-history): Declare.
10915 (eshell-command): Check history module is active before using it.
10917 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10919 2013-05-22 Leo Liu <sdl.web@gmail.com>
10921 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10923 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10925 * autorevert.el (auto-revert-notify-add-watch)
10926 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10927 it indicates changes in file modification time.
10929 2013-05-22 Glenn Morris <rgm@gnu.org>
10931 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10932 Always delete the autoloaded function from the noruntime and
10933 unresolved functions lists.
10935 * allout.el: No need to load epa, epg, overlay when compiling.
10936 (epg-context-set-passphrase-callback, epg-list-keys)
10937 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10938 (epg-key-user-id-list): Declare.
10940 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10941 (viper-set-parsing-style-toggling-macro)
10942 (viper-set-emacs-state-searchstyle-macros):
10943 Use called-interactively-p on Emacs.
10944 (viper-looking-back): Make it an obsolete alias. Update callers.
10945 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10946 Use looking-back rather than viper-looking-back.
10947 (viper-tmp-insert-at-eob, viper-enlarge-region)
10948 (viper-read-string-with-history, viper-register-to-point)
10949 (viper-append-to-register, viper-change-state-to-vi)
10950 (viper-backward-char-carefully, viper-forward-char-carefully)
10951 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10952 (viper-change-state-to-emacs): Declare.
10953 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10954 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10955 * emulation/viper-mous.el: Do not load viper-cmd.
10956 (viper-backward-char-carefully, viper-forward-char-carefully)
10957 (viper-forward-word, viper-adjust-window): Declare.
10959 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10961 * progmodes/idlw-help.el (idlwave-help-fontify):
10962 Use called-interactively-p.
10964 * term/w32console.el (w32-get-console-codepage)
10965 (w32-get-console-output-codepage): Declare.
10967 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10968 Remove unnecessary declarations.
10969 (dframe-message): Doc fix.
10971 * info.el (dframe-select-attached-frame, dframe-current-frame):
10974 * speedbar.el (speedbar-message): Make it an obsolete alias.
10975 Update all callers.
10976 (speedbar-with-attached-buffer)
10977 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10978 (speedbar-with-writable): Use backquote.
10979 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10980 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10981 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10982 rather than speedbar- aliases.
10983 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10984 (speedbar-make-specialized-keymap, speedbar-insert-button)
10985 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10986 (speedbar-do-function-pointer): Declare.
10987 (rmail-speedbar-button, rmail-speedbar-find-file)
10988 (rmail-speedbar-move-message):
10989 Use dframe-with-attached-buffer rather than speedbar- alias.
10990 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10991 (dframe-message, speedbar-make-specialized-keymap)
10992 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10993 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10994 (speedbar-insert-button, dframe-select-attached-frame)
10995 (dframe-maybee-jump-to-attached-frame)
10996 (speedbar-change-initial-expansion-list)
10997 (speedbar-previously-used-expansion-list-name): Declare.
10998 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10999 Use dframe-message, dframe-with-attached-buffer rather than
11001 (gud-sentinel): Silence compiler.
11002 * progmodes/vhdl-mode.el (speedbar-refresh)
11003 (speedbar-do-function-pointer, speedbar-add-supported-extension)
11004 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
11005 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
11006 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
11007 (speedbar-file-lists, speedbar-make-tag-line)
11008 (speedbar-line-directory, speedbar-goto-this-file)
11009 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
11010 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
11011 (speedbar-make-button, speedbar-reset-scanners)
11012 (speedbar-files-item-info, speedbar-line-text)
11013 (speedbar-find-file-in-frame, speedbar-set-timer)
11014 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
11015 (speedbar-with-writable): Do not (re)define it.
11016 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
11017 rather than speedbar- alias.
11019 2013-05-21 Leo Liu <sdl.web@gmail.com>
11021 * progmodes/octave.el (octave-mode-menu): Update and re-organize
11023 (octave-mode): Tweak fill-nobreak-predicate.
11024 (inferior-octave-startup): Check process to avoid infinite loop.
11025 (inferior-octave): Pop to buffer first to show abornmal process
11028 2013-05-21 Glenn Morris <rgm@gnu.org>
11030 * printing.el (pr-menu-bar): Define when compiling.
11032 2013-05-21 Leo Liu <sdl.web@gmail.com>
11034 * progmodes/octave.el (octave-auto-fill): Remove.
11035 (octave-indent-new-comment-line): Improve.
11036 (octave-mode): Use auto fill mode through
11037 comment-line-break-function and fill-nobreak-predicate.
11038 (octave-goto-function-definition): Support DEFUN_DLD.
11039 (octave-beginning-of-defun): Small tweak.
11040 (octave-help): Show parent directory.
11042 2013-05-21 Glenn Morris <rgm@gnu.org>
11044 * files.el (dired-unmark):
11045 * progmodes/gud.el (gdb-input): Update declarations.
11047 * calculator.el (electric, ehelp): No need to load when compiling.
11048 (Electric-command-loop, electric-describe-mode): Declare.
11050 * doc-view.el (doc-view-current-converter-processes): Move before use.
11052 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11053 Move MODE-set-explicitly definition before use.
11055 * international/mule-diag.el (mule-diag):
11056 Don't use obsolete window-system-version.
11058 * mail/feedmail.el (smtpmail): No need to load when compiling.
11059 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11061 * mail/mail-utils.el (rfc822): No need to load when compiling.
11062 (rfc822-addresses): Autoload it.
11063 (mail-strip-quoted-names): Trivial simplification.
11065 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11066 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11068 * net/snmp-mode.el (tempo): Don't duplicate requires.
11070 * progmodes/prolog.el (info): No need to load when compiling.
11071 (comint): Require before shell requires it.
11072 (Info-goto-node): Autoload it.
11073 (Info-follow-nearest-node): Declare.
11074 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11076 * textmodes/artist.el (picture-mode-exit): Declare.
11078 * textmodes/reftex-parse.el (reftex-parse-from-file):
11079 Trivial rewrite so the compiler can parse it better.
11081 2013-05-20 Leo Liu <sdl.web@gmail.com>
11083 * progmodes/octave.el (octave-help-mode-map)
11084 (octave-help-mode-finish-hook): New variables.
11085 (octave-help-mode, octave-help-mode-finish): New functions.
11086 (octave-help): Use octave-help-mode.
11088 2013-05-20 Glenn Morris <rgm@gnu.org>
11090 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11092 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11094 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11095 start at point, so that expansion starting right after opening
11096 slash in a regexp is recognized.
11097 (ruby-syntax-before-regexp-re): New defvar, extracted from
11098 ruby-syntax-propertize-function. Since the value of this regexp
11099 is looked up at runtime now, we should be able to turn
11100 `ruby-syntax-methods-before-regexp' into a defcustom later.
11101 (ruby-syntax-propertize-function): Split regexp matching into two
11102 parts, for opening and closing slashes. That allows us to skip
11103 over string interpolations and support multiline regexps.
11104 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11105 for them, which calls `ruby-syntax-propertize-expansion'.
11106 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11107 call to `ruby-syntax-propertize-function'.
11108 (ruby-syntax-propertize-expansion): Extracted from
11109 `ruby-syntax-propertize-expansions'. Handles one expansion.
11110 (ruby-syntax-propertize-percent-literal): Leave point right after
11111 the percent symbol, so that the expression expansion rule can
11112 propertize the contents.
11113 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11115 (ruby-syntax-propertize-expansions): Remove.
11117 2013-05-18 Juri Linkov <juri@jurta.org>
11119 * man.el (Man-default-man-entry): Remove `-' from the end
11120 of the default value. (Bug#14400)
11122 2013-05-18 Glenn Morris <rgm@gnu.org>
11124 * comint.el (comint-password-prompt-regexp):
11125 Allow "password for XXX" where XXX contains colons (eg https://...).
11127 2013-05-18 Leo Liu <sdl.web@gmail.com>
11129 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11130 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11131 (octave-source-directories): Don't check process.
11132 (octave-source-directories, octave-find-definition): Doc fix.
11134 2013-05-18 Glenn Morris <rgm@gnu.org>
11136 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11137 Remove backspace/delete bindings. (Bug#14392)
11139 * cus-dep.el (custom-make-dependencies): Sort the output.
11140 (custom-versions-load-alist): Convert comment to doc.
11142 2013-05-17 Leo Liu <sdl.web@gmail.com>
11144 * newcomment.el (comment-search-backward): Stricter in finding
11145 comment start. (Bug#14303)
11147 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11148 (octave-comment-start-skip): Properly anchored.
11150 2013-05-17 Leo Liu <sdl.web@gmail.com>
11152 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11153 Clean up when turned off. (Bug#14395)
11154 (smie--highlight-matching-block-overlay): No longer buffer-local.
11155 (smie-highlight-matching-block): Adjust.
11157 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11159 Doc string fix for "nanoseconds" (Bug#14406).
11160 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11161 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11163 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11165 * calc/calc-units.el (math-extract-units): Preserve powers
11168 2013-05-17 Leo Liu <sdl.web@gmail.com>
11170 * subr.el (delete-consecutive-dups): New function.
11171 * ido.el (ido-set-matches-1): Use it.
11172 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11173 * ido.el (ido-remove-consecutive-dups): Remove.
11175 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11177 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11178 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11179 regexp-opt's `words'.
11181 2013-05-16 Leo Liu <sdl.web@gmail.com>
11183 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11184 (smie--highlight-matching-block-overlay)
11185 (smie--highlight-matching-block-lastpos)
11186 (smie--highlight-matching-block-timer): New variables.
11187 (smie-highlight-matching-block): New function.
11188 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11189 (smie-setup): Conditionally enable smie-blink-matching-open.
11191 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11193 Sync with upstream verilog-mode r840.
11194 * progmodes/verilog-mode.el (verilog-mode-version)
11195 (verilog-mode-release-date): Update.
11196 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11197 (verilog-sig-tieoff): Fix string error on
11198 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11199 (verilog-read-decls): Fix parameters confusing
11200 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11202 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11204 * subr.el (reveal-filename): New function.
11206 * loadup.el: Compute Emacs executable versions on MS-Windows,
11207 where executables have the .exe extension. Add a hard link
11208 emacs-XX.YY.ZZ.exe on MS-Windows.
11210 * Makefile.in (XARGS_LIMIT): New variable.
11211 (custom-deps, finder-data, autoloads)
11212 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11213 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11214 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11215 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11217 2013-05-16 Leo Liu <sdl.web@gmail.com>
11219 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11220 (octave-mode-menu, octave-mode-map): Remove its uses.
11222 2013-05-16 Reto Zimmermann <reto@gnu.org>
11224 Sync with upstream vhdl mode v3.34.2.
11225 * progmodes/vhdl-mode.el: Use `push' throughout.
11226 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11227 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11228 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11229 (vhdl-actual-generic-name): New option to derive actual generic name.
11230 (vhdl-port-paste-signals): Replace formal by actual generics.
11231 (vhdl-beautify): New name for old group vhdl-align. Update users.
11232 (vhdl-beautify-options): New option.
11233 (vhdl-last-input-event): New compat alias. Use throughout.
11234 (vhdl-goto-line): Replace user level function `goto-line'.
11235 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11236 vhdl-fix-statement-buffer.
11237 (vhdl-create-mode-menu): Add some entries.
11238 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11239 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11240 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11241 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11242 to force statements on one line.
11243 (vhdl-remove-trailing-spaces-region):
11244 New, split from vhdl-remove-trailing-spaces.
11245 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11246 Respect vhdl-beautify-options.
11247 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11248 (vhdl-update-sensitivity-list): Not add with index if exists without.
11249 Not include array index with signal. Ignore keywords in comments.
11250 (vhdl-get-visible-signals): Regexp tweaks.
11251 (vhdl-template-component-inst): Handle empty library.
11252 (vhdl-template-type): Add template for 'enum' type.
11253 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11254 Use vhdl-replace-string.
11255 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11256 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11257 (vhdl-speedbar-initialize): Update for above name change.
11258 (vhdl-compose-wire-components): Fix in handling of constants.
11259 (vhdl-error-regexp-emacs-alist): New variable.
11260 (vhdl-error-regexp-add-emacs): New function;
11261 adds support for new compile.el (Emacs 22+)
11262 (vhdl-generate-makefile-1): Change target order for single lib. units.
11263 Allow use of absolute file names.
11265 2013-05-16 Leo Liu <sdl.web@gmail.com>
11267 * simple.el (prog-indent-sexp): Indent enclosing defun.
11269 2013-05-15 Glenn Morris <rgm@gnu.org>
11271 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11272 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11273 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11274 (whitespace-highlight): Move to whitespace group.
11276 * comint.el (comint-source):
11277 * pcmpl-linux.el (pcmpl-linux):
11278 * shell.el (shell-faces):
11279 * eshell/esh-opt.el (eshell-opt):
11280 * international/ccl.el (ccl): Remove empty custom groups.
11282 * completion.el (dynamic-completion-mode):
11283 * jit-lock.el (jit-lock-debug-mode):
11284 * minibuffer.el (completion-in-region-mode):
11285 * type-break.el (type-break-mode-line-message-mode)
11286 (type-break-query-mode):
11287 * emulation/tpu-edt.el (tpu-edt-mode):
11288 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11289 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11290 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11292 * term/xterm.el (xterm): Change parent group to terminals.
11294 * master.el (master): Remove empty custom group.
11295 (master-mode): Remove unused :group argument.
11296 * textmodes/refill.el (refill): Remove empty custom group.
11297 (refill-mode): Remove unused :group argument.
11299 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11301 * cus-dep.el: Provide a feature.
11302 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11303 Don't mistakenly ignore files whose basenames match a basename
11304 from preloaded-file-list (eg cedet/ede/simple.el).
11305 Add a fallback method for getting :group.
11307 2013-05-15 Juri Linkov <juri@jurta.org>
11309 * isearch.el (isearch-char-by-name): Rename from
11310 `isearch-insert-char-by-name'. Doc fix.
11311 (isearch-forward): Mention `isearch-char-by-name' in
11312 the docstring. (Bug#13348)
11314 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11315 `exit-minibuffer' instead of
11316 `isearch-nonincremental-exit-minibuffer'.
11317 (isearch-edit-string): Remove mention of
11318 `isearch-nonincremental-exit-minibuffer' from docstring.
11319 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11320 (isearch-forward-exit-minibuffer)
11321 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11323 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11325 * loadup.el: Just use unversioned DOC.
11327 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11328 literals as extending to EOB.
11329 (nxml-last-fontify-end): Remove unused variable.
11330 (nxml-after-change1): Use with-silent-modifications.
11331 (nxml-extend-after-change-region): Simplify.
11332 (nxml-extend-after-change-region1): Remove function.
11333 (nxml-after-change1): Don't adjust for dependent regions.
11334 (nxml-fontify-matcher): Simplify.
11335 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11336 (xmltok-add-dependent): Remove function.
11337 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11338 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11339 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11340 unclosed <[[, <?, comment, and other literals as extending to EOB.
11341 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11342 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11344 (rng-do-some-validation-1): Don't mark dependent regions.
11345 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11346 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11347 (nxml-clear-dependent-regions): Remove functions.
11348 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11349 (nxml-ensure-scan-up-to-date):
11350 Don't clear&mark dependent regions.
11352 2013-05-15 Leo Liu <sdl.web@gmail.com>
11354 * progmodes/octave.el (octave-goto-function-definition):
11355 Improve and fix callers.
11357 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11359 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11360 the setter (bug#14387).
11362 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11363 surrounding group (bug#14402).
11365 2013-05-14 Juri Linkov <juri@jurta.org>
11367 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11370 2013-05-14 Glenn Morris <rgm@gnu.org>
11372 * progmodes/f90.el (f90-imenu-generic-expression):
11373 Fix typo in 2013-05-08 change. (Bug#14402)
11375 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11377 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11378 Remove signals for which replies are never received.
11380 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11382 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11383 (gdb-handler-alist, gdb-handler-number): Remove variables.
11384 (gdb-handler-list): New variable.
11385 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11386 (gdb-pending-handler-p, gdb-handle-reply)
11387 (gdb-remove-all-pending-triggers): New functions.
11388 (gdb-discard-unordered-replies): New defcustom.
11389 (gdb-handler): New defstruct.
11390 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11391 instead of gdb-pending-triggers. Update docstring.
11392 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11393 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11394 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11395 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11396 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11397 (gdb-frame-handler): Pending triggers are now automatically managed.
11398 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11400 (gdb-input): Automatically handles pending triggers. Update docstring.
11401 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11402 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11404 (gdb-done-or-error): Now use gdb-handle-reply.
11406 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11408 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11411 2013-05-14 Glenn Morris <rgm@gnu.org>
11413 * subr.el (user-emacs-directory-warning): New option.
11414 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11416 2013-05-14 Leo Liu <sdl.web@gmail.com>
11418 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11420 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11421 (octave-font-lock-texinfo-comment): Fix invalid search bound
11422 error: wrong side of point.
11424 2013-05-14 Glenn Morris <rgm@gnu.org>
11426 * progmodes/flymake.el (flymake-xml-program): New option.
11427 (flymake-xml-init): Use it.
11429 * term/xterm.el: Provide a feature.
11431 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11433 2013-05-13 Glenn Morris <rgm@gnu.org>
11435 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11436 Add compat aliases as a hack workaround. (Bug#14384)
11438 2013-05-13 Leo Liu <sdl.web@gmail.com>
11440 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11442 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11444 (octave-comment-start-skip): Include %!.
11445 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11447 2013-05-12 Leo Liu <sdl.web@gmail.com>
11449 * progmodes/octave.el (inferior-octave-startup): Store the value
11450 of __octave_srcdir__ for octave-source-directories.
11451 (inferior-octave-check-process): New function refactored out of
11452 inferior-octave-send-list-and-digest.
11453 (octave-source-directories)
11454 (octave-find-definition-filename-function): New variables.
11455 (octave-source-directories)
11456 (octave-find-definition-default-filename): New functions.
11457 (octave-find-definition): Improve to find functions implemented in C++.
11459 2013-05-12 Glenn Morris <rgm@gnu.org>
11461 * calendar/diary-lib.el (diary-outlook-format-1):
11462 Don't include dayname in the output. (Bug#14349)
11464 2013-05-11 Glenn Morris <rgm@gnu.org>
11466 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11468 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11469 Treat cc-provide like provide.
11471 2013-05-11 Kevin Ryde <user42@zip.com.au>
11473 * cus-dep.el (custom-make-dependencies):
11474 Use generated-autoload-load-name for the sake of files such
11475 such cedet/semantic/bovine/c.el, where the base file name
11476 is not in load-path. (Bug#5277)
11478 2013-05-11 Glenn Morris <rgm@gnu.org>
11480 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11483 2013-05-11 Leo Liu <sdl.web@gmail.com>
11485 * progmodes/octave.el (octave-indent-comment): Improve.
11486 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11487 (octave-eldoc-function-signatures, octave-eldoc-function):
11489 (octave-mode, inferior-octave-mode): Add eldoc support.
11491 2013-05-11 Richard Stallman <rms@gnu.org>
11493 * epa.el (epa-decrypt-file): Take output file name as argument
11494 and read it using `interactive'.
11496 2013-05-11 Leo Liu <sdl.web@gmail.com>
11498 * progmodes/octave.el (octave-beginning-of-line)
11499 (octave-end-of-line): Check before using up-list because it jumps
11500 out of more syntactic contructs since moving to smie.
11501 (octave-indent-comment): New function.
11502 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11503 (octave-begin-keywords, octave-end-keywords)
11504 (octave-reserved-words, octave-smie-bnf-table)
11505 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11507 2013-05-11 Glenn Morris <rgm@gnu.org>
11509 * faces.el (internal-face-x-get-resource):
11510 * frame.el (ns-display-monitor-attributes-list):
11511 * calc/calc-aent.el (math-to-radians-2):
11512 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11515 * calc/calc-menu.el: Make it loadable in isolation.
11517 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11518 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11519 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11520 (eudc-bbdb-query-internal): Require 'bbdb.
11522 * lpr.el (lpr-headers-switches):
11523 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11525 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11527 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11529 * term.el (term-set-escape-char): Make it idempotent.
11531 2013-05-10 Leo Liu <sdl.web@gmail.com>
11533 * progmodes/octave.el (inferior-octave-completion-table):
11534 No longer a function and all uses changed. Use cache to speed up
11535 completion due to bug#11906.
11536 (octave-beginning-of-defun): Re-write to be more general.
11538 2013-05-10 Glenn Morris <rgm@gnu.org>
11540 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11542 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11544 * comint.el (comint-redirect-send-command-to-process): Use :around
11545 rather than :override for comint-redirect-filter.
11546 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11547 Call it instead of comint-redirect-original-filter-function (which
11548 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11550 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11552 * frame.el (display-monitor-attributes-list): Add NS case.
11553 (ns-display-monitor-attributes-list): Declare.
11555 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11557 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11559 2013-05-09 Glenn Morris <rgm@gnu.org>
11561 * international/fontset.el (vertical-centering-font-regexp):
11562 Set standard-value.
11564 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11566 * bookmark.el (bookmark-search-delay):
11567 * cus-start.el (vertical-centering-font-regexp):
11568 * ps-mule.el (ps-mule-font-info-database-default):
11569 * ps-print.el (ps-default-fg, ps-default-bg):
11570 * type-break.el (type-break-good-break-interval):
11571 * whitespace.el (whitespace-indentation-regexp)
11572 (whitespace-space-after-tab-regexp):
11573 * emacs-lisp/testcover.el (testcover-1value-functions)
11574 (testcover-noreturn-functions, testcover-progn-functions)
11575 (testcover-prog1-functions):
11576 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11577 * eshell/em-glob.el (eshell-glob-translate-alist):
11578 * play/tetris.el (tetris-tty-colors):
11579 * progmodes/cpp.el (cpp-face-default-list):
11580 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11581 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11582 (idlwave-help-browser-generic-args):
11583 * progmodes/make-mode.el (makefile-special-targets-list):
11584 * progmodes/python.el (python-shell-virtualenv-path):
11585 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11586 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11587 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11588 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11589 * textmodes/reftex-vars.el (reftex-format-label-function):
11590 * textmodes/remember.el (remember-diary-file): Fix custom types.
11592 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11595 2013-05-09 Leo Liu <sdl.web@gmail.com>
11597 * progmodes/octave.el (inferior-octave-completion-at-point):
11598 Restore file completion. (Bug#14300)
11599 (inferior-octave-startup): Fix incorrect highlighting for the
11602 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11604 * progmodes/ruby-mode.el: First cut at SMIE support.
11605 (ruby-use-smie): New var.
11606 (ruby-smie-grammar): New constant.
11607 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11608 (ruby-smie--forward-token, ruby-smie--backward-token)
11609 (ruby-smie-rules): New functions.
11610 (ruby-mode-variables): Setup SMIE if applicable.
11612 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11614 * simple.el (line-move-visual): Signal beginning/end of buffer
11615 only if vertical-motion moved less than it was requested. Avoids
11616 silly incorrect error messages when there are display strings with
11617 multiple newlines at EOL.
11619 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11621 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11622 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11623 (prolog-char-quote-workaround):
11624 * progmodes/cperl-mode.el (cperl-under-as-char):
11625 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11627 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11629 (vhdl-mode-syntax-table-init): Remove.
11631 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11634 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11636 (ld-script-font-lock-keywords):
11637 Change regexps to use things like \_< and \_>.
11639 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11640 Change all regexps to use things like \_< and \_>.
11642 * progmodes/autoconf.el (autoconf-definition-regexp)
11643 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11644 Handle a _ with symbol syntax.
11645 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11647 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11648 Consolidate declaration.
11649 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11651 (ada-create-syntax-table): Remove.
11652 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11653 already has the right syntax nowadays.
11654 (ada-goto-next-word): Don't change the syntax of "_".
11656 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11659 2013-05-08 Sam Steingold <sds@gnu.org>
11661 * thingatpt.el (thing-at-point): Accept optional second argument
11662 NO-PROPERTIES to strip the text properties from the return value.
11663 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11664 to `thing-at-point' instead of stripping the properties ourselves.
11665 Also, when `thing-at-point' fails to find a url, prepend "http://"
11666 to the filename at point on the assumption that the user is
11667 pointing at something like gnu.org/gnu.
11669 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11671 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11672 * faces.el (crm-separator):
11673 Silence byte-compiler.
11675 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11676 (tool-bar-map): Remove unneeded defvars.
11678 2013-05-08 Leo Liu <sdl.web@gmail.com>
11680 Re-work a fix for bug#10994 based on Le Wang's patch.
11681 * ido.el (ido-remove-consecutive-dups): New helper.
11682 (ido-completing-read): Use it.
11683 (ido-chop): Revert fix for bug#10994.
11685 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11687 * cus-edit.el (custom-save-variables):
11688 Pretty-print long values. (Bug#14187)
11690 2013-05-08 Glenn Morris <rgm@gnu.org>
11692 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11693 (m4-mode-syntax-table): Init in the defvar.
11694 (m4-mode-abbrev-table): Let define-derived-mode define it.
11696 2013-05-08 Tom Tromey <tromey@redhat.com>
11698 * progmodes/m4-mode.el (m4-mode-syntax-table):
11699 Do not treat "_" as word constituent. (Bug#14167)
11701 2013-05-07 Glenn Morris <rgm@gnu.org>
11703 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11704 Remove explicit eshell-isearch-cancel-map.
11706 * progmodes/f90.el (f90-smart-end-names): New option.
11707 (f90-smart-end): Doc fix.
11708 (f90-end-block-optional-name): New constant.
11709 (f90-block-match): Respect f90-smart-end-names.
11711 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11713 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11714 about implicit semi-colons (bug#14218).
11716 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11718 * frame.el (display-monitor-attributes-list)
11719 (frame-monitor-attributes): New functions.
11721 2013-05-06 Leo Liu <sdl.web@gmail.com>
11723 * progmodes/octave.el (octave-syntax-propertize-function): Change
11724 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11725 (octave-font-lock-keywords): Use octave-operator-regexp.
11726 (octave-completion-at-point): Rename from
11727 octave-completion-at-point-function.
11728 (inferior-octave-directory-tracker): Robustify.
11729 (octave-text-functions): Remove and fix its uses. No such things
11732 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11734 * emacs-lisp/trace.el (trace--display-buffer): New function.
11735 (trace-make-advice): Use it.
11737 2013-05-06 Juri Linkov <juri@jurta.org>
11739 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11740 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11742 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11743 in the help string. (Bug#12985)
11745 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11747 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11749 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11751 * progmodes/perl-mode.el: Add support for here documents.
11752 (perl-syntax-propertize-function): Match here-doc markers.
11753 (perl-syntax-propertize-special-constructs): Find their end.
11754 (perl-imenu-generic-expression): Use [:alnum:].
11756 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11757 (advice--add-function): Refresh the advice if already present
11760 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11762 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11764 2013-05-06 Glenn Morris <rgm@gnu.org>
11766 * w32-fns.el (w32-charset-info-alist): Declare.
11768 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11769 of its defcustom properties.
11770 (eshell-cmpl-initialize): No need to load pcomplete.
11772 * generic-x.el: No need to require comint when compiling.
11774 * net/eudc-export.el: Make it loadable without bbdb.
11775 (top-level): Use require rather than load-library.
11776 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11777 (eudc-batch-export-records-to-bbdb)
11778 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11781 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11783 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11784 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11785 some tweaks, instead.
11787 2013-05-05 Leo Liu <sdl.web@gmail.com>
11789 * progmodes/octave.el (octave-font-lock-keywords)
11790 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11791 (inferior-octave-send-list-and-digest): Improve error message.
11792 (octave-mode, inferior-octave-mode): Use setq-local.
11793 (octave-help): Set info-lookup-mode.
11795 2013-05-05 Richard Stallman <rms@gnu.org>
11797 * vc/compare-w.el (compare-windows-whitespace):
11798 Treat no-break space as whitespace.
11800 * mail/rmailsum.el (rmail-summary-rmail-update):
11801 Detect empty summary and don't change selected message.
11802 (rmail-summary-goto-msg): Likewise.
11804 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11805 Doc fixes, rename args.
11807 2013-05-05 Alan Mackenzie <acm@muc.de>
11809 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11811 2013-05-05 Juri Linkov <juri@jurta.org>
11813 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11814 to not add the length of the summary segment to the return value.
11817 2013-05-05 Leo Liu <sdl.web@gmail.com>
11819 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11820 (inferior-octave-output-filter): Remove.
11821 (octave-send-region, inferior-octave-startup): Fix callers.
11822 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11823 (octave-binary-file-extensions): New user variable.
11824 (octave-find-definition): Confirm if opening binary files.
11825 (octave-help-file): Use octave-find-definition to get the binary
11827 (octave-help): Adjust for octave-help-file change.
11829 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11831 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11832 Merge the two entries that handle function definitions.
11833 (pascal--syntax-propertize): New const.
11834 (pascal-mode): Use it. Use setq-local.
11836 2013-05-04 Glenn Morris <rgm@gnu.org>
11838 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11839 (diary-from-outlook): Respect diary-from-outlook-function.
11841 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11843 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11844 Move the declaration from C.
11845 (read-minibuffer, eval-minibuffer): Move from C.
11846 (completion-setup-function): Avoid minibuffer-completion-contents.
11848 2013-05-03 Leo Liu <sdl.web@gmail.com>
11850 * progmodes/octave.el (octave-font-lock-keywords): Do not
11851 dehighlight 'end' in comments or strings.
11852 (octave-completing-read, octave-goto-function-definition):
11854 (octave-help-buffer): New user variable.
11855 (octave-help-file, octave-help-function): New button types.
11856 (octave-help): New command and bind it to C-h ;.
11857 (octave-find-definition): New command and bind it to M-.
11858 (user-error): Alias to error if not defined.
11860 2013-05-02 Leo Liu <sdl.web@gmail.com>
11862 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11864 (octave-font-lock-keywords): Include [ and {.
11866 2013-05-02 Leo Liu <sdl.web@gmail.com>
11868 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11869 (inferior-octave): Remove calling comint-mode and return the buffer.
11870 (inferior-octave-startup): Cosmetic changes.
11872 2013-05-02 Leo Liu <sdl.web@gmail.com>
11874 * progmodes/octave.el (octave-syntax-propertize-function):
11875 Include the case when ' is at line beginning. (Bug#14336)
11877 2013-05-02 Glenn Morris <rgm@gnu.org>
11879 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11880 * desktop.el (vc-dir-mode): Just autoload it here.
11882 2013-05-02 Alan Mackenzie <acm@muc.de>
11884 Eliminate variable c-standard-font-lock-fontify-region-function.
11885 * progmodes/cc-mode.el
11886 (c-standard-font-lock-fontify-region-function): Remove.
11887 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11889 2013-05-01 Leo Liu <sdl.web@gmail.com>
11891 * progmodes/octave.el: Compatible with older emacs-24 releases.
11892 (inferior-octave-has-built-in-variables): Remove. Built-in
11893 variables were removed from Octave in 2007.
11894 (inferior-octave-startup): Fix uses.
11895 (comint-line-beginning-position): Remove compatibility code for
11898 2013-05-01 Juri Linkov <juri@jurta.org>
11900 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11902 2013-05-01 Juri Linkov <juri@jurta.org>
11904 * comint.el (comint-previous-matching-input): Don't print message
11905 "History item: %d" when `isearch-mode' is active.
11906 (comint-history-isearch-message): Print message "History item: %d"
11907 when `comint-input-ring-index' is not empty and this function is
11908 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11910 2013-05-01 Leo Liu <sdl.web@gmail.com>
11912 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11913 definitions. Use completion-at-point to insert keywords.
11914 (octave-abbrev-start): Remove.
11915 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11917 2013-04-30 Leo Liu <sdl.web@gmail.com>
11919 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11922 2013-04-30 Alan Mackenzie <acm@muc.de>
11924 Handle arbitrarily long C++ member initialisation lists.
11925 * progmodes/cc-engine.el (c-back-over-member-initializers):
11927 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11928 (most) member init lists.
11930 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11932 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11935 2013-04-30 Leo Liu <sdl.web@gmail.com>
11937 * progmodes/octave.el (octave-variables): Remove. No builtin
11938 variables any more. All converted to functions.
11939 (octave-font-lock-keywords, octave-completion-at-point-function):
11941 (octave-font-lock-texinfo-comment): New user variable.
11942 (octave-texinfo-font-lock-keywords): New variable for texinfo
11944 (octave-function-comment-block): New face.
11945 (octave-font-lock-texinfo-comment): New function.
11946 (octave-mode): Font lock texinfo comment block.
11948 2013-04-29 Leo Liu <sdl.web@gmail.com>
11950 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11951 indexing expression.
11952 (octave-continuation-string): Do not use \.
11953 (inferior-octave-complete-impossible): Remove.
11954 (inferior-octave-completion-table)
11955 (inferior-octave-completion-at-point): Remove its uses.
11956 (inferior-octave-startup): completion_matches was introduced to
11957 Octave in 1996 so safe to assume it.
11958 (octave-function-file-comment): Improve to follow how Octave does it.
11959 (octave-update-function-file-comment): Tweak.
11961 2013-04-29 Leo Liu <sdl.web@gmail.com>
11963 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11964 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11965 (octave-function-file-comment): Fix typo.
11966 (octave-sync-function-file-names): Use read-char-choice.
11968 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11970 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11971 to t for the less important warnings.
11973 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11975 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11977 2013-04-27 Glenn Morris <rgm@gnu.org>
11979 * vc/log-view.el (log-view-current-entry):
11980 Treat "---" separator lines as part of the following rev. (Bug#14169)
11982 2013-04-27 Juri Linkov <juri@jurta.org>
11984 * subr.el (read-number): Doc fix about using it by interactive
11985 code letter `n'. (Bug#14254)
11987 2013-04-27 Juri Linkov <juri@jurta.org>
11989 * desktop.el (desktop-auto-save-timeout): New option.
11990 (desktop-file-checksum): New variable.
11991 (desktop-save): Add optional arg `auto-save' and don't auto-save
11992 if nothing changed.
11993 (desktop-auto-save-timer): New variable.
11994 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11995 (after-init-hook): Call `desktop-auto-save-set-timer'.
11996 Suggested by Reuben Thomas <rrt@sc3d.org> in
11997 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11999 2013-04-27 Leo Liu <sdl.web@gmail.com>
12001 * progmodes/octave.el (octave-function-file-p)
12002 (octave-skip-comment-forward, octave-function-file-comment)
12003 (octave-update-function-file-comment): New functions.
12004 (octave-mode-map): Bind C-c ; to
12005 octave-update-function-file-comment.
12006 (octave-mode-menu): Add octave-update-function-file-comment.
12007 (octave-mode, inferior-octave-mode): Fix doc-string.
12008 (octave-insert-defun): Conform to Octave's coding convention.
12011 * files.el (basic-save-buffer): Don't let errors in
12012 before-save-hook prevent saving buffer.
12014 2013-04-20 Roland Winkler <winkler@gnu.org>
12016 * faces.el (read-face-name): Use completing-read if arg multiple
12019 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
12021 * ls-lisp.el (ls-lisp-insert-directory): If no files are
12022 displayed, move point to after the totals line.
12023 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
12026 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
12028 * emacs-lisp/package.el (package-autoload-ensure-default-file):
12029 Add current dir to the load-path.
12030 (package-generate-autoloads): Don't rely on
12031 autoload-ensure-default-file.
12033 2013-04-26 Reuben Thomas <rrt@sc3d.org>
12035 * textmodes/remember.el (remember-store-in-files): Document that
12036 the file name format is passed to `format-time-string'.
12038 2013-04-26 Leo Liu <sdl.web@gmail.com>
12040 * progmodes/octave.el (octave-sync-function-file-names): New function.
12041 (octave-mode): Use it in before-save-hook.
12043 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
12045 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
12048 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12049 \n and comment, even if it's not an implicit ; (bug#14218).
12051 2013-04-26 Glenn Morris <rgm@gnu.org>
12053 * subr.el (read-number): Once more use `read' rather than
12054 `string-to-number', to trap non-numeric input. (Bug#14254)
12056 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12058 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12059 Use `syntax-multiline' text property consistently instead of
12060 `font-lock-multiline'. (Bug#14237)
12062 2013-04-26 Glenn Morris <rgm@gnu.org>
12064 * emacs-lisp/shadow.el (list-load-path-shadows):
12065 No longer necessary to check for duplicate simple.el, since
12066 2012-07-07 change to init_lread to not include installation lisp
12067 directories in load-path when running uninstalled. (Bug#14270)
12069 2013-04-26 Leo Liu <sdl.web@gmail.com>
12071 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12072 (octave-mode, inferior-octave-mode): Use setq-local.
12073 (octave-not-in-string-or-comment-p): Rename to
12074 octave-in-string-or-comment-p.
12075 (octave-in-comment-p, octave-in-string-p)
12076 (octave-in-string-or-comment-p): Replace defsubst with defun.
12078 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12080 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12082 2013-04-25 Bastien Guerry <bzg@gnu.org>
12084 * textmodes/remember.el (remember-data-directory)
12085 (remember-directory-file-name-format): Fix custom types.
12087 2013-04-25 Leo Liu <sdl.web@gmail.com>
12089 * progmodes/octave.el (octave-completion-at-point-function):
12090 Make use of inferior octave process.
12091 (octave-initialize-completions): Remove.
12092 (inferior-octave-completion-table): New function.
12093 (inferior-octave-completion-at-point): Use it.
12094 (octave-completion-alist): Remove.
12096 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12098 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12099 (opascal-mode-syntax-table): New var.
12100 (opascal-literal-kind, opascal-is-literal-end)
12101 (opascal-literal-token-at): Rewrite.
12102 (opascal--literal-start-re, opascal-font-lock-keywords)
12103 (opascal--syntax-propertize): New constants.
12104 (opascal-font-lock-defaults): Adjust.
12105 (opascal-mode): Use them. Set comment-<foo> variables as well.
12106 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12107 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12108 (delphi-other-face, opascal-other-face): Remove face variables.
12109 (opascal-save-state): Remove macro.
12110 (opascal-fontifying-progress-step): Remove constant.
12111 (opascal--ignore-changes): Remove var.
12112 (opascal-set-token-property, opascal-parse-next-literal)
12113 (opascal-is-stable-literal, opascal-complete-literal)
12114 (opascal-is-literal-start, opascal-face-of)
12115 (opascal-parse-region, opascal-parse-region-until-stable)
12116 (opascal-fontify-region, opascal-after-change)
12117 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12118 (opascal-debug-parse-region, opascal-debug-parse-window)
12119 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12120 (opascal-debug-fontify-buffer): Remove.
12121 (opascal-debug-mode-map): Adjust accordingly.
12123 2013-04-25 Leo Liu <sdl.web@gmail.com>
12125 Merge octave-mod.el and octave-inf.el into octave.el with some
12127 * progmodes/octave.el: New file renamed from octave-mod.el.
12128 * progmodes/octave-inf.el: Merged into octave.el.
12129 * progmodes/octave-mod.el: Renamed to octave.el.
12131 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12133 * textmodes/reftex-vars.el
12134 (reftex-label-ignored-macros-and-environments): New defcustom.
12136 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12138 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12140 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12141 (smie-indent-keyword): Improve the check to ensure that the next
12142 comment is really on the same line.
12143 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12145 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12146 semi-colons if the line is not otherwise empty (bug#14218).
12148 2013-04-25 Glenn Morris <rgm@gnu.org>
12150 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12152 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12154 * progmodes/opascal.el (opascal-set-token-property): Rename from
12155 opascal-set-text-properties and only set `token' (bug#14134).
12156 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12157 (opascal-literal-text-properties): Remove.
12158 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12161 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12163 * textmodes/remember.el (remember-handler-functions): Add an
12164 option for a new handler `remember-store-in-files'.
12165 (remember-data-directory, remember-directory-file-name-format):
12167 (remember-store-in-files): New function to store remember notes
12168 as separate files within a directory.
12170 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12172 * progmodes/compile.el (compilation-next-error-function):
12173 Pass "formats" to compilation-find-file (bug#11777).
12175 2013-04-24 Glenn Morris <rgm@gnu.org>
12177 * vc/vc-bzr.el (vc-bzr-print-log):
12178 * vc/vc-hg.el (vc-hg-print-log):
12179 * vc/vc-svn.el (vc-svn-print-log):
12180 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12182 * vc/vc-bzr.el (vc-bzr-print-log):
12183 * vc/vc-cvs.el (vc-cvs-print-log):
12184 * vc/vc-git.el (vc-git-print-log):
12185 * vc/vc-hg.el (vc-hg-print-log):
12186 * vc/vc-mtn.el (vc-mtn-print-log):
12187 * vc/vc-rcs.el (vc-rcs-print-log):
12188 * vc/vc-sccs.el (vc-sccs-print-log):
12189 * vc/vc-svn.el (vc-svn-print-log):
12190 * vc/vc.el (vc-print-log-internal): Doc fixes.
12192 2013-04-23 Glenn Morris <rgm@gnu.org>
12194 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12195 Remove venerable code attempting to avoid substitute-command-keys.
12197 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12199 * textmodes/reftex-vars.el (reftex-label-regexps):
12200 Call `reftex-compile-variables' after changes to this variable.
12202 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12204 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12205 Use lexical-binding.
12206 (jit-lock-force-redisplay): Use markers, check buffer's continued
12207 existence and beware narrowed buffers.
12208 (jit-lock-fontify-now): Adjust call accordingly.
12210 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12212 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12213 to avoid misleading the user.
12215 2013-04-22 Leo Liu <sdl.web@gmail.com>
12217 * info-look.el: Prefer latex2e.info. (Bug#14240)
12219 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12221 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12223 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12224 * net/tramp.el (tramp-call-process): ... here.
12225 (tramp-set-completion-function, tramp-parse-putty):
12226 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12227 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12228 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12229 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12230 (tramp-call-local-coding-command): Use `tramp-call-process'
12231 instead of `tramp-compat-call-process'.
12233 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12234 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12235 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12236 (tramp-find-inline-compress): Improve traces.
12237 (tramp-maybe-send-script): Check for Perl binary.
12238 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12240 2013-04-22 Daiki Ueno <ueno@gnu.org>
12242 * epg.el (epg-context-pinentry-mode): New function.
12243 (epg-context-set-pinentry-mode): New function.
12244 (epg--start): Pass --pinentry-mode option to gpg command.
12246 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12248 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12249 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12250 `completion-at-point'. (Bug#13774)
12252 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12253 default key binding for `describe-distribution' has been moved to
12254 `C-h C-o'. (Bug#13970)
12256 2013-04-21 Glenn Morris <rgm@gnu.org>
12258 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12260 (vc-print-log): Clarify interactive prompt.
12262 2013-04-20 Glenn Morris <rgm@gnu.org>
12264 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12265 No longer include timestamp etc information.
12267 2013-04-20 Roland Winkler <winkler@gnu.org>
12269 * faces.el (read-face-name): Bug fix, return just one face if arg
12270 multiple is nil. (Bug#14209)
12272 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12274 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12275 (remove-function): Autoload.
12277 * comint.el (comint-redirect-original-filter-function): Remove.
12278 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12279 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12280 (vc-cvs-annotate-command):
12281 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12282 * progmodes/prolog.el (prolog-consult-compile):
12283 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12284 Use add/remove-function instead.
12285 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12286 (gud-tooltip-process-output, gud-tooltip-tips):
12287 Use add/remove-function instead.
12288 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12289 (scheme-interaction-mode, exit-scheme-interaction-mode):
12290 Use add/remove-function instead.
12292 * vc/vc-dispatcher.el: Use lexical-binding.
12293 (vc--process-sentinel): Rename from vc-process-sentinel.
12294 Change last arg to be the code to run. Don't use vc-previous-sentinel
12295 and vc-sentinel-commands any more.
12296 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12297 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12299 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12301 * progmodes/sh-script.el (sh-imenu-generic-expression):
12302 Handle function names with a single character. (Bug#14111)
12304 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12306 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12307 for subroutines defined in an eval (bug#14182).
12309 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12311 * bookmark.el (bookmark-completing-read): Improve handling of empty
12312 string (bug#14176).
12314 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12316 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12318 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12320 New faster Imenu implementation (bug#14058).
12321 * progmodes/python.el:
12322 (python-imenu-prev-index-position):
12323 (python-imenu-format-item-label-function)
12324 (python-imenu-format-parent-item-label-function)
12325 (python-imenu-format-parent-item-jump-label-function):
12327 (python-imenu-format-item-label)
12328 (python-imenu-format-parent-item-label)
12329 (python-imenu-format-parent-item-jump-label)
12330 (python-imenu--put-parent, python-imenu--build-tree)
12331 (python-imenu-create-index, python-imenu-create-flat-index)
12332 (python-util-popn): New functions.
12333 (python-mode): Set imenu-create-index-function to
12334 python-imenu-create-index.
12336 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12338 * winner.el (winner-active-region): Use region-active-p, activate-mark
12339 and deactivate-mark (bug#14225).
12341 * simple.el (deactivate-mark): Don't inline it.
12343 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12345 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12347 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12349 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12350 file extensions from the archive-mode entry in order to prefer
12351 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12353 2013-04-18 Leo Liu <sdl.web@gmail.com>
12355 * bindings.el (help-event-list): Add ?\?.
12357 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12359 * subr.el (with-wrapper-hook): Declare obsolete.
12360 * simple.el (filter-buffer-substring-function): New hook.
12361 (filter-buffer-substring): Use it.
12362 (filter-buffer-substring-functions): Mark obsolete.
12363 * minibuffer.el (completion-in-region-function): New hook.
12364 (completion-in-region): Use it.
12365 (completion-in-region-functions): Mark obsolete.
12366 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12367 * abbrev.el (abbrev-expand-function): New hook.
12368 (expand-abbrev): Use it.
12369 (abbrev-expand-functions): Mark obsolete.
12370 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12371 and :filter-return.
12373 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12375 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12376 and do not care about match data.
12378 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12380 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12381 completion tables when completing error conditions and
12382 `declare' arguments.
12383 (lisp-complete-symbol, field-complete): Mark as obsolete.
12384 (check-parens): Unmatched parens are user errors.
12385 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12387 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12389 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12390 command changed buffer (ie. `flyspell-pre-buffer' is not current
12391 buffer), which prevents making decisions based on invalid value of
12392 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12393 cause an error when `flyspell-pre-point' was nil after switching
12395 (flyspell-post-command-hook): No longer needs to change buffers when
12396 checking pre-word. While at it remove unnecessary progn.
12398 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12400 * textmodes/ispell.el (ispell-add-per-file-word-list):
12401 Fix `flyspell-correct-word-before-point' error when accepting
12402 words and `coment-padding' is an integer by using
12403 `comment-normalize-vars' (Bug #14214).
12405 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12407 New defun movement commands.
12408 * progmodes/python.el (python-nav--syntactically)
12409 (python-nav--forward-defun, python-nav-backward-defun)
12410 (python-nav-forward-defun): New functions.
12412 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12414 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12415 (python-syntax-context): Use named compiler-macro for backwards
12416 compatibility with Emacs 24.x.
12418 2013-04-17 Leo Liu <sdl.web@gmail.com>
12420 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12421 octave-hide-process-buffer.
12423 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12425 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12428 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12430 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12431 Fix adjustment of offset when receiving incomplete responses from GDB
12434 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12436 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12437 python-mode-abbrev-table.
12438 (python-skeleton-define): Adjust accordingly.
12439 (python-mode-abbrev-table): New table that inherits from it so that
12440 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12442 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12443 (abbrev-symbol): Use it.
12444 (abbrev--before-point): Use it since we already handle inheritance.
12446 2013-04-16 Leo Liu <sdl.web@gmail.com>
12448 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12449 binding to info-lookup-symbol.
12451 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12453 * minibuffer.el (completion--twq-all):
12454 * term/ns-win.el (ns-initialize-window-system):
12455 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12457 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12459 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12462 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12464 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12466 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12467 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12469 (ruby-end-of-defun): Remove the unused arg, change the docstring
12470 to reflect that this function is only used as the value of
12471 `end-of-defun-function'.
12472 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12473 to reflect an earlier change that beginning/end-of-defun functions
12474 jump between methods in a class definition, as well as top-level
12477 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12479 * minibuffer.el (minibuffer-complete): Don't just scroll
12480 a *Completions* that's been iconified.
12481 (minibuffer-force-complete): Make sure repetitions do cycle when going
12482 through completion-in-region -> minibuffer-complete.
12484 2013-04-15 Alan Mackenzie <acm@muc.de>
12486 Correct the placement of c-cpp-delimiters when there're #s not at
12489 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12490 place a submatch around the #.
12491 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12492 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12495 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12497 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12498 (advice--member-p): New arg `name'.
12499 (advice--add-function, advice-member-p): Use it (bug#14202).
12501 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12503 Reformulate java imenu-generic-expression.
12504 The old expression contained ill formed regexps.
12506 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12507 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12508 (cc-imenu-java-method-arg-regexp): New defconsts.
12509 (cc-imenu-java-build-type-args-regex): New defun.
12510 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12511 handling of spaces in the regexp.
12513 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12515 * textmodes/ispell.el (ispell-command-loop): Remove
12516 flyspell highlight of a word when ispell accepts it (bug #14178).
12518 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12520 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12521 uses code from the previous `ange-ftp-run-real-handler'.
12522 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12523 only in case that function exist. This is needed for proper
12524 unloading of Tramp.
12526 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12528 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12530 * textmodes/reftex.el (reftex-compile-variables): Use it.
12532 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12534 * files.el (normal-mode): Only use default major-mode if no other mode
12537 * emacs-lisp/trace.el (trace-values): New function.
12539 * files.el: Allow : in local variables (bug#14089).
12540 (hack-local-variable-regexp): New var.
12541 (hack-local-variables-prop-line, hack-local-variables): Use it.
12543 2013-04-13 Roland Winkler <winkler@gnu.org>
12545 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12546 data before it gets modified by bibtex-beginning-of-entry.
12548 2013-04-13 Roland Winkler <winkler@gnu.org>
12550 * textmodes/bibtex.el (bibtex-url): Doc fix.
12552 2013-04-13 Roland Winkler <winkler@gnu.org>
12554 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12555 does not visit a BibTeX file, exclude it from the list of buffers
12556 returned by bibtex-initialize.
12558 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12560 * window.el (split-window): Remove interactive form, since as a
12561 command this function is a special case of split-window-below.
12562 Correct doc string.
12564 2013-04-12 Roland Winkler <winkler@gnu.org>
12566 * faces.el (read-face-name): Do not override value of arg default.
12567 Allow single faces and strings as default values. Remove those
12568 elements from return value that are not faces.
12569 (describe-face): Simplify.
12570 (face-at-point): New optional args thing and multiple so that this
12571 function can provide the same functionality previously provided by
12573 (make-face-bold, make-face-unbold, make-face-italic)
12574 (make-face-unitalic, make-face-bold-italic, invert-face)
12575 (modify-face, read-face-and-attribute): Use face-at-point.
12577 * cus-edit.el (customize-face, customize-face-other-window)
12578 * cus-theme.el (custom-theme-add-face)
12579 * face-remap.el (buffer-face-set)
12580 * facemenu.el (facemenu-set-face): Use face-at-point.
12582 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12584 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12586 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12588 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12589 off leading { and trailing } from field values.
12591 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12593 * emacs-lisp/timer.el (timer--check): New function.
12594 (timer--time, timer-set-function, timer-event-handler): Use it.
12595 (timer-set-idle-time): Simplify.
12596 (timer--activate): CSE.
12597 (timer-event-handler): Give more info in error message.
12598 (internal-timer-start-idle): New function, moved from C.
12600 * mpc.el (mpc-proc): Add `restart' argument.
12601 (mpc-proc-cmd): Use it.
12602 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12603 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12606 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12608 * progmodes/sh-script.el: Implement `sh-mode' own
12609 `add-log-current-defun-function' (bug#14112).
12610 (sh-current-defun-name): New function.
12611 (sh-mode): Use the function.
12613 2013-04-09 Bastien Guerry <bzg@gnu.org>
12615 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12617 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12619 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12621 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12624 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12626 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12629 2013-04-07 Leo Liu <sdl.web@gmail.com>
12631 * pcmpl-x.el: New file.
12633 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12635 Do not set x-display-name until X connection is established.
12636 This is needed to prevent from weird situation described at
12637 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12638 * frame.el (make-frame): Set x-display-name after call to
12639 window system initialization function, not before.
12640 * term/x-win.el (x-initialize-window-system): Add optional
12641 display argument and use it.
12642 * term/w32-win.el (w32-initialize-window-system):
12643 * term/ns-win.el (ns-initialize-window-system):
12644 * term/pc-win.el (msdos-initialize-window-system):
12645 Add compatible optional display argument.
12647 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12649 * files.el (normal-backup-enable-predicate): On MS-Windows and
12650 MS-DOS compare truenames of temporary-file-directory and of the
12651 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12652 don't fail comparison by compare-strings. Also, compare file
12653 names case-insensitively on MS-Windows and MS-DOS.
12655 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12657 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12658 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12660 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12662 * whitespace.el (whitespace-color-on, whitespace-color-off):
12663 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12665 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12667 * ispell.el (ispell-set-spellchecker-params):
12668 Really set `ispell-args' for all equivs.
12670 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12672 * ido.el (ido-completions): Use extra elements of ido-decorations
12674 (ido-decorations): Update docstring.
12676 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12678 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12679 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12680 nil during initialization, in order not to miss changes since the
12681 file was opened. (Bug#14140)
12683 2013-04-05 Leo Liu <sdl.web@gmail.com>
12685 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12687 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12689 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12691 2013-04-04 Glenn Morris <rgm@gnu.org>
12693 * electric.el (electric-pair-inhibit-predicate): Add :version.
12695 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12697 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12698 when a package is required several times (bug#14082).
12700 2013-04-04 Roland Winkler <winkler@gnu.org>
12702 * faces.el (read-face-name): Behave as promised by the docstring.
12703 Assume that arg default is a list of faces.
12704 (describe-face): Call read-face-name with list of default faces.
12706 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12708 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12709 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12710 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12712 (bookmark-exit-hook-internal): Save even if list is empty.
12714 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12716 * emacs-lisp/package.el (package-pinned-packages): New var.
12717 (package--add-to-archive-contents): Obey it (bug#14118).
12719 2013-04-03 Alan Mackenzie <acm@muc.de>
12721 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12722 Also adapt to the new values of element 7 of a parse state.
12724 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12725 parameter `not-in-delimiter'. Handle being inside comment opener.
12726 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12727 character in case we're typing a '*' after a '/'.
12728 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12729 instead by passing the parameter to c-state-pp-to-literal.
12731 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12732 for elt. 7 of a parse state.
12734 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12736 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12737 * international/latin1-disp.el, international/mule-util.el:
12738 * language/cyril-util.el, language/european.el, language/ind-util.el:
12739 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12740 * language/tibetan.el, language/viet-util.el:
12741 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12743 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12745 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12746 (electric-pair-post-self-insert-function): Use it.
12747 (electric-pair-default-inhibit): New function, extracted from
12748 electric-pair-post-self-insert-function.
12750 2013-03-31 Roland Winkler <winkler@gnu.org>
12752 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12754 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12756 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12758 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12760 Un-indent after "pass" and "return" statements (Bug#13888)
12761 * progmodes/python.el (python-indent-block-enders): New var.
12762 (python-indent-calculate-indentation): Use it.
12764 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12766 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12767 defun. Defining it as defalias could introduce too eager
12768 byte-compiler optimization. (Bug#14030)
12770 2013-03-30 Chong Yidong <cyd@gnu.org>
12772 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12774 2013-03-30 Leo Liu <sdl.web@gmail.com>
12776 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12777 (kmacro-execute-from-register): Pass the keyboard macro to
12778 kmacro-call-macro or repeating won't work correctly.
12780 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12782 * progmodes/subword.el: Back to using `forward-symbol'.
12784 * subr.el (forward-whitespace, forward-symbol)
12785 (forward-same-syntax): Move from thingatpt.el.
12787 2013-03-29 Leo Liu <sdl.web@gmail.com>
12789 * kmacro.el (kmacro-to-register): New command.
12790 (kmacro-execute-from-register): New function.
12791 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12793 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12795 * mpc.el: Use defvar-local and setq-local.
12796 (mpc--proc-connect): Connection failures are not bugs.
12797 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12798 (mpc-volume-map): Bind to the up-events.
12800 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12802 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12803 instead of `forward-symbol'.
12805 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12807 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12808 (edebug--recursive-edit): Use it.
12809 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12810 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12812 2013-03-28 Leo Liu <sdl.web@gmail.com>
12814 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12816 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12818 * facemenu.el (list-colors-callback): New defvar.
12819 (list-colors-redisplay): New function.
12820 (list-colors-display): Install list-colors-redisplay as the
12821 revert-buffer-function. (Bug#14063)
12823 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12825 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12826 and suffixes don't overlap (bug#14061).
12828 * case-table.el: Use lexical-binding.
12829 (case-table-get-table): New function.
12830 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12832 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12834 * progmodes/subword.el: Add `superword-mode' to do word motion
12835 over symbol_words (parallels and leverages `subword-mode' which
12836 does word motion inside MixedCaseWords).
12838 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12840 * eshell/em-unix.el: Move su and sudo to...
12841 * eshell/em-tramp.el: ...Eshell tramp module.
12843 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12845 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12846 Change return value to be a sexp. Delay `get-buffer' to after
12847 restoring the desktop (bug#13951).
12849 2013-03-26 Leo Liu <sdl.web@gmail.com>
12851 * register.el: Move semantic tag handling back to
12852 cedet/semantic/senator.el. (Bug#14052)
12854 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12856 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12857 into the prompt either (bug#13963).
12859 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12861 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12862 part of "(error-foo)".
12864 2013-03-24 Juri Linkov <juri@jurta.org>
12866 * replace.el (list-matching-lines-prefix-face): New defcustom.
12867 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12868 `occur-engine' if `face-differs-from-default-p' returns t.
12869 (occur-engine): Add `,' inside backquote construct to evaluate
12870 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12871 Pass `prefix-face' to the functions `occur-context-lines' and
12872 `occur-engine-add-prefix'.
12873 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12874 `prefix-face' and propertize the prefix with `prefix-face'.
12877 2013-03-24 Leo Liu <sdl.web@gmail.com>
12879 * nxml/rng-valid.el (rng-validate-while-idle)
12880 (rng-validate-quick-while-idle): Guard against deleted buffer.
12883 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12884 is the last entry in kill-buffer-hook.
12886 * files.el (kill-buffer-hook): Doc fix.
12888 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12890 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12891 Make it safe-local.
12893 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12895 2013-03-23 Leo Liu <sdl.web@gmail.com>
12897 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12900 * nxml/rng-valid.el (rng-validate-mode)
12901 (rng-after-change-function, rng-do-some-validation):
12902 * nxml/rng-maint.el (rng-validate-buffer):
12903 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12904 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12905 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12906 (nxml-extend-after-change-region): Use with-silent-modifications.
12908 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12911 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12912 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12913 timer-idle-list. (Bug#13999)
12915 2013-03-23 Juri Linkov <juri@jurta.org>
12917 * info.el (info-index-match): New face.
12918 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12919 main pattern and add text properties with the new face to matches
12920 in index entries relative to the beginning of the index entry.
12923 2013-03-21 Eric Ludlam <zappo@gnu.org>
12925 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12926 Inhibit read only while inserting objects.
12928 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12930 * progmodes/cfengine.el: Update docs to mention
12931 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12932 symbol motion. Remove "_" from the word syntax.
12934 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12936 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12937 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12939 2013-03-20 Juri Linkov <juri@jurta.org>
12941 * info.el (Info-next-reference-or-link)
12942 (Info-prev-reference-or-link): New functions.
12943 (Info-next-reference, Info-prev-reference): Use them.
12944 (Info-try-follow-nearest-node): Handle footnote navigation.
12945 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12947 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12949 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12950 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12952 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12954 Suppress unnecessary non-ASCII chatter during build process.
12955 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12956 (batch-skkdic-convert): Suppress most of the chatter.
12957 It's not needed so much now that machines are faster,
12958 and its non-ASCII component was confusing; see Dmitry Gutov in
12959 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12961 2013-03-20 Leo Liu <sdl.web@gmail.com>
12963 * ido.el (ido-chop): Fix bug#10994.
12965 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12967 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12969 (whitespace-color-on, whitespace-color-off):
12970 Use `font-lock-fontify-buffer' (Bug#13817).
12972 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12974 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12975 remapping in mode-line.
12976 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12978 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12980 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12981 value for `whitespace-line' face (Bug#13875).
12982 (whitespace-font-lock-keywords): Change description.
12983 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12984 the constructed keywords instead.
12985 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12987 2013-03-19 Leo Liu <sdl.web@gmail.com>
12989 * progmodes/compile.el (compilation-display-error): New command.
12990 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12993 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12995 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12997 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12999 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
13001 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
13003 * net/tramp-compat.el (tramp-compat-user-error): New defun.
13005 * net/tramp-adb.el (tramp-adb-handle-shell-command):
13006 * net/tramp-gvfs.el (top):
13007 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
13008 (tramp-handle-shell-command): Use it.
13009 (tramp-dissect-file-name): Raise an error when hostname is a
13010 method name, and neither method nor user is specified.
13012 * net/trampver.el: Update release number.
13014 2013-03-18 Leo Liu <sdl.web@gmail.com>
13016 Make sure eldoc can be turned off properly.
13017 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
13019 (eldoc-display-message-p): Revert last change.
13020 (eldoc-display-message-no-interference-p)
13021 (eldoc-print-current-symbol-info): Tweak.
13023 2013-03-18 Tassilo Horn <tsdh@gnu.org>
13025 * doc-view.el (doc-view-new-window-function): Check the new window
13026 overlay's display property instead the char property of the
13027 buffer's first char. Use `with-selected-window' instead of
13028 `save-window-excursion' with `select-window'.
13029 (doc-view-document->bitmap): Check the current doc-view overlay's
13030 display property instead the char property of the buffer's first char.
13032 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
13034 Automate the build of ja-dic.el (Bug#13984).
13035 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
13036 from the input, rather than assume that it's been done for us by the
13037 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
13038 the current date into a ja-dic.el comment, as that complicates
13039 regression testing.
13041 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
13043 * whitespace.el: Fix double evaluation.
13044 (whitespace-space, whitespace-hspace, whitespace-tab)
13045 (whitespace-newline, whitespace-trailing, whitespace-line)
13046 (whitespace-space-before-tab, whitespace-indentation)
13047 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13049 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13050 (whitespace-color-on): Use a single font-lock-add-keywords call.
13051 Fix double-evaluation of face variables.
13053 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13055 * net/tramp-adb.el (tramp-adb-parse-device-names):
13056 Use `start-process' instead of `call-process'. Otherwise, the
13057 function might be blocked under MS Windows. (Bug#13299)
13059 2013-03-17 Leo Liu <sdl.web@gmail.com>
13061 Extend eldoc to display info in the mode-line. (Bug#13978)
13062 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13063 (eldoc-mode-line-string): New variable.
13064 (eldoc-minibuffer-message): New function.
13065 (eldoc-message-function): New variable.
13066 (eldoc-message): Use it.
13067 (eldoc-display-message-p)
13068 (eldoc-display-message-no-interference-p):
13069 Support eldoc-post-insert-mode.
13071 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13072 (eval-expression): Run it.
13074 2013-03-17 Roland Winkler <winkler@gnu.org>
13076 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13077 strings in the list of return values.
13079 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13081 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13082 radix before checking for HMS forms.
13084 2013-03-16 Leo Liu <sdl.web@gmail.com>
13086 * progmodes/scheme.el: Add indentation and font-locking for λ.
13089 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13091 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13092 token before point (bug#13942).
13094 2013-03-16 Leo Liu <sdl.web@gmail.com>
13096 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13098 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13100 * startup.el (command-line-normalize-file-name): Fix handling of
13101 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13102 <xfq.free@gmail.com> in
13103 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13105 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13107 Sync with Tramp 2.2.7.
13109 * net/trampver.el: Update release number.
13111 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13113 * doc-view.el: Fix bug#13887.
13114 (doc-view-insert-image): Don't modify overlay associated to
13115 non-live windows, and implement horizontal centering of image in
13116 case it's smaller than the window.
13117 (doc-view-new-window-function): Force redisplay of new windows on
13120 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13122 * saveplace.el (save-place-alist-to-file): Don't sort
13123 `save-place-alist', just pretty-print it (bug#13882).
13125 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13127 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13128 Check whether `default-file-name-coding-system' is bound.
13129 It isn't in XEmacs.
13131 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13133 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13134 backquotes for `obsolete' (bug#13929).
13136 * international/mule.el (find-auto-coding): Include file name in
13137 obsolescence warning (bug#13922).
13139 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13141 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13142 for CFEngine 3-specific indentation.
13143 (cfengine3-indent-line): Use it. Fix up category regex.
13144 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13146 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13148 * type-break.el (type-break-file-name):
13149 * textmodes/remember.el (remember-data-file):
13150 * strokes.el (strokes-file):
13151 * shadowfile.el (shadow-initialize):
13152 * saveplace.el (save-place-file):
13153 * ps-bdf.el (bdf-cache-file):
13154 * progmodes/idlwave.el (idlwave-config-directory):
13155 * net/quickurl.el (quickurl-url-file):
13156 * international/kkc.el (kkc-init-file-name):
13157 * ido.el (ido-save-directory-list-file):
13158 * emulation/viper.el (viper-custom-file-name):
13159 * emulation/vip.el (vip-startup-file):
13160 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13161 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13163 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13165 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13166 * language/thai-word.el: Switch to UTF-8.
13168 See ChangeLog.16 for earlier changes.
13170 ;; Local Variables:
13174 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13176 This file is part of GNU Emacs.
13178 GNU Emacs is free software: you can redistribute it and/or modify
13179 it under the terms of the GNU General Public License as published by
13180 the Free Software Foundation, either version 3 of the License, or
13181 (at your option) any later version.
13183 GNU Emacs is distributed in the hope that it will be useful,
13184 but WITHOUT ANY WARRANTY; without even the implied warranty of
13185 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13186 GNU General Public License for more details.
13188 You should have received a copy of the GNU General Public License
13189 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.