1 2014-02-14 Glenn Morris <rgm@gnu.org>
3 * dired.el (dired-read-regexp):
4 * faces.el (list-faces-display):
5 * misearch.el (multi-isearch-read-matching-buffers)
6 (multi-isearch-read-matching-files):
7 * play/cookie1.el (cookie-apropos):
8 * progmodes/grep.el (grep-read-regexp): Doc fixes.
10 * textmodes/remember.el (remember): Use frameset-to-register
11 rather than frame-configuration-to-register.
13 2014-02-14 Jay Belanger <jay.p.belanger@gmail.com>
15 * calc/calc-menu.el (calc-vectors-menu): Remove menu item for
18 2014-02-13 Daniel Colascione <dancol@dancol.org>
20 * progmodes/flymake.el (flymake-post-syntax-check): Widen buffer
21 when adding overlays so that line numbers from compiler match line
24 2014-02-13 Glenn Morris <rgm@gnu.org>
26 * mail/rmail.el (rmail-probe): Be less strict. (Bug#16743)
28 * jit-lock.el (jit-lock-mode): Doc fix.
30 2014-02-13 Juanma Barranquero <lekktu@gmail.com>
32 * apropos.el (apropos-read-pattern): When the user passes an empty
33 string, give a more helpful error message than "Wrong type
34 argument: stringp, nil".
36 2014-02-13 Stefan Monnier <monnier@iro.umontreal.ca>
38 * jit-lock.el (jit-lock-mode): Keep it disabled in indirect buffers.
40 2014-02-13 Glenn Morris <rgm@gnu.org>
42 * finder.el (finder-known-keywords, finder-mode-map): Doc fixes.
44 2014-02-12 Stefan Monnier <monnier@iro.umontreal.ca>
46 * emulation/cua-base.el (cua-scroll-up, cua-scroll-down): Mark them as
47 shift-select commands.
49 2014-02-12 Dmitry Gutov <dgutov@yandex.ru>
51 * progmodes/js.el (js-indent-line): Don't widen.
52 http://lists.gnu.org/archive/html/emacs-devel/2012-06/msg00276.html
54 2014-02-12 Glenn Morris <rgm@gnu.org>
56 * icomplete.el (icomplete): Add info-link to defgroup.
57 (icomplete-with-completion-tables, icomplete-minibuffer-setup-hook)
58 (icomplete-minibuffer-map, icomplete-mode)
59 (icomplete-simple-completing-p, icomplete-completions): Doc fixes.
61 * emacs-lisp/package.el (package-menu-mode-map): Tweak menu.
62 (package-menu-filter): Rename from package-menu-filter-interactive.
65 2014-02-11 Juanma Barranquero <lekktu@gmail.com>
67 * frameset.el (frameset--jump-to-register): Select the required
68 window and buffer before restoring position (bug#16696).
70 2014-02-11 Lars Ingebrigtsen <larsi@gnus.org>
72 * dired.el (dired-get-marked-files): Clarify doc (bug#11534).
74 2014-02-10 Glenn Morris <rgm@gnu.org>
76 * jit-lock.el (jit-lock-force-redisplay): Doc fix. (Bug#14394)
78 2014-02-10 Eli Zaretskii <eliz@gnu.org>
80 * w32-common-fns.el (x-get-selection): Doc fix.
81 * select.el (x-get-selection): Doc fix. (Bug#15109)
83 * face-remap.el (face-remap-add-relative)
84 (face-remap-remove-relative, face-remap-reset-base)
85 (face-remap-set-base): Call force-mode-line-update to redisplay
86 the current buffer due to potential change in faces. (Bug#16709)
88 2014-02-10 Michael Albinus <michael.albinus@gmx.de>
90 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Apply heredoc
93 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
95 * dired.el (dired-get-marked-files): Doc fix (bug#11534).
97 * simple.el (choose-completion): Doc fix (bug#14160).
99 * subr.el (event-start): Say what a nil EVENT value means.
101 * kmacro.el (kmacro-bind-to-key): Say that the parameter is unused
104 * progmodes/grep.el (find-program): Doc fix (bug#14289).
106 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
108 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
110 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
111 predicate function (bug#15455).
113 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
115 * ielm.el (inferior-emacs-lisp-mode): Instead of
116 `comment-use-global-state', set `comment-use-syntax'.
118 2014-02-10 Glenn Morris <rgm@gnu.org>
120 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
122 2014-02-09 Alan Mackenzie <acm@muc.de>
124 Fix c-invalidate-state-cache on narrowed buffers.
125 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
126 Widen when setting and clearing the CPP delimiter properties.
128 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
130 * help.el (describe-bindings): Doc fix (bug#9888).
132 * files.el (save-buffer): Use ARG as the parameter name for
133 consistency (bug#10346).
134 (save-buffer): Clarify the 0 argument (bug#10346).
136 * cus-edit.el (customize-apropos): Fix error string.
137 (custom-buffer-create): Doc fix (bug#11122).
138 (custom-sort-items): Doc fix (bug#11121).
140 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
142 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
143 (icomplete-simple-completing-p): Mention the previous variable.
145 * font-lock.el (font-lock-value-in-major-mode): Clarify the
146 meaning of the parameter (bug#12282).
148 * files.el (find-file-noselect): Clarify prompt when changing
149 readedness (bug#13261).
150 (locate-file): Suffixes aren't returned, so don't say that they
152 (backup-inhibited): Doc clarification (bug#12525).
154 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
155 before we actually start to delete things (bug#16331).
157 * subr.el (event-start): Doc fix (bug#14228).
160 2014-02-09 Glenn Morris <rgm@gnu.org>
162 * emacs-lisp/warnings.el (lwarn):
163 Empower help-enable-auto-load. (Bug#15940)
165 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
167 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
170 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
172 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
173 Insert output at end of buffer. (Bug#16120)
175 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
177 * simple.el (choose-completion-string-functions): Document new
178 calling convention (bug#14153).
179 (execute-extended-command): Clarify doc string (bug#13373).
181 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
183 * find-dired.el (find-name-dired): Doc fix (bug#14290).
184 (find-grep-dired): Doc fix (bug#14288).
186 2014-02-08 Juri Linkov <juri@jurta.org>
188 * isearch.el (isearch-quote-char): Check character validity
189 like in `quoted-insert' (bug#16677).
191 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
193 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
195 * isearch.el (isearch-hide-immediately): Doc clarification
198 * simple.el (line-move): Document utility function used many
199 places in the Emacs sources (bug#14843).
201 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
202 (dired-prev-marked-file): Doc fix (bug#14855).
203 (dired-up-directory): Doc fix (bug#14848).
205 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
207 * files.el (file-relative-name): Doc fix (bug#15159).
209 * fringe.el (fringe-styles): Doc fix (bug#15239).
211 * isearch.el (isearch-filter-predicate): Documentation typo fix
214 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
216 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
218 * replace.el (replace-match-maybe-edit): Doc clarification
221 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
223 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
225 2014-02-08 Glenn Morris <rgm@gnu.org>
227 * help-fns.el (describe-variable):
228 Check {file,dir}-local-variables-alist, and buffer-file-name,
229 in the correct buffer.
231 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
233 * help-fns.el (describe-variable): Fix the case where
234 a value is directory-local with no dir-locals file. (Bug#16635)
236 2014-02-08 Glenn Morris <rgm@gnu.org>
238 * abbrev.el (edit-abbrevs-mode):
239 Derive from fundamental-mode. (Bug#16682)
241 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
243 * simple.el (quoted-insert): Check character validity (bug#16677).
245 2014-02-07 Juri Linkov <juri@jurta.org>
247 * desktop.el (desktop-read): Claim the lock when the owner is not
248 the current process. (Bug#16157)
250 2014-02-07 Juri Linkov <juri@jurta.org>
252 * desktop.el (desktop-buffers-not-to-save): Change default from nil
253 to "\\` ". (Bug#16651)
255 2014-02-07 Juri Linkov <juri@jurta.org>
257 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
258 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
259 (desktop-auto-save-cancel-timer): New function with some code from
260 `desktop-auto-save-set-timer'.
261 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
262 Instead of setting `desktop-save-mode' to nil, call
263 `desktop-save-mode' with arg 0. (Bug#16630)
265 2014-02-07 Glenn Morris <rgm@gnu.org>
267 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
268 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
269 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
271 * obsolete/iswitchb.el: Move to obsolete/.
272 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
273 since obsolete/ is not scanned for autoloads.
274 * emacs-lisp/authors.el (authors-valid-file-names):
277 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
278 Disable now non-functional find-file-hook.
280 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
282 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
283 instead of ";" in order to avoid additional prompts. Let heredoc
284 scripts read from tty. (Bug#16582)
285 (tramp-send-command): No special handling of heredocs, it isn't
288 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
290 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
291 with a space (bug#16664). Limit the symbols considered to the ones
292 that are bound or fbound (bug#16646).
294 2014-02-06 Glenn Morris <rgm@gnu.org>
296 * epa.el (epa-mail-aliases): Doc fix.
298 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
300 * emacs-lisp/lisp.el (lisp-completion-at-point):
301 Use `completion-table-merge' instead of `completion-table-in-turn'
304 * minibuffer.el (completion-table-merge): New function.
306 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
308 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
309 (tramp-sh-handle-set-file-acl)
310 (tramp-sh-handle-start-file-process)
311 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
312 (tramp-find-executable, tramp-send-command): Use it.
314 2014-02-05 Glenn Morris <rgm@gnu.org>
316 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
318 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
320 * progmodes/python.el (python-shell-send-string):
321 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
323 2014-02-04 Anders Lindgren <andlind@gmail.com>
325 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
326 the names (bug#16620).
328 2014-02-03 Martin Rudalics <rudalics@gmx.at>
330 * faces.el (window-divider): New default value. Rewrite doc-string.
331 (window-divider-first-pixel, window-divider-last-pixel): New faces.
333 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
335 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
336 `protected' and `public' can also be called without arguments.
338 2014-02-03 Glenn Morris <rgm@gnu.org>
340 * register.el (window-configuration-to-register)
341 (frame-configuration-to-register): Unadvertise unused argument.
342 * frameset.el (frameset-to-register): Remove unused argument.
344 * frameset.el (frameset-to-register):
345 * kmacro.el (kmacro-to-register):
346 * register.el (increment-register):
347 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
348 (calc-append-to-register, calc-prepend-to-register):
349 * play/gametree.el (gametree-layout-to-register)
350 (gametree-apply-register-layout):
351 * textmodes/picture.el (picture-clear-rectangle-to-register)
352 (picture-yank-rectangle-from-register):
353 * vc/emerge.el (emerge-combine-versions-register):
354 Use register-read-with-preview to read registers.
356 2014-02-03 João Távora <joaotavora@gmail.com>
358 * elec-pair.el (electric-pair-backward-delete-char): Don't error
359 when at beginning of (possibly narrowed) buffer.
361 2014-02-02 Daniel Colascione <dancol@dancol.org>
363 * help-at-pt.el (help-at-pt-string, help-at-pt-maybe-display):
364 Also try to display local help from just before point.
366 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
368 c-parse-state. Don't "append-lower-brace-pair" in certain
369 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
370 recognised as a comment.
372 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
373 as well as normal comment starter.
374 (c-parse-state-get-strategy): Extra return possibility
376 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
377 return value list to indicate replacement of a brace-pair cons
379 (c-parse-state-1): With 'back-and-forward, only call
380 c-append-lower-brace-pair-to state-cache when cons-separated.
382 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
384 * term/ns-win.el (ns-suspend-error): New function.
385 (ns-initialize-window-system): Add ns-suspend-error to
386 suspend-hook (Bug#16612).
388 2014-02-02 Daniel Colascione <dancol@dancol.org>
390 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
392 2014-02-02 Daniel Colascione <dancol@dancol.org>
394 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
396 2014-02-02 Glenn Morris <rgm@gnu.org>
398 * register.el (register-read-with-preview, point-to-register)
399 (window-configuration-to-register, frame-configuration-to-register)
400 (jump-to-register, number-to-register, view-register, insert-register)
401 (copy-to-register, append-to-register, prepend-to-register)
402 (copy-rectangle-to-register): Doc fixes.
404 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
406 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
407 * emacs-lisp/find-func.el (find-function-C-source): Idem.
408 * emacs-lisp/nadvice.el (advice--cd*r): New function.
409 * help-fns.el (describe-function-1): Use it.
411 2014-02-02 Glenn Morris <rgm@gnu.org>
413 * register.el (register-preview-default): New function,
414 split from register-preview.
415 (register-preview-function): Rename from register-preview-functions,
417 (register-preview): Use register-preview-function.
418 (register-read-with-preview): Error on non-character event. (Bug#16595)
420 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
422 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
423 `:' before binary operators (bug#16609). Don't check for `:'
424 before `[' and `(', or their syntax status. A percent literal
425 can't end with either.
426 (ruby-font-lock-keywords): For built-ins that require arguments,
427 check that they're followed by something that looks like argument
430 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
432 * subr.el (butlast): Document what an omitted N means (bug#13437).
435 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
437 * net/shr.el (shr-generic): Make into a defsubst to make the stack
438 depth shallower (bug#16587).
439 (shr-tag-svg): Respect `shr-inhibit-images'.
440 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
442 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
444 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
445 (ruby-smie-grammar): Make "." right-associative. Make its priority
446 lower than the ternary and all binary operators.
447 (ruby-smie-rules): Indent "(" relative to the first non-"."
448 parent, or the first "." parent at indentation.
449 Use `ruby-align-chained-calls' for indentation of "." tokens.
452 2014-01-31 Juri Linkov <juri@jurta.org>
454 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
455 from `make-hash-table'.
457 * textmodes/ispell.el (ispell-init-process): Change message format
458 to be consistent with other messages.
460 2014-01-31 Glenn Morris <rgm@gnu.org>
462 * delsel.el (delete-selection-mode): Doc fix.
464 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
465 (trace-function-background): Doc fixes.
467 * ido.el (ido-use-virtual-buffers): Doc fix.
468 Reset :version, since the default value has not changed.
470 * register.el (register-preview-delay, register-read-with-preview):
473 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
474 do not mess with mail-buffer position (fixes 2009-11-03 change).
475 * progmodes/cc-mode.el (c-submit-bug-report):
476 Check auto-fill-mode is bound. (Bug#16592)
478 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
480 * startup.el (fancy-splash-image-file): New function,
481 split from fancy-splash-head.
482 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
483 so that we are both using the same image. (Bug#16574)
485 2014-01-30 Glenn Morris <rgm@gnu.org>
487 * simple.el (eval-expression): Doc fix.
489 * hexl.el (hexl-mode-hook):
490 * ielm.el (ielm-mode-hook):
491 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
492 (lisp-interaction-mode-hook):
493 * progmodes/cfengine.e (cfengine3-documentation-function):
494 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
496 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
498 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
499 is a symbol (bug#16584).
501 2014-01-30 Glenn Morris <rgm@gnu.org>
503 * help.el (help-for-help-internal): Add "P" to text.
505 2014-01-29 Glenn Morris <rgm@gnu.org>
507 * simple.el (just-one-space, cycle-spacing): Doc fixes.
509 2014-01-28 Martin Rudalics <rudalics@gmx.at>
511 * window.el (fit-frame-to-buffer): Fix calculations for margins and
514 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
516 * progmodes/hideif.el: Extend to full CPP expression syntax.
517 (hif-token-alist): Add missing tokens.
518 (hif-token-regexp): Add support for float/octal/hex immediates.
519 (hif-string-literal-regexp): New const.
520 (hif-tokenize): Recognize strings and float/octal/hex immediates.
521 (hif-exprlist): New function.
522 (hif-parse-if-exp): Use it.
523 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
524 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
525 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
526 (hif-logxor, hif-comma): New functions.
528 2014-01-28 Glenn Morris <rgm@gnu.org>
530 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
532 * indent.el (tab-stop-list): Doc fix. Add :version.
534 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
535 (cvs-append-to-ignore): Add compatibility alias.
537 2014-01-27 Glenn Morris <rgm@gnu.org>
539 * dired.el (dired-hide-details-mode): Don't autoload it,
540 since it cannot be used outside Dired buffers anyway.
542 * emulation/cua-base.el (cua-mode): Doc fix.
544 * dired.el (dired-hide-details-hide-symlink-targets)
545 (dired-hide-details-hide-information-lines)
546 (dired-hide-details-mode): Doc fixes.
548 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
549 * strokes.el (strokes-file): Doc fix. Bump :version.
550 (strokes-help): Doc fix.
551 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
552 * emulation/viper.el (viper): Doc fix for custom group.
553 (top-level): Remove oh-so-no-longer-relevant text about vip.
554 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
556 * ido.el (ido-save-directory-list-file):
557 * saveplace.el (save-place-file):
558 * calendar/timeclock.el (timeclock-file):
559 * net/quickurl.el (quickurl-url-file):
560 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
561 * progmodes/idlwave.el (idlwave-config-directory):
562 * textmodes/remember.el (remember-data-file):
565 2014-01-26 Glenn Morris <rgm@gnu.org>
567 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
568 Doc fix. Make obsolete.
569 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
571 * sort.el (delete-duplicate-lines): Doc fix.
573 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
575 * progmodes/ada-mode.el (ada):
576 * woman.el (woman): Link to info manual and Commentary section.
578 * progmodes/flymake.el (flymake):
579 * nxml/nxml-mode.el (nxml):
581 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
582 * htmlfontify.el (htmlfontify):
585 * ido.el (ido): Link to info manual.
587 2014-01-25 Leo Liu <sdl.web@gmail.com>
589 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
591 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
593 * net/shr.el (shr-tag-img): Prefer the title over the alt text
596 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
598 * net/eww.el (eww-download-callback):
599 Fix reference to eww-download-directory.
601 * emacs-lisp/bytecomp.el (byte-compile-file):
602 Remove unused local variable `file-name'.
604 2014-01-24 Glenn Morris <rgm@gnu.org>
606 * woman.el (woman-default-faces, woman-monochrome-faces):
607 Fix obsolescence specification.
609 * subr.el (with-demoted-errors): Doc fix.
611 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
613 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
614 (cl--macroexp-fboundp): New function.
615 (cl--make-type-test): Use it.
617 2014-01-23 Glenn Morris <rgm@gnu.org>
619 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
620 * simple.el (eval-expression): Doc fixes.
622 2014-01-22 Glenn Morris <rgm@gnu.org>
624 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
626 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
628 * emacs-lisp/package.el: Write files silently.
629 (package-autoload-ensure-default-file, package--write-file-no-coding)
630 (package-generate-description-file, package--download-one-archive)
631 (package-install-from-archive): Tell `write-region' to stay quiet.
632 (package-menu-mode, package-menu--print-info): Omit the Archive column
633 if there's only one archive.
634 (package-all-keywords, package--has-keyword-p): Remove dead code.
636 2014-01-22 Glenn Morris <rgm@gnu.org>
638 * version.el (emacs-bzr-version-bzr): Fix typo.
640 * version.el (emacs-repository-get-version):
641 Check either .bzr or .git, but not both.
642 Make the git case actually use the DIR argument, and return nil
643 rather than the empty string.
644 Avoid error if .git exists but the git executable is not found.
646 2014-01-22 Martin Rudalics <rudalics@gmx.at>
648 Fixes in window size functions around Bug#16430 and Bug#16470.
649 * window.el (window-total-size, window-size): New argument ROUND.
650 (window--min-delta-1, window-min-delta, window--max-delta-1):
651 Be more conservative when calculating the numbers of lines or
652 columns a window can shrink (Bug#16430).
653 (fit-window-to-buffer): Simplify code.
654 * term.el (term-window-width): Call window-body-width again.
656 2014-01-22 Glenn Morris <rgm@gnu.org>
658 * image.el (image-format-suffixes): Doc fix.
660 * international/quail.el (quail-define-package): Doc fix.
662 * emacs-lisp/authors.el (authors-valid-file-names):
663 (authors-renamed-files-alist): Additions.
665 * vc/vc-git.el (vc-git-print-log): Remove --follow;
666 reverts 2014-01-09 change. (Bug#16422)
668 * calc/calc-embed.el (thing-at-point-looking-at):
669 * emacs-lisp/map-ynp.el (x-popup-dialog):
670 * obsolete/lmenu.el (x-popup-dialog):
671 * emacs-lisp/package.el (url-recreate-url):
672 * mail/mailclient.el (clipboard-kill-ring-save):
673 * subr.el (x-popup-dialog): Update declaration.
674 * mail/rmail.el (rmail-mime-message-p):
675 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
677 2014-01-21 Daniel Colascione <dancol@dancol.org>
679 * progmodes/sh-script.el (sh--inside-noncommand-expression):
680 Correctly detect when we're inside an arithmetic expansion form
681 containing nested parenthesis.
682 (sh--maybe-here-document): Use `sh--inside-noncommand-expression'
683 to detect cases where we shouldn't expand "<<" to a heredoc
686 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
688 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
689 (eldoc--message-command-p): New function.
690 (eldoc-display-message-p): Use it.
691 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
692 message is not automatically erased for us.
693 (eldoc-print-current-symbol-info): Erase previous message, if any.
695 2014-01-21 Tassilo Horn <tsdh@gnu.org>
697 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
698 specify it's an interactive function.
700 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
701 Fix regex used for scanning for citation keys which failed for
702 citations with optional arguments.
704 2014-01-21 Leo Liu <sdl.web@gmail.com>
706 * simple.el (read--expression): Don't enable eldoc-mode.
708 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
710 * simple.el (move-beginning-of-line): Make sure we don't move forward
713 2014-01-20 Juri Linkov <juri@jurta.org>
715 * saveplace.el (toggle-save-place, save-place-to-alist)
716 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
717 'dired-mode) before checking for dired-directory. (Bug#16477)
719 2014-01-20 Juri Linkov <juri@jurta.org>
721 * indent.el (indent-line-to): Use backward-to-indentation
722 instead of back-to-indentation. (Bug#16461)
724 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
726 Revert some of the CANNOT_DUMP fix (Bug#16494).
727 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
728 but fixing this can wait until after the next release.
729 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
731 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
733 * eshell/esh-mode.el (eshell-password-prompt-regexp):
734 Use `password-word-equivalents'.
735 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
736 to t. (Bug#5664, Bug#13124)
738 2014-01-19 Alan Mackenzie <acm@muc.de>
740 Bind open-paren-in-column-0-is-defun-start to nil at some entry
742 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
743 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
744 * progmodes/cc-mode.el (c-before-change, c-after-change)
745 (c-font-lock-fontify-region): Bind it here.
747 2014-01-19 Martin Rudalics <rudalics@gmx.at>
749 * term.el (term-window-width): Call window-text-width instead of
750 window-width (Bug#16470).
752 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
754 * simple.el (password-word-equivalents): Remove duplicates.
755 Sort, to make this easier next time.
756 Downcase. Omit ": " after "jelszó".
758 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
760 * term/common-win.el (saved-region-selection): Defvar it.
761 (x-select-text): Set saved-region-selection (Bug#16382).
763 2014-01-18 Glenn Morris <rgm@gnu.org>
765 * emacs-lisp/authors.el (authors-aliases)
766 (authors-renamed-files-alist): Add some entries.
768 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
770 * net/tramp.el (tramp-password-prompt-regexp):
771 Use `password-word-equivalents' if available.
772 (tramp-action-password, tramp-process-one-action)
773 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
775 2014-01-17 Chong Yidong <cyd@gnu.org>
777 * simple.el (password-word-equivalents): New defcustom.
778 * comint.el (comint-password-prompt-regexp): Use it. Bump version
780 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
783 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
785 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
786 (ruby-align-to-stmt-keywords): Change the default value.
787 Use `ruby-alignable-keywords' to generate the possible customization
789 (ruby-smie-rules): Instead of using a hardcoded list of alignable
790 keywords, check against the value of `ruby-alignable-keywords'
791 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
793 2014-01-17 Glenn Morris <rgm@gnu.org>
795 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
797 Make M-x authors return zero *Authors Errors* from current logs.
798 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
799 (authors-ignored-files): Add some entries, remove others.
800 (authors-ambiguous-files, authors-valid-file-names):
802 (authors-renamed-files-alist): Add, remove, and adjust entries.
803 (authors-renamed-files-regexps): Add some entries.
804 Remove some very broad ones. Make some entries `lax'.
805 (authors-lax-changelogs): New constant.
806 (authors-disambiguate-file-name): Treat top-level specially.
807 (authors-lax-changelog-p): New function.
808 (authors-canonical-file-name): Check file as written against
809 authors-valid-file-names. Do not special-case etc/.
810 Handle `lax' logs and authors-renamed-files-regexps elements.
812 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
814 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
815 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
818 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
820 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
821 Assume we're already in the proper buffer.
822 Inspired by Anders Lindgren <andlind@gmail.com>.
823 (follow-post-command-hook): Call it from the right buffer.
824 (follow-comint-scroll-to-bottom): Adjust call.
825 (follow-all-followers): Use get-buffer-window-list.
827 2014-01-15 Daniel Colascione <dancol@dancol.org>
829 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
830 `buffer-file-name' in interactive-form so that we don't leave
831 pathless file names in `file-name-history'.
833 2014-01-15 Juri Linkov <juri@jurta.org>
835 * indent.el (indent-rigidly): Set deactivate-mark to nil
836 in transient indentation mode. (Bug#16438)
838 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
840 * emacs-lisp/package.el (package-desc-keywords): New function
842 (describe-package-1, package-all-keywords)
843 (package--has-keyword-p): Use it.
845 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
847 * simple.el (define-alternatives): When creating the
848 COMMAND-alternatives variable, assign COMMAND as its definition
849 name so that `describe-variable' can relocate it.
851 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
853 * font-lock.el (font-lock-keywords): Fix typo in docstring
856 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
858 * ispell.el (ispell-region): Reset `in-comment' for new line
859 instead of wrongly reset `add-coment' (bug#13577).
861 2014-01-14 Daiki Ueno <ueno@gnu.org>
863 * epa-file.el (epa-file-write-region): Encode the region according
864 to `buffer-file-format'. Problem reported at:
865 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
867 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
869 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
870 so it applies in the right buffer (bug#16410).
872 2014-01-13 Daniel Colascione <dancol@dancol.org>
874 * textmodes/rst.el (rst-define-key): Provide deprecated
875 keybindings through named functions instead of anonymous ones so
876 that "??" doesn't appear in describe-mode output.
878 2014-01-13 Bastien Guerry <bzg@gnu.org>
880 * simple.el (define-alternatives): Call the selected command
881 interactively. When setting `COMMAND--implementation' for the
882 first time, tell the user how to chose another implementation.
883 Enhance the docstring.
885 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
887 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
888 (log-edit--match-first-line): New function.
889 (log-edit-font-lock-keywords): Use it.
890 (log-edit-mode): Make jit-lock-defer-multiline work.
892 2014-01-13 Bastien Guerry <bzg@gnu.org>
894 * rect.el (rectangle-mark-mode): When the region is not active,
895 display a message saying that the mark as been set and that
896 rectangle mode is in use.
897 (rectangle--highlight-for-redisplay): Only put an overlay with a
898 visible vertical bar when (display-graphic-p) is non-nil.
899 This partially fixes Bug#16403.
901 2014-01-13 Juri Linkov <juri@jurta.org>
903 * info.el (Info-find-file): Go to DIR before displaying the error
904 about a nonexistent file if no previous Info file is visited.
905 Use `user-error' instead of `error' for "Info file %s does not exist".
906 (Info-find-node-2): In case of a nonexistent node in unwind forms
907 go to the Top node if there is no previous node to revert to.
910 2014-01-13 Martin Rudalics <rudalics@gmx.at>
912 fit-frame/window-to-buffer code fixes including one for Bug#14096.
913 * window.el (fit-frame-to-buffer): Fix doc-string.
914 Respect window-min-height/-width. Fit pixelwise when
915 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
916 when avoiding that frame goes partially off-screen.
917 (fit-window-to-buffer): Respect window-min-height/-width
920 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
922 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
925 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
927 * net/shr.el (shr-render-region): Autoload.
929 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
931 * net/eww.el (eww-download-directory): Rename from
932 `eww-download-path' (Bug#16419).
934 2014-01-12 Leo Liu <sdl.web@gmail.com>
936 * dired-x.el (dired-mode-map): Fix last change.
938 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
940 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
943 * emacs-lisp/generic.el (generic--normalize-comments):
944 Rename from generic--normalise-comments. All uses changed.
945 * play/bubbles.el (bubbles--neighborhood-score):
946 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
947 (bubbles--neighborhood-available)
948 (bubbles--update-neighborhood-score):
949 Rename from names with 'neighbourhood'. All uses changed.
951 2014-01-12 Leo Liu <sdl.web@gmail.com>
953 Re-implement the feature of showing eldoc info after editing.
954 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
955 (eldoc-edit-message-commands): New function.
956 (eldoc-print-after-edit): New variable.
957 (eldoc-pre-command-refresh-echo-area): Emit message only by
958 eldoc-message-commands.
959 (eldoc-mode): Restrict eldoc-message-commands to editing commands
960 if eldoc-print-after-edit is set. (Bug#16346)
961 * simple.el (read--expression): Enable eldoc-mode.
962 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
964 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
965 Eric S. Raymond <esr@thyrsus.com>
967 * version.el (emacs-repository-get-version): Enhance so the
968 function works correctly in either a Bazaar or Git repo.
970 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
972 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
973 Goes with removal of the joke manpages from /etc.
975 2014-01-10 Kenichi Handa <handa@gnu.org>
977 * mail/rmail.el (rmail-get-coding-system):
978 Check rmail-get-coding-function before "funcall"ing it.
980 2014-01-10 Glenn Morris <rgm@gnu.org>
982 * emacs-lisp/authors.el (authors-fixed-entries):
983 Update for files that no longer exist.
985 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
987 * version.el (emacs-bzr-get-version): Restore compatibilty with
990 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
992 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
995 2014-01-10 Eli Zaretskii <eliz@gnu.org>
997 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
999 2014-01-10 Chong Yidong <cyd@gnu.org>
1001 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
1003 2014-01-10 Anders Lindgren <andlind@gmail.com>
1005 * follow.el (follow-cache-command-list): Include right-char and
1008 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
1011 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
1012 * woman.el (woman-mark-horizontal-position):
1013 Rename from woman-mark-horizonal-position. Use changed.
1015 2014-01-10 Glenn Morris <rgm@gnu.org>
1017 * info.el (info-initialize): If running uninstalled, ensure our
1018 own info files are always found first, even if INFOPATH is set.
1020 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
1022 2014-01-09 David Engster <deng@randomsample.de>
1024 * emacs-lisp/eieio-custom.el:
1025 * emacs-lisp/eieio-opt.el: Set generated autoload file to
1026 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
1027 * emacs-lisp/eieio.el: Regenerate autoloads.
1029 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
1031 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
1032 following renames. (Bug#8756)
1034 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
1036 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
1038 (activate-mark): Add `no-tmm' argument.
1039 (set-mark, push-mark-command): Use it instead of running
1040 activate-mark-hook by hand.
1042 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
1044 In preparation for the move to git, sanitize out some
1045 Bazaar-specific names.
1047 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
1049 * version.el (emacs-bzr-version): Name changed to
1050 emacs-repository-version. Obsolete-variable alias made.
1051 * loadup.el: Follow through on this name change.
1052 * mail/emacsbug.el (report-emacs-bug): Factor out any
1053 assumption about the version control system in use.
1055 2014-01-08 David Engster <deng@randomsample.de>
1057 * help-fns.el (help-fns-describe-function-functions):
1058 New variable to call functions for augmenting help buffers.
1059 (describe-function-1): Remove explicit calls to
1060 `help-fns--compiler-macro', `help-fns--parent-mode' and
1061 `help-fns--obsolete'. Put them in above new variable instead, and
1062 call them through `run-hook-with-args'.
1063 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
1064 `eieio-describe-class'. Not meant for interactive use anymore,
1065 but to augment existing help buffers. Remove optional second
1066 argument. Create proper button for file location.
1067 Rewrite function to use `insert' instead of `princ' and `prin1' where
1069 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
1070 (eieio-method-def, eieio-class-def): Move further up.
1071 (describe-method, describe-generic, eieio-describe-method):
1073 (eieio-help-constructor, eieio-help-generic): Rename from
1074 `eieio-describe-constructor' and `eieio-describe-generic', resp.
1075 Rewrite to use `insert' in the current buffer and use proper help
1077 (eieio-help-find-method-definition)
1078 (eieio-help-find-class-definition): Also accept symbols as
1080 (eieio-help-mode-augmentation-maybee): Remove.
1081 (eieio-describe-class-sb): Use `describe-function'.
1082 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
1083 Add `eieio-help-generic' and `eieio-help-constructor'.
1085 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
1088 * language/china-util.el (hz-ascii-designation):
1089 Rename from hz-ascii-designnation.
1090 (hz-ascii-designation): Rename from hz-ascii-designnation.
1093 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
1095 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
1098 2014-01-08 Bastien Guerry <bzg@gnu.org>
1100 * emacs-lisp/package.el (package-delete):
1101 Correctly delete the package from package-alist.
1103 2014-01-08 Daiki Ueno <ueno@gnu.org>
1105 * emacs-lisp/package.el (url-recreate-url): Declare.
1106 (url-http-target-url): Declare.
1107 (package-handle-response): Include requested URL in the error message.
1108 (package--check-signature): Don't re-signal errors from
1109 package--with-work-buffer. Suggested by Stefan Monnier.
1111 2014-01-07 Bastien Guerry <bzg@gnu.org>
1113 * minibuffer.el (completion--try-word-completion): When both a
1114 hyphen and a space are possible candidates for the character
1115 following a word, display both candidates. (Bug#15980)
1117 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1119 * window.el (balance-windows-2): While rounding don't give a
1120 window more than the remainder. Bug#16351, bug#16383.
1122 2014-01-07 Glenn Morris <rgm@gnu.org>
1124 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1125 (menu-bar-help-menu): Use view-external-packages instead.
1127 2014-01-07 Bastien Guerry <bzg@gnu.org>
1129 * emacs-lisp/package.el (package-delete): Also delete the package
1130 name from `package-alist', not its description only.
1132 2014-01-07 Glenn Morris <rgm@gnu.org>
1134 * help.el (view-external-packages):
1135 * menu-bar.el (menu-bar-help-extra-packages):
1136 Visit efaq.info rather than etc/MORE.STUFF.
1138 2014-01-07 Juri Linkov <juri@jurta.org>
1140 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1141 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1143 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1144 that shadows RET. (Bug#16342)
1146 2014-01-07 Chong Yidong <cyd@gnu.org>
1148 * isearch.el (isearch-yank-char, isearch-yank-word)
1149 (isearch-yank-line): Doc fix.
1151 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1153 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1154 * emacs-lisp/elint.el (elint-find-builtins):
1155 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1156 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1157 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1158 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1159 * apropos.el (apropos-safe-documentation):
1160 * subr.el (symbol-file): Remove redundant fboundp.
1161 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1163 2014-01-06 Bastien Guerry <bzg@gnu.org>
1165 * hl-line.el (global-hl-line-overlay): Make a local variable.
1166 (global-hl-line-overlays): New variable to store all overlays.
1167 (global-hl-line-mode): Don't delete overlays from the current
1168 buffer when `global-hl-line-sticky-flag' is non-nil.
1169 (global-hl-line-highlight): Add new overlays to
1170 `global-hl-line-overlays'.
1171 (global-hl-line-unhighlight-all): New function to delete all
1172 overlays when turning off `global-hl-line-mode'.
1173 This fixes Bug#16183.
1175 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1177 * subr.el (set-transient-map): Fix nested case and docstring.
1179 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1181 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1184 2014-01-06 Daniel Colascione <dancol@dancol.org>
1186 Fix defun navigation in vc log view.
1188 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1189 like `beginning-of-defun'.
1190 (log-view-end-of-defun, log-view-end-of-defun-1): Rename old
1191 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1192 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1193 (log-view-extract-comment): Call `log-view-current-entry' directly
1194 instead of relying on broken `log-view-beginning-of-defun' behavior.
1196 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1199 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1200 * emacs-lisp/debug.el (cancel-debug-on-entry):
1201 * epg.el (epg-error-to-string):
1202 * files.el (recover-file):
1203 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1204 * mail/emacsbug.el (report-emacs-bug-hook):
1205 * mail/sendmail.el (mail-recover):
1206 * ses.el (ses-yank-resize):
1207 * term/ns-win.el (ns-print-buffer):
1208 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1209 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1211 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1213 2014-01-06 Leo Liu <sdl.web@gmail.com>
1215 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1216 to avoid shadowing global key. (Bug#16354)
1218 2014-01-06 Daniel Colascione <dancol@dancol.org>
1220 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1223 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1225 * window.el (balance-windows): Add mising t to fix Bug#16351.
1227 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1229 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1231 (shr-insert): If we have a word that's longer than `shr-width',
1232 break after it anyway. Otherwise we'll do no breaking once we get
1235 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1237 * net/eww.el (eww): Support single/double quote for search.
1238 * net/eww.el (eww-list-histories, eww-history-browse): Fixup.
1239 (eww-history-quit): Delete and use quit-window.
1240 (eww-history-kill): Delete, because it doesn't work well and
1242 (eww-history-mode-map): Delete some keys and add easy-menu.
1244 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1246 Fix misspelling of 'chinese' in rx (Bug#16237).
1247 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1250 Change subword regexps back to vars (Bug#16296).
1251 * progmodes/subword.el (subword-forward-regexp)
1252 (subword-backward-regexp): Change these back to variables.
1254 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1256 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1257 syntax-begin-function (bug#16247).
1259 2014-01-03 Chong Yidong <cyd@gnu.org>
1261 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1262 (advice--docstring): Delete variable.
1263 (advice--make-1): Leave the docstring empty.
1264 (advice-add): Use function-documentation for advised docstring.
1266 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1267 Ignore function-documentation property when getting documentation.
1268 (ad-activate-advised-definition): Use function-documentation
1269 generate the docstring.
1270 (ad-make-advised-definition): Don't call
1271 ad-make-advised-definition-docstring.
1272 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1275 * progmodes/sql.el (sql-help): Use function-documentation instead
1276 of dynamic-docstring-function property. No need to autoload now.
1277 (sql--help-docstring): New variable.
1278 (sql--make-help-docstring): Use it.
1280 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1282 * ielm.el (ielm-tab): Retarget.
1283 (ielm-map): Use ielm-tab for tab.
1284 (ielm-complete-filename): Use comint-filename-completion.
1285 (ielm-complete-symbol): Remove.
1286 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1287 remove ielm-tab from completion-at-point-functions (bug#16224).
1289 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1290 Beware signals raised by predicates (bug#16201).
1292 2014-01-02 Richard Stallman <rms@gnu.org>
1294 * dired-aux.el (dired-do-print): Handle printer-name.
1296 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1297 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1298 (rmail-epa-decrypt): Turn off mime processing.
1300 * mail/rmail.el (rmail-make-in-reply-to-field):
1301 Add parens in message-id.
1303 * mail/rmail.el (rmail-get-coding-function): Variable.
1304 (rmail-get-coding-system): Use it.
1306 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1308 * international/mule-conf.el: Unify the charset indian-is13194.
1309 (indian-is13194): Specify unify-map.
1311 2013-12-31 Leo Liu <sdl.web@gmail.com>
1313 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1315 2013-12-30 Daniel Colascione <dancol@dancol.org>
1317 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1318 of printing a useless when we resume from sleep.
1320 * progmodes/sh-script.el
1321 (sh-smie-sh-forward-token, sh-smie-rc-forward-token): Fix infloop
1322 in indentation code. (Bug#16233)
1324 2013-12-28 João Távora <joaotavora@gmail.com>
1326 * elec-pair.el (electric-pair-post-self-insert-function):
1327 Don't open extra newlines at beginning of buffer. (Bug#16272)
1329 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1331 * frame.el (window-system-for-display): Don't allow to create a
1332 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1334 2013-12-28 Glenn Morris <rgm@gnu.org>
1336 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1339 * apropos.el (apropos-match-face):
1340 * calculator.el (calculator-displayer):
1341 * dabbrev.el (dabbrev-search-these-buffers-only):
1342 * face-remap.el (buffer-face-mode-face):
1343 * simple.el (yank-handled-properties):
1344 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1345 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1346 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1347 (hashcash-double-spend-database):
1348 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1349 (ruby-deep-indent-paren-style):
1350 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1351 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1352 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1353 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1354 Specify custom types.
1356 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1357 * bookmark.el (bookmark-bmenu-use-header-line):
1358 * doc-view.el (doc-view-scale-internally):
1359 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1360 * register.el (register-preview-delay):
1361 * net/shr.el (shr-bullet):
1362 * progmodes/cfengine.el (cfengine-cf-promises)
1363 (cfengine-parameters-indent):
1364 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1365 * textmodes/reftex-vars.el (reftex-label-regexps):
1366 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1368 * net/tls.el (tls-certtool-program): Fix default value.
1370 * desktop.el (desktop-restore-in-current-display):
1371 * newcomment.el (comment-empty-lines):
1372 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1373 (idlwave-pad-keyword):
1374 * progmodes/tcl.el (tcl-tab-always-indent):
1375 * textmodes/reftex-vars.el (reftex-index-default-tag):
1376 * elec-pair.el (electric-pair-skip-whitespace):
1377 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1379 * emacs-lisp/authors.el (authors-ignored-files)
1380 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1382 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1384 * shell.el (shell-dynamic-complete-command): Doc fix.
1385 (shell--command-completion-data): Shell completion now matches
1386 executable filenames from the current buffer's directory, on
1387 systems in which this behavior is the default (windows-nt, ms-dos).
1389 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1391 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1393 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1395 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1398 * electric.el: Move all electric-pair-* to elec-pair.el.
1399 * elec-pair.el: New file, split from electric.el.
1401 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1403 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1404 indentation level is larger than the width, because that will
1406 (shr-insert): Fill repeatedly long texts, so that Japanese is
1407 formatted correctly (bug#16263).
1408 (shr-find-fill-point): Off by one error in comparison with the
1411 2013-12-26 João Távora <joaotavora@gmail.com>
1413 * electric.el (electric-pair-mode): More flexible engine for skip-
1414 and inhibit predicates, new options for pairing-related functionality.
1415 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1416 if that keeps or improves their balance in buffers.
1417 (electric-pair-delete-adjacent-pairs): Delete the pair when
1418 backspacing over adjacent matched delimiters.
1419 (electric-pair-open-extra-newline): Open extra newline when
1420 inserting newlines between adjacent matched delimiters.
1421 (electric--sort-post-self-insertion-hook):
1422 Sort post-self-insert-hook according to priority values when
1423 minor-modes are activated.
1424 * simple.el (newline-and-indent): Call newline with interactive
1426 (blink-paren-post-self-insert-function): Set priority to 100.
1427 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1428 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1429 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1430 electric-pair-open-newline-between-pairs to nil.
1432 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1434 * progmodes/python.el: Use lexical-binding.
1435 (python-nav-beginning-of-defun): Stop searching ASAP.
1437 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1439 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1440 Fix interactive spec. Doc fix. (Bug#15754)
1442 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1444 * emacs-lisp/byte-run.el (eval-when-compile):
1445 * progmodes/cc-defs.el (cc-eval-when-compile):
1446 Fix edebug spec (bug#16184).
1448 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1450 * net/shr.el (shr-visit-file): Remove debugging function.
1451 (shr-insert): Don't infloop if we can't find a good place to break
1452 the line (bug#16256).
1454 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1456 * progmodes/python.el:
1457 (python-nav--lisp-forward-sexp): New function.
1458 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1459 python-nav-lisp-forward-sexp-safe.
1460 (python-nav--forward-sexp): New argument SAFE allows switching
1461 forward sexp movement behavior for parens.
1462 (python-nav-forward-sexp): Throw errors on unterminated parens
1464 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1465 (python-nav-backward-sexp-safe): New functions.
1466 (python-shell-buffer-substring):
1467 Use `python-nav-forward-sexp-safe'.
1469 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1471 * net/shr.el (shr-find-fill-point): Don't break lines before a
1473 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1474 (shr-find-fill-point): Remove the special checks for the quotation
1475 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1477 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1479 * net/eww.el (eww-form-textarea): Use a different face for
1480 textareas than text input since they have different keymaps
1483 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1485 * progmodes/python.el (python-nav-beginning-of-statement):
1486 Speed up (Bug#15295).
1488 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1490 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1491 the window configuration.
1493 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1495 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1496 we run on MS-Windows or MS-DOS.
1498 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1500 * window.el (balance-windows-area): Call window-size instead of
1501 window-height and window-width. Bug#16241.
1503 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1505 * net/eww.el (eww-bookmark-quit): Remove.
1506 (eww-bookmark-browse): Restore the window configuration when you
1507 choose a bookmark (bug#16144).
1509 2013-12-24 Daniel Colascione <dancol@dancol.org>
1511 * icomplete.el: Remove redundant :group arguments to `defcustom'
1513 (icomplete-show-matches-on-no-input): New customizable variable.
1514 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1515 we have something to show.
1516 (icomplete-exhibit): Compute completions even if we have no user input.
1518 2013-12-23 Daniel Colascione <dancol@dancol.org>
1520 * icomplete.el: Move `provide' to end of file.
1522 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1524 * net/gnutls.el (gnutls-verify-error): Add version tag.
1526 2013-12-23 Chong Yidong <cyd@gnu.org>
1528 * subr.el (set-transient-map): Rename from
1529 set-temporary-overlay-map. Doc fix.
1531 * face-remap.el (text-scale-adjust):
1532 * indent.el (indent-rigidly):
1533 * kmacro.el (kmacro-call-macro):
1534 * minibuffer.el (minibuffer-force-complete):
1535 * repeat.el (repeat):
1536 * simple.el (universal-argument--mode):
1537 * calendar/todo-mode.el (todo-insert-item--next-param):
1538 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1540 * indent.el (indent-rigidly): Use substitute-command-keys.
1542 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1544 * net/eww.el (eww-tag-select): Add text-property to jump to next
1546 (eww): Add non-supported ftp error.
1548 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1550 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1551 comments. Handle electric indent after typing `?' and `!'.
1553 2013-12-22 Chong Yidong <cyd@gnu.org>
1555 * faces.el (face-spec-recalc): If the theme specs are not
1556 applicable to a frame, fall back on the defface spec.
1557 This prevents themes from obliterating faces on low-color terminals.
1559 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1561 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1562 after `{'. We need it after block openers, and it doesn't seem
1563 to hurt after hash openers.
1565 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1567 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1568 extracted from `ruby-smie-rules'.
1569 (ruby--electric-indent-chars): New variable.
1570 (ruby--electric-indent-p): New function.
1571 (ruby-mode): Use `electric-indent-functions' instead of
1572 `electric-indent-chars'.
1574 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1576 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1578 (ruby-smie-rules): Indent plus one level after `=>'.
1580 2013-12-21 Richard Stallman <rms@gnu.org>
1582 * simple.el (newline): Doc fix.
1584 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1586 * net/eww.el (eww-list-histories, eww-list-histories)
1587 (eww-history-browse, eww-history-quit, eww-history-kill)
1588 (eww-history-mode-map, eww-history-mode): New command and
1589 functions to list browser histories.
1590 (eww-form-text): Support text form with disabled
1591 and readonly attributes.
1592 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1594 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1596 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1597 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1598 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1599 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1601 (eww-bookmark-mode-map): Add menu.
1602 (eww-render, eww-mode): Use `setq-local'.
1603 (eww-tool-bar-map): New variable.
1604 (eww-mode): Set `tool-bar-map'.
1605 (eww-view-source): Check for `html-mode' with `fboundp'.
1607 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1609 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1610 elements with text inside. Also remove debugging.
1612 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1614 * cus-start.el (all): Add ns-use-srgb-colorspace.
1616 2013-12-21 Chong Yidong <cyd@gnu.org>
1618 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1619 undefined. Thus, theme settings for undefined faces do not take
1620 effect until the faces are defined with defface, the same as with
1623 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1624 (face-spec-reset-face): Don't assign extra properties in temacs.
1625 (face-spec-recalc): Apply X resources too.
1627 2013-12-21 Chong Yidong <cyd@gnu.org>
1629 * faces.el (face-spec-set):
1630 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1631 * custom.el (defface): Doc fixes (Bug#16203).
1633 * indent.el (indent-rigidly-map): Add docstring, and move commands
1634 into named functions.
1635 (indent-rigidly-left, indent-rigidly-right)
1636 (indent-rigidly-left-to-tab-stop)
1637 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1638 indentation direction based on bidi direction, and accumulate
1639 sequential commands in a single undo boundary.
1640 (indent-rigidly--pop-undo): New utility function.
1642 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1644 * faces.el (read-face-name): Require crm.el when using crm-separator.
1646 2013-12-20 Daniel Colascione <dancol@dancol.org>
1648 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1649 so that we don't reflow comments into the shebang line.
1651 2013-12-20 Juri Linkov <juri@jurta.org>
1653 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1654 a position when `dired-directory' is non-nil. Check integer
1655 positions with `integerp'.
1656 (toggle-save-place, save-places-to-alist): Add check for
1658 (save-place-find-file-hook): Check integer positions with
1660 (save-place-dired-hook): Use `dired-goto-file' when
1661 `dired-filename' is found in the assoc list. Check integer
1662 positions with `integerp'.
1663 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1665 * dired.el (dired-initial-position-hook): Rename back from
1666 `dired-initial-point-hook'.
1667 (dired-initial-position): Rename `dired-initial-point-hook' to
1668 `dired-initial-position-hook'.
1669 (dired-file-name-at-point): Doc fix. (Bug#15329)
1671 2013-12-20 Juri Linkov <juri@jurta.org>
1673 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1674 (read-regexp-suggestions): New function.
1675 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1676 Use `read-regexp-suggestions'. Add non-empty default to history
1678 (occur-read-regexp-defaults-function): Remove function.
1679 (occur-read-primary-args): Use `regexp-history-last' instead of
1680 `occur-read-regexp-defaults-function'.
1682 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1683 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1684 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1685 `hi-lock-read-regexp-defaults-function'. Doc fix.
1686 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1687 with `find-tag-default-as-symbol-regexp'. Doc fix.
1688 (hi-lock-read-regexp-defaults): Remove function.
1689 (hi-lock-regexp-okay): Add check for null.
1691 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1692 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1694 * subr.el (find-tag-default-as-symbol-regexp): New function.
1695 (find-tag-default-as-regexp): Move symbol regexp formatting to
1696 `find-tag-default-as-symbol-regexp'.
1698 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1700 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1703 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1705 * calendar/todo-mode.el: New implementation of item insertion
1706 commands and key bindings.
1707 (todo-key-prompt): New face.
1708 (todo-insert-item): New command.
1709 (todo-insert-item--parameters): New defconst, replacing defvar
1710 todo-insertion-commands-args-genlist.
1711 (todo-insert-item--param-key-alist): New defconst, replacing
1712 defvar todo-insertion-commands-arg-key-list.
1713 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1714 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1715 (todo-insert-item--next-param): New functions.
1716 (todo-insert-item--args, todo-insert-item--argleft)
1717 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1719 (todo-key-bindings-t): Change binding of "i" from
1720 todo-insertion-map to todo-insert-item.
1721 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1722 (todo-insertion-command-name, todo-insertion-commands-names)
1723 (todo-define-insertion-command, todo-insertion-commands)
1724 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1726 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1728 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1729 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1731 (todo-move-category): Allow choosing a non-existing todo file to
1732 move the category to, and create that file.
1733 (todo-default-priority): New user option.
1734 (todo-set-item-priority): Use it.
1735 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1736 (desktop-restore-file-buffer): Declare.
1737 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1738 (todo-modes-set-2): Locally set desktop-save-buffer to
1739 todo-desktop-save-buffer.
1740 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1741 (auto-mode-alist): Add autoload cookie.
1743 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1745 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1746 helpers.el was a poor choice of name.
1747 (string-remove-prefix): New function.
1748 (string-remove-suffix): New function.
1750 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1752 Fix assignment for new window total sizes.
1753 * window.el (window--pixel-to-size): Remove function.
1754 (window--pixel-to-total-1, window--pixel-to-total):
1755 Fix calculation of new total sizes.
1757 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1759 * comint.el (comint-output-filter): Fix rear-nonsticky property
1760 placement (Bug#16010).
1762 2013-12-20 Chong Yidong <cyd@gnu.org>
1764 * faces.el (read-color): Minor fix for completion function.
1766 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1768 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1769 New option. (Bug#16182)
1770 (ruby-smie--indent-to-stmt-p): Use it.
1771 (ruby-smie-rules): Revert the logic in the handling of `when'.
1772 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1773 (ruby-deep-arglist, ruby-deep-indent-paren)
1774 (ruby-deep-indent-paren-style): Update docstrings to note that the
1775 vars don't have any effect with SMIE.
1777 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1779 * calc/calc.el (calc-enter, calc-pop): Use the variable
1780 `calc-context-sensitive-enter'.
1782 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1784 * net/shr.el (shr-insert): Protect against infloops in degenerate
1787 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1789 * progmodes/octave.el (octave): Add link to manual and octave
1791 (octave-mode-menu): Link to octave-mode manual.
1793 2013-12-20 Leo Liu <sdl.web@gmail.com>
1795 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1796 insertion using skeleton-end-newline. (Bug#16138)
1798 2013-12-20 Juri Linkov <juri@jurta.org>
1800 * replace.el (occur-engine): Use `add-face-text-property'
1801 to add the face property to matches and titles. (Bug#14645)
1803 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1804 the palette of other hi-lock colors.
1805 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1807 2013-12-19 Juri Linkov <juri@jurta.org>
1809 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1810 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1811 (minibuffer-history-symbol): Move variable declaration closer to
1814 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1817 2013-12-19 Juri Linkov <juri@jurta.org>
1819 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1821 (log-edit-hook): Add it to :options. (Bug#16170)
1823 2013-12-19 Juri Linkov <juri@jurta.org>
1825 * simple.el (eval-expression-print-format): Don't check for
1826 command names and the last command. Always display additional
1827 formats of the integer result in the echo area, and insert them
1828 to the current buffer only with a zero prefix arg.
1829 Display character when char-displayable-p is non-nil.
1830 (eval-expression): With a zero prefix arg, set `print-length' and
1831 `print-level' to nil, and insert the integer values from
1832 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1834 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1835 `eval-last-sexp-arg-internal'. Doc fix.
1836 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1837 `eval-last-sexp-print-value'. Doc fix.
1838 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1839 Set `print-length' and `print-level' to nil when arg is zero.
1840 (eval-last-sexp): Doc fix.
1841 (eval-defun-2): Print the integer values from
1842 `eval-expression-print-format' at the end.
1844 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1845 values from `eval-expression-print-format' at the end.
1847 * ielm.el (ielm-eval-input): Print the integer
1848 values from `eval-expression-print-format' at the end.
1850 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1852 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1853 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1855 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1857 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1858 (hl-line-highlight, global-hl-line-highlight): Use it.
1859 (hl-line-overlay): Use defvar-local.
1861 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1863 * term/ns-win.el: Require dnd.
1864 (global-map): Remove drag items.
1865 (ns-insert-text, ns-set-foreground-at-mouse)
1866 (ns-set-background-at-mouse):
1867 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1868 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1871 2013-12-19 Glenn Morris <rgm@gnu.org>
1873 * emacs-lisp/ert.el (ert-select-tests):
1874 Fix string/symbol mixup. (Bug#16121)
1876 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1878 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1879 keywords to their parent.
1881 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1883 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1884 first arg to be a string (fixed dead code), or an operator symbol.
1885 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1887 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1888 did nothing. Don't respond to `(:after ".")', it will be called
1889 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1890 change anything. Only return indentation for binary operators
1891 when they are hanging. De-dent opening paren when its parent is
1892 `.', otherwise it looks bad when the dot is not at bol or eol
1895 2013-12-19 Juri Linkov <juri@jurta.org>
1897 * replace.el (query-replace-read-args): Split a non-negative arg
1898 and a negative arg into separate elements.
1899 (query-replace, query-replace-regexp, replace-string)
1900 (replace-regexp): Add arg `backward'. Doc fix.
1901 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1902 move point to the beginning of the match.
1903 (replace-search, replace-highlight): Use new arg `backward'
1904 to set the value of `isearch-forward'.
1905 (perform-replace): Add arg `backward' and use it to perform
1906 replacement backward. (Bug#14979)
1908 * isearch.el (isearch-query-replace): Use a negative prefix arg
1909 to call `perform-replace' with a non-nil arg `backward'.
1911 2013-12-18 Juri Linkov <juri@jurta.org>
1913 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1914 to the default list. Move `log-edit-show-files' to the end.
1915 Add more available functions to options.
1916 (log-edit): Move default specific settings to
1917 `log-edit-insert-message-template'. Don't move point.
1918 (log-edit-insert-message-template): New function.
1919 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1922 2013-12-18 Juri Linkov <juri@jurta.org>
1924 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1925 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1927 2013-12-18 Leo Liu <sdl.web@gmail.com>
1929 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1932 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1934 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1935 formats for displaying file sizes when the -s switch is given.
1936 Instead, compute a separate format for displaying the size in
1937 blocks, which is displayed in addition to the "regular" size.
1938 When -h is given in addition to -s, produce size in blocks in
1939 human-readable form as well. (Bug#16179)
1941 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1943 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1944 Reference tables with ~\ref{...} instead of only \ref{...}.
1946 2013-12-18 Chong Yidong <cyd@gnu.org>
1948 * cus-edit.el (custom-magic-alist): Fix "themed" description
1951 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1952 is non-nil, do not create a new entry in the symbol's theme-value
1953 or theme-face property; update theme-settings only (Bug#14664).
1954 (custom-available-themes): Doc fix.
1956 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1959 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1961 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1963 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1966 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1968 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1970 2013-12-18 Glenn Morris <rgm@gnu.org>
1972 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1973 * cus-start.el (load-prefer-newer): New option.
1975 2013-12-18 Le Wang <l26wang@gmail.com>
1977 * comint.el (comint-previous-matching-input-from-input):
1978 Retain point (Bug#13404).
1980 2013-12-18 Chong Yidong <cyd@gnu.org>
1982 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1984 2013-12-18 Glenn Morris <rgm@gnu.org>
1986 * mail/emacsbug.el (report-emacs-bug):
1987 Only mention enable-multibyte-characters if non-standard.
1989 2013-12-17 Juri Linkov <juri@jurta.org>
1991 * arc-mode.el (archive-extract-by-file): Check if directory exists
1992 before deletion to not show irrelevant errors if it doesn't exist.
1994 2013-12-17 Juri Linkov <juri@jurta.org>
1996 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1999 * net/eww.el (browse-web): Add alias to `eww'.
2000 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
2001 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
2003 * net/browse-url.el (browse-url-browser-function): Move `eww'
2004 closer to similar functions.
2006 * startup.el (fancy-startup-screen, fancy-about-screen):
2007 Set browse-url-browser-function to eww-browse-url locally.
2010 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2012 * window.el (window--pixel-to-total): Remove unused `mini' var.
2013 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
2014 (split-window): Remove unused `new' var.
2015 (window--display-buffer): Remove unused `frame' and `delta' vars.
2016 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
2019 2013-12-17 Martin Rudalics <rudalics@gmx.at>
2021 * dired.el (dired-mark-pop-up):
2022 * register.el (register-preview): Don't bind
2023 split-height-threshold here since it's now done in
2024 display-buffer-below-selected.
2026 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
2028 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
2029 xterm-rgb-convert-to-16bit.
2030 (rxvt-register-default-colors): Standardize with
2031 xterm-register-default-colors (Bug#14078).
2033 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
2035 * simple.el (kill-region): Pass mark first, then point, so that
2036 kill-append works right (Bug#12819).
2037 (copy-region-as-kill, kill-ring-save): Likewise.
2039 2013-12-17 Leo Liu <sdl.web@gmail.com>
2041 * net/rcirc.el (rcirc-add-face):
2042 * eshell/em-prompt.el (eshell-emit-prompt):
2043 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
2046 2013-12-17 Chong Yidong <cyd@gnu.org>
2048 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
2049 Suggested by Xue Fuqiao.
2051 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2053 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
2055 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
2057 * net/shr.el (shr-insert-document): Remove unused var
2058 `shr-preliminary-table-render'.
2059 (shr-rescale-image): Remove unused arg `force'.
2060 (shr-put-image): Update calls accordingly.
2061 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
2063 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
2065 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
2066 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
2067 :close-all, to see which indentation method to use (Bug#16116).
2068 (smie-rules-function): Document the method :close-all.
2070 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
2072 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
2074 * net/eww.el (eww-display-html): If we can't find the anchor we're
2075 looking for, then go to point-min.
2077 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
2079 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
2080 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
2081 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
2082 Expand dir too, in case it's relative.
2084 2013-12-16 Juri Linkov <juri@jurta.org>
2086 * desktop.el (desktop-auto-save-timeout): Change default to
2087 `auto-save-timeout'. Doc fix.
2088 (desktop-save): Skip the timestamp in desktop-saved-frameset
2089 when checking for auto-save changes.
2090 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
2091 `desktop-auto-save' is called repeatedly by the idle timer.
2092 (desktop-auto-save-set-timer): Replace `run-with-timer' with
2093 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
2096 2013-12-16 Juri Linkov <juri@jurta.org>
2098 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2100 (isearch-pre-command-hook): Check `this-command' for symbolp.
2102 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2104 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2106 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2108 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2109 (cfengine3--current-function): Bring in the current-function
2110 functionality from `cfengine3--current-word'.
2111 (cfengine3-completion-function): Bring in the
2112 bounds-of-current-word functionality from
2113 `cfengine3--current-word'.
2115 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2117 * window.el (display-buffer-below-selected):
2118 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2120 2013-12-16 Leo Liu <sdl.web@gmail.com>
2122 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2123 Remove NOMSG arg and all uses changed.
2125 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2127 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2128 (cua--deactivate-rectangle): Don't deactivate the mark.
2129 (cua-set-rectangle-mark): Don't set mark-active since
2130 cua--activate-rectangle already does it for us.
2131 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2132 non-rectangular region.
2134 * emulation/cua-base.el (cua-repeat-replace-region):
2135 Use with-current-buffer.
2137 * net/gnutls.el: Use cl-lib.
2138 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2140 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2142 * emacs-lisp/package.el (package-built-in-p): Support both
2143 built-in and the package.el converted package descriptions.
2144 (package-show-package-list): Allow keywords.
2145 (package-keyword-button-action): Use it instead of
2146 `finder-list-matches'.
2147 (package-menu-filter-interactive): Interactive filtering (by
2149 (package-menu--generate): Support keywords and change keymappings
2150 and headers when they are given.
2151 (package--has-keyword-p): Helper function.
2152 (package-menu--refresh): Use it.
2153 (package--mapc): Helper function.
2154 (package-all-keywords): Use it.
2155 (package-menu-mode-map): Set up menu items and keybindings to
2156 provide a filtering UI.
2158 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2160 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2161 the behavior when a certificate fails validation. Defaults to
2162 old behavior: never abort, just warn.
2163 (gnutls-negotiate): Use it.
2165 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2167 * window.el (display-buffer-below-selected): Never split window
2168 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2170 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2172 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2173 (package-buffer-info): Use it (bug#15108).
2175 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2177 * icomplete.el (icomplete-completions): Make sure the prefix is already
2178 displayed elsewhere before hiding it (bug#16219).
2180 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2182 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2183 open-paren tokens when preceded by a open-paren, too.
2184 (ruby-smie-rules): Handle virtual indentation after open-paren
2185 tokens specially. If there is code between it and eol, return the
2186 column where is starts (Bug#16118).
2188 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2190 * progmodes/cfengine.el: Fix `add-hook' doc.
2191 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2192 (cfengine3--current-word): Fix parameters.
2193 (cfengine3-make-syntax-cache): Simplify further.
2194 (cfengine3-completion-function, cfengine3--current-function):
2195 Use `assq' for symbols.
2196 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2198 2013-12-13 Glenn Morris <rgm@gnu.org>
2200 * loadup.el (load-path): Warn if site-load or site-init changes it.
2201 No more need to reset it when bootstrapping.
2203 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2205 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2206 locations for cf-promises.
2207 (cfengine-mode-syntax-functions-regex): New caching variable.
2208 (cfengine3-fallback-syntax): Fallback syntax for cases where
2209 cf-promises doesn't run.
2210 (cfengine3--current-word): Reimplement using
2211 `cfengine-mode-syntax-functions-regex'.
2212 (cfengine3-completion-function, cfengine3--current-function):
2213 Use `cfengine3-make-syntax-cache' directly.
2214 (cfengine3-clear-syntax-cache): New function.
2215 (cfengine3-make-syntax-cache): Simplify and create
2216 `cfengine-mode-syntax-functions-regex' on demand.
2217 (cfengine3-format-function-docstring): Don't call
2218 `cfengine3-make-syntax-cache' explicitly.
2220 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2222 Fix windmove-find-other-window broken after pixelwise resizing
2224 * windmove.el (windmove-other-window-loc): Revert change from
2226 (windmove-find-other-window): Call window-in-direction.
2227 * window.el (window-in-direction): New arguments SIGN, WRAP and
2228 MINI to emulate original windmove-find-other-window behavior.
2230 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2232 * simple.el (blink-matching--overlay): New variable.
2233 (blink-matching-open): Instead of moving point, highlight the
2234 matching paren with an overlay
2235 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2237 * faces.el (paren-showing-faces, show-paren-match)
2238 (show-paren-mismatch): Move from paren.el.
2240 2013-12-13 Leo Liu <sdl.web@gmail.com>
2242 * indent.el (indent-region): Disable progress reporter in
2243 minibuffer. (Bug#16108)
2245 * bindings.el (visual-order-cursor-movement): Fix version.
2247 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2249 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2250 Also match after beginning of line.
2251 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2252 files. Thanks to Russell Sim. (Bug#15378)
2254 2013-12-13 Juri Linkov <juri@jurta.org>
2256 * simple.el <Keypad support>: Remove key bindings duplicated
2257 with bindings.el. (Bug#14397)
2259 2013-12-13 Juri Linkov <juri@jurta.org>
2261 * comint.el (comint-mode-map): Replace `delete-char' with
2262 `delete-forward-char'. (Bug#16109)
2264 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2266 * progmodes/python.el (python-indent-calculate-indentation):
2267 Fix de-denters cornercase. (Bug#15731)
2269 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2271 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2272 (advice--make): Pay attention to `depth'.
2273 (advice--make-1): Don't autoload commands eagerly.
2274 * emacs-lisp/elp.el (elp-instrument-function):
2275 * emacs-lisp/trace.el (trace-function-internal):
2276 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2278 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2280 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2282 * term/w32-win.el (w32-handle-dropped-file):
2283 * startup.el (normal-top-level):
2284 * net/browse-url.el (browse-url-file-url):
2285 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2286 decode file names using 'utf-8' rather than
2287 file-name-coding-system.
2289 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2291 * progmodes/python.el (python-indent-context)
2292 (python-indent-calculate-indentation): Fix auto-identation
2293 behavior for comment blocks. (Bug#15916)
2295 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2297 * progmodes/python.el (python-indent-calculate-indentation):
2298 When determining indentation, don't treat "return", "pass", etc., as
2299 operators when they are just string constituents. (Bug#15812)
2301 2013-12-12 Juri Linkov <juri@jurta.org>
2303 * uniquify.el (uniquify-buffer-name-style): Change default to
2304 `post-forward-angle-brackets'.
2306 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2307 `uniquify'. Change default to `post-forward-angle-brackets'.
2309 2013-12-11 Glenn Morris <rgm@gnu.org>
2311 * emacs-lisp/package.el (finder-list-matches):
2312 Autoload rather than falsely declaring.
2314 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2316 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2317 (eww-mode-map): Use them.
2319 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2321 * window.el (display-buffer-in-side-window): Fix doc-string
2324 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2326 * vc/vc-git.el: Silence byte-compiler warnings.
2327 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2328 (log-edit-set-header): Declare.
2330 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2332 * Makefile.in (custom-deps, finder-data): Run output file names
2333 through unmsys--file-name. (Bug#16099)
2335 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2337 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2338 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2340 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2341 instead of deleting the selection "by hand" (bug#16098).
2342 Rely on insert-for-yank to yank rectangles.
2343 (cua-highlight-region-shift-only): Mark obsolete.
2344 (cua-mode): Don't enable/disable transient-mark-mode,
2345 shift-select-mode (cua-mode works both with and without them), and
2346 pc-selection-mode (obsolete).
2347 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2348 (cua--deactivate-rectangle): Deactivate it.
2350 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2351 (delete-selection-helper): Make sure yank starts at the top of the
2353 (minibuffer-keyboard-quit): Use region-active-p.
2355 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2357 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2358 to `delete' (bug#16109).
2360 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2362 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2363 info manual and show keybindings and set `:group' keyword.
2365 2013-12-11 Juri Linkov <juri@jurta.org>
2367 * delsel.el (delete-active-region): Let-bind `this-command'
2368 to prevent `kill-region' from changing its original value.
2369 (delete-selection-helper): Handle `overwrite-mode' for the type
2370 `kill' exactly the same way as for the type `t'.
2371 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2372 Support more commands. (Bug#13312)
2374 2013-12-11 Juri Linkov <juri@jurta.org>
2376 * bindings.el: Map kp keys to non-kp keys systematically
2377 with basic modifiers control, meta and shift. (Bug#14397)
2379 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2381 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2382 "Close browser" menu items. Fix wrong function of "List
2385 2013-12-11 Juri Linkov <juri@jurta.org>
2387 * misearch.el (multi-isearch-buffers): Set the value of
2388 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2389 arg of isearch-forward to t.
2390 (multi-isearch-buffers-regexp): Set the value of
2391 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2392 arg of isearch-forward-regexp to t.
2393 (multi-isearch-files): Set the value of
2394 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2395 arg of isearch-forward to t.
2396 (multi-isearch-files-regexp): Set the value of
2397 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2398 arg of isearch-forward-regexp to t. (Bug#16035)
2400 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2401 arg of isearch-forward to t.
2402 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2403 arg of isearch-forward-regexp to t.
2404 (dired-isearch-filter-filenames): Remove unnecessary check for
2405 `dired-isearch-filenames'.
2407 * comint.el (comint-history-isearch-backward):
2408 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2409 (comint-history-isearch-backward-regexp):
2410 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2412 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2414 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2415 unmsys--file-name. (Bug#16099)
2417 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2419 * emacs-lisp/package.el (package-keyword-button-action):
2420 Remove finder.el require dependency.
2422 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2424 * emacs-lisp/package.el: Require finder.el.
2425 (describe-package-1): Add keyword buttons.
2426 (package-make-button): New convenience function.
2427 (package-keyword-button-action): Keyword button action using
2428 `finder-list-matches'.
2430 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2432 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2435 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2437 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2440 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2442 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2443 after the end of a percent literal.
2445 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2447 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2448 Handle caret-delimited strings (Bug#16079).
2450 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2452 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2453 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2454 `ruby-parse-partial' (Bug#16078).
2456 2013-12-09 Leo Liu <sdl.web@gmail.com>
2458 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2460 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2462 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2463 (js-switch-indent-offset): New option.
2464 (js--proper-indentation): Use it. And handle the case when
2465 "default" is actually a key in an object literal.
2466 (js--same-line): New function.
2467 (js--multi-line-declaration-indentation): Use it.
2468 (js--indent-in-array-comp, js--array-comp-indentation):
2470 (js--proper-indentation): Use them, to handle array comprehension
2473 2013-12-08 Leo Liu <sdl.web@gmail.com>
2475 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2476 (flymake-make-overlay): Remove arg MOUSE-FACE.
2477 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2479 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2481 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2483 (redisplay-highlight-region-function): Use it.
2485 * emulation/cua-base.el (cua--explicit-region-start)
2486 (cua--last-region-shifted): Remove.
2487 (cua--deactivate): Use deactivate-mark.
2488 (cua--pre-command-handler-1): Don't handle shift-selection.
2489 (cua--post-command-handler-1): Don't change transient-mark-mode.
2490 (cua--select-keymaps): Use region-active-p rather than
2491 cua--explicit-region-start or cua--last-region-shifted.
2492 (cua-mode): Enable shift-select-mode.
2494 2013-12-08 Leo Liu <sdl.web@gmail.com>
2496 * progmodes/flymake.el (flymake-popup-current-error-menu):
2497 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2498 (flymake-posn-at-point-as-event, flymake-popup-menu)
2499 (flymake-make-emacs-menu): Remove. (Bug#16077)
2501 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2503 * rect.el (rectangle-mark-mode): Activate mark even if
2504 transient-mark-mode is off (bug#16066).
2505 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2506 is > mark and at bolp.
2508 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2509 (region-extract-function): Use it.
2510 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2511 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2513 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2514 kill-ring-save, kill-region, delete-char, delete-forward-char.
2515 Ignore self-insert-iso.
2517 * emulation/cua-gmrk.el (cua--init-global-mark):
2518 Ignore `self-insert-iso'.
2520 * emulation/cua-base.el (cua--prefix-copy-handler)
2521 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2522 checking cua--rectangle.
2523 (cua-delete-region): Use region-extract-function.
2524 (cua-replace-region): Delete function.
2525 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2526 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2527 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2528 (cua--init-keymaps): Don't remap delete-selection commands.
2529 (cua-mode): Use delete-selection-mode instead of rolling our own
2532 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2533 Obey region-extract-function.
2535 Make registers and delete-selection-mode work on rectangles.
2536 * register.el (describe-register-1): Don't modify the register's value.
2537 (copy-to-register): Obey region-extract-function.
2538 * delsel.el (delete-active-region): Obey region-extract-function.
2540 2013-12-08 Leo Liu <sdl.web@gmail.com>
2542 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2543 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2544 (flymake-compilation-prevents-syntax-check)
2545 (flymake-start-syntax-check-on-newline)
2546 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2547 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2548 (flymake-xml-program, flymake-master-file-dirs)
2549 (flymake-master-file-count-limit)
2550 (flymake-allowed-file-name-masks): Relocate.
2551 (flymake-makehash, flymake-float-time)
2552 (flymake-replace-regexp-in-string, flymake-split-string)
2553 (flymake-get-temp-dir): Remove.
2554 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2555 (flymake-current-row, flymake-selected-frame)
2556 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2557 related functions. (Bug#16077)
2559 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2561 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2563 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2565 * help-fns.el (describe-function-1): Use new advice-* functions
2566 rather than old ad-* functions. Fix function type description and
2567 source links for advised functions and subrs.
2569 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2571 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2573 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2575 * progmodes/compile.el (compilation-start):
2576 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2578 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2579 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2581 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2583 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2584 Touch up the last change.
2586 2013-12-06 Leo Liu <sdl.web@gmail.com>
2588 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2589 (inferior-octave-startup): Always use "octave> " for prompt.
2590 (octave-goto-function-definition)
2591 (octave-sync-function-file-names)
2592 (octave-find-definition-default-filename): Remove redundant backquotes.
2594 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2596 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2598 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2599 where appropriate already.
2600 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2601 end of method names (Bug#15874).
2603 2013-12-06 Juri Linkov <juri@jurta.org>
2605 * isearch.el (isearch--saved-overriding-local-map):
2606 New internal variable.
2607 (isearch-mode): Set it to the initial value of
2608 `overriding-terminal-local-map'.
2609 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2610 with `isearch--saved-overriding-local-map'. (Bug#16035)
2612 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2614 * progmodes/octave.el (inferior-octave-completion-table):
2615 Turn back into function, use `completion-table-with-cache'
2616 (Bug#11906). Update all references.
2618 * minibuffer.el (completion-table-with-cache): New function.
2620 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2622 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2624 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2626 * net/eww.el (eww-current-source): New variable to store page
2628 (eww-display-html, eww-mode, eww-save-history)
2629 (eww-restore-history): Use it.
2630 (eww-view-source): New command to view page source.
2631 Opportunistically uses `html-mode' to highlight the buffer.
2632 (eww-mode-map): Install it.
2634 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2636 * net/dbus.el (dbus-unregister-service)
2637 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2639 (dbus-unregister-service): Skip :serial entries in
2640 `dbus-registered-objects-table'.
2641 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2643 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2645 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2646 around keywords with extra `split-string' argument.
2648 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2650 * windmove.el (windmove-other-window-loc): Handle navigation
2651 between windows (excluding the minibuffer window - Bug#16017).
2653 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2655 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2656 in D-Bus type syntax.
2657 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2658 preserve unibyte strings. (Bug#16048)
2660 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2662 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2663 Call force-mode-line-update is the proper buffer (bug#16042).
2665 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2667 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2668 `log-edit-remember-comment', make argument optional. Adjust all
2670 (log-edit-mode): Add `log-edit-remember-comment' to
2671 `kill-buffer-hook' locally.
2672 (log-edit-kill-buffer): Don't remember comment explicitly since
2673 the buffer is killed anyway.
2675 2013-12-04 Juri Linkov <juri@jurta.org>
2677 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2678 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2680 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2682 * notifications.el (notifications-close-notification): Call the
2683 D-Bus method with ID being a `:uint32'. (Bug#16030)
2685 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2687 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2689 2013-12-03 Juri Linkov <juri@jurta.org>
2691 * progmodes/compile.el (compilation-start): Rename window alist
2692 entry `no-display-ok' to `allow-no-window'.
2694 * simple.el (shell-command): Add window alist entry
2695 `allow-no-window' to `display-buffer'.
2696 (async-shell-command): Doc fix.
2698 * window.el (display-buffer-no-window): New action function.
2699 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2701 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2703 * vc/log-edit.el (log-edit-set-header): Extract from
2704 `log-edit-toggle-header'.
2705 (log-edit-extract-headers): Separate the summary, when extracted
2706 from header, from the rest of the message with an empty line.
2708 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2709 line, if present, to the Summary header.
2711 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2713 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2714 in current-buffer (bug#16029).
2716 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2718 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2719 (debugger-mode-map): Bind it.
2720 (debugger--backtrace-base): New function.
2721 (debugger-eval-expression): Use it.
2722 (debugger-frame-number): Skip local vars when present.
2723 (debugger--locals-visible-p, debugger--insert-locals)
2724 (debugger--show-locals, debugger--hide-locals): New functions.
2726 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2728 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2730 (tramp-get-remote-locale): New defun.
2731 (tramp-open-connection-setup-interactive-shell): Use it.
2733 2013-12-02 Leo Liu <sdl.web@gmail.com>
2735 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2737 * progmodes/sh-script.el (sh-shell-process):
2738 * progmodes/octave.el (inferior-octave-process-live-p):
2739 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2740 (gdb-inferior-io-sentinel):
2741 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2743 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2745 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2746 `save-selected-window' to `log-edit-hide-buf'. This makes
2747 `log-edit-show-files' idempotent.
2748 (log-edit-show-files): Mark the new window as dedicated.
2750 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2752 * vc/log-edit.el (log-edit-mode-map): Add binding for
2753 `log-edit-kill-biffer'.
2754 (log-edit-hide-buf): Add a FIXME comment.
2755 (log-edit-add-new-comment): New function, extracted from
2757 (log-edit-done, log-edit-add-to-changelog): Use it.
2758 (log-edit-kill-buffer): New command.
2760 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2762 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2763 instead of killing the buffer.
2765 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2767 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2769 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2771 * net/eww.el (eww-form-checkbox-selected-symbol)
2772 (eww-form-checkbox-symbol): New customizable variable.
2773 (eww-form-checkbox, eww-toggle-checkbox):
2774 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2776 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2777 (shr--get-media-pref, shr--extract-best-source): New function.
2778 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2779 no :src tag was specified.
2781 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2782 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2783 Use \\` to match beginning of string instead of ^.
2784 (eww-browse-with-external-browser): Provide optional URL parameter.
2785 (eww-render): Set `eww-current-title' back to "".
2787 * net/shr.el (shr-tag-video): Display content for video if no
2788 poster is available.
2789 (shr-tag-audio): Add support for <audio> tag.
2791 * net/eww.el (eww-text-input-types): New const.
2792 (eww-process-text-input): Treat input types in
2793 `eww-text-input-types' as text.
2795 * net/shr.el (shr-tag-table): Fix comment typo.
2797 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2799 * net/eww.el (eww-follow-link): New command to avoid reloading
2800 pages when we follow #target links (bug#15243).
2801 (eww-quit): Special mode buffers shouldn't query before exiting.
2803 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2805 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2808 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2810 * net/eww.el (eww-restore-history): Update the window title after
2811 moving in the history.
2812 (eww-current-dom): New variable used to save the current DOM.
2814 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2816 * vc/log-edit.el (log-edit-mode-map): Add binding for
2817 `log-edit-beginning-of-line'.
2818 (log-edit-setup-add-author): New user option.
2819 (log-edit-beginning-of-line): New command.
2820 (log-edit): Move major mode call above the contents setup so that
2821 the local variable values are already applied.
2822 (log-edit): Only insert "Author: " when
2823 `log-edit-setup-add-author' is non-nil.
2824 (log-edit): When SETUP is non-nil, position point after ": "
2825 instead of point-min.
2827 2013-12-01 Glenn Morris <rgm@gnu.org>
2829 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2831 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2833 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2834 redisplay to make sure the initial frame gets a chance to become
2835 visible. (Bug#16014)
2837 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2839 Support resizing frames and windows pixelwise.
2840 * cus-start.el (frame-resize-pixelwise)
2841 (window-resize-pixelwise): New entries.
2842 * emacs-lisp/debug.el (debug): Use window-total-height instead
2843 of window-total-size.
2844 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2845 * help.el (describe-bindings-internal): Call help-buffer
2846 (temp-buffer-max-width): New option.
2847 (resize-temp-buffer-window, help-window-setup)
2848 (with-help-window): Rewrite.
2849 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2851 * window.el (frame-char-size, window-min-pixel-height)
2852 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2853 (window-min-pixel-width, window-safe-min-pixel-size)
2854 (window-combination-p, window-safe-min-size)
2855 (window-resizable-p, window--size-to-pixel)
2856 (window--pixel-to-size, window--resize-apply-p): New functions.
2857 (window-safe-min-height): Fix doc-string.
2858 (window-size, window-min-size, window--min-size-1)
2859 (window-sizable, window-sizable-p, window--min-delta-1)
2860 (window-min-delta, window--max-delta-1, window-max-delta)
2861 (window--resizable, window--resizable-p, window-resizable)
2862 (window-full-height-p, window-full-width-p, window-at-side-p)
2863 (window--in-direction-2, window-in-direction)
2864 (window--resize-reset-1, window--resize-mini-window)
2865 (window-resize, window-resize-no-error)
2866 (window--resize-child-windows-normal)
2867 (window--resize-child-windows, window--resize-siblings)
2868 (window--resize-this-window, window--resize-root-window)
2869 (window--resize-root-window-vertically)
2870 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2871 (maximize-window, minimize-window, delete-window)
2872 (quit-restore-window, window-split-min-size, split-window)
2873 (balance-windows-2, balance-windows)
2874 (balance-windows-area-adjust, balance-windows-area)
2875 (window--state-get-1, window-state-get, window--state-put-1)
2876 (window--state-put-2, window-state-put)
2877 (display-buffer-record-window, window--display-buffer):
2878 Make functions handle pixelwise sizing of windows.
2879 (display-buffer--action-function-custom-type)
2880 (display-buffer-fallback-action):
2881 Add display-buffer-in-previous-window.
2882 (display-buffer-use-some-window): Resize window to height it had
2884 (fit-window-to-buffer-horizontally): New option.
2885 (fit-frame-to-buffer): Describe new values.
2886 (fit-frame-to-buffer-bottom-margin): Replace with
2887 fit-frame-to-buffer-margins.
2888 (window--sanitize-margin): New function.
2889 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2890 using window-text-pixel-size.
2892 2013-11-30 Glenn Morris <rgm@gnu.org>
2894 * emacs-lisp/bytecomp.el (byte-compile-form):
2895 Make the `interactive-only' warning like the `obsolete' one.
2896 * comint.el (comint-run):
2897 * files.el (insert-file-literally, insert-file):
2898 * replace.el (replace-string, replace-regexp):
2899 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2900 (goto-line, insert-buffer, next-line, previous-line):
2901 Tweak `interactive-only' spec.
2903 Stop keeping (most) generated cedet grammar files in the repository.
2904 * Makefile.in (semantic): New.
2905 (compile-main): Depend on semantic.
2907 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2909 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2910 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2912 * uniquify.el (uniquify-buffer-name-style): Change default.
2914 * loadup.el: Preload "uniquify".
2916 * time.el (display-time-update): Update all mode lines (bug#15999).
2918 * electric.el (electric-indent-mode): Enable by default.
2919 * loadup.el: Preload "electric".
2921 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2923 * emacs-lisp/helpers.el (string-empty-p): New function.
2924 (string-blank-p): New function.
2926 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2928 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2931 2013-11-29 Andreas Politz <politza@fh-trier.de>
2932 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2933 allow non-lambda lists as functions.
2934 (imenu--in-alist): Don't recurse into non-subalists.
2935 (imenu): Don't pass function itself as an argument (Bug#14029).
2937 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2939 * progmodes/python.el (python-mode-map): Remove binding for ":".
2940 (python-indent-electric-colon): Remove command.
2941 (python-indent-post-self-insert-function): Integrate the previous code
2942 of python-indent-electric-colon. Make it conditional on
2943 electric-indent-mode.
2944 (python-mode): Add ?: to electric-indent-chars.
2945 Move python-indent-post-self-insert-function to the end of
2946 post-self-insert-hook.
2948 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2950 * doc-view.el (doc-view-goto-page): Update mode-line.
2952 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2954 2013-11-27 Glenn Morris <rgm@gnu.org>
2956 * international/charprop.el, international/uni-bidi.el:
2957 * international/uni-category.el, international/uni-combining.el:
2958 * international/uni-comment.el, international/uni-decimal.el:
2959 * international/uni-decomposition.el, international/uni-digit.el:
2960 * international/uni-lowercase.el, international/uni-mirrored.el:
2961 * international/uni-name.el, international/uni-numeric.el:
2962 * international/uni-old-name.el, international/uni-titlecase.el:
2963 * international/uni-uppercase.el:
2964 Remove generated files from VCS repository.
2966 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2968 * filenotify.el (file-notify-add-watch): Don't special-case
2969 w32notify when computing the directory to watch.
2971 2013-11-27 Glenn Morris <rgm@gnu.org>
2973 Make bootstrap without generated uni-*.el files possible again.
2974 * loadup.el: Update command-line-args checking for unidata-gen.
2975 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2976 * composite.el, international/characters.el:
2977 Handle unicode tables being undefined.
2979 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2980 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2981 (compile-main): Depend on leim rule.
2983 * loadup.el: Move leim-list.el to leim/ subdirectory.
2984 * startup.el (normal-top-level): No more leim directory.
2985 * international/ja-dic-cnv.el (skkdic-convert):
2986 Disable version-control and autoloads in output files.
2987 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2988 Disable version-control and autoloads in output files.
2989 * leim/quail: Move here from ../leim.
2990 * leim/quail/hangul.el (hangul-input-method-activate):
2991 Add autoload cookie.
2992 (generated-autoload-load-name): Set file-local value.
2993 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2994 (generated-autoload-load-name): Set file-local value.
2996 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2998 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2999 (eww-add-bookmark): Ask confirmation when add to bookmarks.
3000 (eww-quit): Ask confirmation before quitting eww.
3002 2013-11-26 Eli Zaretskii <eliz@gnu.org>
3004 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
3005 reading output from Diff on MS-Windows and MS-DOS.
3007 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
3009 * emacs-lisp/helpers.el (string-reverse): New function.
3011 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
3013 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
3014 names on MS Windows, like "/[::1]:".
3016 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
3019 2013-11-26 Glenn Morris <rgm@gnu.org>
3021 * progmodes/python.el (python-indent-guess-indent-offset):
3022 Avoid corner-case error. (Bug#15975)
3024 Preload leim-list.el. (Bug#4789)
3025 * loadup.el: Load leim-list.el when found.
3026 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
3028 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
3030 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
3032 * emacs-lisp/helpers.el (string-join): New function.
3034 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
3036 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
3037 Mark as obsolete and replace it with a symbol property.
3038 (byte-compile-form): Use new 'interactive-only property.
3039 * comint.el, files.el, replace.el, simple.el:
3040 Apply new 'interactive-only properly.
3042 2013-11-25 Martin Rudalics <rudalics@gmx.at>
3044 * window.el (display-buffer-at-bottom): Make sure that
3045 split-window-sensibly creates the new window on bottom
3048 2013-11-23 David Kastrup <dak@gnu.org>
3050 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
3051 on the conflict markers when available.
3052 (smerge--get-marker): New function.
3053 (smerge-end-re, smerge-base-re): Add subgroup.
3055 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3057 * frame.el (handle-focus-in, handle-focus-out): Add missing
3060 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
3062 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3063 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
3065 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
3067 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
3068 (gomoku--last-pos): New var.
3069 (gomoku--intangible-chars): New const.
3070 (gomoku--intangible): New function.
3071 (gomoku-mode): Use it. Derive from special-mode.
3072 (gomoku-move-up): Adjust line count.
3073 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
3074 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
3075 Simplify accordingly.
3077 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
3078 Remove blink-cursor code.
3079 (blink-cursor-timer-function, blink-cursor-suspend):
3080 Don't special-case GUIs.
3081 (blink-cursor-mode): Use focus-in/out-hook.
3083 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
3085 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
3086 work when annotation is invisible (Bug#13886).
3088 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
3090 * json.el (json-alist-p): Only return non-nil if the alist has
3091 simple keys (Bug#13518).
3093 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
3095 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
3096 when control-statement is the first statement in a buffer (Bug#15956).
3098 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3100 * imenu.el (imenu-generic-skip-comments-and-strings):
3101 New option (Bug#15560).
3102 (imenu--generic-function): Use it.
3104 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3106 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3109 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3111 * emacs-lisp/helpers.el: Add some string helpers.
3112 (string-trim-left): Removes leading whitespace.
3113 (string-trim-right): Removes trailing whitespace.
3114 (string-trim): Removes leading and trailing whitespace.
3116 * subr.el (string-suffix-p): New function.
3118 2013-11-23 Glenn Morris <rgm@gnu.org>
3120 * progmodes/python.el (python-shell-send-file):
3121 Add option to delete file when done. (Bug#15647)
3122 (python-shell-send-string, python-shell-send-region): Use it.
3124 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3126 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3127 to set buffer-read-only to t, never to nil. (Bug#15938)
3129 * textmodes/tex-mode.el (latex-noindent-environments):
3130 Add safe-local-variable property. (Bug#15936)
3132 2013-11-23 Glenn Morris <rgm@gnu.org>
3134 * textmodes/enriched.el (enriched-mode): Doc fix.
3135 * emacs-lisp/authors.el (authors-renamed-files-alist):
3136 Add enriched.doc -> enriched.txt.
3138 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3140 2013-11-22 Leo Liu <sdl.web@gmail.com>
3142 * progmodes/octave.el (inferior-octave-startup): Spit out error
3145 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3147 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3150 (ruby-encoding-magic-comment-style): Add :version.
3152 2013-11-22 Leo Liu <sdl.web@gmail.com>
3154 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3156 (octave-help-mode): Adapt to change to help-mode-finish to use
3157 derived-mode-p on 2013-09-17.
3158 (inferior-octave-prompt): Also match octave-gui.
3159 (octave-kill-process): Don't ask twice. (Bug#10564)
3161 2013-11-22 Leo Liu <sdl.web@gmail.com>
3163 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3164 (inferior-octave-startup, inferior-octave-check-process)
3165 (inferior-octave-track-window-width-change)
3166 (octave-completion-at-point, octave-eldoc-function): Use it.
3167 (octave-kill-process): Provide confirmation. (Bug#10564)
3169 2013-11-21 Leo Liu <sdl.web@gmail.com>
3171 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3172 Fix obsolete variable comment-use-global-state.
3174 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3176 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3177 Add `octave-source-file'.
3178 (octave-source-file): New function. (Bug#15935)
3180 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3182 * net/eww.el (eww-local-regex): New variable.
3183 (eww): Use it to detect localhost and similar.
3185 2013-11-21 Leo Liu <sdl.web@gmail.com>
3187 Add completion for command `ag'.
3188 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3189 (pcomplete/ag): New function.
3190 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3192 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3194 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3196 (make-obsolete): Remove interactive spec.
3198 2013-11-21 Glenn Morris <rgm@gnu.org>
3200 * startup.el (command-line-1): Use path-separator with -L.
3202 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3204 * emacs-lisp/package.el (describe-package-1): Add package archive
3207 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3209 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3210 Change default to "# encoding: %s" to differentiate it from the
3211 default Ruby encoding comment template.
3213 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3215 * ses.el (ses-mode): Doc fix. (Bug#14748)
3217 2013-11-20 Leo Liu <sdl.web@gmail.com>
3219 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3221 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3223 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3224 when rebase or bisect are in progress.
3226 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3228 * filenotify.el (file-notify-add-watch): Doc fix.
3230 2013-11-19 Leo Liu <sdl.web@gmail.com>
3232 * obsolete/rcompile.el: Mark obsolete.
3234 * progmodes/compile.el (compilation-start)
3235 (compilation-goto-locus, compilation-find-file):
3236 Pass no-display-ok and handle nil value from display-buffer.
3239 * window.el (display-buffer-alist, display-buffer): Document the
3240 new parameter no-display-ok. Return either a window or nil
3241 but never a non-window value.
3243 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3245 * electric.el (electric-indent-mode-map): Remove.
3246 (electric-indent-mode): Change the global-map instead (bug#15915).
3248 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3251 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3253 * emacs-lisp/nadvice.el (remove-function): Align with
3254 add-function's behavior.
3256 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3257 (gdb--string-regexp): New constant.
3258 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3259 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3260 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3262 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3263 Adjust use accordingly.
3264 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3266 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3268 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3269 interpolation curlies (Bug#15914).
3271 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3273 * calc/calc.el (calc-context-sensitive-enter): New variable.
3274 (calc-enter): Use `calc-context-sensitive-enter'.
3276 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3278 * progmodes/cfengine.el: Version bump.
3279 (cfengine-cf-promises): New defcustom to locate cf-promises.
3280 (cfengine3-vartypes): Add new "data" type.
3281 (cfengine3--current-word): New function to get current name-like
3283 (cfengine3--current-function): New function to look up a CFEngine
3284 function's definition.
3285 (cfengine3-format-function-docstring): New function.
3286 (cfengine3-make-syntax-cache): New function.
3287 (cfengine3-documentation-function): New function: ElDoc glue.
3288 (cfengine3-completion-function): New function: completion glue.
3289 (cfengine3-mode): Set `compile-command',
3290 `eldoc-documentation-function', and add to
3291 `completion-at-point-functions'.
3293 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3295 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3296 `tramp-current-connection'.
3298 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3300 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3301 nil/self/true/false with "end of symbol".
3303 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3305 * subr.el (version-regexp-alist): Fix a typo.
3307 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3309 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3310 "en_US.utf8" and "LC_CTYPE" to "".
3311 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3312 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3314 2013-11-15 Leo Liu <sdl.web@gmail.com>
3316 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3318 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3320 * progmodes/gud.el (ctl-x-map):
3321 Remove C-x SPC binding. (Bug#12342)
3322 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3324 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3326 * subr.el (version-regexp-alist):
3327 Recognize hg, svn and darcs versions as snapshot versions.
3329 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3330 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3331 (ruby--encoding-comment-required-p): Extract from
3332 `ruby-mode-set-encoding'.
3333 (ruby-mode-set-encoding): Add the ability to always insert an
3334 utf-8 encoding comment. Fix and simplify coding comment update
3337 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3339 * net/tramp-gvfs.el (top): Run init code only when
3340 `tramp-gvfs-enabled' is not nil.
3341 (tramp-gvfs-enabled): Check also :system bus.
3343 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3345 Sync with upstream verilog-mode revision 78e66ba.
3346 * progmodes/verilog-mode.el (verilog-end-of-defun)
3347 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3348 (verilog-get-end-of-defun): Remove unused argument.
3349 (verilog-comment-depth): Remove unused local `e'.
3350 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3351 Don't pass arg to verilog-get-end-of-defun.
3353 2013-11-14 Glenn Morris <rgm@gnu.org>
3355 * obsolete/assoc.el (aget): Prefix dynamic variable.
3357 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3359 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3361 * widget.el, hfy-cmap.el: Remove bogus package version number.
3363 2013-11-13 Glenn Morris <rgm@gnu.org>
3365 * replace.el (replace-eval-replacement):
3366 Try to give more helpful error message. (Bug#15836)
3368 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3369 (archive-7z-update): Avoid custom type mismatches.
3371 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3373 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3375 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3376 address can be empty.
3378 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3379 Accept nil SWITCHES.
3380 (tramp-gvfs-handle-write-region): Implement APPEND.
3382 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3384 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3385 binary "|" operator and closing block args delimiter.
3386 Remove FIXME comment referring to Ruby 1.8-only syntax.
3387 (ruby-smie--implicit-semi-p): Not after "|" operator.
3388 (ruby-smie--closing-pipe-p): New function.
3389 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3390 (ruby-smie-rules): Indent after "|".
3392 2013-11-12 Glenn Morris <rgm@gnu.org>
3394 * ps-print.el (ps-face-attribute-list):
3395 Handle anonymous faces. (Bug#15827)
3397 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3399 * window.el (display-buffer-other-frame): Fix doc-string.
3402 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3404 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3406 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3408 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3409 (tramp-sh-handle-file-local-copy): Don't write a message when
3410 saving temporary files.
3412 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3413 both directories are remote.
3414 (tramp-smb-handle-directory-files): Do not return double entries.
3415 Do not expand full file names.
3416 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3417 (tramp-smb-handle-write-region): Implement APPEND.
3418 (tramp-smb-get-stat-capability): Fix a stupid bug.
3420 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3422 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3424 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3426 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3427 throwing error over malformed let/let* (bug#15814).
3429 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3431 * iswitchb.el (iswitchb-mode): Mark obsolete.
3433 2013-11-11 Glenn Morris <rgm@gnu.org>
3435 * international/uni-bidi.el, international/uni-category.el:
3436 * international/uni-name.el, international/uni-numeric.el:
3437 Regenerate for Unicode 6.3.0.
3439 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3441 * net/tramp.el (tramp-methods):
3442 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3443 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3445 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3447 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3448 Force highlighting text after Summary keyword in doc face for rpm.
3450 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3452 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3453 available and the word has no wildcards, append one to the grep pattern.
3454 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3455 (ispell-complete-word): Call `ispell-lookup-words' with the value
3456 independent of `ispell-look-p'.
3458 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3460 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3462 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3465 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3467 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3468 (ruby-font-lock-keywords): Use backquote.
3470 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3472 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3473 (ruby-smie--backward-token): Only consider full-string matches.
3475 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3477 * faces.el (describe-face): Add distant-foreground.
3479 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3481 * progmodes/ruby-mode.el: Improve encoding comment handling.
3482 (ruby-encoding-magic-comment-style): New option.
3483 (ruby-custom-encoding-magic-comment-template): New option.
3484 (ruby--insert-coding-comment, ruby--detect-encoding):
3485 New functions extracted from `ruby-mode-set-encoding'.
3486 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3487 to control the style of the auto-inserted encoding comment.
3489 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3491 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3492 Use `smie-backward-sexp' with token argument.
3494 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3496 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3497 Remove instrumentation code.
3499 2013-11-08 Glenn Morris <rgm@gnu.org>
3501 * progmodes/autoconf.el (autoconf-mode):
3502 Tweak comment-start-skip. (Bug#15822)
3504 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3506 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3507 at bobp (bug#15826).
3508 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3510 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3512 * man.el (Man-start-calling): New macro, extracted from
3513 Man-getpage-in-background.
3514 (Man-getpage-in-background): Use it.
3515 (Man-update-manpage): New command.
3516 (Man-mode-map): Bind it.
3518 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3520 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3521 of "and", "or", "&&" and "||".
3522 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3523 argument. Prohibit opening curly brace because it could only be a
3524 block opener in that position.
3525 (ruby-smie--forward-token, ruby-smie--backward-token):
3526 Separate "|" from "&" or "*" going after it. That can happen in block
3528 (ruby-smie--indent-to-stmt): New function, seeks the end of
3529 previous statement or beginning of buffer.
3530 (ruby-smie-rules): Use it.
3531 (ruby-smie-rules): Check if there's a ":" before a curly block
3532 opener candidate; if there is, it's a hash.
3534 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3536 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3537 (cl--block-wrapper): Fix last accidental change.
3539 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3541 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3542 Instrument, in order to hunt failure on hydra.
3544 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3546 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3547 malformed bindings form (bug#15814).
3549 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3551 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3552 "." compared to " @ ". This incidentally fixes some indentation
3554 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3555 (ruby-smie-grammar): New tokens: "and" and "or".
3556 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3557 Exclude "and" and "or". Remove "do" in order to work around token
3559 (ruby-smie-rules): Add all infix tokens. Handle the case of
3560 beginning-of-buffer.
3562 2013-11-06 Glenn Morris <rgm@gnu.org>
3564 * Makefile.in (setwins_almost, setwins_for_subdirs):
3565 Avoid accidental matches.
3567 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3569 * menu-bar.el (popup-menu): Use key-binding.
3571 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3573 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3574 menus, support also the menus produced by minor modes.
3577 2013-11-06 Leo Liu <sdl.web@gmail.com>
3579 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3580 DISTANCE to bound the search. All uses changed. (Bug#15808)
3582 2013-11-06 Glenn Morris <rgm@gnu.org>
3584 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3585 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3586 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3588 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3590 * electric.el (electric-indent-just-newline): New command.
3591 (electric-indent-mode-map): New keymap.
3592 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3593 Re-add :group which weren't redundant.
3595 * electric.el (electric-indent-local-mode): New minor mode.
3596 (electric-indent-functions-without-reindent): New var.
3597 (electric-indent-post-self-insert-function): Use it.
3598 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3600 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3602 * international/quail.el (quail-help): Be more explicit about the
3603 meaning of the labels shown on the keys. (Bug#15800)
3605 * startup.el (normal-top-level): Load the subdirs.el files before
3606 setting the locale environment. (Bug#15805)
3608 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3610 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3611 via arguments so as to get the right ones (bug#15418).
3613 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3615 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3617 Fix problems found while writing a test suite.
3619 * net/tramp-compat.el (tramp-compat-load): New defun.
3620 * net/tramp.el (tramp-handle-load): Use it.
3622 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3623 "(numberp ok-if-already-exists)" correctly.
3625 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3627 * international/characters.el (glyphless-char-display-control):
3630 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3632 * progmodes/python.el (python-mode):
3633 * progmodes/scheme.el (scheme-mode):
3634 * progmodes/prolog.el (prolog-mode):
3635 * progmodes/ruby-mode.el (ruby-mode):
3636 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3637 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3639 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3641 * rect.el (rectangle--highlight-for-redisplay):
3642 * emacs-lisp/smie.el (smie--next-indent-change):
3643 Use buffer-chars-modified-tick.
3645 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3647 * electric.el (electric-indent-post-self-insert-function):
3648 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3650 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3652 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3654 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3656 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3659 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3661 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3663 * progmodes/python.el: Fix up last change.
3664 (python-shell--save-temp-file): New function.
3665 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3666 `string' comes from the current buffer.
3667 (python-shell-send-string-no-output): Remove `msg' arg.
3668 (python--use-fake-loc): New var.
3669 (python-shell-buffer-substring): Obey it. Try to compensate for the
3670 extra coding line added by python-shell--save-temp-file.
3671 (python-shell-send-region): Use python-shell--save-temp-file and
3672 python-shell-send-file directly. Add `nomain' argument.
3673 (python-shell-send-buffer): Use python-shell-send-region.
3674 (python-electric-pair-string-delimiter): New function.
3675 (python-mode): Use it.
3677 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3679 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3680 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3681 environment and decoding all of the default-directory's to here
3683 (command-line): Decode also argv[0].
3685 * loadup.el: Error out if default-directory is a multibyte string
3686 when we are dumping.
3688 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3690 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3692 * emacs-lisp/package.el (package-menu-mode)
3693 (package-menu--print-info, package-menu--archive-predicate):
3694 Add Archive column to package list.
3696 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3698 Fix problems found while writing a test suite.
3700 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3701 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3702 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3703 to nil when running original file name handler. Otherwise,
3704 there are problems with constructs like "$$FOO".
3706 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3709 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3711 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3713 * subr.el (version<, version<=, version=):
3714 Update docstrings with information for snapshot versions.
3716 * helpers.el: New library for misc helper functions.
3717 (hash-table-keys): New function returning a list of hash keys.
3718 (hash-table-values): New function returning a list of hash values.
3720 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3722 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3723 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3725 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3727 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3728 checking whether point is after a 1-letter word.
3730 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3732 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3733 Don't infloop when expanding region over `multiline' syntax-type that
3734 begins a line (bug#15778).
3736 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3738 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3739 Make it into a proper minor mode.
3740 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3741 (rectangle-mark-mode-map): New keymap.
3742 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3744 2013-11-04 Glenn Morris <rgm@gnu.org>
3746 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3748 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3750 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3751 (ruby-smie-rules): Use smie-rule-parent instead.
3753 * emacs-lisp/smie.el (smie-rule-parent): Always call
3754 smie-indent-virtual rather than only for hanging tokens.
3755 (smie--next-indent-change): New helper command.
3757 2013-11-03 Glenn Morris <rgm@gnu.org>
3759 * Makefile.in (abs_srcdir): Remove.
3760 (emacs): Unset EMACSLOADPATH.
3762 2013-11-02 Glenn Morris <rgm@gnu.org>
3764 * Makefile.in (EMACS): Use a relative filename.
3765 (abs_top_builddir): Remove.
3766 (custom-deps, finder-data, autoloads): Use --chdir.
3768 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3770 Use relative filenames in TAGS files.
3771 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3772 (lisptagsfiles4, TAGS): Use relative file names.
3773 (TAGS-LISP): Remove.
3774 (maintainer-clean): No more TAGS-LISP file.
3776 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3777 (lisptagsfiles4): Use absolute filenames again.
3778 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3779 Remove all *loaddefs files, not just the first. Remove esh-groups.
3780 (maintainer-clean): Delete TAGS, TAGS-LISP.
3782 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3784 * emacs-lisp/package.el (package-version-join):
3785 Recognize snapshot versions.
3787 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3789 * subr.el (version-regexp-alist): Add support for snapshot versions.
3791 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3793 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3794 New function, replacement for `smie-rule-parent' for when we want to
3795 skip over our direct parent if it's an assignment token..
3796 (ruby-smie-rules): Use it.
3798 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3800 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3801 unconditionally. Remove now unnecessary forward declarations.
3802 Remove XEmacs-specific setup.
3803 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3804 (ruby-font-lock-syntactic-keywords)
3805 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3806 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3807 (ruby-here-doc-end-syntax): Remove.
3808 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3809 defined as function.
3811 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3813 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3815 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3817 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3818 table and abbrev table, `define-derived-mode' does that for us
3821 2013-11-01 Glenn Morris <rgm@gnu.org>
3823 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3824 files is atomic for some time, so no parallel compilation issues).
3826 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3828 * faces.el (face-x-resources): Add :distant-foreground.
3829 (region): Use :distant-foreground for gtk and ns.
3831 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3833 Allow multiple bibliographies when BibLaTeX is used rather than
3835 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3836 (reftex-locate-bibliography-files): Us it.
3838 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3840 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3841 allow comments in pbm files.
3843 * term/w32-win.el (dynamic-library-alist): Support newer versions
3844 of libjpeg starting with v7: look only for the DLL from the
3845 version against which Emacs was built.
3846 Support versions of libpng beyond 1.4.x.
3847 Support libtiff v4.x.
3849 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3851 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3852 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3854 (ruby-deep-arglist): Add property :type.
3856 2013-10-31 Glenn Morris <rgm@gnu.org>
3858 * Makefile.in (custom-deps, finder-data): No need to setq the target
3859 variables, we are in the right directory and the defaults work fine.
3861 2013-10-30 Glenn Morris <rgm@gnu.org>
3863 * Makefile.in (autoloads): Do not use abs_lisp.
3865 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3866 `newline' does not respect `standard-output', so use `princ'.
3868 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3870 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3871 * buff-menu.el (Buffer-menu--unmark): New function.
3872 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3874 2013-10-30 Glenn Morris <rgm@gnu.org>
3876 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3878 * emacs-lisp/package.el (lm-homepage): Declare.
3880 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3883 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3885 * Makefile.in (finder-data, autoloads, update-subdirs)
3886 (compile-main, compile-clean, compile-always, bootstrap-clean):
3887 Check return value of cd.
3888 (compile-calc): Remove.
3890 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3892 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3894 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3895 (byte-compile-and-folded): New function.
3896 (=, <, >, <=, >=): Use it.
3898 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3899 (path-separator, null-device, buffer-file-coding-system)
3900 (lpr-headers-switches): Check system-type before modifying them.
3901 (find-buffer-file-type-coding-system): Mark obsolete.
3902 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3903 find-file-not-found-set-buffer-file-coding-system.
3904 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3905 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3906 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3907 (w32-direct-print-region-helper, w32-direct-print-region-function)
3908 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3909 * startup.el (normal-top-level-add-subdirs-to-load-path):
3910 * ps-print.el (ps-print-region-function):
3911 * lpr.el (print-region-function): Use new name.
3913 * subr.el (custom-declare-variable-early): Remove function.
3914 (custom-declare-variable-list): Remove var.
3915 (error, user-error): Remove `while' loop.
3916 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3917 (user-emacs-directory-warning, locate-user-emacs-file):
3919 * simple.el (read-quoted-char-radix, read-quoted-char):
3920 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3922 * custom.el (custom-declare-variable-list): Don't process
3923 custom-declare-variable-list.
3925 * progmodes/python.el (python-shell-get-buffer): New function.
3926 (python-shell-get-process): Use it.
3927 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3928 Python which encoding was used. Don't split-string since we only care
3929 about the first line. Return the temp-file, if applicable.
3930 (python-shell-send-region): Tell compile.el how to turn locations in
3931 the temp-file into locations in the source buffer.
3933 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3935 * subr.el (undefined): Add missing behavior from the C code for
3938 * rect.el: Use lexical-binding. Add new rectangular region support.
3939 (rectangle-mark): New command.
3940 (rectangle--region): New var.
3941 (deactivate-mark-hook): Reset rectangle--region.
3942 (rectangle--extract-region, rectangle--insert-for-yank)
3943 (rectangle--highlight-for-redisplay)
3944 (rectangle--unhighlight-for-redisplay): New functions.
3945 (region-extract-function, redisplay-unhighlight-region-function)
3946 (redisplay-highlight-region-function): Use them to handle
3948 * simple.el (region-extract-function): New var.
3949 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3950 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3951 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3952 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3953 (redisplay-unhighlight-region-function)
3954 (redisplay-highlight-region-function): New vars.
3955 (redisplay--update-region-highlight): New function.
3956 (pre-redisplay-function): Use it.
3957 (exchange-point-and-mark): Don't deactivate the mark before
3958 reactivate-it anyway.
3959 * comint.el (comint-kill-region): Remove yank-handler argument.
3960 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3961 (delete-char): Remove property, since it's now part of their
3963 (self-insert-iso): Remove property since this command doesn't exist.
3965 * emacs-lisp/package.el (package--download-one-archive)
3966 (describe-package-1): Don't query the user about final newline.
3968 2013-10-29 Daniel Colascione <dancol@dancol.org>
3970 * net/tramp.el (tramp-methods): Document new functionality.
3971 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3972 tramp-hostname-checker if method provides one instead of scanning
3973 argument list for "%h" to decide hostname acceptability.
3975 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3977 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3978 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3979 Handle COPY-CONTENTS. (Bug#15737)
3981 2013-10-28 Daiki Ueno <ueno@gnu.org>
3984 (epa-file-cache-passphrase-for-symmetric-encryption):
3985 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3987 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3989 * image.el (defimage):
3990 (image-load-path): Doc fixes.
3992 2013-10-27 Alan Mackenzie <acm@muc.de>
3994 Indent statements in macros following "##" correctly.
3995 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3996 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3998 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
4000 * linum.el (linum-update-window): Fix boundary test (bug#13446).
4002 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
4004 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
4005 after `=' is probably a new expression.
4007 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4009 * man.el (man-imenu-title): New option.
4010 (Man-mode-map): Add menu. (Bug#15722)
4011 (Man-mode): Add imenu to menu.
4013 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
4015 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
4016 specific in what the first arg can be: a non-keyword word,
4017 string/regexp/percent literal opener, opening paren, or unary
4018 operator followed directly by word.
4020 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4022 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
4023 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
4024 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
4025 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
4026 Remove vars, they do not apply any more.
4027 (prolog-mode-abbrev-table): Remove redundant declaration.
4028 (prolog-upper-case-string, prolog-lower-case-string): Remove.
4029 (prolog-use-smie): Remove.
4030 (prolog-smie-rules): Add indentation rule for the if-then-else layout
4031 supported by prolog-electric-if-then-else-flag.
4032 (prolog-mode-variables, prolog-menu): Use setq-local.
4033 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
4034 Remove binding to `Backspace' since this key doesn't exist anyway.
4035 Remove bindings for electric self-inserting keys.
4036 (prog-mode): Assume it's defined.
4037 (prolog-post-self-insert): New function.
4038 (prolog-mode): Use it.
4039 (prolog-indent-line, prolog-indent-level)
4040 (prolog-find-indent-of-matching-paren)
4041 (prolog-indentation-level-of-line, prolog-goto-comment-column)
4042 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
4043 (prolog-goto-next-paren, prolog-in-string-or-comment)
4044 (prolog-tokenize, prolog-inside-mline-comment)
4045 (prolog-find-start-of-mline-comment): Remove functions.
4046 (prolog-find-unmatched-paren, prolog-clause-end)
4047 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
4048 (prolog-electric--if-then-else): Rename from
4049 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
4050 (prolog-tokenize-searchkey): Remove const.
4051 (prolog-clause-info): Use forward-sexp.
4052 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
4053 (prolog-electric-if-then-else): Remove commands.
4054 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
4055 for use in post-self-insert-hook.
4056 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
4057 for use in post-self-insert-hook.
4058 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
4059 for use in post-self-insert-hook.
4060 (prolog-electric--underscore): Rename from prolog-electric--underscore;
4061 adapt it for use in post-self-insert-hook.
4063 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
4065 * emacs-lisp/ert.el (ert-run-tests-interactively):
4066 Use `completing-read'. (Bug#9756)
4068 2013-10-25 Eli Zaretskii <eliz@gnu.org>
4070 * simple.el (line-move): Call line-move-1 instead of
4071 line-move-visual when the current window hscroll is zero, but
4072 temporary-goal-column indicates we will need to hscroll as result
4073 of the movement. (Bug#15712)
4075 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
4077 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
4078 capitalization. Use :visible instead of :active.
4079 Fix `ruby-indent-exp' reference. Add menu items for the generic
4080 commands that are used with SMIE.
4081 (ruby-do-end-to-brace): Insert space after `{'.
4083 2013-10-25 John Anthony <john@jo.hnanthony.com>
4085 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
4087 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
4089 2013-10-25 Glenn Morris <rgm@gnu.org>
4091 * vc/vc.el (vc-print-log): Don't use a working revision unless
4092 one was explicitly specified. (Bug#15322)
4094 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
4096 * subr.el (add-to-list): Preserve return value in compiler-macro
4099 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4101 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4102 result. Ask user to retry using '-all' flag. (Bug#15701)
4104 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4106 * emacs-lisp/smie.el: New smie-config system.
4107 (smie-config): New defcustom.
4108 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4109 (smie-config-guess, smie-config-save): New commands.
4110 (smie-config--mode-local, smie-config--buffer-local)
4111 (smie-config--trace, smie-config--modefuns): New vars.
4112 (smie-config--advice, smie-config--mode-hook)
4113 (smie-config--setter, smie-config-local, smie-config--get-trace)
4114 (smie-config--guess-value, smie-config--guess): New functions.
4115 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4116 text properties. Treat "string fence" syntax like string syntax.
4118 * progmodes/sh-script.el (sh-use-smie): Change default.
4119 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4120 (sh-var-value): Simplify by CSE.
4121 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4122 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4124 (sh-guess-basic-offset): Use cl-incf.
4125 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4127 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4129 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4132 2013-10-24 Glenn Morris <rgm@gnu.org>
4134 * Makefile.in (abs_top_srcdir): Remove.
4135 (update-subdirs): Use relative path to update-subdirs.
4137 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4139 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4140 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4141 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4142 Call unmsys--file-name before expand-file-name, not after it.
4144 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4146 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4147 (ert-test-skipped): New error.
4148 (ert-skip, ert-stats-skipped): New defuns.
4149 (ert--skip-unless): New macro.
4150 (ert-test-skipped): New struct.
4151 (ert--run-test-debugger, ert-test-result-type-p)
4152 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4153 (ert--stats-set-test-and-result, ert-char-for-test-result)
4154 (ert-string-for-test-result, ert-run-tests-batch)
4155 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4156 Handle skipped tests. (Bug#9803)
4158 2013-10-24 Glenn Morris <rgm@gnu.org>
4160 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4162 * Makefile.in (abs_top_srcdir): New, set by configure.
4163 (update-subdirs): Correct build-aux location.
4165 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4167 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4168 value, whether we could auto-deduce `backend', or not.
4170 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4171 with parameters" example. Simplify the "is it block or is it
4172 hash" check, but also make it more thorough.
4174 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4176 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4178 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4180 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4183 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4186 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4188 * progmodes/compile.el (compilation-directory-matcher)
4189 (compilation-page-delimiter):
4190 Support GNU Make-4.0 directory quoting. (Bug#15678)
4192 2013-10-23 Leo Liu <sdl.web@gmail.com>
4194 * ido.el (ido-tidy): Handle read-only text.
4196 2013-10-23 Glenn Morris <rgm@gnu.org>
4198 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4199 (emacs, compile, compile-always):
4200 Quote entities that might contain whitespace.
4201 (custom-deps, finder-data, autoloads): Use abs_lisp.
4202 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4203 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4204 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4206 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4208 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4209 Use `following-char'.
4211 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4213 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4214 * progmodes/ruby-mode.el (ruby-smie-rules):
4215 Remove corresponding workaround. Fix indentation rule of ";" so it
4216 also applies when ";" is the parent.
4218 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4220 * frame.el (display-screens, display-pixel-height)
4221 (display-pixel-width, display-mm-width, display-backing-store)
4222 (display-save-under, display-planes, display-color-cells)
4223 (display-visual-class, display-monitor-attributes-list):
4224 Mention the optional ‘display’ argument in doc strings.
4226 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4228 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4229 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4231 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4233 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4234 TODO. Add "." after " @ ".
4235 (ruby-smie--at-dot-call): New function. Checks if point at method
4236 call with explicit target.
4237 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4238 to the method name tokens when it precedes them.
4239 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4240 (ruby-smie-rules): Add rule for indentation before and after "."
4243 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4245 * textmodes/remember.el (remember-diary-extract-entries):
4248 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4251 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4253 * progmodes/ruby-mode.el (ruby-smie-grammar):
4254 Add (almost) all infix operators.
4255 (ruby-smie--implicit-semi-p): Add new operator chars.
4257 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4259 (ruby-smie--args-separator-p): Check that there's no newline
4260 between method call and its arguments.
4262 2013-10-20 Alan Mackenzie <acm@muc.de>
4264 Allow comma separated lists after Java "implements".
4266 * progmodes/cc-engine.el (c-backward-over-enum-header):
4268 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4269 from a "disallowed" list in enum fontification.
4271 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4273 * startup.el (default-frame-background-mode): Remove unused defvar.
4275 * progmodes/verilog-mode.el (verilog-mode): Don't set
4276 comment-indent-function globally.
4278 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4280 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4281 Move Info menu item creation to ns-win.el.
4283 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4286 * menu-bar.el: Move GNUstep specific menus...
4288 * term/ns-win.el (ns-initialize-window-system): ... to here.
4290 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4292 * simple.el (newline): Only run post-self-insert-hook when
4293 called interactively.
4295 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4297 * icomplete.el (icomplete-with-completion-tables): Add :version.
4299 2013-10-19 Alan Mackenzie <acm@muc.de>
4301 Fix fontification bugs with constructors and const.
4303 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4304 CASE 2) Remove the check for the absence of a suffix construct
4305 after a function declaration with only types (no identifiers) in
4306 the parentheses. Also, accept a function declaration with just a
4307 type inside the parentheses, if this type can be positively
4308 recognised as such, or if a prefix keyword like "explicit" nails
4309 down the construct as a declaration.
4311 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4313 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4314 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4315 the problem whereby selecting a menu item that leads to a
4316 minibuffer prompt moves the cursor out of the minibuffer window,
4317 making it hard to type at the prompt. Suggested by Stefan Monnier
4318 <monnier@iro.umontreal.ca>.
4320 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4322 * menu-bar.el: Don't make Services menu.
4324 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4326 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4327 (ffap-alist): Use ffap-c++-mode for c++-mode.
4328 (ffap-c++-path): New variable.
4329 (ffap-c++-mode): New function.
4331 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4333 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4335 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4337 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4338 introduced on 2013-09-08, which results in an infinite loop
4339 requesting a password.
4341 2013-10-18 Glenn Morris <rgm@gnu.org>
4343 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4345 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4347 Sync with upstream verilog-mode revision 1a6ecec7.
4348 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4349 (verilog-mode-release-date): Remove.
4350 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4351 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4352 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4353 (verilog-auto-tieoff-ignore-regexp)
4354 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4355 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4356 (verilog-signals-with, verilog-dir-cache-preserving)
4357 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4359 (verilog-case-fold): New option, to control case folding in
4360 regexp searches, bug597.
4361 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4362 (verilog-string-match-fold, verilog-in-paren-count)
4363 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4364 (verilog-at-close-struct-p): New functions.
4365 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4366 (verilog-forward-sexp, verilog-set-auto-endcomments):
4367 (verilog-leap-to-case-head): Handle "unique0" case.
4368 (verilog-in-constraint-re): New constant.
4369 (verilog-keywords, verilog-type-font-keywords):
4370 Add some SystemVerilog 1800-2012 keywords.
4371 (verilog-label-be): Remove unimplemented argument, bug669.
4372 (verilog-batch-execute-func): When batch expanding clear
4373 create-lockfiles to prevent spurious user locks when a file ends
4375 (verilog-calculate-indent, verilog-calc-1)
4376 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4377 (verilog-do-indent): Fix indentation of nested constraints
4379 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4380 (verilog-auto-inst-param): Use verilog-string-match-fold.
4381 (verilog-read-inst-module-matcher):
4382 Fix AUTOINST on gate primitives with #1.
4383 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4384 Reads all user-defined typed variables.
4385 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4386 (verilog-signals-matching-regexp)
4387 (verilog-signals-not-matching-regexp, verilog-auto):
4388 Respect verilog-case-fold.
4389 (verilog-diff-report): Fix line count.
4390 (verilog-auto-assign-modport): Remove unused local `modi'.
4391 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4392 better handle multidimensional arrays.
4393 Fix packed array ports misadding bit index in AUTOINST, bug637.
4394 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4395 to not double-declare existing outputs and inputs, respectively.
4396 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4397 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4398 (verilog-sk-uvm-component): New skeleton.
4399 (verilog-submit-bug-report): Add verilog-case-fold,
4400 remove verilog-mode-release-date.
4402 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4404 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4407 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4409 * textmodes/remember.el (remember): Set buffer-offer-save in
4410 remember buffers (bug#13566).
4412 2013-10-18 Daniel Colascione <dancol@dancol.org>
4414 When evaluating forms in ielm, direct standard output to ielm
4415 buffer. Add new ielm-return-for-effect command. Remove trailing
4416 whitespace throughout.
4418 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4419 (ielm-return-for-effect): New command.
4420 (ielm-send-input): Accept optional `for-effect' parameter.
4421 (ielm-eval-input): Accept optional `for-effect' parameter.
4422 Bind `standard-output' to stream we create using
4423 `ielm-standard-output-impl'. Suppress printing result when
4425 (ielm-standard-output-impl): New function.
4426 (inferior-emacs-lisp-mode): Explain new features in documentation.
4428 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4432 * net/tramp.el (tramp-debug-message): Do not check for connection
4434 (tramp-message): Use "vector" connection property.
4436 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4437 (tramp-equal-remote, tramp-eshell-directory-change)
4438 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4439 (tramp-adb-handle-rename-file)
4440 * net/tramp-cmds.el (tramp-list-remote-buffers)
4441 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4442 * net/tramp-compat.el (tramp-compat-process-running-p)
4443 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4444 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4445 (tramp-gvfs-handle-rename-file)
4446 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4447 (tramp-set-file-uid-gid)
4448 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4449 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4452 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4453 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4454 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4455 (tramp-gw-open-network-stream): Suppress unrelated traces.
4457 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4458 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4459 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4460 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4461 connection property.
4463 * net/tramp-cache.el (top): Suppress traces when reading
4466 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4467 Refactor common code. Improve debug message.
4468 (tramp-maybe-open-connection)
4469 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4470 connection buffer too early.
4472 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4473 from `tramp-smb-actions-with-acl'.
4474 (tramp-smb-actions-set-acl): New defconst.
4475 (tramp-smb-handle-copy-directory)
4476 (tramp-smb-action-get-acl): New defun, renamed from
4477 `tramp-smb-action-with-acl'.
4478 (tramp-smb-action-set-acl): New defun.
4479 (tramp-smb-handle-set-file-acl): Rewrite.
4481 2013-10-17 Glenn Morris <rgm@gnu.org>
4483 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4485 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4487 * skeleton.el (skeleton-newline): Remove.
4488 (skeleton-internal-1): Use (insert "\n") instead.
4490 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4493 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4494 forward-sexp-function while we redo its job (bug#15613).
4496 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4498 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4499 represented by lists.
4501 2013-10-16 Glenn Morris <rgm@gnu.org>
4503 * tmm.el (tmm--history): New dynamic variable.
4504 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4506 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4508 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4509 (tramp-smb-errors): Add error messages.
4510 (tramp-smb-actions-with-acl): New defconst.
4511 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4512 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4513 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4514 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4515 (tramp-smb-get-stat-capability): Fix tests.
4517 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4519 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4522 2013-10-16 Glenn Morris <rgm@gnu.org>
4524 * ansi-color.el (ansi-color-drop-regexp):
4525 Add 1J, 1K, 2K. (Bug#15617)
4527 * files.el (hack-local-variables--warned-lexical): New.
4528 (hack-local-variables):
4529 Warn about misplaced lexical-binding. (Bug#15616)
4531 * net/eww.el (eww-render): Always set eww-current-url,
4532 and update header line. (Bug#15622)
4533 (eww-display-html): ... Rather than just doing it here.
4535 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4537 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4538 menu navigations commands.
4540 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4542 * progmodes/subword.el (subword-capitalize): Be careful when
4543 the search for [[:alpha:]] fails (bug#15580).
4545 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4547 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4548 to commands that scroll the menu.
4550 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4552 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4553 Handle methods ending with `?' and `!'.
4555 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4557 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4558 `japanese-cp932' to `cp932' to fix the problem where saving a
4559 source file written in Shift_JIS twice would end up having
4560 `coding: japanese-cp932' which Ruby could not recognize.
4561 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4562 in `ruby-encoding-map'.
4563 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4564 doesn't need to be explicitly declared in magic comment.
4565 (ruby-encoding-map): Add type declaration for better customize UI.
4567 2013-10-13 Glenn Morris <rgm@gnu.org>
4569 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4570 Occur buffers are read-only. http://bugs.debian.org/720775
4572 * emacs-lisp/authors.el (authors-fixed-entries):
4573 Comment out old alpha stuff.
4575 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4577 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4578 to `after-save-hook' instead of `before-save-hook'.
4579 (ruby-mode-set-encoding): Use the value of coding system used to
4580 write the file. Call `basic-save-buffer-1' after modifying the
4583 2013-10-13 Alan Mackenzie <acm@muc.de>
4585 Fix indentation/fontification of Java enum with
4586 "implements"/generic.
4588 * progmodes/cc-engine.el (c-backward-over-enum-header):
4589 Extracted from the three other places and enhanced to handle generics.
4590 (c-inside-bracelist-p): Uses new function above.
4591 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4593 (c-font-lock-enum-tail): Uses new function above.
4595 2013-10-13 Kenichi Handa <handa@gnu.org>
4597 * international/mule-cmds.el (select-safe-coding-system): Remove a
4598 superfluous condition in chekcing whether a coding system is safe
4601 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4603 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4605 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4607 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4609 2013-10-13 Glenn Morris <rgm@gnu.org>
4611 * menu-bar.el (menu-bar-update-buffers):
4612 Unify Buffers menu prompt string. (Bug#15576)
4614 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4616 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4618 (authors-fixed-entries): Use accented form of name.
4620 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4622 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4623 method calls (bug#15594).
4624 (ruby-smie--args-separator-p): New function.
4625 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4626 recognize paren-free method calls.
4628 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4629 internals of universal-argument.
4631 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4633 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4634 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4635 dropped menu on second mouse click on the menu bar.
4637 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4639 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4640 (explicit-shell-file-name): Declare.
4641 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4642 (sh-completion-at-point-function): New function.
4644 (sh-smie--keyword-p): Remove unused argument.
4645 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4647 (sh-set-shell): Always setup SMIE, even if we use the
4648 old indentation code.
4650 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4652 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4654 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4655 predicate would return nil are almost non-existent.
4656 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4658 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4659 cache also after commands that modify the buffer but don't move
4662 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4664 * env.el (substitute-env-in-file-name): New function.
4665 (substitute-env-vars): Extend the meaning of the optional arg.
4667 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4669 * term/w32-win.el (dynamic-library-alist): Define separate lists
4670 of GIF DLLs for versions before and after 5.0.0 of giflib.
4673 2013-10-10 João Távora <joaotavora@gmail.com>
4675 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4676 not locked, use last revision and current source as
4677 defaults. (Bug#15569)
4679 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4681 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4684 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4686 * window.el (pop-to-buffer-same-window): Fix doc-string.
4689 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4691 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4693 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4695 * calendar/icalendar.el (icalendar-import-file):
4696 Fix interactive spec. (Bug#15482)
4698 2013-10-10 Glenn Morris <rgm@gnu.org>
4700 * desktop.el (desktop-save): Default to saving in .emacs.d,
4701 since PWD is no longer in desktop-path by default. (Bug#15319)
4703 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4704 now that text mode has a menu with the same entry.
4705 (menu-bar-text-mode-auto-fill): Remove now unused func.
4706 * textmodes/text-mode.el (text-mode-map):
4707 Use auto-fill help text from menu-bar.el.
4709 2013-10-10 John Anthony <john@jo.hnanthony.com>
4711 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4713 2013-10-09 Juri Linkov <juri@jurta.org>
4715 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4716 instead of this-command-keys. Add universal-argument-more and
4717 universal-argument-minus to the list of prefix commands. (Bug#15568)
4719 2013-10-09 Glenn Morris <rgm@gnu.org>
4721 * vc/vc-svn.el (vc-svn-create-repo):
4722 Expand paths in file://... url. (Bug#15446)
4724 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4726 (authors): Remove unused local variables.
4728 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4730 * profiler.el: Create a more coherent calltree from partial backtraces.
4731 (profiler-format): Hide the tail with `invisible' so that C-s can still
4732 find the hidden elements.
4733 (profiler-calltree-depth): Don't recurse so enthusiastically.
4734 (profiler-function-equal): New hash-table-test.
4735 (profiler-calltree-build-unified): New function.
4736 (profiler-calltree-build): Use it.
4737 (profiler-report-make-name-part): Indent the calltree less.
4738 (profiler-report-mode): Add visibility specs for profiler-format.
4739 (profiler-report-expand-entry, profiler-report-toggle-entry):
4740 Expand the whole subtree when provided with a prefix arg.
4742 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4744 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4746 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4747 hanging iuwu-mod token.
4748 (ruby-smie--forward-token): Do not include a dot after a token in
4750 (ruby-smie--backward-token): Likewise.
4752 2013-10-08 Juri Linkov <juri@jurta.org>
4754 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4755 to isearch-other-control-char.
4756 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4757 and isearch-post-command-hook to post-command-hook.
4758 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4759 and isearch-post-command-hook from post-command-hook.
4760 (isearch-unread-key-sequence)
4761 (isearch-reread-key-sequence-naturally)
4762 (isearch-lookup-scroll-key, isearch-other-control-char)
4763 (isearch-other-meta-char): Remove functions.
4764 (isearch-pre-command-hook, isearch-post-command-hook):
4765 New functions based on isearch-other-meta-char rewritten
4766 relying on the new behavior of overriding-terminal-local-map
4767 that does not replace the local keymaps any more. (Bug#15200)
4769 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4771 Support menus on text-mode terminals.
4772 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4775 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4777 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4778 Move here from mouse.el.
4779 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4781 (tty-menu-navigation-map): New map for TTY menu navigation.
4783 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4785 * frame.el (display-mouse-p): Report text-mode mouse as available
4787 (display-popup-menus-p): Report availability if mouse is
4788 available; don't condition on window-system.
4790 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4791 (tty-menu-selected-face): New faces.
4793 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4795 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4796 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4797 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4798 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4800 (lisp-mode-variables): New `elisp' argument.
4801 (emacs-lisp-mode): Use it.
4802 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4803 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4805 * indent.el: Use lexical-binding.
4806 (indent-region): Add progress reporter.
4807 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4809 (indent--next-tab-stop): New function to implement this behavior.
4810 (tab-to-tab-stop, move-to-tab-stop): Use it.
4812 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4814 * indent.el (indent-rigidly--current-indentation): New function.
4815 (indent-rigidly-map): New var.
4816 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4818 2013-10-08 Bastien Guerry <bzg@gnu.org>
4820 * register.el (insert-register): Fix 2013-10-07 change.
4822 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4824 * progmodes/perl-mode.el: Use lexical-binding.
4825 Remove redundant :group args.
4826 (perl-nochange): Change default to be closer to other major modes's
4828 (perl-indent-line): Don't consider text on current line as a
4829 valid beginning of function from which to indent.
4831 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4832 with more than one argument (bug#15538).
4834 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4836 * vc/pcvs.el: Use lexical-binding.
4837 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4838 environment of `eval'.
4839 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4840 than a list of expressions. Adjust callers.
4841 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4843 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4845 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4846 case of the dot in a chained method call being on the following line.
4848 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4850 * electric.el (electric-indent-inhibit): New var.
4851 (electric-indent-post-self-insert-function): Use it.
4852 * progmodes/python.el (python-mode): Set it.
4854 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4857 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4859 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4860 (css-mode): Use electric-indent-chars.
4862 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4863 (font-lock-beg, font-lock-end): Move before first use.
4864 (nxml-mode): Use syntax-propertize-function.
4865 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4866 (nxml-extend-after-change-region): Remove.
4867 * nxml/xmltok.el: Use lexical-binding.
4868 (xmltok-save): Use `declare'.
4869 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4870 * nxml/nxml-util.el: Use lexical-binding.
4871 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4873 * nxml/nxml-ns.el: Use lexical-binding.
4874 (nxml-ns-save): Use `declare'.
4875 (nxml-ns-prefixes-for): Avoid add-to-list.
4876 * nxml/rng-match.el: Use lexical-binding.
4877 (rng--ipattern): Use cl-defstruct.
4878 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4879 (rng-cons-group-after, rng-subst-group-after)
4880 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4881 Use closures instead of `(lambda...).
4883 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4885 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4888 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4889 Use `tramp-handle-insert-file-contents'.
4890 (tramp-gvfs-handle-insert-file-contents): Remove function.
4892 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4893 Use `save-restriction' in order to keep markers.
4895 * net/trampver.el: Update release number.
4897 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4899 * progmodes/compile.el (compilation-parse-errors):
4900 Use compilation--put-prop.
4901 (compilation--ensure-parse): Check compilation-multiline.
4903 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4905 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4908 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4910 * progmodes/ruby-mode.el: Fix recently added tests.
4911 (ruby-smie-grammar): Add - and +.
4912 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4913 (ruby-smie--backward-id): New functions.
4914 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4915 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4918 2013-10-07 Leo Liu <sdl.web@gmail.com>
4920 * register.el (register-preview-delay)
4921 (register-preview-functions): New variables.
4922 (register-read-with-preview, register-preview)
4923 (register-describe-oneline): New functions.
4924 (point-to-register, window-configuration-to-register)
4925 (frame-configuration-to-register, jump-to-register)
4926 (number-to-register, view-register, insert-register)
4927 (copy-to-register, append-to-register, prepend-to-register)
4928 (copy-rectangle-to-register): Use register-read-with-preview to
4929 read register. (Bug#15525)
4931 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4933 * net/network-stream.el (network-stream-open-starttls): Don't add
4934 --insecure if it's already present, because that gnutls-cli
4935 rejects getting that parameter twice.
4937 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4939 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4942 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4944 * newcomment.el (comment-use-global-state): Change default value
4945 to t, mark obsolete (Bug#15251).
4946 (comment-beginning): In addition to `comment-to-syntax', check the
4947 value of `comment-use-global-state'.
4949 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4951 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4952 (ruby-comment-column): Follow the global default, by default.
4953 (ruby-smie-grammar): Add assignment syntax.
4954 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4955 open-paren, a comma, or a \.
4956 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4957 and line continuations.
4958 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4959 followed by implicit semi-colons. Add rule for string concatenation
4960 and for indentation at BOB.
4961 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4963 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4964 calling next-sexp, since next-token may have skipped chars which
4965 next-sexp doesn't know should be skipped!
4967 2013-10-05 Leo Liu <sdl.web@gmail.com>
4969 * progmodes/octave.el (octave-send-region):
4970 Call compilation-forget-errors.
4972 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4974 * vc/vc-svn.el (vc-svn-find-admin-dir):
4975 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4976 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4977 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4978 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4980 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4982 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4984 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4986 * subr.el (read-passwd): Hide chars even when called within a context
4987 where after-change-functions is disabled (bug#15501).
4988 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4989 until we removed ourself from overriding-terminal-local-map.
4991 2013-10-04 Leo Liu <sdl.web@gmail.com>
4993 * progmodes/octave.el (inferior-octave-mode):
4994 Call compilation-forget-errors.
4996 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4998 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
5000 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
5002 * net/secrets.el (secrets-create-collection): Add optional
5003 argument ALIAS. Use proper Label keyword. Append ALIAS as
5004 dbus-call-method argument. (Bug#15516)
5006 2013-10-04 Leo Liu <sdl.web@gmail.com>
5008 * progmodes/octave.el (inferior-octave-error-regexp-alist)
5009 (inferior-octave-compilation-font-lock-keywords): New variables.
5010 (compilation-error-regexp-alist)
5011 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
5012 (inferior-octave-mode): Use compilation-shell-minor-mode.
5014 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
5016 * minibuffer.el (completion--replace): Be careful that `end' might be
5019 2013-10-03 Daiki Ueno <ueno@gnu.org>
5021 Add support for package signature checking.
5022 * emacs-lisp/package.el (url-http-file-exists-p)
5023 (epg-make-context, epg-context-set-home-directory)
5024 (epg-verify-string, epg-context-result-for)
5025 (epg-signature-status, epg-signature-to-string)
5026 (epg-check-configuration, epg-configuration)
5027 (epg-import-keys-from-file): Declare.
5028 (package-check-signature): New user option.
5029 (package-unsigned-archives): New user option.
5030 (package-desc): Add `signed' field.
5031 (package-load-descriptor): Set `signed' field if .signed file exists.
5032 (package--archive-file-exists-p): New function.
5033 (package--check-signature): New function.
5034 (package-install-from-archive): Check package signature.
5035 (package--download-one-archive): Check archive signature.
5036 (package-delete): Remove .signed file.
5037 (package-import-keyring): New command.
5038 (package-refresh-contents): Import default keyring.
5039 (package-desc-status): Add "unsigned" status.
5040 (describe-package-1, package-menu--print-info)
5041 (package-menu-mark-delete, package-menu--find-upgrades)
5042 (package-menu--status-predicate): Support "unsigned" status.
5044 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5046 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
5047 the new compilation scheme using the new byte-codes.
5049 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
5050 (byte-pophandler): New byte codes.
5051 (byte-goto-ops): Adjust accordingly.
5052 (byte-compile--use-old-handlers): New var.
5053 (byte-compile-catch): Use new byte codes depending on
5054 byte-compile--use-old-handlers.
5055 (byte-compile-condition-case--old): Rename from
5056 byte-compile-condition-case.
5057 (byte-compile-condition-case--new): New function.
5058 (byte-compile-condition-case): New function that dispatches depending
5059 on byte-compile--use-old-handlers.
5060 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
5063 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
5064 Optimize under `condition-case' and `catch' if
5065 byte-compile--use-old-handlers is nil.
5066 (disassemble-offset): Handle new bytecodes.
5068 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
5070 * subr.el (error): Use `declare'.
5071 (decode-char, encode-char): Use advertised-calling-convention instead
5072 of the docstring to discourage use of the `restriction' arg.
5074 2013-10-03 Daiki Ueno <ueno@gnu.org>
5076 * epg.el (epg-verify-file): Add a comment saying that it does not
5077 notify verification error as a return value nor a signal.
5078 (epg-verify-string): Ditto.
5080 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
5082 * progmodes/compile.el (compilation-start): Try globbing the arg to
5085 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
5087 Sync with Tramp 2.2.8.
5089 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
5090 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
5091 * net/trampver.el: Update release number.
5093 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
5095 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5096 and default-process-coding-system for darwin only.
5098 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5100 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5102 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5104 * vc/vc-git.el (vc-git-grep): Disable pager.
5106 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5108 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5109 Use :url instead of :homepage, as per
5110 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5112 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5113 non-nil, use `syntax-ppss' (Bug#15251).
5115 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5117 * progmodes/octave.el (inferior-octave-startup-file):
5118 Prefer ~/.emacs.d/init_octave.m.
5120 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5122 * emacs-lisp/package.el (package-desc-from-define):
5123 Accept additional arguments as plist, convert them to an alist and store
5124 them in the `extras' slot.
5125 (package-generate-description-file): Convert extras alist back to
5126 plist and append to the `define-package' form arguments.
5127 (package--alist-to-plist): New function.
5128 (package--ac-desc): Add `extras' slot.
5129 (package--add-to-archive-contents): Check if the archive-contents
5130 vector is long enough, and if it is, pass its `extras' slot value
5131 to `package-desc-create'.
5132 (package-buffer-info): Call `lm-homepage', pass the returned value
5133 to `package-desc-from-define'.
5134 (describe-package-1): Render the homepage button (Bug#13291).
5136 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5137 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5139 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5141 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5142 and default-process-coding-system to utf-8-unix (Bug#15402).
5144 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5146 * subr.el (looking-back): Do not recommend using looking-back.
5148 2013-09-28 Alan Mackenzie <acm@muc.de>
5150 Fix indentation/fontification of Java enum with "implements".
5152 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5153 regexp which matches "implements", etc., in Java.
5154 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5155 specifier clauses coming after "enum".
5156 * progmodes/cc-fonts.el (c-font-lock-declarations)
5157 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5160 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5162 * faces.el (region): Change ns_selection_color to
5163 ns_selection_fg_color, add ns_selection_bg_color.
5165 2013-09-28 Leo Liu <sdl.web@gmail.com>
5167 * progmodes/octave.el (inferior-octave-completion-table)
5168 (inferior-octave-completion-at-point): Minor tweaks.
5170 * textmodes/ispell.el (ispell-lookup-words): Rename from
5171 lookup-words. (Bug#15460)
5172 (lookup-words): Obsolete.
5173 (ispell-complete-word, ispell-command-loop): All uses changed.
5175 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5177 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5178 (octave-mode-menu): Add octave-send-buffer.
5179 (octave-send-buffer): New function.
5181 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5183 * progmodes/octave.el (octave-mode-map): Add key binding for
5185 (octave-mode-menu): Add octave-lookfor.
5186 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5188 (octave-lookfor): New function.
5190 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5192 * emacs-lisp/cl-macs.el:
5193 (cl--loop-destr-temps): Remove.
5194 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5196 (cl--loop-set-iterator-function): New function.
5197 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5198 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5199 Bind `it' with `let' instead of substituting it with `cl-subst'.
5200 (cl--unused-var-p): New function.
5201 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5202 Eliminate some unused variable warnings (bug#15326).
5204 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5206 * doc-view.el (doc-view-scale-reset): Rename from
5207 `doc-view-reset-zoom-level'.
5208 (doc-view-scale-adjust): New command.
5209 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5210 `doc-view-scale-adjust'.
5212 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5214 * doc-view.el (doc-view-reset-zoom-level): New command.
5215 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5216 zoom commands (bug#15466).
5218 2013-09-26 Kenichi Handa <handa@gnu.org>
5220 * international/quail.el (quail-help): Make it not a command.
5222 2013-09-26 Leo Liu <sdl.web@gmail.com>
5224 * minibuffer.el (completion-all-sorted-completions): Make args
5225 optional as they are.
5227 2013-09-25 Daniel Colascione <dancol@dancol.org>
5229 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5230 specs are and that they're not evaluated.
5232 2013-09-24 Sam Steingold <sds@gnu.org>
5234 * midnight.el (clean-buffer-list-kill-regexps)
5235 (clean-buffer-list-kill-buffer-names): Update for the new Man
5236 buffer naming which includes the object name.
5238 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5240 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5241 (eshell-parse-command, eshell-parse-pipeline): Use it since
5242 eshell-separate-commands requires a dynamic scoped var.
5243 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5245 2013-09-23 Leo Liu <sdl.web@gmail.com>
5247 * autoinsert.el (auto-insert-alist): Make the value of
5248 lexical-binding match its file setting.
5250 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5252 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5254 * autoarg.el (autoarg-kp-digit-argument):
5255 * electric.el (Electric-command-loop):
5256 * kmacro.el (kmacro-step-edit-insert):
5257 Do not set universal-argument-num-events.
5259 2013-09-22 Leo Liu <sdl.web@gmail.com>
5261 * files.el (interpreter-mode-alist): Add octave.
5263 2013-09-21 Alan Mackenzie <acm@muc.de>
5265 C++: fontify identifier in declaration following "public:" correctly.
5266 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5267 to match "public", etc.
5268 (c-decl-prefix-re): Add ":" into the C++ value.
5269 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5270 bit. Add a check for a ":" preceded by "public", etc.
5272 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5274 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5275 recognized by GDB 7.5 and later.
5277 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5279 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5281 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5283 * subr.el (internal--call-interactively): New const.
5284 (called-interactively-p): Use it (bug#3984).
5286 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5288 * vc/pcvs.el (cvs-mode-ignore):
5289 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5290 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5292 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5294 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5295 (eshell-ls-orig-insert-directory): Remove.
5296 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5297 (eshell-ls-use-in-dired): Use advice-add/remove.
5298 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5299 Add `orig-fun' arg for use in :around advice.
5300 Make it check (redundantly) eshell-ls-use-in-dired.
5302 2013-09-19 Glenn Morris <rgm@gnu.org>
5304 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5306 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5308 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5310 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5312 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5313 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5314 (tramp-get-remote-python): New defuns.
5315 (tramp-get-remote-uid-with-perl)
5316 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5317 contributed by yary <not.com@gmail.com> (tiny change).
5318 (tramp-get-remote-uid-with-python)
5319 (tramp-get-remote-gid-with-python): New defuns. Python code
5320 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5321 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5323 2013-09-19 Glenn Morris <rgm@gnu.org>
5325 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5327 * eshell/em-unix.el (eshell-remove-entries):
5328 Rename argument to avoid name-clash with global `top-level'.
5330 * eshell/esh-proc.el (eshell-kill-process-function):
5331 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5332 (eshell-reset-after-proc): Remove unused arg `proc'.
5334 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5335 (directory-files-and-attributes): Mark unused arg.
5337 * eshell/em-unix.el (eshell-remove-entries):
5338 Remove unused arg `path'. Update callers.
5340 * eshell/em-hist.el (eshell-hist-parse-arguments):
5341 Remove unused arg `silent'. Update callers.
5343 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5344 Fix (f)boundp mix-up.
5346 * eshell/em-smart.el (eshell-smart-scroll-window)
5347 (eshell-disable-after-change):
5348 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5350 2013-09-18 Alan Mackenzie <acm@muc.de>
5352 Fix fontification of type when followed by "const".
5353 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5354 "known" types from fontification.
5356 2013-09-18 Glenn Morris <rgm@gnu.org>
5358 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5359 (chart-face-list): Drop Emacsen without display-color-p.
5361 * net/eww.el (libxml-parse-html-region): Declare.
5362 (eww-display-html): Explicit error if no libxml2 support.
5364 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5366 * image.el (image-type-from-buffer, image-multi-frame-p):
5367 Remove --without-x warning/error.
5369 * mouse.el (mouse-yank-primary):
5370 * term.el (term-mouse-paste):
5371 Reorder to silence --without-x compilation.
5373 * mpc.el (doc-view-mode): Silence --without-x compilation.
5375 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5376 Silence --without-x compilation.
5378 * progmodes/gud.el (gud-find-file, gud-mode):
5379 Silence --without-x compilation.
5380 (tooltip-mode): Declare.
5382 * wdired.el (dired-backup-overwrite): Remove declaration.
5383 (wdired-mode-map): Add doc string.
5385 * custom.el (x-get-resource): Declare.
5387 * eshell/em-glob.el (ange-cache):
5388 * eshell/em-unix.el (ange-cache): Declare.
5390 * faces.el (x-display-list, x-open-connection, x-get-resource):
5393 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5394 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5397 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5399 * net/gnutls.el (gnutls-log-level): Declare.
5401 * net/shr.el (image-size, image-animate): Declare.
5403 * simple.el (font-info): Declare.
5405 * subr.el (x-popup-dialog): Declare.
5407 * term/common-win.el (x-select-enable-primary)
5408 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5411 * term/ns-win.el (x-handle-args): Declare.
5413 * term/x-win.el (x-select-enable-clipboard): Declare.
5415 * term/w32-win.el (create-default-fontset): Declare.
5417 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5420 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5421 (fit-frame-to-buffer): Explicit error if --without-x.
5422 (mouse-autoselect-window-select): Silence compiler.
5424 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5426 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5427 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5428 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5429 * eshell/esh-util.el (eshell-sublist):
5430 Remove unused local variables.
5432 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5434 * textmodes/two-column.el: Make 2C-split work for --without-x.
5435 (scroll-bar-columns): Autoload.
5436 (top-level): Require fringe when compiling.
5438 2013-09-18 Leo Liu <sdl.web@gmail.com>
5440 * subr.el (add-hook): Robustify to handle closure as well.
5442 2013-09-17 Glenn Morris <rgm@gnu.org>
5444 * simple.el (messages-buffer-mode-map): Unbind "g".
5446 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5448 * help-mode.el (help-mode-finish): Use derived-mode-p.
5449 Remove obsolete highlighting.
5451 * play/life.el (life-mode): Use define-derived-mode. Derive from
5453 (life): Let-bind inhibit-read-only.
5454 (life-setup): Avoid `setq'. Use `life-mode'.
5456 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5457 which should not be needed any more.
5458 (package-menu-refresh, package-menu-describe-package): Use user-error.
5460 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5461 (eshell-post-rewrite-command-hook): Make obsolete.
5462 (eshell-parse-command): Simplify.
5463 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5464 (eshell--cmd): Declare.
5465 (eshell-parse-pipeline): Remove unused var `final-p'.
5466 Pass a dynvar to eshell-post-rewrite-command-hook.
5467 Implement the new eshell-post-rewrite-command-function.
5468 (eshell-invoke-directly): Remove unused arg `input'.
5469 * eshell/esh-io.el (eshell-io-initialize):
5470 Use eshell-post-rewrite-command-function (bug#15399).
5471 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5472 adjust to new calling convention.
5473 (eshell-create-handles): Rename args to avoid clashing with dynvar
5476 2013-09-17 Glenn Morris <rgm@gnu.org>
5478 * simple.el (messages-buffer-mode): New major mode.
5479 (messages-buffer): New function.
5480 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5481 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5482 (ert-run-test): Use `messages-buffer' function.
5483 (ert--force-message-log-buffer-truncation): Ignore read-only.
5484 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5485 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5487 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5489 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5491 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5493 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5495 * icomplete.el (icomplete-in-buffer): New var.
5496 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5497 vars and replace them with functions.
5498 (icomplete-minibuffer-setup): Adjust accordingly.
5499 (icomplete--completion-table, icomplete--completion-predicate)
5500 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5502 (icomplete-forward-completions, icomplete-backward-completions)
5503 (icomplete-simple-completing-p, icomplete-exhibit)
5504 (icomplete-completions): Use them.
5505 (icomplete--in-region-buffer): New var.
5506 (icomplete--in-region-setup): New function.
5507 (icomplete-mode): Use it.
5509 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5511 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5512 return args and options.
5513 (eshell-eval-using-options): Use the new return value of
5514 eshell--do-opts to set the options's vars in their scope.
5515 (eshell--set-option): Rename from eshell-set-option.
5517 (eshell--process-option): Rename from eshell-process-option.
5519 (eshell--process-args): Use an `opt-vals' alist to store the options's
5520 values during their processing and return them additionally to the
5523 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5525 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5526 continuation character an operator, as far as indentation is
5527 concerned (Bug#15369).
5529 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5531 * window.el (window--state-put-2): Don't process buffer state
5532 when buffer doesn't exist any more (Bug#15382).
5534 2013-09-15 Glenn Morris <rgm@gnu.org>
5536 * eshell/em-unix.el (eshell/rm):
5537 Make -f ignore missing files. (Bug#15373)
5539 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5540 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5541 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5543 2013-09-14 Glenn Morris <rgm@gnu.org>
5545 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5547 2013-09-13 Glenn Morris <rgm@gnu.org>
5549 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5550 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5552 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5554 * frame.el (x-focus-frame): Mark as declared in frame.c.
5556 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5558 * ls-lisp.el: Use advice-add.
5559 (original-insert-directory): Remove.
5560 (ls-lisp--insert-directory): Rename from insert-directory; add
5561 `orig-fun' argument.
5562 (insert-directory): Advise.
5564 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5566 * term.el (term-emulate-terminal): Decode the command string
5567 before passing it to term-command-hook. (Bug#15337)
5569 2013-09-13 Glenn Morris <rgm@gnu.org>
5571 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5573 * eshell/esh-ext.el (eshell-search-path): Declare.
5575 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5576 Otherwise an error occurs if eshell-dirs module not loaded.
5578 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5580 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5582 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5583 `tramp-check-proper-host'. Check for a valid method name.
5585 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5586 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5587 * net/tramp-sh.el (tramp-maybe-open-connection):
5588 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5590 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5591 also for hash values.
5593 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5595 * term/ns-win.el (parameters): Don't declare as dynamic.
5596 (before-make-frame-hook): Don't add ineffective function.
5598 * eshell/*.el: Use lexical-binding (bug#15231).
5600 2013-09-12 Kenichi Handa <handa@gnu.org>
5602 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5604 2013-09-12 Glenn Morris <rgm@gnu.org>
5606 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5607 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5609 * subr.el (do-after-load-evaluation): Also give compiler warnings
5610 when obsolete files are used (except by obsolete files).
5612 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5613 in the status output, assume `filename' is the first. (Bug#15322)
5615 * vc/vc.el (vc-deduce-fileset): Doc fix.
5617 * calc/calc-help.el (Info-goto-node):
5618 * progmodes/cperl-mode.el (Info-find-node):
5619 * vc/ediff.el (Info-goto-node): Update declarations.
5621 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5623 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5624 (vc-bzr-pull): Require vc-dispatcher.
5625 * vc/vc-git.el (vc-compilation-mode): Declare.
5626 (vc-git-pull): Require vc-dispatcher.
5628 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5630 * progmodes/octave.el (help-button-action): Declare.
5632 * shell.el (shell-directory-tracker): Output error as a message
5633 rather than just returning it as a string.
5634 (shell-process-pushd): Remove useless use of message.
5636 * dframe.el (dframe-timer-fn):
5637 * files.el (dir-locals-read-from-file):
5638 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5640 * reveal.el (reveal-post-command):
5641 * saveplace.el (load-save-place-alist-from-file):
5642 * shell.el (shell-resync-dirs):
5643 * w32-common-fns.el (x-get-selection-value):
5644 * emacs-lisp/copyright.el (copyright-find-copyright):
5645 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5646 * emulation/tpu-edt.el (tpu-copy-keyfile):
5647 * play/bubbles.el (bubbles--mark-neighbourhood):
5648 * progmodes/executable.el
5649 (executable-make-buffer-file-executable-if-script-p):
5650 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5652 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5654 Cleanup Eshell to rely less on dynamic scoping.
5655 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5656 last-value, and ext-command here. Bind `args' closer to `body'.
5657 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5658 (eshell--args): Declare new dynamic var.
5659 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5660 last-value, and ext-command. Pass `args' to `body'.
5661 (eshell-process-args): Bind eshell--args.
5662 (eshell-set-option): Use eshell--args.
5663 * eshell/eshell.el (eshell): Use derived-mode-p.
5664 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5665 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5666 (eshell-glob-function): Declare.
5667 * eshell/esh-util.el: Require cl-lib.
5668 (eshell-read-hosts-file): Avoid add-to-list.
5669 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5671 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5673 (eshell/diff): Remove unused var `err'.
5674 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5676 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5677 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5679 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5680 Move declaration before first use.
5681 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5682 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5685 2013-09-12 Glenn Morris <rgm@gnu.org>
5687 * term/ns-win.el (global-map): Remove binding for ispell-next,
5688 deleted 1999-05-29. (Bug#15357)
5690 2013-09-11 Glenn Morris <rgm@gnu.org>
5692 * echistory.el (electric-command-history): Remove call to deleted func.
5694 * play/landmark.el (landmark-mode): Fix typos.
5696 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5697 Check cvs-sort-ignore-file is bound.
5699 * savehist.el: No need for cl when compiling on Emacs.
5701 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5703 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5705 (eshell-self-insert-command, eshell-send-invisible):
5706 Remove unused argument.
5707 (eshell-handle-control-codes): Remove unused var `orig'.
5708 Avoid delete-backward-char.
5710 * files.el (set-auto-mode): Simplify a bit further.
5712 2013-09-11 Glenn Morris <rgm@gnu.org>
5714 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5715 (set-auto-mode): Don't regexp-quote elements.
5716 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5717 * progmodes/cc-mode.el (interpreter-mode-alist):
5718 * progmodes/ruby-mode.el (interpreter-mode-alist):
5719 Revert previous change.
5721 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5723 * play/snake.el (snake-mode):
5724 * play/mpuz.el (mpuz-mode):
5725 * play/landmark.el (lm-mode):
5726 * play/blackbox.el (blackbox-mode):
5727 * play/5x5.el (5x5-mode):
5728 * obsolete/options.el (Edit-options-mode):
5729 * net/quickurl.el (quickurl-list-mode):
5730 * net/newst-treeview.el (newsticker-treeview-mode):
5731 * mail/rmailsum.el (rmail-summary-mode):
5732 * mail/mspools.el (mspools-mode):
5733 * locate.el (locate-mode):
5734 * ibuffer.el (ibuffer-mode):
5735 * emulation/ws-mode.el (wordstar-mode):
5736 * emacs-lisp/debug.el (debugger-mode):
5737 * array.el (array-mode):
5738 * net/eudc.el (eudc-mode): Use define-derived-mode.
5739 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5740 Move initialization into declaration.
5741 (mairix-searches-mode): Use define-derived-mode.
5742 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5743 (eudc-edit-hotlist): Use dolist.
5744 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5745 (Man-mode): Use define-derived-mode.
5746 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5747 (Info-edit-mode): Use define-derived-mode.
5748 (Info-cease-edit): Use Info-mode.
5749 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5751 (eshell-mode): Use define-derived-mode.
5752 * chistory.el (command-history-mode-map): Rename from
5753 command-history-map.
5754 (command-history-mode): Use define-derived-mode.
5755 (Command-history-setup): Remove function.
5756 * calc/calc.el (calc-trail-mode-map): New var.
5757 (calc-trail-mode): Use define-derived-mode.
5758 (calc-trail-buffer): Set calc-main-buffer manually.
5759 * bookmark.el (bookmark-insert-annotation): New function.
5760 (bookmark-edit-annotation): Use it.
5761 (bookmark-edit-annotation-mode): Make it a proper major mode.
5762 (bookmark-send-edited-annotation): Use derived-mode-p.
5763 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5764 closer to its ideal place. Use \' to match EOS.
5766 * profiler.el (profiler-calltree-find): Use function-equal.
5768 2013-09-10 Glenn Morris <rgm@gnu.org>
5770 * files.el (interpreter-mode-alist): Convert to regexps.
5771 (set-auto-mode): Adapt for this. (Bug#15306)
5772 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5773 Comment out unused variable.
5774 * progmodes/cc-mode.el (interpreter-mode-alist):
5775 * progmodes/python.el (interpreter-mode-alist):
5776 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5777 * progmodes/sh-script.el (sh-set-shell):
5778 No longer use interpreter-mode-alist to get list of shells.
5780 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5782 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5784 * simple.el: Use set-temporary-overlay-map for universal-argument.
5785 (universal-argument-map): Don't use default-bindings (bug#15317).
5786 Bind switch-frame explicitly. Replace universal-argument-minus with
5787 a conditional binding.
5788 (universal-argument-num-events, saved-overriding-map): Remove.
5789 (restore-overriding-map): Remove.
5790 (universal-argument--mode): Rename from save&set-overriding-map,
5792 (universal-argument, universal-argument-more, negative-argument)
5793 (digit-argument): Adjust accordingly.
5794 (universal-argument-minus): Remove.
5795 (universal-argument-other-key): Remove.
5797 * subr.el (with-demoted-errors): Add `format' argument.
5799 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5801 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5802 `tramp-cleanup-connection'.
5804 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5805 parameters KEEP-DEBUG and KEEP-PASSWORD.
5807 * net/tramp.el (tramp-file-name-handler):
5808 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5809 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5810 (tramp-maybe-open-connection):
5811 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5812 Use `tramp-cleanup-connection'.
5814 * net/tramp-sh.el (tramp-maybe-open-connection):
5815 Catch 'uname-changed inside the progress reporter.
5817 2013-09-10 Glenn Morris <rgm@gnu.org>
5819 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5821 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5822 returns "alternate access method" in mode (eg "-rw-r--r--.").
5824 2013-09-08 Glenn Morris <rgm@gnu.org>
5826 * saveplace.el (load-save-place-alist-from-file):
5827 Demote errors. (Bug#15305)
5829 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5831 Improve compatibility with older Emacsen, and XEmacs.
5833 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5834 only if it is bound. It isn't for XEmacs.
5835 (with-tramp-progress-reporter): Do not let-bind `result'.
5836 This yields to scoping errors in XEmacs.
5837 (tramp-handle-make-auto-save-file-name): New function, moved from
5840 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5841 for `make-auto-save-file-name'.
5842 (tramp-adb--gnu-switches-to-ash):
5843 Use `tramp-compat-replace-regexp-in-string'.
5845 * net/tramp-cache.el (tramp-cache-print): Call
5846 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5848 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5849 bound. It isn't for XEmacs.
5851 * net/tramp-compat.el (tramp-compat-copy-file):
5852 Catch `wrong-number-of-arguments' error.
5853 (tramp-compat-replace-regexp-in-string): New defun.
5855 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5856 for `make-auto-save-file-name'.
5857 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5859 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5860 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5861 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5863 * net/tramp-gw.el (tramp-gw-open-network-stream):
5864 Use `tramp-compat-replace-regexp-in-string'.
5866 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5867 Call `tramp-handle-make-auto-save-file-name'.
5868 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5869 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5870 (tramp-sh-file-inotifywait-process-filter):
5871 Use `tramp-compat-replace-regexp-in-string'.
5872 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5874 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5875 for `make-auto-save-file-name'.
5876 (tramp-smb-handle-copy-directory):
5877 Call `tramp-compat-replace-regexp-in-string'.
5878 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5879 (tramp-smb-handle-copy-file): Improve error message.
5880 (tramp-smb-handle-rename-file): Rename directly only in case
5881 `newname' does not exist yet. This is a restriction of smbclient.
5882 (tramp-smb-maybe-open-connection): Rerun the function only when
5883 `auth-sources' is non-nil.
5885 2013-09-08 Kenichi Handa <handa@gnu.org>
5887 * international/characters.el: Set category "^" (Combining) for
5890 2013-09-07 Alan Mackenzie <acm@muc.de>
5892 Correctly fontify Java class constructors.
5893 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5895 (c-recognize-typeless-decls): Set the Java value to t.
5896 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5897 While handling a "(", add a check for, effectively, Java, and handle a
5898 "typeless" declaration there.
5900 2013-09-07 Roland Winkler <winkler@gnu.org>
5902 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5903 field subtitle for entry type book.
5905 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5907 * minibuffer.el: Make minibuffer-complete call completion-in-region
5908 rather than other way around.
5909 (completion--some, completion-pcm--find-all-completions):
5910 Don't delay signals when debugging.
5911 (minibuffer-completion-contents): Beware fields within the
5912 minibuffer contents.
5913 (completion-all-sorted-completions): Use defvar-local.
5914 (completion--do-completion, completion--cache-all-sorted-completions)
5915 (completion-all-sorted-completions, minibuffer-force-complete):
5916 Add args `beg' and `end'.
5917 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5918 (minibuffer-complete): Use completion-in-region.
5919 (completion-complete-and-exit): New fun, extracted from
5920 minibuffer-complete-and-exit.
5921 (minibuffer-complete-and-exit): Use it.
5922 (completion--complete-and-exit): Rename from
5923 minibuffer--complete-and-exit.
5924 (completion-in-region--single-word): New function, extracted from
5925 minibuffer-complete-word.
5926 (minibuffer-complete-word): Use it.
5927 (display-completion-list): Make `common-substring' argument obsolete.
5928 (completion--in-region): Call completion--in-region-1 instead of
5929 minibuffer-complete.
5930 (completion-help-at-point): Pass boundaries to
5931 minibuffer-completion-help as args rather than via an overlay.
5932 (completion-pcm--string->pattern): Use `any-delim'.
5933 (completion-pcm--optimize-pattern): New function.
5934 (completion-pcm--pattern->regex): Handle `any-delim'.
5935 * icomplete.el (icomplete-forward-completions)
5936 (icomplete-backward-completions, icomplete-completions):
5937 Adjust calls to completion-all-sorted-completions and
5938 completion--cache-all-sorted-completions.
5939 (icomplete-with-completion-tables): Default to t.
5940 * emacs-lisp/crm.el (crm--current-element): Rename from
5941 crm--select-current-element. Don't put an overlay but return the
5943 (crm--completion-command): Take two new args to bind to the boundaries.
5944 (crm-completion-help): Adjust accordingly.
5945 (crm-complete): Use completion-in-region.
5946 (crm-complete-word): Use completion-in-region--single-word.
5947 (crm-complete-and-exit): Use completion-complete-and-exit.
5949 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5951 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5954 2013-09-06 Juri Linkov <juri@jurta.org>
5956 * info.el (Info-display-images-node): When image file doesn't exist
5957 display text version of the image if it's provided in the Info file.
5958 Otherwise, display the location of missing image from SRC attribute.
5959 Add help-echo text property from ALT attribute. (Bug#15279)
5961 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5963 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5964 (edit-abbrevs-mode): Use define-derived-mode.
5966 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5967 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5969 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5970 Use define-derived-mode.
5972 * epg.el (epg-start-encrypt): Minor CSE simplification.
5974 2013-09-06 William Xu <william.xwl@gmail.com>
5976 * arc-mode.el: Add support for 7za (bug#15264).
5977 (archive-7z-program): New var.
5978 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5979 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5980 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5982 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5986 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5987 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5988 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5989 (tramp-postfix-host-format, tramp-file-name-regexp)
5990 (tramp-completion-file-name-regexp)
5991 (tramp-completion-dissect-file-name)
5992 (tramp-handle-substitute-in-file-name): Remove 'url case.
5993 (tramp-file-name-regexp-url)
5994 (tramp-completion-file-name-regexp-url): Remove constants.
5996 2013-09-06 Glenn Morris <rgm@gnu.org>
5998 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
6000 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
6002 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
6003 keywords" below "here-doc beginnings" (Bug#15270).
6005 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6007 * subr.el (pop): Use `car-safe'.
6008 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
6009 to detect unused `pop' return value.
6011 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
6013 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
6014 (python-fill-string): Remove unused var `marker'.
6015 (python-skeleton-add-menu-items): Remove unused var `items'.
6017 * international/mule-cmds.el: Require CL.
6018 (find-coding-systems-for-charsets): Avoid add-to-list.
6019 (sanitize-coding-system-list): New function, extracted from
6020 select-safe-coding-system-interactively.
6021 (select-safe-coding-system-interactively): Use it.
6022 (read-input-method-name): Accept symbols for `default'.
6024 * emacs-lisp/advice.el (defadvice): Add indent rule.
6026 2013-09-05 Daniel Hackney <dan@haxney.org>
6030 * net/browse-url.el:
6033 * net/eudcb-ldap.el:
6046 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
6047 byte compiler. Remove some unused let-bound variables.
6049 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
6051 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
6052 a "ref-cell", since it gets better optimized (bug#14883).
6054 2013-09-05 Glenn Morris <rgm@gnu.org>
6056 * progmodes/cc-awk.el (c-forward-sws): Declare.
6058 2013-09-04 Glenn Morris <rgm@gnu.org>
6060 * generic-x.el [rul-generic-mode]: Require cc-mode.
6061 (c++-mode-syntax-table): Declare.
6062 (rul-generic-mode-syntax-table): Init in the defvar.
6064 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
6066 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
6067 (vc-do-command, vc-set-async-update):
6068 * vc/vc-mtn.el (vc-mtn-dir-status):
6069 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
6070 (vc-hg-pull, vc-hg-merge-branch):
6071 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
6072 (vc-git-merge-branch):
6073 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
6074 (vc-cvs-dir-status-files):
6075 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
6076 (vc-bzr-dir-status-files):
6077 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
6078 * vc/vc-annotate.el: Use lexical-binding.
6079 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
6080 (vc-sentinel-movepoint): Declare.
6081 (vc-annotate): Don't use `goto-line'.
6082 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
6083 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
6084 (vc-sentinel-movepoint): Declare.
6085 * vc/vc-svn.el: Use lexical-binding.
6086 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
6088 * vc/vc-rcs.el: Use lexical-binding.
6090 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
6091 `deleted'. Don't drop errors silently.
6093 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
6095 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
6097 * vc/vc.el (vc-ignore): Rewrite.
6098 (vc-default-ignore): New function.
6099 (vc-default-ignore-completion-table): Use find-ignore-file.
6101 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6102 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6103 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6104 Remove. Most code moved to vc.el.
6106 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6108 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6109 * net/tramp-smb.el (tramp-smb-get-file-entries):
6110 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6111 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6113 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6115 (eww-change-select): Remove unused var `properties'.
6116 (eww-make-unique-file-name): Remove unused var `base'.
6118 * finder.el (finder-compile-keywords): Don't mess with windows.
6120 * calculator.el (calculator-funcall): Fix typo in last change.
6122 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6124 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6125 <pkg>-autoloads.el file stop us.
6127 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6128 warnings, and factor out common code.
6130 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6132 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6133 two-character operators and whether the character preceding them
6134 changes their meaning (Bug#15208).
6136 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6138 Format code sent to Python shell for robustness.
6139 * progmodes/python.el (python-shell-buffer-substring):
6141 (python-shell-send-region, python-shell-send-buffer): Use it.
6143 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6145 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6146 * net/tramp.el (tramp-user-error): ... here.
6147 (tramp-find-method, tramp-check-proper-host)
6148 (tramp-dissect-file-name, tramp-debug-message)
6149 (tramp-handle-shell-command):
6150 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6151 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6153 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6155 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6157 * avoid.el (mouse-avoidance-point-position)
6158 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6161 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6163 * progmodes/python.el (python-shell-completion-get-completions):
6164 Drop use of deleted `comint-last-prompt-overlay'.
6165 (python-nav-if-name-main): New command.
6167 2013-09-01 Glenn Morris <rgm@gnu.org>
6169 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6170 Avoid leading space in $wins. Otherwise the sed command used by
6171 eg compile-main ends up containing "/*.el". (Bug#15170)
6173 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6175 2013-08-30 Glenn Morris <rgm@gnu.org>
6177 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6178 Fix is-this-a-directory logic. (Bug#15220)
6180 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6182 * textmodes/css-mode.el: Use SMIE.
6183 (css-smie-grammar): New var.
6184 (css-smie--forward-token, css-smie--backward-token)
6185 (css-smie-rules): New functions.
6186 (css-mode): Use them.
6187 (css-navigation-syntax-table): Remove var.
6188 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6189 (css-indent-calculate, css-indent-line): Remove functions.
6191 Misc changes to reduce use of `(lambda...); and other cleanups.
6192 * cus-edit.el: Use lexical-binding.
6193 (customize-push-and-save, customize-apropos)
6194 (custom-buffer-create-internal): Use closures.
6195 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6196 * progmodes/ada-xref.el: Use setq.
6197 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6198 * dframe.el: Use lexical-binding.
6199 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6200 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6201 * descr-text.el: Use lexical-binding.
6202 (describe-text-widget, describe-text-sexp, describe-property-list):
6204 * comint.el (comint-history-isearch-push-state): Use a closure.
6205 * calculator.el: Use lexical-binding.
6206 (calculator-number-to-string): Make it work with lexical-binding.
6207 (calculator-funcall): Same and use cl-letf.
6209 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6210 (lisp--company-doc-string, lisp--company-location): New functions.
6211 (lisp-completion-at-point): Use them to improve Company support.
6213 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6214 params of lambda expressions.
6215 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6216 (ruby-smie--opening-pipe-p): New function.
6217 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6218 symbols and matched |...| for formal params.
6219 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6220 from being treated as hanging. Handle "rescue".
6222 2013-08-29 Glenn Morris <rgm@gnu.org>
6224 * progmodes/cc-engine.el (c-pull-open-brace):
6225 Move definition before use.
6227 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6229 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6230 are immutable. Don't use `unsafe' any more.
6231 (cl--defsubst-expand): Don't substitute at the same time as keeping
6232 a residual unused let-binding. Don't use `unsafe' any more.
6234 2013-08-29 Glenn Morris <rgm@gnu.org>
6236 * calendar/cal-china.el (calendar-chinese-year-cache):
6239 * nxml/nxml-util.el (nxml-debug-clear-inside):
6240 Use cl-loop rather than loop.
6242 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6244 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6246 2013-08-28 Glenn Morris <rgm@gnu.org>
6248 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6250 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6252 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6254 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6256 * simple.el (repeat-complex-command--called-interactively-skip):
6258 (repeat-complex-command): Use it (bug#14136).
6260 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6261 (c-define-abbrev-table): Add `doc' argument.
6262 (c-mode-abbrev-table, c++-mode-abbrev-table)
6263 (objc-mode-abbrev-table, java-mode-abbrev-table)
6264 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6265 (awk-mode-abbrev-table): Use it.
6266 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6267 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6268 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6269 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6270 Move initialization into the declaration; and remove any
6273 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6274 and dynamic let binding.
6276 * vc/smerge-mode.el: Remove redundant :group args.
6278 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6281 2013-08-28 Juri Linkov <juri@jurta.org>
6283 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6284 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6285 (isearch-other-meta-char): Handle an undefined shifted printing
6286 character by downshifting it. (Bug#15200)
6288 2013-08-28 Juri Linkov <juri@jurta.org>
6290 * isearch.el (isearch-search): Change regexp error message for
6291 non-regexp searches. (Bug#15166)
6293 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6295 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6296 for portability to hosts where /bin/sh has problems.
6298 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6300 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6302 2013-08-27 Juri Linkov <juri@jurta.org>
6304 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6305 in the keyboard macro. (Bug#15126)
6307 2013-08-27 Juri Linkov <juri@jurta.org>
6309 * isearch.el (isearch-quote-char): Comment out converting unibyte
6310 to multibyte, thus syncing with its `quoted-insert' counterpart.
6313 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6315 * window.el (display-buffer-use-some-window): Add missing
6316 argument in call of get-largest-window (Bug#15185).
6317 Reported by Stephen Leake.
6319 2013-08-27 Glenn Morris <rgm@gnu.org>
6321 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6323 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6325 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6326 from a matcher-function unless there's no more matches (bug#15161).
6328 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6330 * minibuffer.el: Revert change from 2013-08-20.
6332 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6333 with text property `tramp-default', if appropriate.
6334 (tramp-check-proper-host): New defun.
6335 (tramp-dissect-file-name): Do not check hostname. Revert change
6337 (tramp-backtrace): Make VEC-OR-PROC optional.
6339 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6340 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6341 * net/tramp-sh.el (tramp-maybe-open-connection):
6342 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6343 Apply `tramp-check-proper-host'.
6345 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6347 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6348 lambda expression in order to have `describe-variable' display it.
6350 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6352 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6353 BUF can be optional. (Bug#15186)
6355 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6357 * progmodes/flymake.el (flymake-get-real-file-name-function):
6358 Fix broken customization. (Bug#15184)
6360 2013-08-25 Alan Mackenzie <acm@muc.de>
6362 Improve indentation of bracelists defined by macros (without "=").
6364 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6365 expansion begins with "{", regard it as bracelist when it doesn't
6368 Parse C++ inher-intro when there's a template split over 2 lines.
6370 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6371 rigorously the search for "class" etc. followed by ":".
6373 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6374 random languages a regexp which never matches rather than nil.
6376 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6378 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6379 (c-awk-regexp-one-line-possibly-open-char-list-re)
6380 (c-awk-one-line-possibly-open-regexp-re)
6381 (c-awk-one-line-non-syn-ws*-re): Remove.
6382 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6383 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6384 (c-awk-space*-unclosed-regexp-/-re): New constants.
6385 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6386 aren't regexp delimiters.
6388 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6389 handling for a rare situation in AWK Mode involving unterminated
6392 2013-08-23 Glenn Morris <rgm@gnu.org>
6394 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6396 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6398 * files.el (create-file-buffer): If the result would begin with
6399 spaces, prepend a "|" instead of removing them. (Bug#15162)
6401 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6403 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6404 text-properties (bug#15155).
6406 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6408 (calc-keypad-redraw): Remove unused var `pad'.
6409 (calc-keypad-press): Remove unused var `menu'.
6411 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6413 * window.el (display-buffer-pop-up-frame):
6414 Call pop-up-frame-function with BUFFER current so `make-frame' will
6415 use it as the new frame's buffer (Bug#15133).
6417 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6419 * calendar/timeclock.el: Minor cleanups.
6420 (timeclock-ask-before-exiting, timeclock-use-display-time):
6422 (timeclock-modeline-display): Define as alias before the
6424 (timeclock-mode-line-display): Use define-minor-mode.
6425 (timeclock-day-list-template): Make it a function, add an argument.
6426 (timeclock-day-list-required, timeclock-day-list-length)
6427 (timeclock-day-list-debt, timeclock-day-list-span)
6428 (timeclock-day-list-break): Adjust calls accordingly.
6430 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6432 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6433 Use read--expression so that completion works again.
6435 2013-08-21 Sam Steingold <sds@gnu.org>
6437 Add rudimentary inferior shell interaction
6438 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6439 (sh-set-shell): Reset it.
6440 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6441 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6443 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6445 * align.el: Use lexical-binding.
6446 (align-region): Simplify accordingly.
6448 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6450 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6452 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6455 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6459 * net/tramp-cmds.el:
6461 * net/tramp-gvfs.el:
6463 * net/tramp-sh.el: Don't wrap external variable declarations by
6464 `eval-when-compile'.
6466 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6468 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6469 now that Emacs supports ImageMagick animations.
6471 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6473 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6474 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6476 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6478 * window.el (mouse-autoselect-window-select): Do autoselect when
6479 mouse pointer is on margin.
6481 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6483 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6485 2013-08-16 Glenn Morris <rgm@gnu.org>
6487 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6488 Handle "Remote Directory" response of some clients. (Bug#15058)
6490 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6491 Tweak warning. (Bug#14926)
6493 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6494 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6496 * image-mode.el (image-mode-map): Add menu items to reverse,
6497 increase, decrease, reset animation speed.
6498 (image--set-speed, image-increase-speed, image-decrease-speed)
6499 (image-reverse-speed, image-reset-speed): New functions.
6500 (image-mode-map): Add bindings for speed commands.
6502 * image.el (image-animate-get-speed, image-animate-set-speed):
6504 (image-animate-timeout): Respect image :speed property.
6506 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6508 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6509 previous line (bug#15101).
6510 (debugger-eval-expression, debugger-record-expression):
6511 Use read--expression (bug#15102).
6513 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6515 Remove byte compiler warnings, visible when compiling with
6516 `byte-compile-force-lexical-warnings' set to t.
6518 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6519 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6520 (tramp-handle-unhandled-file-name-directory)
6521 (tramp-handle-file-notify-add-watch, tramp-action-login)
6522 (tramp-action-succeed, tramp-action-permission-denied)
6523 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6526 * net/tramp-adb.el (tramp-adb-parse-device-names)
6527 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6528 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6529 (tramp-adb-handle-file-truename): Remove unused arguments.
6531 * net/tramp-cache.el (tramp-flush-directory-property)
6532 (tramp-flush-connection-property, tramp-list-connections)
6533 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6535 * net/tramp-compat.el (tramp-compat-make-temp-file):
6536 Rename FILENAME to F.
6538 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6539 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6540 (tramp-zeroconf-parse-workstation-device-names)
6541 (tramp-zeroconf-parse-webdav-device-names)
6542 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6544 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6545 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6547 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6549 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6550 (tramp-sh-handle-insert-file-contents-literally)
6551 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6553 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6554 Remove unused variables.
6556 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6557 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6558 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6560 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6561 Make them a defconst.
6562 (tramp-uuencode-region): Remove unused variable.
6564 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6566 * frameset.el (frameset--prop-setter): New function.
6567 (frameset-prop): Add gv-setter declaration.
6568 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6569 parameter was already set in FILTERED. Doc fix.
6570 (frameset--record-minibuffer-relationships): Allow saving a
6571 minibufferless frame without its corresponding minibuffer frame.
6572 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6573 frame, if the frame id matches.
6574 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6575 frames before orphaned ones.
6576 (frameset-restore): Warn about orphaned windows, instead of error out.
6578 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6580 * window.el (window-make-atom): Don't overwrite parameter
6582 (display-buffer-in-atom-window): Handle special case where we
6583 split an already atomic window.
6584 (window--major-non-side-window, display-buffer-in-side-window)
6585 (window--side-check): Ignore minibuffer window when walking
6587 (window-deletable-p): Return 'frame only if no other frame uses
6588 our minibuffer window.
6589 (record-window-buffer): Run buffer-list-update-hook.
6590 (split-window): Make sure window--check-frame won't destroy an
6591 existing atomic window in case the new window gets nested
6593 (display-buffer-at-bottom): Ignore minibuffer window when
6594 walking window tree. Don't split a side window.
6595 (pop-to-buffer): Don't set-buffer here, the select-window call
6597 (mouse-autoselect-window-select): Autoselect only if we are in the
6598 text portion of the window.
6600 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6602 * net/shr.el (shr-parse-image-data): New function to grab both the
6603 data itself and the Content-Type.
6604 (shr-put-image): Use it.
6606 * net/eww.el (eww-display-image): Ditto.
6608 * image.el (image-content-type-suffixes): New variable.
6610 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6612 * progmodes/python.el (python-imenu--build-tree)
6613 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6615 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6617 * simple.el (backward-word): Mention the optional argument.
6619 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6621 * frameset.el (frameset--make): Rename constructor from make-frameset.
6622 (frameset-p, frameset-valid-p): Don't autoload.
6623 (frameset-valid-p): Use normal accessors.
6625 2013-08-13 Glenn Morris <rgm@gnu.org>
6627 * progmodes/compile.el (compile-command): Tweak example in doc.
6628 * obsolete/scribe.el (scribe-mode):
6629 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6631 * mail/feedmail.el (feedmail-confirm-outgoing)
6632 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6634 * cus-start.el (truncate-partial-width-windows): Fix type.
6636 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6638 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6640 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6642 * emacs-lisp/timer.el (timer--time-setter): New function.
6643 (timer--time): Use it as gv-setter.
6645 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6646 setter is not a symbol.
6648 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6650 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6651 if sending fails. This makes debugging easier.
6653 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6655 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6656 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6657 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6659 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6661 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6663 2013-08-12 Glenn Morris <rgm@gnu.org>
6665 * format.el (format-annotate-function):
6666 Handle read-only text properties in the source. (Bug#14887)
6668 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6670 * net/eww.el (eww-display-html): Ignore coding system errors.
6671 One web site uses "utf-8lias" as the coding system.
6673 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6675 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6677 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6679 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6680 (tutorial--detailed-help): Remove unused local variables.
6681 (tutorial--save-tutorial-to): Use ignore-errors.
6682 (help-with-tutorial): Use looking-at-p.
6684 * view.el (view-buffer-other-window, view-buffer-other-frame):
6685 Mark unused arguments.
6687 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6688 (woman-select-symbol-fonts, woman, woman-find-file)
6689 (woman-insert-file-contents, woman-non-underline-faces):
6691 (woman1-unquote): Move declaration.
6693 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6694 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6695 argument. Remove unused local variable.
6696 (xml-parse-elem-type): Use string-match-p.
6697 (xml-substitute-numeric-entities): Use ignore-errors.
6699 * calculator.el (calculator): Mark unused argument.
6700 (calculator-paste, calculator-quit, calculator-integer-p):
6702 (calculator-string-to-number, calculator-decimal, calculator-exp)
6703 (calculator-op-or-exp): Use string-match-p.
6705 * dired.el (dired-buffer-more-recently-used-p): Declare.
6706 (dired-insert-set-properties, dired-insert-old-subdirs):
6709 * dired-aux.el (dired-compress): Use ignore-errors.
6710 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6711 (dired-do-async-shell-command, dired-do-shell-command)
6712 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6713 (dired-insert-subdir-validate): Use string-match-p.
6714 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6715 (dired-add-entry): Use string-match-p, looking-at-p.
6716 (dired-insert-subdir-newpos): Remove unused local variable.
6718 * filenotify.el (file-notify-callback): Remove unused local variable.
6720 * filesets.el (filesets-error): Mark unused argument.
6721 (filesets-which-command-p, filesets-filter-dir-names)
6722 (filesets-directory-files, filesets-get-external-viewer)
6723 (filesets-ingroup-get-data): Use string-match-p.
6725 * find-file.el (ff-other-file-name, ff-other-file-name)
6726 (ff-find-the-other-file, ff-cc-hh-converter):
6727 Remove unused local variables.
6728 (ff-get-file-name): Use string-match-p.
6729 (ff-all-dirs-under): Use ignore-errors.
6731 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6732 (follow-select-if-visible): Remove unused local variable.
6734 * forms.el (read-file-filter): Move declaration.
6735 (forms--make-format, forms--make-parser, forms-insert-record):
6736 Quote function with #'.
6737 (forms--update): Use string-match-p. Quote function with #'.
6739 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6740 (help-make-xrefs): Use looking-at-p.
6741 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6743 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6744 (ibuffer-confirm-operation-on): Use string-match-p.
6746 * msb.el (msb-item-handler, msb-dired-item-handler):
6747 Mark unused arguments.
6749 * ses.el (ses-decode-cell-symbol)
6750 (ses-kill-override): Remove unused local variable.
6751 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6752 (ses-load): Use ignore-errors, looking-at-p.
6753 (ses-jump-safe): Use ignore-errors.
6754 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6756 * tabify.el (untabify, tabify): Mark unused arguments.
6758 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6759 Mark unused argument.
6760 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6761 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6763 * emacs-lisp/timer.el (timer--time): Define setter with
6764 gv-define-setter to avoid deprecation warning.
6766 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6767 (*record-cmpl-statistics-p*): Remove (was commented out).
6768 (cmpl-statistics-block): Remove (body was commented out).
6769 All callers changed.
6770 (add-completions-from-buffer, load-completions-from-file):
6771 Remove unused variables.
6773 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6775 * filecache.el (file-cache-delete-file-list):
6776 Print message only when told so.
6777 (file-cache-files-matching): Use #' in mapconcat argument.
6779 * ffap.el (ffap-url-at-point): Fix reference to variable
6780 thing-at-point-default-mail-uri-scheme.
6782 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6784 * subr.el (define-error): New function.
6785 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6786 error-file-not-found and define with define-error.
6787 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6788 and define with define-error.
6789 * userlock.el (file-locked, file-supersession):
6790 * simple.el (mark-inactive):
6791 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6792 * progmodes/ada-mode.el (ada-mode-errors):
6793 * play/life.el (life-extinct):
6794 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6795 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6796 * nxml/rng-util.el (rng-error):
6797 * nxml/rng-uri.el (rng-uri-error):
6798 * nxml/rng-match.el (rng-compile-error):
6799 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6800 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6801 * nxml/nxml-rap.el (nxml-scan-error):
6802 * nxml/nxml-outln.el (nxml-outline-error):
6803 * net/soap-client.el (soap-error):
6804 * net/gnutls.el (gnutls-error):
6805 * net/ange-ftp.el (ftp-error):
6806 * mpc.el (mpc-proc-error):
6807 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6808 (json-number-format, json-string-escape, json-string-format)
6809 (json-key-format, json-object-format):
6810 * jka-compr.el (compression-error):
6811 * international/quail.el (quail-error):
6812 * international/kkc.el (kkc-error):
6813 * emacs-lisp/ert.el (ert-test-failed):
6814 * calc/calc.el (calc-error, inexact-result, math-overflow)
6816 * bookmark.el (bookmark-error-no-filename):
6817 * epg.el (epg-error): Define with define-error.
6819 * time.el (display-time-event-handler)
6820 (display-time-next-load-average): Don't call sit-for since it seems
6821 unnecessary (bug#15045).
6823 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6824 Use #' instead of ' to quote functions.
6825 (checkdoc-output-mode): Use setq-local.
6826 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6827 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6828 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6829 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6830 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6831 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6832 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6833 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6835 * ido.el (ido-completion-help): Fix up compiler warning.
6837 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6839 * frameset.el (frameset-p): Add autoload cookie.
6840 (frameset--jump-to-register): New function, based on code moved from
6842 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6844 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6845 (frameset-restore, frameset-save, frameset-session-filter-alist):
6846 Remove declarations.
6847 (register-alist): Doc fix.
6848 (frameset-to-register): Move to frameset.el.
6849 (jump-to-register, describe-register-1): Remove frameset-specific code.
6851 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6853 * allout-widgets.el (allout-widgets-pre-command-business)
6854 (allout-widgets-post-command-business)
6855 (allout-widgets-after-change-handler)
6856 (allout-decorate-item-and-context, allout-set-boundary-marker)
6857 (allout-body-modification-handler)
6858 (allout-graphics-modification-handler): Mark ignored arguments.
6859 (allout-widgets-post-command-business)
6860 (allout-widgets-exposure-change-processor)
6861 (allout-widgets-exposure-undo-processor)
6862 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6863 (allout-parse-item-at-point, allout-decorate-item-guides)
6864 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6865 * allout.el (epa-passphrase-callback-function): Declare.
6866 (allout-overlay-insert-in-front-handler)
6867 (allout-overlay-interior-modification-handler)
6868 (allout-isearch-end-handler, allout-chart-siblings)
6869 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6870 (allout-yank-processing, allout-process-exposed)
6871 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6872 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6873 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6874 (lisp-indent-defform): Mark ignored arguments.
6875 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6876 (calculate-lisp-indent): Remove unused variables.
6877 * international/characters.el (indian-2-column, arabic-2-column)
6878 (tibetan): Mark ignored arguments.
6879 (use-cjk-char-width-table): Mark ignored arguments.
6880 Remove unused variables.
6881 * international/fontset.el (build-default-fontset-data)
6882 (x-compose-font-name, create-fontset-from-fontset-spec):
6883 Mark ignored arguments.
6884 (fontset-plain-name): Remove unused variables.
6885 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6886 (keyboard-coding-system): Mark ignored arguments.
6887 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6888 * help.el (resize-temp-buffer-window):
6889 * window.el (display-buffer-in-major-side-window)
6890 (display-buffer-in-side-window, display-buffer-in-previous-window):
6891 Remove unused variables.
6892 * isearch.el (isearch-forward-symbol):
6893 * version.el (emacs-bzr-version-bzr):
6894 * international/mule-cmds.el (current-language-environment):
6895 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6897 * term/pc-win.el (x-list-fonts, x-display-planes)
6898 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6899 (x-server-version, x-display-screens, x-display-mm-height)
6900 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6901 (x-selection-owner-p, x-own-selection-internal)
6902 (x-disown-selection-internal, x-get-selection-internal)
6903 (msdos-initialize-window-system):
6904 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6905 * term/x-win.el (x-handle-no-bitmap-icon):
6906 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6907 (vc-default-find-file-hook, vc-default-extra-menu):
6908 Mark ignored arguments.
6910 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6912 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6913 break-condition in the context of the debugged code (bug#12685).
6915 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6918 Do not use an overlay to highlight the last prompt. (Bug#14744)
6919 (comint-mode): Make comint-last-prompt buffer local.
6920 (comint-last-prompt): New variable.
6921 (comint-last-prompt-overlay): Remove. Superseded by
6923 (comint-snapshot-last-prompt, comint-output-filter):
6924 Use comint-last-prompt.
6926 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6928 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6929 (frameset-save): Check validity of the resulting frameset.
6931 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6933 * ido.el (ido-record-command): Add doc string.
6935 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6937 * frameset.el (frameset): Do not disable creation of the default
6938 frameset-p predicate. Doc fix.
6939 (frameset-valid-p): New function, copied from the old predicate-p.
6940 Add additional checks.
6941 (frameset-restore): Check with frameset-valid-p.
6942 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6943 (frameset-name, frameset-description, frameset-properties)
6944 (frameset-states): Add docstring.
6945 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6946 (frameset-filter-alist): Doc fixes.
6948 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6950 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6952 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6954 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6955 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6956 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6957 (byte-compile-normal-call): Remove obsolescence check.
6959 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6961 * frameset.el (frameset-restore): Doc fix.
6963 * register.el (frameset-frame-id, frameset-frame-with-id)
6964 (frameset-p, frameset-restore, frameset-save): Declare.
6965 (register-alist): Document framesets.
6966 (frameset-session-filter-alist): Declare.
6967 (frameset-to-register): New function.
6968 (jump-to-register): Implement jumping to framesets. Doc fix.
6969 (describe-register-1): Describe framesets.
6971 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6973 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6975 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6976 Use lexical-binding.
6978 * frameset.el (frameset): Use type vector, not list (incompatible
6979 change). Do not declare a new constructor, use the default one.
6980 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6981 `name' and `description', respectively, and add read-only slot
6982 `timestamp'. Doc fixes.
6983 (frameset-copy, frameset-persistent-filter-alist)
6984 (frameset-filter-alist, frameset-switch-to-gui-p)
6985 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6986 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6987 (frameset-filter-iconified, frameset-keep-original-display-p):
6989 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6990 Rename from frameset-filter-(save|restore)-param. All callers changed.
6992 (frameset-p): Adapt to change to vector and be more thorough.
6993 Change arg name to OBJECT. Doc fix.
6994 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6995 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6996 All callers changed.
6997 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6998 All callers changed.
6999 (frameset--record-minibuffer-relationships): Rename from
7000 frameset--process-minibuffer-frames. All callers changed.
7001 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
7002 Use new default constructor (again). Doc fix.
7003 (frameset--find-frame-if): Rename from `frameset--find-frame'.
7004 All callers changed.
7005 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
7006 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
7008 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
7009 PARAMETERS and WINDOW-STATE, respectively.
7010 (frameset-restore): Add new keyword argument PREDICATE.
7011 Reset frameset--target-display to nil. Doc fix.
7013 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7015 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
7017 (bat-mode-syntax-table): Mark \n as end-of-comment.
7018 (bat-font-lock-keywords): Remove comment rule.
7020 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
7021 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
7023 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
7024 (byte-compile-callargs-warn): Use `push'.
7025 (byte-compile-arglist-warn): Ignore higher-order "calls".
7026 (byte-compile-file-form-autoload): Use `pcase'.
7027 (byte-compile-function-form): If quoting a symbol, check that it exists.
7029 2013-08-07 Eli Zaretskii <eliz@gnu.org>
7031 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
7032 and add a few popular commands found in batch files.
7033 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
7034 (dos-mode): Doc fixes.
7036 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
7038 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
7039 (dos-mode): Use setq-local. Add space after "rem".
7040 (dos-mode-syntax-table): Don't use "w" for symbol chars.
7041 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
7043 2013-08-07 Arni Magnusson <arnima@hafro.is>
7045 * progmodes/dos.el: New file.
7046 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
7049 2013-08-06 Glenn Morris <rgm@gnu.org>
7051 * calendar/calendar.el: Add new faces, and day-header-array.
7052 (calendar-weekday-header, calendar-weekend-header)
7053 (calendar-month-header): New faces.
7054 (calendar-day-header-construct): New function.
7055 (calendar-day-header-width): Also :set calendar-day-header-array.
7056 (calendar-american-month-header, calendar-european-month-header)
7057 (calendar-iso-month-header): Use calendar- faces.
7058 (calendar-generate-month):
7059 Use calendar-day-header-array for day headers; apply faces to them.
7060 (calendar-mode): Check calendar-font-lock-keywords non-nil.
7061 (calendar-abbrev-construct): Add optional maxlen argument.
7062 (calendar-day-name-array): Doc fix.
7063 (calendar-day-name-array, calendar-abbrev-length)
7064 (calendar-day-abbrev-array):
7065 Also :set calendar-day-header-array, and maybe redraw.
7066 (calendar-day-header-array): New option. (Bug#15007)
7067 (calendar-font-lock-keywords): Set to nil and make obsolete.
7068 (calendar-day-name): Add option to use header array.
7070 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
7072 * net/shr.el (shr-render-td): Remove debugging.
7073 (shr-render-td): Make width computation consistent by defaulting
7074 all zero-width columns to 10 characters. This may not be optimal,
7075 but it's at least consistent.
7076 (shr-make-table-1): Redo last change to fix the real problem in
7079 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7081 * files.el (cache-long-line-scans):
7082 Make obsolete alias to `cache-long-scans'.
7084 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7086 * frameset.el (frameset, frameset-filter-alist)
7087 (frameset-filter-params, frameset-save, frameset--reuse-frame)
7088 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
7089 (frameset-compute-pos): Rename from frameset--compute-pos,
7091 (frameset-move-onscreen): Use frameset-compute-pos.
7092 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7094 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
7095 Fix typos in docstrings.
7097 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
7099 * frame.el (get-other-frame): Tiny cleanup.
7101 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7103 * vc/vc.el (vc-default-ignore-completion-table):
7104 Silence byte-compiler warning.
7106 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7107 slot, which can indeed be nil.
7108 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7109 Move entry for `left' from persistent to live filter alist.
7110 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7112 (frameset-filter-params): When restoring a frame, copy items added to
7113 `filtered', to avoid unwittingly modifying the original parameters.
7114 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7115 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7117 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7118 to use looking-at-p instead of looking-at. (Bug#15028)
7120 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7122 Revert introduction of isearch-filter-predicates (bug#14714).
7123 Rely on add-function instead.
7124 * isearch.el (isearch-filter-predicates): Rename it back to
7125 isearch-filter-predicate.
7126 (isearch-message-prefix): Use advice-function-mapc and advice
7127 properties to get the isearch-message-prefix.
7128 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7129 instead of run-hook-with-args-until-failure.
7130 (isearch-filter-visible): Not obsolete any more.
7131 * loadup.el: Preload nadvice.
7132 * replace.el (perform-replace): Revert to funcall
7133 instead of run-hook-with-args-until-failure.
7134 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7135 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7136 dired-isearch-filenames-toggle; make it into a proper minor mode.
7137 Use add/remove-function.
7138 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7139 Call the minor-mode rather than add/remove-hook.
7140 (dired-isearch-filter-filenames):
7141 Remove isearch-message-prefix property.
7142 * info.el (Info--search-loop): New function, extracted from Info-search.
7143 Funcall isearch-filter-predicate instead of
7144 run-hook-with-args-until-failure isearch-filter-predicates.
7145 (Info-search): Use it.
7146 (Info-mode): Use isearch-filter-predicate instead of
7147 isearch-filter-predicates.
7149 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7151 Do not call to `selected-window' where it is assumed by default.
7152 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7153 `window-hscroll', `window-width', `window-height', `window-buffer',
7154 `window-frame', `window-start', `window-point', `next-window'
7155 and `window-display-table'.
7156 * abbrev.el (abbrev--default-expand):
7157 * bs.el (bs--show-with-configuration):
7158 * buff-menu.el (Buffer-menu-mouse-select):
7159 * calc/calc.el (calc):
7160 * calendar/calendar.el (calendar-generate-window):
7161 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7163 * comint.el (send-invisible, comint-dynamic-complete-filename)
7164 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7165 * completion.el (complete):
7166 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7167 * disp-table.el (describe-current-display-table):
7168 * doc-view.el (doc-view-insert-image):
7169 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7170 * ehelp.el (with-electric-help):
7171 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7172 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7173 * emacs-lisp/helper.el (Helper-help-scroller):
7174 * emulation/cua-base.el (cua--post-command-handler-1):
7175 * eshell/esh-mode.el (eshell-output-filter):
7176 * ffap.el (ffap-gnus-wrapper):
7177 * help-macro.el (make-help-screen):
7178 * hilit-chg.el (highlight-compare-buffers):
7179 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7180 * hl-line.el (global-hl-line-highlight):
7181 * icomplete.el (icomplete-simple-completing-p):
7182 * isearch.el (isearch-done):
7183 * jit-lock.el (jit-lock-stealth-fontify):
7184 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7185 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7186 * mpc.el (mpc-tagbrowser, mpc):
7187 * net/rcirc.el (rcirc-any-buffer):
7188 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7189 * play/landmark.el (landmark-max-width, landmark-max-height):
7190 * play/zone.el (zone):
7191 * progmodes/compile.el (compilation-goto-locus):
7192 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7193 * progmodes/etags.el (find-tag-other-window):
7194 * progmodes/fortran.el (fortran-column-ruler):
7195 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7196 * progmodes/verilog-mode.el (verilog-point-text):
7197 * reposition.el (reposition-window):
7198 * rot13.el (toggle-rot13-mode):
7199 * server.el (server-switch-buffer):
7200 * shell.el (shell-dynamic-complete-command)
7201 (shell-dynamic-complete-environment-variable):
7202 * simple.el (insert-buffer, set-selective-display)
7203 (delete-completion-window):
7204 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7205 (speedbar-recenter):
7206 * startup.el (fancy-splash-head):
7207 * textmodes/ispell.el (ispell-command-loop):
7208 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7209 * tutorial.el (help-with-tutorial):
7210 * vc/add-log.el (add-change-log-entry):
7211 * vc/compare-w.el (compare-windows):
7212 * vc/ediff-help.el (ediff-indent-help-message):
7213 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7214 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7215 (ediff-setup-control-frame):
7216 * vc/emerge.el (emerge-position-region):
7217 * vc/pcvs-util.el (cvs-bury-buffer):
7218 * window.el (walk-windows, mouse-autoselect-window-select):
7219 * winner.el (winner-set-conf, winner-undo): Related users changed.
7221 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7223 * frameset.el (frameset--set-id): Doc fix.
7224 (frameset-frame-id, frameset-frame-id-equal-p)
7225 (frameset-locate-frame-id): New functions.
7226 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7227 (frameset-restore): Use them.
7229 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7231 Do not call to `selected-frame' where it is assumed by default.
7232 Affected functions are `raise-frame', `redraw-frame',
7233 `frame-first-window', `frame-terminal' and `delete-frame'.
7234 * calendar/appt.el (appt-disp-window):
7235 * epg.el (epg-wait-for-completion):
7236 * follow.el (follow-delete-other-windows-and-split)
7237 (follow-avoid-tail-recenter):
7238 * international/mule.el (set-terminal-coding-system):
7239 * mail/rmail.el (rmail-mail-return):
7240 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7241 * progmodes/f90.el (f90-add-imenu-menu):
7242 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7243 * server.el (server-switch-buffer):
7244 * simple.el (delete-completion-window):
7246 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7247 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7248 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7249 * vc/ediff.el (ediff-documentation): Related users changed.
7250 * frame.el (selected-terminal): Remove the leftover.
7252 2013-08-05 Glenn Morris <rgm@gnu.org>
7254 * calendar/calendar.el (calendar-generate-month):
7255 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7256 (calendar-generate-month, calendar-font-lock-keywords):
7257 Fix for calendar-day-header-width > length of any day name.
7259 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7261 * desktop.el (desktop-clear): Use new name of sort predicate.
7263 * frameset.el (frameset): Add docstring. Move :version property to its
7265 (frameset-copy): Rename from copy-frameset.
7266 (frameset-p): Check more thoroughly.
7267 (frameset-prop): Do not check for :version, which is no longer a prop.
7268 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7269 Use new :never value instead of t.
7270 (frameset-filter-alist): Expand and clarify docstring.
7271 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7272 (frameset-filter-minibuffer, frameset-filter-save-param)
7273 (frameset-filter-restore-param, frameset-filter-iconified):
7274 Add pointer to docstring of frameset-filter-alist.
7275 (frameset-filter-params): Rename filter values to be more meaningful:
7276 :never instead of t, and reverse the meanings of :save and :restore.
7277 (frameset--process-minibuffer-frames): Clarify error message.
7278 (frameset-save): Avoid unnecessary and confusing call to framep.
7279 Use new BOA constructor for framesets.
7280 (frameset--reuse-list): Doc fix.
7281 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7282 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7283 (frameset-minibufferless-first-p): Doc fix.
7284 Rename from frameset-sort-frames-for-deletion.
7285 (frameset-restore): Doc fixes. Use new function names.
7286 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7288 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7290 * desktop.el (desktop-restore-forces-onscreen)
7291 (desktop-restore-reuses-frames): Document :keyword constant values.
7292 (desktop-filter-parameters-alist): Remove, now identical to
7293 frameset-filter-alist.
7294 (desktop--filter-tty*): Remove, moved to frameset.el.
7295 (desktop-save-frameset, desktop-restore-frameset):
7296 Do not pass :filters argument.
7298 * frameset.el (frameset-live-filter-alist)
7299 (frameset-persistent-filter-alist): New variables.
7300 (frameset-filter-alist): Use them. Add autoload cookie.
7301 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7302 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7303 `frameset--id' (it's supposed to be internal to frameset.el).
7304 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7305 (frameset--initial-params): New function.
7306 (frameset--get-frame): Use it. Doc fix.
7307 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7308 Accept :all, not 'all.
7309 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7310 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7311 with fbound symbols. Fix frame id matching, and remove matching ids if
7312 the frame being restored is deleted. Obey :delete.
7314 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7316 * subr.el (macrop): New function.
7317 (text-clone--maintaining): New var.
7318 (text-clone--maintain): Rename from text-clone-maintain. Use it
7319 instead of inhibit-modification-hooks.
7321 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7322 a proxy, so as handle autoloads and redefinitions of the target.
7323 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7325 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7326 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7327 (pcase--mutually-exclusive-p): New function.
7328 (pcase--split-consp): Use it.
7329 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7330 mutually exclusive with the current predicate.
7332 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7333 (edebug-macrop): Remove. Use `macrop' instead.
7334 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7336 * eshell/esh-cmd.el (eshell-macrop):
7337 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7339 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7341 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7342 (advice-mapc): New function, using it.
7343 (advice-function-member-p): New function.
7344 (advice--normalize): Store the cdr in advice--saved-rewrite since
7345 that's the part that will be changed.
7346 (advice--symbol-function): New function.
7347 (advice-remove): Handle removal before the function is defined.
7348 Adjust to new advice--saved-rewrite.
7349 (advice-member-p): Use advice-function-member-p and
7350 advice--symbol-function.
7352 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7354 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7355 (frameset-filter-minibuffer): Doc fix.
7356 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7357 (frameset--set-id, frameset--process-minibuffer-frames)
7358 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7359 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7361 * desktop.el (desktop-clear): Only delete frames when called
7362 interactively and desktop-restore-frames is non-nil. Doc fix.
7363 (desktop-read): Set desktop-saved-frameset to nil.
7365 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7367 * vc/vc.el (vc-ignore): Rewrite.
7368 (vc-default-ignore-completion-table):
7370 (vc--add-line, vc--remove-regexp): New functions.
7372 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7373 (vc-svn-ignore-completion-table): New function.
7375 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7376 (vc-hg-ignore-completion-table):
7377 (vc-hg-find-ignore-file): New functions.
7379 * vc/vc-git.el (vc-git-ignore): Rewrite.
7380 (vc-git-ignore-completion-table):
7381 (vc-git-find-ignore-file): New functions.
7383 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7385 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7386 (vc-bzr-ignore-completion-table):
7387 (vc-bzr-find-ignore-file): New functions.
7389 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7391 * frameset.el (frameset-prop): New function and setter.
7392 (frameset-save): Do not modify frame list passed by the caller.
7394 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7396 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7398 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7400 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7401 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7403 * custom.el (custom-initialize-default, custom-initialize-set)
7404 (custom-initialize-reset, custom-initialize-changed): Affect the
7405 toplevel-default-value (bug#6275, bug#14586).
7406 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7409 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7411 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7412 Add cl-def* expressions.
7414 * frameset.el (frameset-filter-params): Fix order of arguments.
7416 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7418 Move code related to saving frames to frameset.el.
7419 * desktop.el: Require frameset.
7420 (desktop-restore-frames): Doc fix.
7421 (desktop-restore-reuses-frames): Rename from
7422 desktop-restoring-reuses-frames.
7423 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7424 (desktop-clear): Clear frames too.
7425 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7426 (desktop--filter-tty*, desktop-save, desktop-read):
7427 Use frameset functions.
7428 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7429 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7430 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7431 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7432 (desktop--process-minibuffer-frames, desktop-save-frames)
7433 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7434 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7435 (desktop--sort-states, desktop-restoring-frames-p)
7436 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7437 (desktop-restoring-frameset-p, desktop-restore-frameset)
7438 (desktop--check-dont-save, desktop-save-frameset): New functions.
7439 (desktop--app-id): New constant.
7440 (desktop-first-buffer, desktop-buffer-ok-count)
7441 (desktop-buffer-fail-count): Move before first use.
7442 * frameset.el: New file.
7444 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7446 * files.el: Use lexical-binding.
7447 (dir-locals-read-from-file): Remove unused `err' variable.
7448 (hack-dir-local-variables--warned-coding): New var.
7449 (hack-dir-local-variables): Use it to avoid repeated warnings.
7450 (make-backup-file-name--default-function): New function.
7451 (make-backup-file-name-function): Use it as default.
7452 (buffer-stale--default-function): New function.
7453 (buffer-stale-function): Use it as default.
7454 (revert-buffer-insert-file-contents--default-function): New function.
7455 (revert-buffer-insert-file-contents-function): Use it as default.
7456 (insert-directory): Avoid add-to-list.
7458 * autorevert.el (auto-revert-handler): Simplify.
7459 Use buffer-stale--default-function.
7461 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7463 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7465 * whitespace.el (whitespace-ensure-local-variables): New function.
7466 (whitespace-cleanup-region): Call it.
7467 (whitespace-turn-on): Call it.
7469 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7471 Complete file name handlers.
7473 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7474 (tramp-handle-verify-visited-file-modtime)
7475 (tramp-handle-file-notify-rm-watch): New functions.
7476 (tramp-call-process): Do not bind `default-directory'.
7478 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7479 Order alphabetically.
7480 [access-file, add-name-to-file, dired-call-process]:
7481 [dired-compress-file, file-acl, file-notify-rm-watch]:
7482 [file-ownership-preserved-p, file-selinux-context]:
7483 [make-directory-internal, make-symbolic-link, set-file-acl]:
7484 [set-file-selinux-context, set-visited-file-modtime]:
7485 [verify-visited-file-modtime]: Add handler.
7486 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7488 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7489 [file-notify-add-watch, file-notify-rm-watch]:
7490 [set-file-times, set-visited-file-modtime]:
7491 [verify-visited-file-modtime]: Add handler.
7492 (with-tramp-gvfs-error-message)
7493 (tramp-gvfs-handle-set-visited-file-modtime)
7494 (tramp-gvfs-fuse-file-name): Remove.
7495 (tramp-gvfs-handle-file-notify-add-watch)
7496 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7497 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7499 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7500 Order alphabetically.
7501 [file-notify-rm-watch ]: Use default Tramp handler.
7502 [executable-find]: Remove private handler.
7503 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7504 `default-directory'.
7505 (tramp-sh-handle-executable-find)
7506 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7507 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7508 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7509 Do not use `format' in `tramp-message'.
7511 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7512 [file-notify-rm-watch, set-visited-file-modtime]:
7513 [verify-visited-file-modtime]: Add handler.
7514 (tramp-smb-call-winexe): Do not bind `default-directory'.
7516 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7518 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7520 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7522 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7524 (log-view-diff-changeset): Same.
7525 (log-view-diff-common): Call backend command `previous-revision'
7526 to find out the previous revision, in both cases. Swap the
7527 variables `to' and `fr', so that `fr' usually refers to the
7528 earlier revision (Bug#14989).
7530 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7532 * ibuf-ext.el (ibuffer-filter-by-filename):
7533 Make it work with dired buffers too.
7535 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7537 * emacs-lisp/re-builder.el (reb-color-display-p):
7538 * files.el (save-buffers-kill-terminal):
7539 * net/browse-url.el (browse-url):
7540 * server.el (server-save-buffers-kill-terminal):
7541 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7542 Prefer nil to selected-frame for the first arg of frame-parameter.
7544 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7546 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7548 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7550 * minibuffer.el (completion--twq-all): Try and preserve each
7551 completion's case choice (bug#14907).
7553 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7555 * net/network-stream.el (open-network-stream): Mention the new
7556 :nogreeting parameter.
7557 (network-stream-open-starttls): Use the :nogreeting parameter
7560 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7562 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7563 more natural than popping.
7565 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7566 (shr-urlify): Highlight under mouse.
7568 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7570 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7572 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7574 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7577 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7578 point-min==1. Fix search string. Fix parentheses missing.
7580 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7581 assume point-min==1. Fix search string. Fix parentheses missing.
7583 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7585 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7588 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7590 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7591 initial frame is minibuffer-less. (Bug#14841)
7593 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7595 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7598 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7599 (tramp-maybe-open-connection): Use it.
7601 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7603 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7604 minimal set of parameters passed when creating a frame, because
7605 the minibuffer status of a frame cannot be changed later.
7607 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7609 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7610 replace-regexp-in-string and inadvertent omissions in previous change.
7611 (todo-filter-items): Ensure only file names are comma-separated in
7612 name of filtered items buffer.
7614 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7616 * desktop.el: Optionally force offscreen frames back onscreen.
7617 (desktop-restoring-reuses-frames): New option.
7618 (desktop--compute-pos, desktop--move-onscreen): New functions.
7619 (desktop--make-frame): Use desktop--move-onscreen.
7621 2013-07-27 Alan Mackenzie <acm@muc.de>
7623 Fontify a Java generic method as a function.
7624 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7627 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7629 * calendar/todo-mode.el: Add command to rename todo files.
7630 (todo-rename-file): New command.
7631 (todo-key-bindings-t): Add key binding for it. Change the
7632 bindings of todo-filter-regexp-items(-multifile) to use `x'
7633 instead of `r', since the latter is better suited to the new
7636 2013-07-27 Alan Mackenzie <acm@muc.de>
7638 Make Java try-with-resources statement parse properly.
7639 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7640 (c-block-stmt-1-2-key): New language constants/variables.
7641 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7642 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7643 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7644 with c-block-stmt-1-2-key.
7646 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7648 * desktop.el (desktop--make-frame): Apply most frame parameters after
7649 creating the frame to force (partially or totally) offscreen frames to
7650 be restored as such.
7652 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7654 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7657 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7659 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7660 `base' arg of backtrace-frame.
7662 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7664 * simple.el (list-processes): Doc fix.
7666 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7668 * desktop.el (desktop--select-frame):
7669 Try harder to reuse existing frames.
7671 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7673 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7674 (edebug-eval): Use backtrace-eval.
7675 (edebug--display, edebug--recursive-edit): Don't let-bind the
7676 edebug-outer-* vars that keep track of variables we locally let-bind.
7677 (edebug-outside-excursion): Don't restore outside values of locally
7679 (edebug--display): Use user-error.
7680 (cl-lexical-debug, cl-debug-env): Remove.
7682 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7684 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7685 are restored to be sure that they are visible before deleting any
7688 2013-07-26 Matthias Meulien <orontee@gmail.com>
7690 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7691 vc-print-root-log. (Bug#14948)
7693 2013-07-26 Richard Stallman <rms@gnu.org>
7695 Add aliases for encrypting mail.
7696 * epa.el (epa-mail-aliases): New option.
7697 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7698 Bind inhibit-read-only so read-only text doesn't ruin everything.
7699 (epa-mail-default-recipients): New subroutine broken out.
7700 Handle epa-mail-aliases.
7702 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7704 Add support for lexical variables to the debugger's `e' command.
7705 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7706 vars, except for debugger-outer-match-data.
7707 (debugger-frame-number): Move check for "on a function call" from
7708 callers into it. Add `skip-base' argument.
7709 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7710 (debugger-env-macro): Only reset the state stored in non-variables,
7711 i.e. current-buffer and match-data.
7712 (debugger-eval-expression): Rewrite using backtrace-eval.
7713 * subr.el (internal--called-interactively-p--get-frame): Remove.
7714 (called-interactively-p):
7715 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7716 `base' arg of backtrace-frame instead.
7718 2013-07-26 Glenn Morris <rgm@gnu.org>
7720 * align.el (align-regexp): Doc fix. (Bug#14857)
7721 (align-region): Explicit error if subexpression missing/does not match.
7723 * simple.el (global-visual-line-mode):
7724 Do not duplicate the mode lighter. (Bug#14858)
7726 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7728 * window.el (display-buffer): In display-buffer bind
7729 split-window-keep-point to t, bug#14829.
7731 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7733 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7734 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7735 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7736 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7738 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7739 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7741 2013-07-25 Glenn Morris <rgm@gnu.org>
7743 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7745 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7747 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7748 parameter to modify-frame-parameters if the value has not changed;
7749 this is a workaround for bug#14949.
7750 (desktop--make-frame): On cl-delete-if call, check parameter name,
7753 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7755 * vc/vc.el (vc-ignore): New function.
7757 * vc/vc-svn.el (vc-svn-ignore): New function.
7759 * vc/vc-hg.el (vc-hg-ignore): New function.
7761 * vc/vc-git.el (vc-git-ignore): New function.
7763 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7764 (vc-dir-ignore): New function.
7766 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7767 (cvs-append-to-ignore): Move here from pcvs.el.
7769 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7771 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7773 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7775 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7776 (desktop-restore-frames): Warn when deleting an existing frame failed.
7778 2013-07-24 Glenn Morris <rgm@gnu.org>
7780 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7782 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7784 * filenotify.el (file-notify-supported-p):
7785 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7788 * autorevert.el (auto-revert-use-notify):
7789 (auto-revert-notify-add-watch):
7790 * net/tramp.el (tramp-file-name-for-operation):
7791 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7792 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7793 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7794 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7795 Remove `file-notify-supported-p' entry.
7797 2013-07-24 Glenn Morris <rgm@gnu.org>
7799 * printing.el: Replace all uses of deleted ps-windows-system,
7800 ps-lp-system, ps-flatten-list with lpr- versions.
7802 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7804 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7805 checked with memq (bug#14935).
7807 * files.el (revert-buffer-function): Use a non-nil default.
7808 (revert-buffer-preserve-modes): Declare var to
7809 provide access to the `preserve-modes' argument.
7810 (revert-buffer): Let-bind it.
7811 (revert-buffer--default): New function, extracted from revert-buffer.
7813 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7815 * lpr.el: Signal print errors more prominently.
7816 (print-region-function): Don't default to nil.
7817 (lpr-print-region): New function, extracted from print-region-1.
7818 Check lpr's return value and signal an error in case of problem.
7819 (print-region-1): Use it.
7820 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7822 (ps-printer-name): Default to nil.
7823 (ps-printer-name-option): Default to lpr-printer-switch.
7824 (ps-print-region-function): Don't default to nil.
7825 (ps-postscript-code-directory): Simplify default.
7826 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7827 (ps-string-list, ps-eval-switch, ps-flatten-list)
7828 (ps-flatten-list-1): Remove.
7829 (ps-multibyte-buffer): Avoid setq.
7830 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7831 (print-region-function, ps-print-region-function): Don't set them here.
7833 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7835 * ido.el (ido-fractionp):
7836 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7837 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7838 (ido-max-directory-size, ido-max-dir-file-cache)
7839 (ido-decorations): Doc fix.
7841 * ansi-color.el: Fix old URL.
7843 2013-07-23 Michael R. Mauger <michael@mauger.com>
7845 * progmodes/sql.el: Version 3.3
7846 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7847 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7848 (sql-interactive-remove-continuation-prompt): Rewrite, use
7849 functions above. Fix continuation prompt and complete output line
7851 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7852 redirected output buffer.
7853 (sql-mode): Restore deleted code (Bug#13591).
7855 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7857 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7859 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7861 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7863 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7864 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7865 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7867 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7869 * desktop.el (desktop-clear): Simplify; remove useless checks
7870 against invalid buffer names.
7871 (desktop-list*): Use cl-list*.
7872 (desktop-buffer-info, desktop-create-buffer): Simplify.
7874 2013-07-23 Leo Liu <sdl.web@gmail.com>
7876 * bookmark.el (bookmark-make-record): Restore NAME as a default
7879 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7881 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7882 extracted from autoload--insert-text.
7883 (autoload--insert-text): Remove.
7884 (autoload--print-cookie-text): New function, extracted from
7885 autoload--insert-cookie-text.
7886 (autoload--insert-cookie-text): Remove.
7887 (autoload-generate-file-autoloads): Adjust calls accordingly.
7889 * winner.el (winner-hook-installed-p): Remove.
7890 (winner-mode): Simplify accordingly.
7892 * subr.el (add-to-list): Fix compiler-macro when `append' is
7893 not constant. Don't use `cl-member' for the base case.
7895 * progmodes/subword.el: Fix boundary case (bug#13758).
7896 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7898 (subword-backward-regexp): Make it a constant.
7899 (subword-forward-internal): Don't treat a trailing capital as the
7900 beginning of a word.
7902 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7904 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7905 global value of tabulated-list-revert-hook (bug#14930).
7907 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7909 * desktop.el: Require 'cl-lib.
7910 (desktop-before-saving-frames-functions): New hook.
7911 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7912 for frames being saved. Rename from desktop--save-minibuffer-frames.
7913 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7914 Do not save frames with non-nil `desktop-dont-save' parameter.
7915 Filter out deleted frames.
7916 (desktop--find-frame): Use cl-find-if.
7917 (desktop--select-frame): Use cl-(first|second|third) to access values
7919 (desktop--make-frame): Use cl-delete-if.
7920 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7921 (desktop-restore-frames): Use cl-(first|second|third) to access values
7922 of desktop-mini. Look for visible frame at the end, not while
7925 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7926 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7927 Use string-match-p, looking-at-p (bug#14927).
7929 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7931 * desktop.el (desktop-saved-frame-states):
7932 Rename from desktop--saved-states; all users changed.
7933 (desktop-save-frames): Rename from desktop--save-frames.
7934 Do not save state to desktop file.
7935 (desktop-save): Save desktop-saved-frame-states to desktop file
7937 (desktop-restoring-frames-p): New function.
7938 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7939 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7940 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7942 * desktop.el: Correctly restore iconified frames.
7943 (desktop--filter-iconified-position): New function.
7944 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7946 2013-07-20 Glenn Morris <rgm@gnu.org>
7948 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7949 Let `message' do the formatting.
7950 (def-gdb-preempt-display-buffer): Add explicit format.
7952 * image-dired.el (image-dired-track-original-file):
7953 Use with-current-buffer.
7954 (image-dired-track-thumbnail): Use with-current-buffer.
7955 Avoid changing point of wrong window.
7957 * image-dired.el (image-dired-track-original-file):
7958 Avoid changing point of wrong window. (Bug#14909)
7960 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7962 * progmodes/gdb-mi.el (gdb-done-or-error):
7963 Guard against "%" in gdb output. (Bug#14127)
7965 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7967 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7970 * international/mule.el (coding-system-iso-2022-flags): Fix last
7973 2013-07-20 Kenichi Handa <handa@gnu.org>
7975 * international/mule.el (coding-system-iso-2022-flags):
7976 Add `8-bit-level-4'. (Bug#8522)
7978 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7980 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7983 * net/eww.el (eww-process-text-input): Allow inputting when the
7984 point is at the start of the line, as the properties aren't
7987 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7990 2013-07-19 Richard Stallman <rms@gnu.org>
7992 * epa.el (epa-popup-info-window): Doc fix.
7994 * subr.el (split-string): New arg TRIM.
7996 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7998 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7999 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
8001 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
8003 * filenotify.el (file-notify--library): Rename from
8004 `file-notify-support'. Do not autoload. Adapt all uses.
8005 (file-notify-supported-p): New defun.
8007 * autorevert.el (auto-revert-use-notify):
8008 Use `file-notify-supported-p' instead of `file-notify-support'.
8010 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
8012 * net/tramp.el (tramp-file-name-for-operation):
8013 Add `file-notify-supported-p'.
8015 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
8017 (tramp-sh-file-name-handler-alist): Add it as handler for
8018 `file-notify-supported-p '.
8020 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
8021 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
8022 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
8023 Add `ignore' as handler for `file-notify-*' functions.
8025 2013-07-17 Eli Zaretskii <eliz@gnu.org>
8027 * simple.el (line-move-partial, line-move): Don't start vscroll or
8028 scroll-up if the current line is not taller than the window.
8031 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
8033 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
8034 highlight question marks in the method names as strings.
8035 (ruby-block-beg-keywords): Inline.
8036 (ruby-font-lock-keyword-beg-re): Extract from
8037 `ruby-font-lock-keywords'.
8039 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
8041 * frame.el (blink-cursor-blinks): New defcustom.
8042 (blink-cursor-blinks-done): New defvar.
8043 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
8044 (blink-cursor-timer-function): Check if number of blinks has been
8046 (blink-cursor-suspend, blink-cursor-check): New defuns.
8048 2013-07-15 Glenn Morris <rgm@gnu.org>
8050 * edmacro.el (edmacro-format-keys): Fix previous change.
8052 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
8054 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
8055 The hack didn't work outside English locales anyway.
8057 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
8059 * simple.el (define-alternatives): Rename from alternatives-define,
8060 per RMS' suggestion.
8062 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
8064 * desktop.el (desktop-restore-frames): Change default to t.
8065 (desktop-restore-in-current-display): Now offer more options.
8066 (desktop-restoring-reuses-frames): New customization option.
8067 (desktop--saved-states): Doc fix.
8068 (desktop-filter-parameters-alist): New variable, renamed and expanded
8069 from desktop--excluded-frame-parameters.
8070 (desktop--target-display): New variable.
8071 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
8072 (desktop--filter-tty*, desktop--filter-*-color)
8073 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
8074 (desktop--filter-save-desktop-parm)
8075 (desktop-restore-in-original-display-p): New functions.
8076 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
8077 (desktop--save-minibuffer-frames): New function, inspired by a similar
8078 function from Martin Rudalics.
8079 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
8080 (desktop--restore-in-this-display-p): Remove.
8081 (desktop--find-frame): Rename from desktop--find-frame-in-display
8082 and add predicate argument.
8083 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
8084 (desktop--reuse-list): New variable.
8085 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
8087 (desktop--restore-frames): Add support for "minibuffer-special" frames.
8089 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
8091 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
8093 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
8095 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8096 Highlight conversion methods on Kernel.
8098 2013-07-13 Alan Mackenzie <acm@muc.de>
8100 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8101 and comment it out. This out-commenting enables certain C++
8102 declarations to be parsed correctly.
8104 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8106 * international/mule.el (define-coding-system): Doc fix.
8108 * simple.el (default-font-height): Don't call font-info if the
8109 frame's default font didn't change since the frame was created.
8112 2013-07-13 Leo Liu <sdl.web@gmail.com>
8114 * ido.el (ido-read-file-name): Guard against non-symbol value.
8116 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8118 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8121 2013-07-13 Leo Liu <sdl.web@gmail.com>
8123 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8124 ido-set-matches call. (Bug#6852)
8126 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8128 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8129 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8131 (ruby-font-lock-keywords): Distinguish calls to functions with
8132 module-like names from module references. Highlight character
8135 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8137 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8138 (gdb-send): Handle continued commands. (Bug#14847)
8140 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8142 * desktop.el (desktop--v2s): Remove unused local variable.
8143 (desktop-save-buffer): Make defvar-local; adjust docstring.
8144 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8145 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8147 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8149 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8151 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8153 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8156 2013-07-12 Glenn Morris <rgm@gnu.org>
8158 * doc-view.el: Require cl-lib at runtime too.
8159 (doc-view-remove-if): Remove.
8160 (doc-view-search-next-match, doc-view-search-previous-match):
8163 * edmacro.el: Require cl-lib at runtime too.
8164 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8165 (edmacro-mismatch, edmacro-subseq): Remove.
8167 * shadowfile.el: Require cl-lib.
8168 (shadow-remove-if): Remove.
8169 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8172 * wid-edit.el: Require cl-lib.
8173 (widget-choose): Use cl-remove-if.
8174 (widget-remove-if): Remove.
8176 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8177 (ebrowse-delete-if-not): Remove.
8178 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8179 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8180 Use cl-delete-if-not.
8182 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8184 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8185 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8187 2013-07-12 Leo Liu <sdl.web@gmail.com>
8189 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8191 2013-07-11 Glenn Morris <rgm@gnu.org>
8193 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8194 (edebug-gensym-index, edebug-gensym):
8195 Remove reimplementation of cl-gensym.
8196 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8198 * thumbs.el: Require cl-lib at run-time too.
8199 (thumbs-gensym-counter, thumbs-gensym):
8200 Remove reimplementation of cl-gensym.
8201 (thumbs-temp-file): Use cl-gensym.
8203 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8204 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8205 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8206 (ert--union, ert--gensym-counter, ert--gensym-counter)
8207 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8208 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8209 (ert-make-test-unbound, ert--expand-should-1)
8210 (ert--expand-should, ert--should-error-handle-error)
8211 (should-error, ert--explain-equal-rec)
8212 (ert--plist-difference-explanation, ert-select-tests)
8213 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8214 Use cl-lib functions rather than reimplementations.
8216 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8218 * net/tramp.el (tramp-methods): Extend docstring.
8219 (tramp-connection-timeout): New defcustom.
8220 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8221 (with-tramp-progress-reporter): Simplify.
8222 (tramp-process-actions): Improve messages.
8224 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8225 * net/tramp-sh.el (tramp-maybe-open-connection):
8226 Use `tramp-connection-timeout'.
8227 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8230 2013-07-11 Leo Liu <sdl.web@gmail.com>
8232 * ido.el (ido-read-file-name): Conform to the requirements of
8233 read-file-name. (Bug#11861)
8234 (ido-read-directory-name): Conform to the requirements of
8235 read-directory-name.
8237 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8239 * subr.el (delay-warning): New function.
8241 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8243 * simple.el (default-line-height): New function.
8244 (line-move-partial, line-move): Use it instead of computing the
8246 (line-move-partial): Always compute ROWH. If the last line is
8247 partially-visible, but its text is completely visible, allow
8248 cursor to enter such a partially-visible line.
8250 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8252 Improve error messages. (Bug#14808)
8254 * net/tramp.el (tramp-current-connection): New defvar, moved from
8256 (tramp-message-show-progress-reporter-message): Remove, not
8258 (tramp-error-with-buffer): Show message in minibuffer.
8259 Discard input before waiting. Reset connection timestamp.
8260 (with-tramp-progress-reporter): Improve messages.
8261 (tramp-process-actions): Use progress reporter. Delete process in
8262 case of error. Improve messages.
8264 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8265 Call `tramp-error-with-buffer' with vector and buffer.
8266 (tramp-current-connection): Remove.
8267 (tramp-maybe-open-connection): The car of
8268 `tramp-current-connection' are the first 3 slots of the vector.
8270 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8272 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8273 inside continued strings.
8275 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8277 Timestamp fixes for undo (Bug#14824).
8278 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8280 2013-07-10 Leo Liu <sdl.web@gmail.com>
8282 * files.el (require-final-newline): Allow safe local value.
8285 2013-07-09 Leo Liu <sdl.web@gmail.com>
8287 * ido.el (ido-read-directory-name): Handle fallback.
8288 (ido-read-file-name): Update DIR to ido-current-directory.
8290 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8292 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8294 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8295 "autoload". Remove "warn lower camel case" section, previously
8296 commented out. Highlight negation char. Do not highlight the
8297 target in singleton method definitions.
8299 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8301 * faces.el (tty-setup-hook): Declare the hook.
8303 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8304 and detect when a guard/pred depends on local vars (bug#14773).
8305 (pcase--u1): Adjust caller.
8307 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8309 * simple.el (line-move-partial, line-move): Account for
8311 (line-move-partial): Avoid setting vscroll when the last
8312 partially-visible line in window is of default height.
8314 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8316 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8319 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8321 * subr.el (read-quoted-char): Remove unused local variable `char'.
8323 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8325 * ediff.el (ediff-version): Version update.
8326 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8327 (ediff-merge-with-ancestor-command, ediff-directories-command)
8328 (ediff-directories3-command, ediff-merge-directories-command)
8329 (ediff-merge-directories-with-ancestor-command): New functions.
8330 All are command-line interfaces to ediff: to facilitate calling
8331 Emacs with the appropriate ediff functions invoked.
8333 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8334 (viper-save-kill-buffer): Check if buffer is modified.
8336 * viper.el (viper-version): Version update.
8337 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8339 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8341 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8342 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8343 (viper-intercept-ESC-key): Simplify.
8344 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8345 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8346 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8347 (viper-setup-ESC-to-escape): New functions.
8348 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8349 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8351 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8353 * simple.el (default-font-height, window-screen-lines):
8355 (line-move, line-move-partial): Use them instead of
8356 frame-char-height and window-text-height. This makes scrolling
8357 text smoother when the buffer's default face uses a font that is
8358 different from the frame's default font.
8360 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8362 * files.el (write-file): Do not display confirm dialog for NS,
8363 it does its own dialog, which can't be canceled (Bug#14578).
8365 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8367 * simple.el (line-move-partial): Adjust the row returned by
8368 posn-at-point for the current window-vscroll. (Bug#14567)
8370 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8372 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8373 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8376 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8378 * window.el (window-state-put-stale-windows): New variable.
8379 (window--state-put-2): Save list of windows without matching buffer.
8380 (window-state-put): Remove "bufferless" windows if possible.
8382 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8384 * simple.el (alternatives-define): Remove leftover :group keyword.
8387 2013-07-06 Leo Liu <sdl.web@gmail.com>
8389 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8390 (ido-enable-virtual-buffers): New variable.
8391 (ido-buffer-internal, ido-toggle-virtual-buffers)
8392 (ido-make-buffer-list): Use it.
8393 (ido-exhibit): Support turning on and off virtual buffers
8396 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8398 * simple.el (alternatives-define): New macro.
8400 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8402 * subr.el (read-quoted-char): Use read-key.
8403 (sit-for): Let read-event decode tty input (bug#14782).
8405 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8407 * calendar/todo-mode.el: Add handling of file deletion, both by
8408 mode command and externally. Fix various related bugs.
8409 Clarify Commentary and improve some documentation strings and code.
8410 (todo-delete-file): New command.
8411 (todo-check-file): New function.
8412 (todo-show): Handle external deletion of the file we're trying to
8413 show (bug#14688). Replace called-interactively-p by an optional
8414 prefix argument to avoid problematic interaction with catch form
8415 when byte compiled (bug#14702).
8416 (todo-quit): Handle external deletion of the archive's todo file.
8417 Make sure the buffer that was visiting the archive file is still
8418 live before trying to bury it.
8419 (todo-category-completions): Handle external deletion of any
8420 category completion files.
8421 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8422 of todo files, in case of external deletion.
8423 (todo-add-file): Replace unnecessary setq by let-binding.
8424 (todo-find-archive): Check whether there are any archives.
8425 Replace unnecessary setq by let-binding.
8426 (todo-archive-done-item): Use find-file-noselect to get the
8427 archive buffer whether or not the archive already exists.
8428 Remove superfluous code. Use file size instead of buffer-file-name to
8429 check if the archive is new; if it is, update list of archives.
8430 (todo-default-todo-file): Allow nil to be a valid value for when
8431 there are no todo files.
8432 (todo-reevaluate-default-file-defcustom): Use corrected definition
8433 of todo-default-todo-file.
8434 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8435 (todo-delete-category, todo-show-categories-table)
8436 (todo-category-number): Clarify comment.
8437 (todo-filter-items): Clarify documentation string.
8438 (todo-show-current-file, todo-display-as-todo-file)
8439 (todo-reset-and-enable-done-separator): Tweak documentation string.
8440 (todo-done-separator): Make separator length window-width, since
8441 bug#2749 is now fixed.
8443 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8445 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8446 Support both "gvfs-monitor-dir" and "inotifywait".
8447 (tramp-sh-file-inotifywait-process-filter): Rename from
8448 `tramp-sh-file-notify-process-filter'.
8449 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8450 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8452 2013-07-05 Leo Liu <sdl.web@gmail.com>
8454 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8456 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8458 * frame.el (display-pixel-height, display-pixel-width)
8459 (display-mm-height, display-mm-width): Mention behavior on
8460 multi-monitor setups in docstrings.
8461 (w32-display-monitor-attributes-list): Declare function.
8462 (display-monitor-attributes-list): Use it.
8464 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8466 * filenotify.el: New package.
8468 * autorevert.el (top): Require filenotify.el.
8469 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8471 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8472 (auto-revert-notify-handler): Use `file-notify-*' functions.
8474 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8476 * net/tramp.el (tramp-file-name-for-operation):
8477 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8479 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8480 for `file-notify-add-watch' and `file-notify-rm-watch'.
8481 (tramp-process-sentinel): Improve trace.
8482 (tramp-sh-handle-file-notify-add-watch)
8483 (tramp-sh-file-notify-process-filter)
8484 (tramp-sh-handle-file-notify-rm-watch)
8485 (tramp-get-remote-inotifywait): New defuns.
8487 2013-07-03 Juri Linkov <juri@jurta.org>
8489 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8490 call of `occur-read-primary-args' to interactive spec.
8492 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8493 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8495 2013-07-03 Matthias Meulien <orontee@gmail.com>
8497 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8498 `Buffer-menu-multi-occur'. Add it to the menu.
8499 (Buffer-menu-mode): Document it in docstring.
8500 (Buffer-menu-multi-occur): New command. (Bug#14673)
8502 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8504 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8505 keywords and built-ins.
8507 2013-07-03 Glenn Morris <rgm@gnu.org>
8509 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8511 Make info-xref checks case-sensitive by default
8512 * info.el (Info-find-node, Info-find-in-tag-table)
8513 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8514 Add option for exact case matching of nodes.
8515 * info-xref.el (info-xref): New custom group.
8516 (info-xref-case-fold): New option.
8517 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8519 2013-07-03 Leo Liu <sdl.web@gmail.com>
8521 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8523 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8525 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8526 middle of block statement initially, lower the depth. Remove
8527 FIXME comment, not longer valid. Remove middle of block statement
8528 detection, no need to do that anymore since we've been using
8529 `ruby-parse-region' here.
8531 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8533 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8535 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8537 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8539 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8541 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8542 (desktop-restore-in-current-display): New customization option.
8543 (desktop--excluded-frame-parameters): Add `font'.
8544 (desktop--save-frames): Rename from desktop--save-windows.
8545 (desktop--restore-in-this-display-p): New function.
8546 (desktop--make-full-frame): Remove unwanted width/height from
8547 full(width|height) frames.
8548 (desktop--restore-frames): Rename from desktop--restore-windows.
8549 Obey desktop-restore-current-display. Do not delete old frames or
8550 select a new frame unless we were able to restore at least one frame.
8552 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8554 * files.el (find-file-noselect): Simplify conditional expression.
8556 * textmodes/remember.el (remember-append-to-file):
8557 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8559 Add `remember-notes' function to store random notes across Emacs
8561 * textmodes/remember.el (remember-data-file): Add :set callback to
8562 affect notes buffer (if any).
8563 (remember-notes): New command.
8564 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8565 New defcustoms for the `remember-notes' function.
8566 (remember-notes-save-and-bury-buffer): New command.
8567 (remember-notes-mode-map): New variable.
8568 (remember-mode): New minor mode.
8569 (remember-notes--kill-buffer-query): New function.
8570 * startup.el (initial-buffer-choice): Add notes to custom type.
8572 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8574 * bindings.el (right-char, left-char): Don't call sit-for, this is
8575 no longer needed. Use arithmetic comparison only for numerical
8578 * international/mule-cmds.el (select-safe-coding-system):
8579 Handle the case of FROM being a string correctly. (Bug#14755)
8581 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8583 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8584 progression on degenerate tables.
8585 (shr-rescale-image): ImageMagick animated images currently don't work.
8587 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8589 Some fixes and improvements for desktop frame restoration.
8590 It is still experimental and disabled by default.
8591 * desktop.el (desktop--save-windows): Put the selected frame at
8592 the head of the list.
8593 (desktop--make-full-frame): New function.
8594 (desktop--restore-windows): Try to re-select the frame that was
8595 selected upon saving. Do not abort if some frames fail to restore,
8596 just show an error message and continue. Set up maximized frames
8597 so they have default non-maximized dimensions.
8599 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8601 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8602 Don't start heredoc inside a string or comment.
8604 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8606 * bindings.el (visual-order-cursor-movement): New defcustom.
8607 (right-char, left-char): Provide visual-order cursor motion by
8608 calling move-point-visually. Update the doc strings.
8610 2013-06-28 Kenichi Handa <handa@gnu.org>
8612 * international/mule.el (define-coding-system): New coding system
8613 properties :inhibit-null-byte-detection,
8614 :inhibit-iso-escape-detection, and :prefer-utf-8.
8615 (set-buffer-file-coding-system): If :charset-list property of
8616 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8617 appropriate for setting.
8619 * international/mule-cmds.el (select-safe-coding-system):
8620 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8621 multibyte characters, return utf-8 (or one of its siblings).
8623 * international/mule-conf.el (prefer-utf-8): New coding system.
8624 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8627 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8629 * net/shr.el (shr-render-region): New function.
8631 * net/eww.el: Autoload `eww-browse-url'.
8633 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8635 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8636 Adapt to `package-desc-version' being a list.
8637 Use `package--ac-desc-version' to retrieve version from a package
8640 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8642 New experimental feature to save&restore window and frame setup.
8643 * desktop.el (desktop-save-windows): New defcustom.
8644 (desktop--saved-states): New var.
8645 (desktop--excluded-frame-parameters): New defconst.
8646 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8647 (desktop--restore-windows, desktop--save-windows): New functions.
8648 (desktop-save): Call `desktop--save-windows'.
8649 (desktop-read): Call `desktop--restore-windows'.
8651 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8653 * net/shr.el (add-face-text-property): Remove compat definition.
8655 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8657 * info.el (Info-try-follow-nearest-node): Move search for footnote
8658 above search for node name to prevent missing a footnote (bug#14717).
8660 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8662 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8664 2013-06-27 Leo Liu <sdl.web@gmail.com>
8666 * net/eww.el (eww-read-bookmarks): Check file size.
8668 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8670 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8671 advice--pending if newdef is nil or an autoload (bug#13820).
8672 (advice-mapc): New function.
8674 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8676 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8678 (eww-mode-map): Add a menu bar.
8679 (eww-add-bookmark): New command.
8680 (eww-bookmark-mode): New mode and commands.
8681 (eww-add-bookmark): Remove newlines from the title.
8682 (eww-bookmark-browse): Don't bug out if it's the only window.
8684 2013-06-26 Glenn Morris <rgm@gnu.org>
8686 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8687 (hfy-size): Handle ttys. (Bug#14668)
8689 * info-xref.el: Update for Texinfo 5 change in *note format.
8690 (info-xref-node-re, info-xref-note-re): New constants.
8691 (info-xref-check-buffer): Use info-xref-note-re.
8693 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8695 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8697 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8698 nil terminate the loop (bug#14718).
8700 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8702 * net/eww.el: Rework history traversal. When going forward/back,
8703 put these actions into the history, too, so that they can be
8705 (eww-render): Move the history reset to the correct buffer.
8707 2013-06-25 Juri Linkov <juri@jurta.org>
8709 * files-x.el (modify-dir-local-variable): Change the header comment
8710 in the file with directory local variables. (Bug#14692)
8712 * files-x.el (read-file-local-variable-value): Add `default'.
8715 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8717 * net/eww.el (eww-make-unique-file-name): Create a unique file
8718 name before saving to entering `y' accidentally asynchronously.
8720 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8722 * net/eww.el (eww-download): New command and keystroke.
8724 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8726 * net/eww.el (eww-copy-page-url): Change name of command.
8728 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8729 be more consistent with Info and dired.
8731 * net/eww.el (eww-mode-map): Ditto.
8733 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8735 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8736 packages from archives.
8737 (package-archive-contents): Change format; include obsolete packages.
8738 (package-desc): Use `dir' to mark builtin packages.
8739 (package--from-builtin): Set the `dir' field to `builtin'.
8740 (generated-autoload-file, version-control): Declare.
8741 (package-compute-transaction): Change first arg and return value to be
8742 lists of package-descs. Adjust to new package-archive-contents format.
8743 (package--add-to-archive-contents): Adjust to new
8744 package-archive-contents format.
8745 (package-download-transaction): Arg is now a list of package-descs.
8746 (package-install): If `pkg' is a package name, pass it as
8747 a requirement, so it is subject to the usual (e.g. disabled) checks.
8748 (describe-package): Accept package-desc as well.
8749 (describe-package-1): Describe a specific package-desc. Add links to
8750 other package-descs for the same package name.
8751 (package-menu-describe-package): Pass the actual package-desc.
8752 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8754 (package-desc-status): New function.
8755 (package-menu--refresh): New function, extracted
8756 from package-menu--generate.
8757 (package-menu--generate): Use it.
8758 (package-delete): Update package-alist.
8759 (package-menu-execute): Don't call package-initialize.
8761 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8762 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8763 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8764 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8765 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8766 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8768 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8770 * window.el (window--state-get-1): Workaround for bug#14527.
8771 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8773 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8775 * net/eww.el (eww-back-url): Implement the history by stashing all
8776 the data into a list.
8777 (eww-forward-url): Allow going forward in the history, too.
8779 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8781 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8782 for values and use read--expression for expressions (bug#14710).
8783 (read-file-local-variable): Avoid setq.
8784 (read-file-local-variable-mode): Use minor-mode-list.
8786 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8788 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8791 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8793 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8794 Update imenu-support when dialect changes.
8796 2013-06-25 Leo Liu <sdl.web@gmail.com>
8798 * ido.el (ido-read-internal): Allow forward slash on windows.
8800 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8802 * net/eww.el (eww): Start of strings is \\`, not ^.
8804 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8806 * net/shr.el (shr-browse-url): Fix interactive spec.
8808 * net/eww.el (eww): Add a trailing slash to domain names.
8810 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8812 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8814 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8816 * net/shr.el (shr-browse-url): Use an external browser if given a
8819 * net/eww.el (eww-external-browser): Move to shr.
8821 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8823 * net/eww.el (eww): Work more correctly for file: URLs.
8824 (eww-detect-charset): Allow quoted charsets.
8825 (eww-yank-page-url): New command and keystroke.
8827 2013-06-24 Daiki Ueno <ueno@gnu.org>
8829 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8830 file name of gpg executable.
8831 (epg-context-program): New function.
8832 (epg-context-home-directory): New function.
8833 (epg-context-set-program): New function.
8834 (epg-context-set-home-directory): New function.
8835 (epg--start): Use `epg-context-program' instead of
8837 (epg--list-keys-1): Likewise.
8839 2013-06-24 Leo Liu <sdl.web@gmail.com>
8841 * ido.el (ido-read-internal): Fix bug#14620.
8843 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8845 * faces.el (face-documentation): Simplify.
8846 (read-face-attribute, tty-find-type, x-resolve-font-name):
8847 Use `string-match-p'.
8848 (list-faces-display): Use `string-match-p'. Simplify.
8849 (face-spec-recalc): Check face to avoid face alias loops.
8850 (read-color): Use `string-match-p' and non-capturing parenthesis.
8852 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8854 * net/shr.el (shr-rescale-image): Use the new
8855 :max-width/:max-height functionality.
8857 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8859 * net/eww.el (eww-search-prefix): New variable.
8861 (eww-external-browser): New variable.
8862 (eww-mode-map): New keystroke.
8863 (eww-browse-with-external-browser): New command.
8865 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8867 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8869 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8870 Don't skip aligning the next header field when padding is 0;
8871 otherwise, field width is not respected unless the title is as
8874 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8876 * emacs-lisp/package.el (package-el-version): Remove.
8877 (package-process-define-package): Fix inf-loop.
8878 (package-install): Allow symbols as arguments again.
8880 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8882 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8883 add some more keyword-like methods.
8884 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8886 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8888 * bs.el (bs-buffer-show-mark): Make defvar-local.
8889 (bs-mode): Use setq-local.
8891 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8892 (emacs-lock--try-unlocking): Make defvar-local.
8894 2013-06-22 Glenn Morris <rgm@gnu.org>
8896 * play/cookie1.el (cookie-apropos): Minor simplification.
8898 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8900 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8902 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8903 `regexp-opt', it breaks the build during dumping.
8905 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8907 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8908 Highlight keyword-like methods on Kernel and Module with
8909 font-lock-builtin-face.
8910 (auto-mode-alist): Consolidate different entries into one regexp
8911 and add more *file-s.
8913 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8915 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8917 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8918 (diary-entry): Use it in the action of this button type instead of
8921 * calendar/todo-mode.el: New version.
8922 (todo-add-category): Append new category to end of file and give
8923 it the highest number, instead of putting it at the beginning and
8924 giving it 0. Incorporate noninteractive functionality.
8925 (todo-forward-category): Adapt to 1-based category numbering.
8926 Allow skipping over archived categories.
8927 (todo-backward-category): Derive from todo-forward-category.
8928 (todo-backward-item, todo-forward-item): Make noninteractive and
8929 delegate interactive part to new commands. Make sensitive to done items.
8930 (todo-categories): Make value an alist of category names and
8931 vectors of item counts.
8932 (todo-category-beg): Make a defconst.
8933 (todo-category-number): Use 1 instead of 0 as initial value.
8934 (todo-category-select): Make sensitive to overlays, optional item
8935 highlighting and done items.
8936 (todo-delete-item): Make sensitive to overlays and marked and done items.
8937 (todo-edit-item): Make sensitive to overlays and editing of
8938 date/time header optional. Add format checks.
8939 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8940 no-op if point is not on an item. Advertise using todo-edit-quit.
8941 (todo-edit-mode): Make sensitive to new format, font-locking, and
8942 multiple todo files.
8943 (todo-insert-item, todo-insert-item-here): Derive from
8944 todo-basic-insert-item and extend functionality.
8945 (todo-item-end, todo-item-start): Make sensitive to done items.
8946 (todo-item-string): Don't return text properties. Restore point.
8947 (todo-jump-to-category): Make sensitive to multiple todo files and
8948 todo archives. Use extended category completion.
8949 (todo-lower-item, todo-raise-item): Rename to *-priority and
8950 derive from todo-set-item-priority.
8951 (todo-mode): Derive from special-mode. Make sensitive to new
8952 format, font-locking and multiple todo files. Make read-only.
8953 (todo-mode-map): Don't suppress digit keys, so they can supply
8954 prefix arguments. Add many new key bindings.
8955 (todo-prefix): Insert as an overlay instead of file text.
8956 Change semantics from diary date expression to purely visual mark.
8957 (todo-print): Rename to todo-print-buffer. Make buffer display
8958 features printable. Remove option to restrict number of items
8959 printed. Add option to print to file.
8960 (todo-print-function): Rename to todo-print-buffer-function.
8961 (todo-quit): Extend to handle exiting new todo modes.
8962 (todo-remove-item): Make sensitive to overlays.
8963 (todo-save): Extend to buffers of filtered items.
8964 (todo-show): Make sensitive to done items, multiple todo files and
8965 new todo modes. Offer to convert legacy todo file before creating
8966 first new todo file.
8967 (todo-show-priorities): Rename to todo-top-priorities.
8968 Change semantics of value 0.
8969 (todo-top-priorities): Rename to todo-filter-top-priorities,
8970 derive from todo-filter-items and extend functionality.
8971 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8972 and extend functionality to other types of filtered items.
8973 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8974 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8975 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8976 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8977 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8978 (todo-edit-mode-hook, todo-entry-prefix-function)
8979 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8980 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8981 (todo-initials, todo-insert-threshold, todo-item-string-start)
8982 (todo-line-string, todo-menu, todo-mode-hook)
8983 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8984 (todo-print-priorities, todo-remove-separator)
8985 (todo-save-top-priorities-too, todo-string-count-lines)
8986 (todo-string-multiline-p, todo-time-string-format)
8987 (todo-tmp-buffer-name): Remove.
8988 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8989 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8990 (todo-edit-category-diary-inclusion)
8991 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8992 (todo-edit-file, todo-edit-item-date-day)
8993 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8994 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8995 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8996 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8997 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8998 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8999 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
9000 (todo-filter-top-priorities-multifile, todo-find-archive)
9001 (todo-find-filtered-items-file, todo-go-to-source-item)
9002 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
9003 (todo-jump-to-archive-category, todo-lower-category)
9004 (todo-mark-category, todo-marked-item-p, todo-merge-category)
9005 (todo-move-category, todo-move-item, todo-next-button)
9006 (todo-next-item, todo-padded-string, todo-powerset)
9007 (todo-previous-button, todo-previous-item)
9008 (todo-print-buffer-to-file, todo-raise-category)
9009 (todo-rename-category, todo-repair-categories-sexp, todo-search)
9010 (todo-set-category-number, todo-set-item-priority)
9011 (todo-set-top-priorities-in-category)
9012 (todo-set-top-priorities-in-file, todo-show-categories-table)
9013 (todo-sort-categories-alphabetically-or-numerically)
9014 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
9015 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
9016 (todo-toggle-item-header, todo-toggle-item-highlighting)
9017 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
9018 (todo-toggle-view-done-items, todo-toggle-view-done-only)
9019 (todo-unarchive-items, todo-unmark-category): New commands.
9020 (todo-absolute-file-name, todo-add-to-buffer-list)
9021 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
9022 (todo-basic-insert-item, todo-category-completions)
9023 (todo-category-number, todo-category-string-matcher-1)
9024 (todo-category-string-matcher-2, todo-check-filtered-items-file)
9025 (todo-check-format, todo-clear-matches)
9026 (todo-comment-string-matcher, todo-convert-legacy-date-time)
9027 (todo-current-category, todo-date-string-matcher)
9028 (todo-define-insertion-command, todo-diary-expired-matcher)
9029 (todo-diary-goto-entry, todo-diary-item-p)
9030 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
9031 (todo-display-categories, todo-display-sorted, todo-done-item-p)
9032 (todo-done-item-section-p, todo-done-separator)
9033 (todo-done-string-matcher, todo-files, todo-filter-items)
9034 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
9035 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
9036 (todo-insert-category-line, todo-insert-item-from-calendar)
9037 (todo-insert-sort-button, todo-insert-with-overlays)
9038 (todo-insertion-command-name, todo-insertion-key-bindings)
9039 (todo-label-to-key, todo-longest-category-name-length)
9040 (todo-make-categories-list, todo-mode-external-set)
9041 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
9042 (todo-modes-set-3, todo-multiple-filter-files)
9043 (todo-nondiary-marker-matcher, todo-prefix-overlays)
9044 (todo-read-category, todo-read-date, todo-read-dayname)
9045 (todo-read-file-name, todo-read-time)
9046 (todo-reevaluate-category-completions-files-defcustom)
9047 (todo-reevaluate-default-file-defcustom)
9048 (todo-reevaluate-filelist-defcustoms)
9049 (todo-reevaluate-filter-files-defcustom)
9050 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
9051 (todo-reset-done-separator, todo-reset-done-separator-string)
9052 (todo-reset-done-string, todo-reset-global-current-todo-file)
9053 (todo-reset-highlight-item, todo-reset-nondiary-marker)
9054 (todo-reset-prefix, todo-set-categories)
9055 (todo-set-date-from-calendar, todo-set-show-current-file)
9056 (todo-set-top-priorities, todo-short-file-name)
9057 (todo-show-current-file, todo-sort, todo-time-string-matcher)
9058 (todo-total-item-counts, todo-update-buffer-list)
9059 (todo-update-categories-display, todo-update-categories-sexp)
9060 (todo-update-count, todo-validate-name, todo-y-or-n-p):
9062 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
9064 (todo-categories, todo-display, todo-edit, todo-faces)
9065 (todo-filtered): New defgroups.
9066 (todo-archived-only, todo-button, todo-category-string, todo-date)
9067 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
9068 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
9069 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
9070 (todo-add-item-if-new-category, todo-always-add-time-string)
9071 (todo-categories-align, todo-categories-archived-label)
9072 (todo-categories-category-label, todo-categories-diary-label)
9073 (todo-categories-done-label, todo-categories-number-separator)
9074 (todo-categories-todo-label, todo-categories-totals-label)
9075 (todo-category-completions-files, todo-completion-ignore-case)
9076 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
9077 (todo-done-separator-string, todo-done-string)
9078 (todo-files-function, todo-filter-done-items, todo-filter-files)
9079 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
9080 (todo-initial-category, todo-initial-file, todo-item-mark)
9081 (todo-legacy-date-time-regexp, todo-mode-line-function)
9082 (todo-nondiary-marker, todo-number-prefix)
9083 (todo-print-buffer-function, todo-show-current-file)
9084 (todo-show-done-only, todo-show-first, todo-show-with-done)
9085 (todo-skip-archived-categories, todo-top-priorities-overrides)
9086 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
9087 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
9089 (todo-category-done, todo-date-pattern, todo-date-string-start)
9090 (todo-diary-items-buffer, todo-done-string-start)
9091 (todo-filtered-items-buffer, todo-item-start)
9092 (todo-month-abbrev-array, todo-month-name-array)
9093 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
9094 (todo-top-priorities-buffer): New defconsts.
9095 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
9096 (todo-categories-with-marks, todo-category-string-face)
9097 (todo-comment-face, todo-comment-string, todo-current-todo-file)
9098 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
9099 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9100 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9101 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9102 (todo-font-lock-keywords, todo-global-current-todo-file)
9103 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9104 (todo-insertion-commands-args)
9105 (todo-insertion-commands-args-genlist)
9106 (todo-insertion-commands-names, todo-insertion-map)
9107 (todo-key-bindings-t, todo-key-bindings-t+a)
9108 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9109 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9110 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9111 (todo-visited): New variables.
9113 2013-06-21 Glenn Morris <rgm@gnu.org>
9115 * play/cookie1.el (cookie-apropos): Add optional display argument.
9116 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9117 (psychoanalyze-pinhead): Use cookie-doctor.
9119 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9121 * emacs-lisp/package.el (tar-get-file-descriptor)
9122 (tar--extract): Declare.
9124 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9126 Extend flymake's warning predicate to be a function (bug#14217).
9127 * progmodes/flymake.el (flymake-warning-predicate): New.
9128 (flymake-parse-line): Use it.
9129 (flymake-warning-re): Make obsolete alias to
9130 `flymake-warning-predicate'.
9132 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9134 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9135 (package-obsolete-list): Remove.
9136 (package-activate): Remove min-version argument. Add `force' argument.
9137 Adjust to new package-alist format.
9138 (package-mark-obsolete): Remove.
9139 (package-unpack): Force reload of the package's autoloads.
9140 (package-installed-p): Check builtins if the installed package is not
9142 (package-initialize): Don't reset package-obsolete-list.
9143 Don't specify which package version to activate.
9144 (package-process-define-package, describe-package-1)
9145 (package-menu--generate): Adjust to new package-alist format.
9147 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9149 * allout-widgets.el (allout-widgets-mode-off)
9150 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9151 (allout-widgets-post-command-business)
9152 (allout-widgets-after-copy-or-kill-function)
9153 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9154 (allout-decorate-item-and-context)
9155 (allout-graphics-modification-handler): Fix typos in docstrings.
9156 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9158 * cmuscheme.el (scheme-start-file): Doc fix.
9159 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9160 (scheme-input-filter): Use `string-match-p'.
9162 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9164 * dired-x.el: Use Dired consistently in docstrings.
9166 * dired.el: Use Dired consistently in docstrings.
9167 (dired-readin, dired-mode): Use `setq-local'.
9168 (dired-switches-alist): Make defvar-local.
9169 (dired-buffers-for-dir): Use `zerop'.
9170 (dired-safe-switches-p, dired-switches-escape-p)
9171 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9172 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9173 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9174 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9175 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9176 (dired-toggle-marks, dired-mark-files-containing-regexp)
9177 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9178 (dired-flag-auto-save-files, dired-flag-backup-files):
9180 (dired-mark-files-regexp, dired-build-subdir-alist):
9181 Use `string-match-p', `looking-at-p'.
9183 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9184 (direct-print-region-helper): Use `string-match-p'.
9186 2013-06-21 Leo Liu <sdl.web@gmail.com>
9188 * comint.el (comint-redirect-results-list-from-process):
9191 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9193 * net/eww.el (eww-update-header-line-format): Quote % characters.
9195 2013-06-21 Glenn Morris <rgm@gnu.org>
9197 * play/cookie1.el (cookie): New custom group.
9198 (cookie-file): New option.
9199 (cookie-check-file): New function.
9200 (cookie): Make it interactive. Make start and end messages optional.
9201 Interactively, display the result. Default to cookie-file.
9202 (cookie-insert): Default to cookie-file.
9203 (cookie-snarf): Make start and end messages optional.
9204 Default to cookie-file. Use with-temp-buffer.
9205 (cookie-read): Rename from read-cookie.
9206 Make start and end messages optional. Default to cookie-file.
9207 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9209 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9210 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9212 2013-06-21 Leo Liu <sdl.web@gmail.com>
9214 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9216 2013-06-21 Glenn Morris <rgm@gnu.org>
9218 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9220 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9221 Daniel Hackney <dan@haxney.org>
9223 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9224 Consolidate the single-file vs tarball code.
9225 (package-desc-suffix): New function.
9226 (package-desc-full-name): Don't bother inlining it.
9227 (package-load-descriptor): Return the new package-desc.
9228 (package-mark-obsolete): Remove unused arg `package'.
9229 (package-unpack): Make it work for single files as well.
9230 Make it update package-alist.
9231 (package--make-autoloads-and-stuff): Rename from
9232 package--make-autoloads-and-compile. Don't compile any more.
9233 (package--compile): New function.
9234 (package-generate-description-file): New function, extracted from
9235 package-unpack-single.
9236 (package-unpack-single): Remove.
9237 (package--with-work-buffer): Add indentation and debugging info.
9238 (package-download-single): Remove.
9239 (package-install-from-archive): Rename from package-download-tar, make
9240 it take a pkg-desc, and make it work for single files as well.
9241 (package-download-transaction): Simplify.
9242 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9243 external tar program.
9244 (package-install-from-buffer): Remove `pkg-desc' argument.
9245 Use package-tar-file-info for tar-mode buffers.
9246 (package-install-file): Simplify accordingly.
9247 (package-archive-base): Change to take a pkg-desc.
9248 * tar-mode.el (tar--check-descriptor): New function, extracted from
9250 (tar-get-descriptor): Use it.
9251 (tar-get-file-descriptor): New function.
9252 (tar--extract): New function, extracted from tar-extract.
9253 (tar--extract): Use it.
9254 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9255 case the summary uses non-ascii. Adjust to new calling convention of
9256 package-tar-file-info.
9258 2013-06-21 Leo Liu <sdl.web@gmail.com>
9260 * comint.el (comint-redirect-results-list-from-process):
9261 Fix random delay. (Bug#14681)
9263 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9265 * profiler.el (profiler-format-number): Use log, not log10.
9267 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9269 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9271 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9273 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9274 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9276 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9277 (AUTOGENEL): ... here.
9278 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9279 (cl--defsubst-expand): Use it.
9281 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9283 * subr.el (log10): Move here from C code, and declare as obsolete.
9284 All uses of (log10 X) replaced with (log X 10).
9286 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9288 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9289 Declare with `defvar-local'.
9290 (tabulated-list-use-header-line, tabulated-list-entries)
9291 (tabulated-list-padding, tabulated-list-printer)
9292 (tabulated-list-sort-key): Declare with `defvar-local'.
9293 (tabulated-list-init-header, tabulated-list-print-fake-header):
9296 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9298 * arc-mode.el (archive-mode): Add `archive-write-file' to
9299 `write-contents-functions' also for remote files. (Bug#14652)
9301 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9303 * cus-edit.el (custom-commands): Fix typos.
9304 (custom-display): Fix tooltip text.
9305 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9306 Fix typos in docstrings.
9307 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9308 (custom-unlispify-menu-entry, custom-magic-value-create)
9309 (custom-add-see-also, custom-group-value-create): Use ?\s.
9310 (custom-guess-type, customize-apropos, editable-field)
9311 (custom-face-value-create): Use `string-match-p'.
9312 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9314 * custom.el (custom-load-symbol): Use `string-match-p'.
9316 * ansi-color.el: Convert to lexical binding.
9317 (ansi-colors): Fix URL.
9318 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9319 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9320 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9322 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9324 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9326 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9328 2013-06-19 Tom Tromey <tromey@redhat.com>
9330 * net/eww.el (eww-top-url): Remove.
9331 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9332 (eww-render): Set new variables. Don't set eww-top-url.
9333 (eww-handle-link): Handle "prev", "home", and "contents".
9334 Downcase the rel text.
9335 (eww-top-url): Choose best top URL.
9337 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9339 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9340 relying in widget.el. Using widget.el leads to too many
9341 user interface inconsistencies.
9342 (eww-self-insert): Implement entering commands in text fields.
9343 (eww-process-text-input): New function to make text input field editing
9345 (eww-submit): Rewrite to use the new-style form methods.
9346 (eww-select-display): Display the correct selected item.
9347 (eww-change-select): Implement changing the select value.
9348 (eww-toggle-checkbox): Implement radio/checkboxes.
9349 (eww-update-field): Fix compilation error.
9350 (eww-tag-textarea): Implement <textarea>.
9352 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9353 we don't shadow mode-specific bindings.
9355 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9358 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9360 2013-06-19 Glenn Morris <rgm@gnu.org>
9362 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9364 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9366 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9369 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9371 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9373 * net/browse-url.el (browse-url-browser-function):
9374 `eww-browse-url' has the right calling signature, `eww' does not.
9376 2013-06-19 Glenn Morris <rgm@gnu.org>
9378 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9379 Only eval autoloaded macros.
9380 (byte-compile-autoload): Only give the macro warning for macros.
9382 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9383 (ps-underlined-faces): Declare.
9385 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9386 (speedbar-add-supported-extension): Declare.
9388 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9389 Don't include a date stamp in the header of the generated file;
9390 it leads to needless differences between output files.
9392 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9394 * net/secrets.el (secrets-struct-secret-content-type):
9395 Replace check of introspection data by a test call of "CreateItem".
9396 Some servers do not offer introspection.
9398 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9400 * electric.el (electric-pair-mode): Improve interaction with
9401 electric-layout-mode.
9402 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9403 (electric-pair-syntax): Use text-mode-syntax-table in comments
9405 (electric-pair--insert): New function.
9406 (electric-pair-post-self-insert-function): Use it and
9407 electric--after-char-pos.
9409 2013-06-19 Leo Liu <sdl.web@gmail.com>
9411 * progmodes/octave.el (octave-help): Fix regexp.
9413 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9415 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9416 (shr-table-horizontal-line): Allow nil as a value, and change the
9418 (shr-insert-table-ruler): Respect the nil value.
9420 2013-06-18 Tom Tromey <tromey@barimba>
9422 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9424 (eww-open-file): New defun.
9425 (eww-render): Initialize new variables.
9426 (eww-display-html): Handle "link" and "a".
9427 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9428 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9429 (eww-back-url): Rename from eww-previous-url.
9430 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9433 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9435 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9436 Distinguish ternary operator tokens from slash symbol and slash
9439 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9441 Convert symbol prettification into minor mode and global minor mode.
9443 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9444 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9445 (prettify-symbols--keywords): Rename from
9446 `prog-prettify-symbols-alist' and make a local defvar.
9447 (prettify-symbols--compose-symbol): Rename from
9448 `prog--prettify-font-lock-compose-symbol'.
9449 (prettify-symbols--make-keywords): Rename from
9450 `prog-prettify-font-lock-symbols-keywords' and simplify.
9451 (prog-prettify-install): Remove.
9452 (prettify-symbols-mode): New minor mode, based on
9453 `prog-prettify-install'.
9454 (turn-on-prettify-symbols-mode): New function.
9455 (global-prettify-symbols-mode): New globalized minor mode.
9457 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9458 * progmodes/cfengine.el (cfengine3-mode):
9459 * progmodes/perl-mode.el (perl-mode): Don't call
9460 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9462 2013-06-18 Juri Linkov <juri@jurta.org>
9464 * files-x.el (modify-file-local-variable-message): New function.
9465 (modify-file-local-variable)
9466 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9467 and call `modify-file-local-variable-message' when it's non-nil.
9468 (add-file-local-variable, delete-file-local-variable)
9469 (add-file-local-variable-prop-line)
9470 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9471 and use it. (Bug#9820)
9473 2013-06-18 Juri Linkov <juri@jurta.org>
9475 * emulation/vi.el (vi-shell-op):
9476 * emulation/vip.el (vip-execute-com, ex-command):
9477 * emulation/viper-cmd.el (viper-exec-bang):
9478 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9479 the call of `shell-command-on-region'. (Bug#14637)
9481 * simple.el (shell-command-on-region): Doc fix.
9483 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9485 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9488 2013-06-18 Glenn Morris <rgm@gnu.org>
9490 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9492 * newcomment.el (comment-search-forward, comment-search-backward):
9493 Doc fix. (Bug#14376)
9495 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9497 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9498 (buffer-face-mode-invoke): Doc fix.
9500 2013-06-18 Matthias Meulien <orontee@gmail.com>
9502 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9503 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9505 2013-06-18 Glenn Morris <rgm@gnu.org>
9507 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9508 Replace obsolete function generic-make-keywords with its expansion.
9510 * progmodes/python.el (ffap-alist): Declare.
9512 * textmodes/reftex.el (bibtex-mode-map): Declare.
9514 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9516 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9517 (package-unpack, package-unpack-single): Return the pkg-dir.
9518 (package-download-transaction): Use it to update package-alist.
9520 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9522 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9525 2013-06-17 Juri Linkov <juri@jurta.org>
9527 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9529 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9531 * emacs-lisp/package.el (package-load-descriptor):
9532 Remove `with-syntax-table' call, `read' doesn't need it.
9533 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9535 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9537 * startup.el (command-line): Expand package name returned by
9538 `package--description-file' (bug#14639).
9540 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9542 * emacs-lisp/package.el (package-load-descriptor): Do not call
9543 `emacs-lisp-mode', just use its syntax table.
9545 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9547 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9548 `font-lock-extra-managed-props' if any prettifying keyword is added.
9549 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9550 (prog-mode): Use `setq-local'.
9552 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9554 * international/characters.el (standard-case-table): Set syntax of ?»
9555 and ?« to punctuation.
9557 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9559 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9560 Save relevant match data before calling `syntax-ppss' (bug#14595).
9562 2013-06-15 Juri Linkov <juri@jurta.org>
9564 * files-x.el (modify-file-local-variable-prop-line): Add local
9565 variables to the end of the existing comment on the first line.
9566 Use `file-auto-mode-skip' to skip interpreter magic line,
9567 and also skip XML declaration.
9569 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9571 * startup.el (package--builtin-versions): New var.
9572 (package-subdirectory-regexp): Remove.
9573 (package--description-file): Hard code its value instead.
9575 * emacs-lisp/package.el: Don't activate packages older than builtin.
9576 (package-obsolete-list): Rename from package-obsolete-alist, and make
9577 it into a simple list of package-desc.
9578 (package-strip-version): Remove.
9579 (package-built-in-p): Use package--builtin-versions.
9580 (package-mark-obsolete): Simplify.
9581 (package-process-define-package): Mark it obsolete if older than the
9583 (package-handle-response): Use line-end-position.
9584 (package-read-archive-contents, package--download-one-archive):
9586 (package--add-to-archive-contents): Skip if older than the builtin or
9588 (package-menu-describe-package): Fix last change.
9589 (package-list-unversioned): New var.
9590 (package-menu--generate): Use it.
9592 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9593 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9594 (autoload-builtin-package-versions): New variable.
9595 (autoload-generate-file-autoloads): Use them.
9596 Remove the list of autoloaded functions/macros from the
9597 (autoload...) comments.
9599 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9601 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9603 * simple.el (line-move-partial): Don't jump to the next screen
9604 line as soon as it becomes visible. Instead, continue enlarging
9605 the vscroll until the portion of a tall screen line that's left on
9606 display is about the height of the frame's default font.
9609 2013-06-15 Glenn Morris <rgm@gnu.org>
9611 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9612 compilation-error-regexp-alist void, or local while let-bound.
9614 * progmodes/make-mode.el (makefile-mode-syntax-table):
9615 Treat "=" as punctuation. (Bug#14614)
9617 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9619 * help-fns.el (describe-variable):
9620 Add extra line for permanent-local variables.
9622 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9624 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9625 Add export, import, library. (Bug#9164)
9626 (library): Set indent function.
9628 2013-06-14 Glenn Morris <rgm@gnu.org>
9630 * term/xterm.el (xterm--query):
9631 Stop after first matching handler. (Bug#14615)
9633 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9635 Add support for dired in saveplace.
9636 * dired.el (dired-initial-position-hook): New variable.
9637 (dired-initial-position): Call hook to place cursor position.
9638 * saveplace.el (save-place-to-alist): Add dired position.
9639 (save-place-dired-hook): New function.
9641 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9643 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9644 through a symbol rather than letrec.
9646 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9647 (package-desc): Add `dir' field.
9648 (package-desc-full-name): New function.
9649 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9650 (package-maybe-load-descriptor): Remove.
9651 (package-load-all-descriptors): Just call package-load-descriptor.
9652 (package--disabled-p): New function.
9653 (package-desc-vers, package-desc-doc): Remove aliases.
9654 (package--dir): Remove function.
9655 (package-activate): Check if a package is disabled.
9656 (package-process-define-package): New function, extracted from
9658 (define-package): Turn into a place holder.
9659 (package-unpack-single, package-tar-file-info):
9660 Use package--description-file.
9661 (package-compute-transaction): Use package--disabled-p.
9662 (package-download-transaction): Don't call
9663 package-maybe-load-descriptor since they're all loaded anyway.
9664 (package-install): Change argument to be a pkg-desc.
9665 (package-delete): Use a single pkg-desc argument.
9666 (describe-package-1): Use package-desc-dir instead of package--dir.
9667 Use package-desc property instead of package-symbol.
9668 (package-install-button-action): Adjust accordingly.
9669 (package--push): Rewrite.
9670 (package-menu--print-info): Adjust accordingly. Change the ID format
9672 (package-menu-describe-package, package-menu-get-status)
9673 (package-menu--find-upgrades, package-menu-mark-upgrades)
9674 (package-menu-execute, package-menu--name-predicate):
9676 * startup.el (package--description-file): New function.
9677 (command-line): Use it.
9678 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9679 Use package-desc-version.
9681 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9682 (byte-compile-preprocess): Use it.
9683 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9684 can't quite recognize.
9685 (byte-compile-add-to-list): Remove.
9686 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9687 (cconv-closure-convert): Add assertion.
9689 * emacs-lisp/map-ynp.el: Use lexical-binding.
9690 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9691 Factor out some repeated code.
9693 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9695 * subr.el (with-eval-after-load): New macro.
9696 (eval-after-load): Allow form to be a function.
9697 take advantage of lexical-binding.
9698 (do-after-load-evaluation): Use dolist and adjust to new format.
9699 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9701 2013-06-13 Juri Linkov <juri@jurta.org>
9703 * replace.el (perform-replace): Display "symbol " and other search
9704 modes from `isearch-message-prefix' in the *Help* buffer.
9706 * isearch.el (isearch-query-replace): Add " symbol" and other
9707 possible search modes from `isearch-message-prefix' to the prompt.
9708 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9709 when reading a regexp to collect.
9711 2013-06-13 Juri Linkov <juri@jurta.org>
9713 * isearch.el (word-search-regexp): Match whitespace if the search
9714 string begins or ends in whitespace. The LAX arg is applied to
9715 both ends of the search string. Use `regexp-quote' and explicit
9716 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9717 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9718 boundaries are replaced with symbol boundaries, and characters
9719 between symbols match non-word non-symbol syntax. (Bug#14602)
9721 2013-06-13 Juri Linkov <juri@jurta.org>
9723 * isearch.el (isearch-del-char): Don't exceed the length of
9724 `isearch-string' by the prefix arg. (Bug#14563)
9726 2013-06-13 Juri Linkov <juri@jurta.org>
9728 * isearch.el (isearch-yank-word, isearch-yank-line)
9729 (isearch-char-by-name, isearch-quote-char)
9730 (isearch-printing-char, isearch-process-search-char):
9731 Add optional count prefix arg. (Bug#14563)
9733 * international/isearch-x.el
9734 (isearch-process-search-multibyte-characters):
9735 Add optional count prefix arg.
9737 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9739 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9740 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9743 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9745 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9747 2013-06-13 Glenn Morris <rgm@gnu.org>
9749 * startup.el (tty-handle-args):
9750 Don't just discard "--" and anything after. (Bug#14608)
9752 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9754 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9756 Implement changes in Secret Service API. Make it backward compatible.
9757 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9758 (secrets-create-item): Use it. Prefix properties with interface.
9760 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9762 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9763 (term-emulate-terminal): Respect term-suppress-hard-newline.
9765 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9767 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9768 Only remove a `thumb-file' overlay. (Bug#14548)
9770 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9772 * mail/reporter.el (reporter-submit-bug-report):
9773 Handle missing package-name. (Bug#14600)
9775 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9777 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9778 (reftex-citation-prompt, reftex-default-bibliography)
9779 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9780 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9781 (reftex-bib-sort-author, reftex-bib-sort-year)
9782 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9783 (reftex-extract-bib-entries-from-thebibliography)
9784 (reftex-get-bibkey-default, reftex-get-bib-names)
9785 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9786 (reftex-format-bib-entry, reftex-parse-bibitem)
9787 (reftex-format-bibitem, reftex-do-citation)
9788 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9789 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9790 (reftex-insert-bib-matches, reftex-format-citation)
9791 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9792 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9793 existing comments into docstrings.
9795 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9797 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9799 2013-06-12 Andreas Schwab <schwab@suse.de>
9801 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9802 for auto-save files.
9804 2013-06-12 Glenn Morris <rgm@gnu.org>
9806 * ido.el (ido-delete-ignored-files): Remove.
9807 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9808 Go back to calling ido-ignore-item-p directly.
9810 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9812 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9814 * ido.el (ido-delete-ignored-files): New function,
9815 split from ido-make-file-list-1.
9816 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9817 (ido-make-file-list-1): Use ido-delete-ignored-files.
9819 2013-06-12 Leo Liu <sdl.web@gmail.com>
9821 * progmodes/octave.el (inferior-octave-startup)
9822 (inferior-octave-completion-table)
9823 (inferior-octave-track-window-width-change)
9824 (octave-eldoc-function-signatures, octave-help)
9825 (octave-find-definition): Use single quoted strings.
9826 (inferior-octave-startup-args): Change default value.
9827 (inferior-octave-startup): Do not hard code "-i" and
9828 "--no-line-editing".
9829 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9830 (inferior-octave-directory-tracker): Use it.
9831 (octave-goto-function-definition): Robustify.
9832 (octave-help): Support highlighting operators in 'See also'.
9833 (octave-find-definition): Find subfunctions only in Octave mode.
9835 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9837 * help-fns.el (help-fns--compiler-macro): If the handler function is
9838 named, then put a link to it.
9839 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9840 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9842 (cl-eval-when): Simplify debug spec.
9843 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9844 compiler-macro function instead of setting `compiler-macro-file'.
9846 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9848 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9849 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9851 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9852 Daniel Hackney <dan@haxney.org>
9854 First part of Daniel Hackney's patch to package.el.
9855 * emacs-lisp/package.el: Use defstruct.
9856 (package-desc): New, main struct.
9857 (package--bi-desc, package--ac-desc): New structs, used to describe the
9858 format in external files.
9859 (package-desc-vers): Replace with package-desc-version accessor.
9860 (package-desc-doc): Replace with package-desc-summary accessor.
9861 (package-activate-1): Remove `package' arg since the pkg-vec now
9863 (define-package): Use package-desc-from-define.
9864 (package-unpack-single): Change file-name arg to be a symbol.
9865 (package--add-to-archive-contents): Use package-desc-create and new
9866 accessor functions to package--ac-desc.
9867 (package-buffer-info, package-tar-file-info): Return a package-desc.
9868 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9869 arg to be a package-desc.
9870 (package-install-file): Adjust accordingly. Use \' to match EOS.
9871 (package--from-builtin): New function.
9872 (describe-package-1, package-menu--generate): Use it.
9873 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9874 (package-generate-autoloads): Idem and return the name of the file.
9875 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9876 Change pkg-info arg to be a package-desc.
9877 Use package-make-ac-desc.
9878 (package-upload-file): Use \' to match EOS.
9879 * finder.el (finder-compile-keywords): Use package-make-builtin.
9881 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9883 * vc/vc.el (vc-deduce-fileset): Change error message.
9884 (vc-read-backend): New function.
9885 (vc-next-action): Use it.
9887 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9889 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9890 (prolog-font-lock-keywords): Use regexp-opt instead.
9891 Don't manually highlight strings.
9892 (prolog-mode-variables): Simplify comment-start-skip.
9893 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9895 * emacs-lisp/generic.el (generic--normalise-comments)
9896 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9897 (generic-mode-set-comments): Use them.
9898 (generic-bracket-support): Use setq-local.
9899 (generic-make-keywords-list): Declare obsolete.
9901 2013-06-11 Glenn Morris <rgm@gnu.org>
9903 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9904 Prettify after setting font-lock-defaults. (Bug#14574)
9906 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9908 * replace.el (query-replace, occur-read-regexp-defaults-function)
9910 * subr.el (declare-function, number-sequence, local-set-key)
9911 (substitute-key-definition, locate-user-emacs-file)
9912 (with-silent-modifications, split-string, eval-after-load):
9913 Fix typos, remove unneeded backslashes and reflow some docstrings.
9915 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9917 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9918 default for Elisp files.
9920 2013-06-11 Glenn Morris <rgm@gnu.org>
9922 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9923 although define-derived-mode was doing this anyway. (Bug#14583)
9925 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9927 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9928 Fix make-variable-buffer-local call to refer to the correct variable.
9930 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9932 * eshell/em-term.el (eshell-visual-commands)
9933 (eshell-visual-subcommands, eshell-visual-options):
9934 Add summary line to docstrings. Add cross-references.
9936 2013-06-10 Glenn Morris <rgm@gnu.org>
9938 * epa.el (epa-read-file-name): New function. (Bug#14510)
9939 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9941 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9943 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9944 output redirection to be ignored with visual commands.
9946 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9948 * eshell/em-term.el (eshell-visual-command-p): New function.
9949 (eshell-term-initialize): Move long lambda to separate function
9950 eshell-visual-command-p.
9951 * eshell/em-dirs.el (eshell-dirs-initialise):
9952 * eshell/em-script.el (eshell-script-initialize):
9953 Add missing #' to lambda.
9955 2013-06-08 Leo Liu <sdl.web@gmail.com>
9957 * progmodes/octave.el (octave-add-log-current-defun): New function.
9958 (octave-mode): Set add-log-current-defun-function.
9959 (octave-goto-function-definition): Do not move point if not found.
9960 (octave-find-definition): Enhance to try subfunctions first.
9962 2013-06-08 Glenn Morris <rgm@gnu.org>
9964 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9965 (byte-compile-backward-char, byte-compile-backward-word):
9966 Improve previous change, to handle non-explicit nil.
9968 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9970 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9971 (smie--opener/closer-at-point): New function.
9972 (smie--matching-block-data): Use it. Don't match from right after an
9973 opener or right before a closer. Obey smie-blink-matching-inners.
9974 Don't signal a mismatch for repeated inners like "switch..case..case".
9976 2013-06-07 Leo Liu <sdl.web@gmail.com>
9978 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9980 (octave-function-header-regexp): Fix. (Bug#14570)
9981 (octave-help-mode-finish-hook, octave-help-mode-finish):
9982 Remove. Just use temp-buffer-show-hook.
9984 * newcomment.el (comment-search-backward): Revert last change.
9987 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9989 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9991 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9992 through xargs, to avoid failure due to MS-Windows limitations on
9993 command-line length.
9995 2013-06-06 Glenn Morris <rgm@gnu.org>
9997 * font-lock.el (lisp-font-lock-keywords-2):
9998 Treat user-error like error.
10000 * emacs-lisp/bytecomp.el (byte-compile-char-before)
10001 (byte-compile-backward-char, byte-compile-backward-word):
10002 Handle explicit nil arguments. (Bug#14565)
10004 2013-06-05 Alan Mackenzie <acm@muc.de>
10006 * isearch.el (isearch-allow-prefix): New user option.
10007 (isearch-other-meta-char): Don't exit isearch when a prefix
10008 argument is typed whilst `isearch-allow-prefix' is non-nil.
10011 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10013 * autorevert.el (auto-revert-notify-handler): Use memq.
10014 Hide assertion failure.
10016 * skeleton.el: Use cl-lib.
10017 (skeleton-further-elements): Use defvar-local.
10018 (skeleton-insert): Use cl-progv.
10020 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10022 * progmodes/prog-mode.el (prog-prettify-symbols)
10023 (prog-prettify-install): Update docstrings.
10025 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10027 * simple.el: Move all the prog-mode code to prog-mode.el.
10028 * progmodes/prog-mode.el: New file.
10029 * loadup.el: Add prog-mode.el.
10031 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10033 * simple.el (prog-prettify-symbols): Add version.
10034 (prog-prettify-install): Add convenience function to prettify symbols.
10036 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
10037 (perl--augmented-font-lock-keywords-1)
10038 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
10039 variables and use it.
10041 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10042 (cfengine3-mode): Remove unneeded variable and use it.
10044 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10045 (lisp--augmented-font-lock-keywords-1)
10046 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
10047 Remove unneeded variables and use it.
10049 2013-06-05 João Távora <joaotavora@gmail.com>
10051 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
10052 to point when opening the connection. (Bug#14380)
10054 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10056 * subr.el (load-history-regexp, load-history-filename-element)
10057 (eval-after-load, after-load-functions, do-after-load-evaluation)
10058 (eval-next-after-load, display-delayed-warnings)
10059 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
10060 definition of save-match-data.
10061 (overriding-local-map): Remove accidental obsolescence declaration.
10063 * emacs-lisp/edebug.el (edebug-result): Move before first use.
10065 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
10067 Generalize symbol prettify support to prog-mode and implement it
10068 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
10069 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
10070 (prog--prettify-font-lock-compose-symbol)
10071 (prog-prettify-font-lock-symbols-keywords): New variables and
10072 functions to support symbol prettification.
10073 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
10074 (lisp--augmented-font-lock-keywords-1)
10075 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
10076 (lisp--prettify-symbols-alist): Implement prettify of lambda.
10077 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
10078 (cfengine3--prettify-symbols-alist, cfengine3-mode):
10079 Implement prettify of -> => :: strings.
10080 * progmodes/perl-mode.el (perl-prettify-symbols)
10081 (perl--font-lock-compose-symbol)
10082 (perl--font-lock-symbols-keywords): Move to prog-mode.
10083 (perl--prettify-symbols-alist): Prettify -> => :: strings.
10084 (perl-font-lock-keywords-1)
10085 (perl-font-lock-keywords-2): Remove explicit prettify support.
10086 (perl--augmented-font-lock-keywords)
10087 (perl--augmented-font-lock-keywords-1)
10088 (perl--augmented-font-lock-keywords-2, perl-mode):
10089 Implement prettify support.
10091 2013-06-05 Leo Liu <sdl.web@gmail.com>
10093 Re-implement smie matching block highlight using
10094 show-paren-data-function. (Bug#14395)
10095 * emacs-lisp/smie.el (smie-matching-block-highlight)
10096 (smie--highlight-matching-block-overlay)
10097 (smie--highlight-matching-block-lastpos)
10098 (smie-highlight-matching-block)
10099 (smie-highlight-matching-block-mode): Remove.
10100 (smie--matching-block-data-cache): New variable.
10101 (smie--matching-block-data): New function.
10102 (smie-setup): Use smie--matching-block-data for
10103 show-paren-data-function.
10105 * progmodes/octave.el (octave-mode-menu): Fix.
10106 (octave-find-definition): Skip garbage lines.
10108 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10110 Fix compilation error with simultaneous dynamic+lexical scoping.
10111 Add warning when a defvar appears after the first let-binding.
10112 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10113 (byte-compile-close-variables): Initialize it.
10114 (byte-compile--declare-var): New function.
10115 (byte-compile-file-form-defvar)
10116 (byte-compile-file-form-define-abbrev-table)
10117 (byte-compile-file-form-custom-declare-variable): Use it.
10118 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10119 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10120 (byte-compile-bind): Handle dynamic bindings that shadow
10122 (byte-compile-unbind): Make arg non-optional.
10123 (byte-compile-let): Simplify.
10124 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10125 (cconv--analyse-function, cconv-analyse-form): Populate it.
10126 Protect byte-compile-bound-variables to limit the scope of defvars.
10127 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10128 Remove unneeded rule for `declare'.
10130 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10131 so as to avoid depending on cl-adjoin at run-time.
10132 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10134 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10135 (macroexp--warn-and-return): Use it.
10137 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10139 * subr.el: Convert to lexical binding.
10140 (overriding-local-map): Make obsolete.
10141 (add-to-list): Doc fix. Add compiler macro.
10142 (read-key): Swap values of local maps.
10144 2013-06-05 Leo Liu <sdl.web@gmail.com>
10146 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10148 2013-06-04 Leo Liu <sdl.web@gmail.com>
10150 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10151 (compilation-auto-jump): Suppress the "Mark set" message to give
10152 way to exit message.
10154 2013-06-04 Alan Mackenzie <acm@muc.de>
10156 Remove faulty optimisation from indentation calculation.
10157 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10158 search limit based on 2000 characters back from indent-point.
10160 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10162 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10164 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10166 * emacs-lisp/lisp.el: Use lexical-binding.
10167 (lisp--local-variables-1, lisp--local-variables): New functions.
10168 (lisp--local-variables-completion-table): New var.
10169 (lisp-completion-at-point): Use it complete let-bound vars.
10171 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10172 eagerly (bug#14422).
10174 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10176 * autorevert.el (auto-revert-notify-enabled)
10177 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10178 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10179 (auto-revert-notify-handler): Handle also gfilenotify.
10181 * subr.el (file-notify-handle-event): New defun. Replacing ...
10182 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10185 2013-06-03 Juri Linkov <juri@jurta.org>
10187 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10188 `M-s h .'. (Bug#14427)
10190 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10191 command `hi-lock-face-symbol-at-point'.
10192 (hi-lock-face-symbol-at-point): New command.
10193 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10194 (hi-lock-menu): Add `highlight-symbol-at-point'.
10195 (hi-lock-mode): Doc fix.
10197 * isearch.el (isearch-forward-symbol-at-point): New command.
10198 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10199 (isearch-highlight-regexp): Add a regexp which matches
10200 words/symbols for word/symbol mode.
10202 * subr.el (find-tag-default-bounds): New function with the body
10203 mostly moved from `find-tag-default'.
10204 (find-tag-default): Move most code to `find-tag-default-bounds',
10205 call it and apply `buffer-substring-no-properties' afterwards.
10207 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10209 * eshell/em-term.el (eshell-term-initialize):
10210 Use `cl-intersection' rather than `intersection'.
10212 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10214 * vc/log-view.el: Doc fix.
10215 (log-view-mode-map): Copy keymap from `special-mode-map'.
10217 2013-06-02 Eric Ludlam <zappo@gnu.org>
10219 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10220 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10221 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10222 (eieio-unbound, eieio-default-superclass)
10223 (eieio--define-field-accessors, method-static, method-before)
10224 (method-primary, method-after, method-num-lists)
10225 (method-generic-before, method-generic-primary)
10226 (method-generic-after, method-num-slots)
10227 (eieio-specialized-key-to-generic-key)
10228 (eieio--check-type, class-v, class-p)
10229 (eieio-class-name, define-obsolete-function-alias)
10230 (eieio-class-parents-fast, eieio-class-children-fast)
10231 (same-class-fast-p, class-constructor, generic-p)
10232 (generic-primary-only-p, generic-primary-only-one-p)
10233 (class-option-assoc, class-option, eieio-object-p)
10234 (class-abstract-p, class-method-invocation-order)
10235 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10236 (eieio-class-un-autoload, eieio-defclass)
10237 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10238 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10239 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10240 (eieio-defgeneric-reset-generic-form)
10241 (eieio-defgeneric-form-primary-only)
10242 (eieio-defgeneric-reset-generic-form-primary-only)
10243 (eieio-defgeneric-form-primary-only-one)
10244 (eieio-defgeneric-reset-generic-form-primary-only-one)
10245 (eieio-unbind-method-implementations)
10246 (eieio--defmethod, eieio--typep)
10247 (eieio-perform-slot-validation, eieio-validate-slot-value)
10248 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10249 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10250 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10251 (eieio-slot-name-index, eieio-class-slot-name-index)
10252 (eieio-set-defaults, eieio-initarg-to-attribute)
10253 (eieio-attribute-to-initarg, eieio-c3-candidate)
10254 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10255 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10256 (eieio-class-precedence-list, eieio-generic-call-methodname)
10257 (eieio-generic-call-arglst, eieio-generic-call-key)
10258 (eieio-generic-call-next-method-list)
10259 (eieio-pre-method-execution-functions, eieio-generic-call)
10260 (eieio-generic-call-primary-only, eieiomt-method-list)
10261 (eieiomt-optimizing-obarray, eieiomt-install)
10262 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10263 (eieio-generic-form, eieio-defmethod, make-obsolete)
10264 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10265 (defclass): Remove `eval-and-compile' from macro.
10266 (call-next-method, shared-initialize): Instead of using
10267 `scoped-class' variable, use new eieio--scoped-class, and
10268 eieio--with-scoped-class.
10269 (initialize-instance): Rename local variable 'scoped-class' to
10270 'this-class' to remove ambiguitity from old global.
10272 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10274 (eieio--scoped-class-stack): New variable.
10275 (eieio--scoped-class): New fcn.
10276 (eieio--with-scoped-class): New scoping macro.
10277 (eieio-defclass): Use pushnew instead of add-to-list.
10278 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10279 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10280 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10281 `scoped-class' variable, use new eieio--scoped-class, and
10282 eieio--with-scoped-class.
10284 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10286 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10288 * eshell/esh-ext.el (eshell-external-command): Pass args to
10289 `eshell-find-interpreter'.
10290 (eshell-find-interpreter): Add new second parameter ARGS.
10292 * eshell/em-script.el (eshell-script-initialize): Add second arg
10293 to the function added as MATCH to `eshell-interpreter-alist'.
10295 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10296 the function added as MATCH to `eshell-interpreter-alist'.
10298 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10299 (eshell-visual-options): New defcustom.
10300 (eshell-escape-control-x): Adapt docstring.
10301 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10302 `eshell-visual-options' in addition to `eshell-visual-commands'.
10303 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10305 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10307 * progmodes/python.el (python-indent-block-enders): Add break,
10308 continue and raise keywords.
10310 2013-06-01 Glenn Morris <rgm@gnu.org>
10312 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10314 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10315 * progmodes/cc-cmds.el (delete-forward-p):
10316 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10317 * progmodes/cc-engine.el (buffer-syntactic-context):
10318 * progmodes/cc-fonts.el (face-property-instance):
10319 * progmodes/cc-mode.el (set-keymap-parents):
10320 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10321 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10322 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10323 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10324 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10326 * progmodes/cc-vars.el (other): Emacs has this widget since
10327 at least 21.1, so don't (re)define it.
10329 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10330 Replace the obsolete alias pcomplete-arg-quote-list.
10332 2013-06-01 Leo Liu <sdl.web@gmail.com>
10334 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10335 punctuation syntax.
10336 (inferior-octave-minimal-columns)
10337 (inferior-octave-last-column-width): New variables.
10338 (inferior-octave-track-window-width-change): New function.
10339 (inferior-octave-mode): Adjust column width so that Octave output,
10340 for example from 'ls', can fit into the window nicely.
10342 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10344 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10345 Highlight expansions inside regexp literals.
10347 2013-05-31 Glenn Morris <rgm@gnu.org>
10349 * obsolete/sym-comp.el (symbol-complete):
10350 Replace obsolete completion-annotate-function.
10352 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10354 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10356 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10357 New function, checks if point is inside a literal that allows
10358 expression expansion.
10359 (ruby-syntax-propertize-expansion): Use it.
10360 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10363 2013-05-30 Juri Linkov <juri@jurta.org>
10365 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10367 (isearch-invisible): New variable.
10368 (isearch-forward): Doc fix.
10369 (isearch-mode): Set `isearch-invisible'
10370 to the value of `search-invisible'.
10371 (isearch-toggle-case-fold): Doc fix.
10372 (isearch-toggle-invisible): New command.
10373 (isearch-query-replace): Let-bind `search-invisible'
10374 to the value of `isearch-invisible'.
10375 (isearch-search): Use `isearch-invisible' instead of
10376 `search-invisible'. Let-bind `search-invisible'
10377 to the value of `isearch-invisible'. (Bug#11378)
10379 2013-05-30 Juri Linkov <juri@jurta.org>
10381 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10382 call when `query-flag' is nil and `search-invisible' is non-nil.
10385 2013-05-30 Glenn Morris <rgm@gnu.org>
10387 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10389 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10390 (cc-require): Suppress spurious "noruntime" warnings.
10391 (cc-require-when-compile): Use fboundp, for sake of compiler.
10393 * progmodes/cc-mode.el: Move load of cc-vars before that of
10394 cc-langs (which in turn loads cc-vars), to quieten compiler.
10396 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10398 * paren.el: Simplify the code.
10399 (show-paren-mode): Always start the timer.
10400 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10401 (show-paren--overlay, show-paren--overlay-1): Rename from
10402 show-paren-overlay and show-paren-overlay-1, and initialize to an
10403 overlay rather than to nil.
10404 (show-paren-function): Misc cleanup and simplifications.
10406 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10408 * paren.el (show-paren-data-function): New hook.
10409 (show-paren--default): New function, extracted from show-paren-function.
10410 (show-paren-function): Use show-paren-data-function.
10412 2013-05-30 Glenn Morris <rgm@gnu.org>
10414 * ielm.el (ielm-map, ielm-complete-symbol):
10415 Use completion-at-point rather than obsolete functions.
10416 (inferior-emacs-lisp-mode): Doc fix.
10417 Set completion-at-point-functions, rather than
10418 comint-dynamic-complete-functions.
10420 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10421 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10422 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10424 * image.el (image-animated-p): Tweak definition.
10426 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10427 (rlogin-process-connection-type): Tweak default. Add set-after.
10428 (rlogin-host): Doc fix.
10429 (rlogin): Tweak prompt.
10430 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10432 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10433 * progmodes/tcl.el (inferior-tcl-mode-map):
10434 Use completion-at-point rather than obsolete alias.
10436 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10438 * minibuffer.el (read-file-name-completion-ignore-case):
10439 Move before completion--in-region, for eager macro expansion.
10441 2013-05-29 Juri Linkov <juri@jurta.org>
10443 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10444 for total count of matching lines. Add `global-matches' for total
10445 count of matches. Rename `matches' to `lines' for count of
10446 matching lines. Add `matches' for count of matches.
10447 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10448 to `prev-line' for line number of prev match endpt.
10449 Increment `matches' for every match. Print the number of
10450 matching lines in the header.
10451 (occur-context-lines): Rename `lines' to `curr-line'.
10452 Rename `prev-lines' to `prev-line'. (Bug#14017)
10454 2013-05-29 Juri Linkov <juri@jurta.org>
10456 * replace.el (perform-replace): Add `skip-read-only-count',
10457 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10458 Increment them for corresponding conditions and report the number
10459 of skipped occurrences in the final message. (Bug#11746)
10460 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10461 (replace-string, replace-regexp): Doc fix.
10463 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10465 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10467 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10468 prog-mode-map (bug#14504).
10470 2013-05-29 Leo Liu <sdl.web@gmail.com>
10472 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10473 (octave-help): Small simplification.
10475 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10476 off the highlight first.
10478 2013-05-29 Glenn Morris <rgm@gnu.org>
10480 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10481 Handle idlwave-last-system-routine-info-cons-cell being nil.
10483 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10484 (idlwave-write-paths): Simplify via with-temp-buffer.
10486 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10487 * emulation/cua-rect.el: Also load cua-base at run time.
10489 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10490 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10491 (cperl-imenu-on-info): Require imenu.
10493 2013-05-28 Alan Mackenzie <acm@muc.de>
10495 Handle "capitalised keywords" correctly.
10496 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10498 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10500 * eshell/em-unix.el: Add -r option to cp.
10502 2013-05-28 Glenn Morris <rgm@gnu.org>
10504 * vc/vc-arch.el (vc-exec-after): Declare.
10505 (vc-switches): Autoload.
10506 * vc/vc-bzr.el: No need to require vc when compiling.
10507 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10508 (vc-resynch-buffer, vc-dir-refresh): Declare.
10509 (vc-setup-buffer, vc-switches): Autoload.
10510 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10511 (vc-resynch-buffer): Declare.
10512 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10513 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10514 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10515 (grep-read-regexp, grep-read-files, grep-expand-template)
10516 (vc-dir-refresh): Declare.
10517 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10518 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10519 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10520 * vc/vc-mtn.el (vc-exec-after): Declare.
10521 (vc-switches): Autoload.
10522 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10523 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10524 (vc-file-tree-walk): Declare.
10525 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10526 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10527 (vc-tag-precondition, vc-rename-master): Autoload.
10528 * vc/vc-svn.el (vc-exec-after): Declare.
10529 (vc-switches, vc-setup-buffer): Autoload.
10530 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10532 (vc-resynch-buffer): Declare.
10534 * obsolete/fast-lock.el (byte-compile-warnings):
10535 Don't warn about obsolete features in this obsolete file.
10537 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10538 Move definition before use.
10540 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10541 (dun-unix-verbs): Remove dun-zippy.
10542 (dun-zippy): Remove function.
10544 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10546 2013-05-27 Juri Linkov <juri@jurta.org>
10548 * replace.el (replace-search): New function with code moved out
10549 from `perform-replace'.
10550 (replace-highlight, replace-dehighlight): Move function definitions
10551 up closer to `replace-search'. (Bug#11746)
10553 2013-05-27 Juri Linkov <juri@jurta.org>
10555 * replace.el (perform-replace): Ignore invisible matches.
10556 In addition to checking `query-replace-skip-read-only', also
10557 filter out matches by calling `run-hook-with-args-until-failure'
10558 on `isearch-filter-predicates', and also check `search-invisible'
10559 for t or call `isearch-range-invisible'.
10560 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10562 2013-05-27 Juri Linkov <juri@jurta.org>
10564 * isearch.el (isearch-filter-predicates): Rename from
10565 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10566 (isearch-message-prefix): Display text from the property
10567 `isearch-message-prefix' of the currently active filters.
10568 (isearch-search): Don't compare `isearch-filter-predicate' with
10569 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10570 on `isearch-filter-predicates'. Also check `search-invisible' for t
10571 or call `isearch-range-invisible'.
10572 (isearch-filter-visible): Make obsolete.
10573 (isearch-lazy-highlight-search):
10574 Call `run-hook-with-args-until-failure' on
10575 `isearch-filter-predicates' and use `isearch-range-invisible'.
10577 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10578 `isearch-filter-predicates' instead of `funcall'ing
10579 `isearch-filter-predicate'.
10580 (Info-mode): Set `Info-isearch-filter' to
10581 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10583 * dired-aux.el (dired-isearch-filter-predicate-orig):
10585 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10586 (dired-isearch-filenames-end): Add and remove
10587 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10588 instead of changing the value of `isearch-filter-predicate'.
10589 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10590 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10591 Put property `isearch-message-prefix' to "filename " on
10592 `dired-isearch-filter-filenames'.
10594 * wdired.el (wdired-change-to-wdired-mode):
10595 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10596 locally instead of changing `isearch-filter-predicate'.
10597 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10599 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10601 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10602 return the commit hash (Bug#14459). Also set the
10603 `vc-git-detached' property.
10604 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10605 (vc-git-mode-line-string): Use the same help-echo format whether
10606 in detached mode or not, because we know the actual revision now.
10607 When in detached mode, shorten the revision to 7 chars.
10609 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10611 * emacs-lisp/easy-mmode.el (define-minor-mode):
10612 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10613 mode hook and provide a docstring.
10615 2013-05-27 Alan Mackenzie <acm@muc.de>
10617 Remove spurious syntax-table text properties inserted by C-y.
10618 * progmodes/cc-mode.el (c-after-change): Also clear hard
10619 syntax-table property with value nil.
10621 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10623 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10624 when reading the events; the buffer layout shall not be changed.
10626 2013-05-27 Leo Liu <sdl.web@gmail.com>
10628 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10630 (inferior-octave-directory-tracker): Automatically re-sync
10632 (octave-help): Improve handling of 'See also'.
10634 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10636 * doc-view.el: Minor naming convention tweaks.
10637 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10639 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10640 even if there's no `display' property yet (bug#14435).
10642 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10644 * subr.el (unmsys--file-name): Rename from reveal-filename.
10646 * Makefile.in (custom-deps, finder-data, autoloads)
10647 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10648 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10649 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10651 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10653 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10654 error-completion on the first 2 args of condition-case (bug#14446).
10657 2013-05-25 Leo Liu <sdl.web@gmail.com>
10659 * comint.el (comint-previous-matching-input): Do not flood the
10660 *Messages* buffer with trivial messages.
10662 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10664 * progmodes/flymake.el (flymake-nop): Don't return a string.
10665 (flymake-set-at): Fix typo.
10667 * simple.el (read--expression): New function, extracted from
10668 eval-expression. Set completion-at-point-functions (bug#14465).
10669 (eval-expression, eval-minibuffer): Use it.
10671 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10673 * progmodes/flymake.el (flymake-save-buffer-in-file)
10674 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10675 (flymake-selected-frame, flymake-log, flymake-ins-after)
10676 (flymake-set-at, flymake-get-buildfile-from-cache)
10677 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10678 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10679 Refine the doc string.
10680 (flymake-get-file-name-mode-and-masks): Reformat.
10681 (flymake-get-real-file-name-function): Fix a minor bug.
10683 2013-05-24 Juri Linkov <juri@jurta.org>
10685 * progmodes/grep.el (grep-mode-font-lock-keywords):
10686 Support =linenumber= format used by git-grep for lines with
10687 function names. (Bug#13549)
10689 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10691 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10692 0 after a semi-colon; it works better for smie-auto-fill.
10693 (octave--indent-new-comment-line): New function.
10694 (octave-indent-new-comment-line): Use it (indirectly).
10695 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10696 modify comment-line-break-function.
10698 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10699 (smie-setup): Use add-function to set it.
10701 2013-05-24 Sam Steingold <sds@gnu.org>
10703 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10704 argument (before the `interactive' argument).
10706 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10708 * image-mode.el (image-mode-winprops): Add winprops to
10709 image-mode-winprops-alist before running
10710 image-mode-new-window-functions.
10711 * doc-view.el (doc-view-new-window-function): Don't delay
10712 doc-view-goto-page via timers (bug#14435).
10714 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10716 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10717 (doc-view-desktop-save-buffer): New function.
10718 (doc-view-restore-desktop-buffer): New function.
10719 (desktop-buffer-mode-handlers):
10720 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10722 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10723 `desktop-save-buffer' function.
10725 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10727 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10728 (tramp-gvfs-file-name-handler): Raise a user error when
10729 `tramp-gvfs-enabled' is nil.
10730 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10731 Do not raise a user error when loading package. (Bug#14447)
10733 * net/xesam.el: Move to obsolete/.
10735 2013-05-24 Glenn Morris <rgm@gnu.org>
10737 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10739 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10741 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10742 (Info-find-node, Man-getpage-in-background): Declare.
10744 * mail/unrmail.el (unrmail):
10745 Replace obsolete detect-coding-with-priority.
10747 * net/socks.el (socks-split-string): Use this rather than split-string.
10748 (socks-nslookup-host): Update for above change.
10749 (dynamic-choice, s5-dynamic-choice-match)
10750 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10751 Comment out unused code.
10753 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10754 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10755 (gud-tooltip-echo-area): Make obsolete.
10756 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10758 * progmodes/js.el (js--optimize-arglist): Declare.
10760 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10762 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10763 (ediff-window-C): Declare.
10765 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10766 Tweak requires to silence compiler.
10768 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10769 (he-search-string, he-tried-table, he-expand-list)
10770 (he-init-string, he-string-member, he-substitute-string)
10771 (he-reset-string): Declare.
10773 * obsolete/options.el (list-options): Use custom-variable-p,
10774 rather than obsolete alias.
10776 2013-05-23 Sam Steingold <sds@gnu.org>
10778 * simple.el (shell-command-on-region): Pass the `replace' argument
10779 down to `call-process-region' to comply with the doc as reported on
10780 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10782 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10784 * emacs-lisp/smie.el (smie-indent-forward-token)
10785 (smie-indent-backward-token): Handle string tokens (bug#14381).
10787 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10789 * ielm.el (ielm-menu): New menu.
10790 (inferior-emacs-lisp-mode): Set comment-start.
10792 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10794 * textmodes/reftex.el (reftex-ref-style-toggle):
10795 Fix deactivate action.
10797 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10798 Add cleveref macros.
10800 * textmodes/reftex-parse.el
10801 (reftex-locate-bibliography-files): Accept options for
10802 bibliography commands.
10803 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10804 Add addbibresource. Basic Biblatex support.
10806 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10808 * net/tramp-gvfs.el (top):
10809 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10810 when loading package. (Bug#14447)
10812 2013-05-23 Glenn Morris <rgm@gnu.org>
10814 * progmodes/js.el: No need to load comint when compiling.
10815 (ring-insert, comint-send-string, comint-send-input)
10816 (comint-last-input-end, ido-chop): Declare.
10818 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10819 * vc/ediff-mult.el: Adjust requires.
10820 (ediff-directories-internal, ediff-directory-revisions-internal)
10821 (ediff-patch-file-internal): Declare.
10822 * vc/ediff-ptch.el: Adjust requires.
10823 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10824 (ediff-find-file): Autoload.
10825 * vc/ediff-util.el: No need to load ediff when compiling.
10826 (ediff-regions-internal): Declare.
10827 * vc/ediff-wind.el: Adjust requires.
10828 (ediff-compute-toolbar-width): Define when compiling.
10829 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10830 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10831 (dired-get-filename, dired-get-marked-files)
10832 (ediff-last-dir-patch, ediff-patch-default-directory)
10833 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10834 (ediff-patch-buffer-internal): Declare.
10836 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10837 (ispell-process, ispell-buffer-local-words, lm-summary)
10838 (lm-section-start, lm-section-end): Declare.
10839 (checkdoc-ispell-init): Simplify.
10841 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10842 (he-string-member, he-reset-string, he-substitute-string): Declare.
10844 * eshell/em-ls.el: Adjust requires.
10845 (eshell-glob-regexp): Declare.
10846 * eshell/em-tramp.el: Adjust requires.
10847 (eshell-parse-command): Autoload.
10848 * eshell/em-xtra.el: Adjust requires.
10849 (eshell-parse-command): Autoload.
10850 * eshell/esh-ext.el: Adjust requires.
10851 (eshell-parse-command, eshell-close-handles): Autoload.
10852 * eshell/esh-io.el: Adjust requires.
10853 (eshell-output-filter): Autoload.
10854 * eshell/esh-util.el: No need to load tramp when compiling.
10855 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10857 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10858 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10859 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10860 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10861 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10862 * eshell/esh-opt.el, eshell/esh-proc.el:
10863 * eshell/esh-var.el: Adjust requires.
10864 * eshell/eshell.el: Do not require esh-util twice.
10865 (eshell-add-input-to-history): Declare.
10866 (eshell-command): Check history module is active before using it.
10868 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10870 2013-05-22 Leo Liu <sdl.web@gmail.com>
10872 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10874 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10876 * autorevert.el (auto-revert-notify-add-watch)
10877 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10878 it indicates changes in file modification time.
10880 2013-05-22 Glenn Morris <rgm@gnu.org>
10882 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10883 Always delete the autoloaded function from the noruntime and
10884 unresolved functions lists.
10886 * allout.el: No need to load epa, epg, overlay when compiling.
10887 (epg-context-set-passphrase-callback, epg-list-keys)
10888 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10889 (epg-key-user-id-list): Declare.
10891 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10892 (viper-set-parsing-style-toggling-macro)
10893 (viper-set-emacs-state-searchstyle-macros):
10894 Use called-interactively-p on Emacs.
10895 (viper-looking-back): Make it an obsolete alias. Update callers.
10896 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10897 Use looking-back rather than viper-looking-back.
10898 (viper-tmp-insert-at-eob, viper-enlarge-region)
10899 (viper-read-string-with-history, viper-register-to-point)
10900 (viper-append-to-register, viper-change-state-to-vi)
10901 (viper-backward-char-carefully, viper-forward-char-carefully)
10902 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10903 (viper-change-state-to-emacs): Declare.
10904 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10905 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10906 * emulation/viper-mous.el: Do not load viper-cmd.
10907 (viper-backward-char-carefully, viper-forward-char-carefully)
10908 (viper-forward-word, viper-adjust-window): Declare.
10910 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10912 * progmodes/idlw-help.el (idlwave-help-fontify):
10913 Use called-interactively-p.
10915 * term/w32console.el (w32-get-console-codepage)
10916 (w32-get-console-output-codepage): Declare.
10918 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10919 Remove unnecessary declarations.
10920 (dframe-message): Doc fix.
10922 * info.el (dframe-select-attached-frame, dframe-current-frame):
10925 * speedbar.el (speedbar-message): Make it an obsolete alias.
10926 Update all callers.
10927 (speedbar-with-attached-buffer)
10928 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10929 (speedbar-with-writable): Use backquote.
10930 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10931 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10932 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10933 rather than speedbar- aliases.
10934 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10935 (speedbar-make-specialized-keymap, speedbar-insert-button)
10936 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10937 (speedbar-do-function-pointer): Declare.
10938 (rmail-speedbar-button, rmail-speedbar-find-file)
10939 (rmail-speedbar-move-message):
10940 Use dframe-with-attached-buffer rather than speedbar- alias.
10941 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10942 (dframe-message, speedbar-make-specialized-keymap)
10943 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10944 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10945 (speedbar-insert-button, dframe-select-attached-frame)
10946 (dframe-maybee-jump-to-attached-frame)
10947 (speedbar-change-initial-expansion-list)
10948 (speedbar-previously-used-expansion-list-name): Declare.
10949 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10950 Use dframe-message, dframe-with-attached-buffer rather than
10952 (gud-sentinel): Silence compiler.
10953 * progmodes/vhdl-mode.el (speedbar-refresh)
10954 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10955 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10956 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10957 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10958 (speedbar-file-lists, speedbar-make-tag-line)
10959 (speedbar-line-directory, speedbar-goto-this-file)
10960 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10961 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10962 (speedbar-make-button, speedbar-reset-scanners)
10963 (speedbar-files-item-info, speedbar-line-text)
10964 (speedbar-find-file-in-frame, speedbar-set-timer)
10965 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10966 (speedbar-with-writable): Do not (re)define it.
10967 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10968 rather than speedbar- alias.
10970 2013-05-21 Leo Liu <sdl.web@gmail.com>
10972 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10974 (octave-mode): Tweak fill-nobreak-predicate.
10975 (inferior-octave-startup): Check process to avoid infinite loop.
10976 (inferior-octave): Pop to buffer first to show abornmal process
10979 2013-05-21 Glenn Morris <rgm@gnu.org>
10981 * printing.el (pr-menu-bar): Define when compiling.
10983 2013-05-21 Leo Liu <sdl.web@gmail.com>
10985 * progmodes/octave.el (octave-auto-fill): Remove.
10986 (octave-indent-new-comment-line): Improve.
10987 (octave-mode): Use auto fill mode through
10988 comment-line-break-function and fill-nobreak-predicate.
10989 (octave-goto-function-definition): Support DEFUN_DLD.
10990 (octave-beginning-of-defun): Small tweak.
10991 (octave-help): Show parent directory.
10993 2013-05-21 Glenn Morris <rgm@gnu.org>
10995 * files.el (dired-unmark):
10996 * progmodes/gud.el (gdb-input): Update declarations.
10998 * calculator.el (electric, ehelp): No need to load when compiling.
10999 (Electric-command-loop, electric-describe-mode): Declare.
11001 * doc-view.el (doc-view-current-converter-processes): Move before use.
11003 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
11004 Move MODE-set-explicitly definition before use.
11006 * international/mule-diag.el (mule-diag):
11007 Don't use obsolete window-system-version.
11009 * mail/feedmail.el (smtpmail): No need to load when compiling.
11010 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
11012 * mail/mail-utils.el (rfc822): No need to load when compiling.
11013 (rfc822-addresses): Autoload it.
11014 (mail-strip-quoted-names): Trivial simplification.
11016 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
11017 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
11019 * net/snmp-mode.el (tempo): Don't duplicate requires.
11021 * progmodes/prolog.el (info): No need to load when compiling.
11022 (comint): Require before shell requires it.
11023 (Info-goto-node): Autoload it.
11024 (Info-follow-nearest-node): Declare.
11025 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
11027 * textmodes/artist.el (picture-mode-exit): Declare.
11029 * textmodes/reftex-parse.el (reftex-parse-from-file):
11030 Trivial rewrite so the compiler can parse it better.
11032 2013-05-20 Leo Liu <sdl.web@gmail.com>
11034 * progmodes/octave.el (octave-help-mode-map)
11035 (octave-help-mode-finish-hook): New variables.
11036 (octave-help-mode, octave-help-mode-finish): New functions.
11037 (octave-help): Use octave-help-mode.
11039 2013-05-20 Glenn Morris <rgm@gnu.org>
11041 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
11043 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
11045 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
11046 start at point, so that expansion starting right after opening
11047 slash in a regexp is recognized.
11048 (ruby-syntax-before-regexp-re): New defvar, extracted from
11049 ruby-syntax-propertize-function. Since the value of this regexp
11050 is looked up at runtime now, we should be able to turn
11051 `ruby-syntax-methods-before-regexp' into a defcustom later.
11052 (ruby-syntax-propertize-function): Split regexp matching into two
11053 parts, for opening and closing slashes. That allows us to skip
11054 over string interpolations and support multiline regexps.
11055 Don't call `ruby-syntax-propertize-expansions', instead use another rule
11056 for them, which calls `ruby-syntax-propertize-expansion'.
11057 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
11058 call to `ruby-syntax-propertize-function'.
11059 (ruby-syntax-propertize-expansion): Extracted from
11060 `ruby-syntax-propertize-expansions'. Handles one expansion.
11061 (ruby-syntax-propertize-percent-literal): Leave point right after
11062 the percent symbol, so that the expression expansion rule can
11063 propertize the contents.
11064 (ruby-syntax-propertize-heredoc): Leave point at bol following the
11066 (ruby-syntax-propertize-expansions): Remove.
11068 2013-05-18 Juri Linkov <juri@jurta.org>
11070 * man.el (Man-default-man-entry): Remove `-' from the end
11071 of the default value. (Bug#14400)
11073 2013-05-18 Glenn Morris <rgm@gnu.org>
11075 * comint.el (comint-password-prompt-regexp):
11076 Allow "password for XXX" where XXX contains colons (eg https://...).
11078 2013-05-18 Leo Liu <sdl.web@gmail.com>
11080 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
11081 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
11082 (octave-source-directories): Don't check process.
11083 (octave-source-directories, octave-find-definition): Doc fix.
11085 2013-05-18 Glenn Morris <rgm@gnu.org>
11087 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
11088 Remove backspace/delete bindings. (Bug#14392)
11090 * cus-dep.el (custom-make-dependencies): Sort the output.
11091 (custom-versions-load-alist): Convert comment to doc.
11093 2013-05-17 Leo Liu <sdl.web@gmail.com>
11095 * newcomment.el (comment-search-backward): Stricter in finding
11096 comment start. (Bug#14303)
11098 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
11099 (octave-comment-start-skip): Properly anchored.
11101 2013-05-17 Leo Liu <sdl.web@gmail.com>
11103 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11104 Clean up when turned off. (Bug#14395)
11105 (smie--highlight-matching-block-overlay): No longer buffer-local.
11106 (smie-highlight-matching-block): Adjust.
11108 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11110 Doc string fix for "nanoseconds" (Bug#14406).
11111 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11112 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11114 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11116 * calc/calc-units.el (math-extract-units): Preserve powers
11119 2013-05-17 Leo Liu <sdl.web@gmail.com>
11121 * subr.el (delete-consecutive-dups): New function.
11122 * ido.el (ido-set-matches-1): Use it.
11123 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11124 * ido.el (ido-remove-consecutive-dups): Remove.
11126 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11128 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11129 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11130 regexp-opt's `words'.
11132 2013-05-16 Leo Liu <sdl.web@gmail.com>
11134 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11135 (smie--highlight-matching-block-overlay)
11136 (smie--highlight-matching-block-lastpos)
11137 (smie--highlight-matching-block-timer): New variables.
11138 (smie-highlight-matching-block): New function.
11139 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11140 (smie-setup): Conditionally enable smie-blink-matching-open.
11142 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11144 Sync with upstream verilog-mode r840.
11145 * progmodes/verilog-mode.el (verilog-mode-version)
11146 (verilog-mode-release-date): Update.
11147 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11148 (verilog-sig-tieoff): Fix string error on
11149 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11150 (verilog-read-decls): Fix parameters confusing
11151 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11153 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11155 * subr.el (reveal-filename): New function.
11157 * loadup.el: Compute Emacs executable versions on MS-Windows,
11158 where executables have the .exe extension. Add a hard link
11159 emacs-XX.YY.ZZ.exe on MS-Windows.
11161 * Makefile.in (XARGS_LIMIT): New variable.
11162 (custom-deps, finder-data, autoloads)
11163 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11164 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11165 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11166 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11168 2013-05-16 Leo Liu <sdl.web@gmail.com>
11170 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11171 (octave-mode-menu, octave-mode-map): Remove its uses.
11173 2013-05-16 Reto Zimmermann <reto@gnu.org>
11175 Sync with upstream vhdl mode v3.34.2.
11176 * progmodes/vhdl-mode.el: Use `push' throughout.
11177 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11178 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11179 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11180 (vhdl-actual-generic-name): New option to derive actual generic name.
11181 (vhdl-port-paste-signals): Replace formal by actual generics.
11182 (vhdl-beautify): New name for old group vhdl-align. Update users.
11183 (vhdl-beautify-options): New option.
11184 (vhdl-last-input-event): New compat alias. Use throughout.
11185 (vhdl-goto-line): Replace user level function `goto-line'.
11186 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11187 vhdl-fix-statement-buffer.
11188 (vhdl-create-mode-menu): Add some entries.
11189 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11190 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11191 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11192 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11193 to force statements on one line.
11194 (vhdl-remove-trailing-spaces-region):
11195 New, split from vhdl-remove-trailing-spaces.
11196 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11197 Respect vhdl-beautify-options.
11198 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11199 (vhdl-update-sensitivity-list): Not add with index if exists without.
11200 Not include array index with signal. Ignore keywords in comments.
11201 (vhdl-get-visible-signals): Regexp tweaks.
11202 (vhdl-template-component-inst): Handle empty library.
11203 (vhdl-template-type): Add template for 'enum' type.
11204 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11205 Use vhdl-replace-string.
11206 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11207 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11208 (vhdl-speedbar-initialize): Update for above name change.
11209 (vhdl-compose-wire-components): Fix in handling of constants.
11210 (vhdl-error-regexp-emacs-alist): New variable.
11211 (vhdl-error-regexp-add-emacs): New function;
11212 adds support for new compile.el (Emacs 22+)
11213 (vhdl-generate-makefile-1): Change target order for single lib. units.
11214 Allow use of absolute file names.
11216 2013-05-16 Leo Liu <sdl.web@gmail.com>
11218 * simple.el (prog-indent-sexp): Indent enclosing defun.
11220 2013-05-15 Glenn Morris <rgm@gnu.org>
11222 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11223 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11224 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11225 (whitespace-highlight): Move to whitespace group.
11227 * comint.el (comint-source):
11228 * pcmpl-linux.el (pcmpl-linux):
11229 * shell.el (shell-faces):
11230 * eshell/esh-opt.el (eshell-opt):
11231 * international/ccl.el (ccl): Remove empty custom groups.
11233 * completion.el (dynamic-completion-mode):
11234 * jit-lock.el (jit-lock-debug-mode):
11235 * minibuffer.el (completion-in-region-mode):
11236 * type-break.el (type-break-mode-line-message-mode)
11237 (type-break-query-mode):
11238 * emulation/tpu-edt.el (tpu-edt-mode):
11239 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11240 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11241 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11243 * term/xterm.el (xterm): Change parent group to terminals.
11245 * master.el (master): Remove empty custom group.
11246 (master-mode): Remove unused :group argument.
11247 * textmodes/refill.el (refill): Remove empty custom group.
11248 (refill-mode): Remove unused :group argument.
11250 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11252 * cus-dep.el: Provide a feature.
11253 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11254 Don't mistakenly ignore files whose basenames match a basename
11255 from preloaded-file-list (eg cedet/ede/simple.el).
11256 Add a fallback method for getting :group.
11258 2013-05-15 Juri Linkov <juri@jurta.org>
11260 * isearch.el (isearch-char-by-name): Rename from
11261 `isearch-insert-char-by-name'. Doc fix.
11262 (isearch-forward): Mention `isearch-char-by-name' in
11263 the docstring. (Bug#13348)
11265 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11266 `exit-minibuffer' instead of
11267 `isearch-nonincremental-exit-minibuffer'.
11268 (isearch-edit-string): Remove mention of
11269 `isearch-nonincremental-exit-minibuffer' from docstring.
11270 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11271 (isearch-forward-exit-minibuffer)
11272 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11274 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11276 * loadup.el: Just use unversioned DOC.
11278 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11279 literals as extending to EOB.
11280 (nxml-last-fontify-end): Remove unused variable.
11281 (nxml-after-change1): Use with-silent-modifications.
11282 (nxml-extend-after-change-region): Simplify.
11283 (nxml-extend-after-change-region1): Remove function.
11284 (nxml-after-change1): Don't adjust for dependent regions.
11285 (nxml-fontify-matcher): Simplify.
11286 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11287 (xmltok-add-dependent): Remove function.
11288 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11289 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11290 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11291 unclosed <[[, <?, comment, and other literals as extending to EOB.
11292 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11293 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11295 (rng-do-some-validation-1): Don't mark dependent regions.
11296 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11297 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11298 (nxml-clear-dependent-regions): Remove functions.
11299 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11300 (nxml-ensure-scan-up-to-date):
11301 Don't clear&mark dependent regions.
11303 2013-05-15 Leo Liu <sdl.web@gmail.com>
11305 * progmodes/octave.el (octave-goto-function-definition):
11306 Improve and fix callers.
11308 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11310 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11311 the setter (bug#14387).
11313 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11314 surrounding group (bug#14402).
11316 2013-05-14 Juri Linkov <juri@jurta.org>
11318 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11321 2013-05-14 Glenn Morris <rgm@gnu.org>
11323 * progmodes/f90.el (f90-imenu-generic-expression):
11324 Fix typo in 2013-05-08 change. (Bug#14402)
11326 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11328 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11329 Remove signals for which replies are never received.
11331 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11333 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11334 (gdb-handler-alist, gdb-handler-number): Remove variables.
11335 (gdb-handler-list): New variable.
11336 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11337 (gdb-pending-handler-p, gdb-handle-reply)
11338 (gdb-remove-all-pending-triggers): New functions.
11339 (gdb-discard-unordered-replies): New defcustom.
11340 (gdb-handler): New defstruct.
11341 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11342 instead of gdb-pending-triggers. Update docstring.
11343 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11344 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11345 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11346 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11347 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11348 (gdb-frame-handler): Pending triggers are now automatically managed.
11349 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11351 (gdb-input): Automatically handles pending triggers. Update docstring.
11352 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11353 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11355 (gdb-done-or-error): Now use gdb-handle-reply.
11357 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11359 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11362 2013-05-14 Glenn Morris <rgm@gnu.org>
11364 * subr.el (user-emacs-directory-warning): New option.
11365 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11367 2013-05-14 Leo Liu <sdl.web@gmail.com>
11369 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11371 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11372 (octave-font-lock-texinfo-comment): Fix invalid search bound
11373 error: wrong side of point.
11375 2013-05-14 Glenn Morris <rgm@gnu.org>
11377 * progmodes/flymake.el (flymake-xml-program): New option.
11378 (flymake-xml-init): Use it.
11380 * term/xterm.el: Provide a feature.
11382 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11384 2013-05-13 Glenn Morris <rgm@gnu.org>
11386 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11387 Add compat aliases as a hack workaround. (Bug#14384)
11389 2013-05-13 Leo Liu <sdl.web@gmail.com>
11391 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11393 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11395 (octave-comment-start-skip): Include %!.
11396 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11398 2013-05-12 Leo Liu <sdl.web@gmail.com>
11400 * progmodes/octave.el (inferior-octave-startup): Store the value
11401 of __octave_srcdir__ for octave-source-directories.
11402 (inferior-octave-check-process): New function refactored out of
11403 inferior-octave-send-list-and-digest.
11404 (octave-source-directories)
11405 (octave-find-definition-filename-function): New variables.
11406 (octave-source-directories)
11407 (octave-find-definition-default-filename): New functions.
11408 (octave-find-definition): Improve to find functions implemented in C++.
11410 2013-05-12 Glenn Morris <rgm@gnu.org>
11412 * calendar/diary-lib.el (diary-outlook-format-1):
11413 Don't include dayname in the output. (Bug#14349)
11415 2013-05-11 Glenn Morris <rgm@gnu.org>
11417 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11419 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11420 Treat cc-provide like provide.
11422 2013-05-11 Kevin Ryde <user42@zip.com.au>
11424 * cus-dep.el (custom-make-dependencies):
11425 Use generated-autoload-load-name for the sake of files such
11426 such cedet/semantic/bovine/c.el, where the base file name
11427 is not in load-path. (Bug#5277)
11429 2013-05-11 Glenn Morris <rgm@gnu.org>
11431 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11434 2013-05-11 Leo Liu <sdl.web@gmail.com>
11436 * progmodes/octave.el (octave-indent-comment): Improve.
11437 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11438 (octave-eldoc-function-signatures, octave-eldoc-function):
11440 (octave-mode, inferior-octave-mode): Add eldoc support.
11442 2013-05-11 Richard Stallman <rms@gnu.org>
11444 * epa.el (epa-decrypt-file): Take output file name as argument
11445 and read it using `interactive'.
11447 2013-05-11 Leo Liu <sdl.web@gmail.com>
11449 * progmodes/octave.el (octave-beginning-of-line)
11450 (octave-end-of-line): Check before using up-list because it jumps
11451 out of more syntactic contructs since moving to smie.
11452 (octave-indent-comment): New function.
11453 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11454 (octave-begin-keywords, octave-end-keywords)
11455 (octave-reserved-words, octave-smie-bnf-table)
11456 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11458 2013-05-11 Glenn Morris <rgm@gnu.org>
11460 * faces.el (internal-face-x-get-resource):
11461 * frame.el (ns-display-monitor-attributes-list):
11462 * calc/calc-aent.el (math-to-radians-2):
11463 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11466 * calc/calc-menu.el: Make it loadable in isolation.
11468 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11469 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11470 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11471 (eudc-bbdb-query-internal): Require 'bbdb.
11473 * lpr.el (lpr-headers-switches):
11474 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11476 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11478 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11480 * term.el (term-set-escape-char): Make it idempotent.
11482 2013-05-10 Leo Liu <sdl.web@gmail.com>
11484 * progmodes/octave.el (inferior-octave-completion-table):
11485 No longer a function and all uses changed. Use cache to speed up
11486 completion due to bug#11906.
11487 (octave-beginning-of-defun): Re-write to be more general.
11489 2013-05-10 Glenn Morris <rgm@gnu.org>
11491 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11493 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11495 * comint.el (comint-redirect-send-command-to-process): Use :around
11496 rather than :override for comint-redirect-filter.
11497 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11498 Call it instead of comint-redirect-original-filter-function (which
11499 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11501 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11503 * frame.el (display-monitor-attributes-list): Add NS case.
11504 (ns-display-monitor-attributes-list): Declare.
11506 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11508 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11510 2013-05-09 Glenn Morris <rgm@gnu.org>
11512 * international/fontset.el (vertical-centering-font-regexp):
11513 Set standard-value.
11515 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11517 * bookmark.el (bookmark-search-delay):
11518 * cus-start.el (vertical-centering-font-regexp):
11519 * ps-mule.el (ps-mule-font-info-database-default):
11520 * ps-print.el (ps-default-fg, ps-default-bg):
11521 * type-break.el (type-break-good-break-interval):
11522 * whitespace.el (whitespace-indentation-regexp)
11523 (whitespace-space-after-tab-regexp):
11524 * emacs-lisp/testcover.el (testcover-1value-functions)
11525 (testcover-noreturn-functions, testcover-progn-functions)
11526 (testcover-prog1-functions):
11527 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11528 * eshell/em-glob.el (eshell-glob-translate-alist):
11529 * play/tetris.el (tetris-tty-colors):
11530 * progmodes/cpp.el (cpp-face-default-list):
11531 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11532 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11533 (idlwave-help-browser-generic-args):
11534 * progmodes/make-mode.el (makefile-special-targets-list):
11535 * progmodes/python.el (python-shell-virtualenv-path):
11536 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11537 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11538 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11539 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11540 * textmodes/reftex-vars.el (reftex-format-label-function):
11541 * textmodes/remember.el (remember-diary-file): Fix custom types.
11543 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11546 2013-05-09 Leo Liu <sdl.web@gmail.com>
11548 * progmodes/octave.el (inferior-octave-completion-at-point):
11549 Restore file completion. (Bug#14300)
11550 (inferior-octave-startup): Fix incorrect highlighting for the
11553 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11555 * progmodes/ruby-mode.el: First cut at SMIE support.
11556 (ruby-use-smie): New var.
11557 (ruby-smie-grammar): New constant.
11558 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11559 (ruby-smie--forward-token, ruby-smie--backward-token)
11560 (ruby-smie-rules): New functions.
11561 (ruby-mode-variables): Setup SMIE if applicable.
11563 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11565 * simple.el (line-move-visual): Signal beginning/end of buffer
11566 only if vertical-motion moved less than it was requested. Avoids
11567 silly incorrect error messages when there are display strings with
11568 multiple newlines at EOL.
11570 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11572 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11573 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11574 (prolog-char-quote-workaround):
11575 * progmodes/cperl-mode.el (cperl-under-as-char):
11576 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11578 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11580 (vhdl-mode-syntax-table-init): Remove.
11582 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11585 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11587 (ld-script-font-lock-keywords):
11588 Change regexps to use things like \_< and \_>.
11590 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11591 Change all regexps to use things like \_< and \_>.
11593 * progmodes/autoconf.el (autoconf-definition-regexp)
11594 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11595 Handle a _ with symbol syntax.
11596 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11598 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11599 Consolidate declaration.
11600 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11602 (ada-create-syntax-table): Remove.
11603 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11604 already has the right syntax nowadays.
11605 (ada-goto-next-word): Don't change the syntax of "_".
11607 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11610 2013-05-08 Sam Steingold <sds@gnu.org>
11612 * thingatpt.el (thing-at-point): Accept optional second argument
11613 NO-PROPERTIES to strip the text properties from the return value.
11614 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11615 to `thing-at-point' instead of stripping the properties ourselves.
11616 Also, when `thing-at-point' fails to find a url, prepend "http://"
11617 to the filename at point on the assumption that the user is
11618 pointing at something like gnu.org/gnu.
11620 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11622 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11623 * faces.el (crm-separator):
11624 Silence byte-compiler.
11626 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11627 (tool-bar-map): Remove unneeded defvars.
11629 2013-05-08 Leo Liu <sdl.web@gmail.com>
11631 Re-work a fix for bug#10994 based on Le Wang's patch.
11632 * ido.el (ido-remove-consecutive-dups): New helper.
11633 (ido-completing-read): Use it.
11634 (ido-chop): Revert fix for bug#10994.
11636 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11638 * cus-edit.el (custom-save-variables):
11639 Pretty-print long values. (Bug#14187)
11641 2013-05-08 Glenn Morris <rgm@gnu.org>
11643 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11644 (m4-mode-syntax-table): Init in the defvar.
11645 (m4-mode-abbrev-table): Let define-derived-mode define it.
11647 2013-05-08 Tom Tromey <tromey@redhat.com>
11649 * progmodes/m4-mode.el (m4-mode-syntax-table):
11650 Do not treat "_" as word constituent. (Bug#14167)
11652 2013-05-07 Glenn Morris <rgm@gnu.org>
11654 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11655 Remove explicit eshell-isearch-cancel-map.
11657 * progmodes/f90.el (f90-smart-end-names): New option.
11658 (f90-smart-end): Doc fix.
11659 (f90-end-block-optional-name): New constant.
11660 (f90-block-match): Respect f90-smart-end-names.
11662 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11664 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11665 about implicit semi-colons (bug#14218).
11667 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11669 * frame.el (display-monitor-attributes-list)
11670 (frame-monitor-attributes): New functions.
11672 2013-05-06 Leo Liu <sdl.web@gmail.com>
11674 * progmodes/octave.el (octave-syntax-propertize-function): Change
11675 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11676 (octave-font-lock-keywords): Use octave-operator-regexp.
11677 (octave-completion-at-point): Rename from
11678 octave-completion-at-point-function.
11679 (inferior-octave-directory-tracker): Robustify.
11680 (octave-text-functions): Remove and fix its uses. No such things
11683 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11685 * emacs-lisp/trace.el (trace--display-buffer): New function.
11686 (trace-make-advice): Use it.
11688 2013-05-06 Juri Linkov <juri@jurta.org>
11690 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11691 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11693 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11694 in the help string. (Bug#12985)
11696 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11698 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11700 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11702 * progmodes/perl-mode.el: Add support for here documents.
11703 (perl-syntax-propertize-function): Match here-doc markers.
11704 (perl-syntax-propertize-special-constructs): Find their end.
11705 (perl-imenu-generic-expression): Use [:alnum:].
11707 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11708 (advice--add-function): Refresh the advice if already present
11711 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11713 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11715 2013-05-06 Glenn Morris <rgm@gnu.org>
11717 * w32-fns.el (w32-charset-info-alist): Declare.
11719 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11720 of its defcustom properties.
11721 (eshell-cmpl-initialize): No need to load pcomplete.
11723 * generic-x.el: No need to require comint when compiling.
11725 * net/eudc-export.el: Make it loadable without bbdb.
11726 (top-level): Use require rather than load-library.
11727 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11728 (eudc-batch-export-records-to-bbdb)
11729 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11732 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11734 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11735 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11736 some tweaks, instead.
11738 2013-05-05 Leo Liu <sdl.web@gmail.com>
11740 * progmodes/octave.el (octave-font-lock-keywords)
11741 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11742 (inferior-octave-send-list-and-digest): Improve error message.
11743 (octave-mode, inferior-octave-mode): Use setq-local.
11744 (octave-help): Set info-lookup-mode.
11746 2013-05-05 Richard Stallman <rms@gnu.org>
11748 * vc/compare-w.el (compare-windows-whitespace):
11749 Treat no-break space as whitespace.
11751 * mail/rmailsum.el (rmail-summary-rmail-update):
11752 Detect empty summary and don't change selected message.
11753 (rmail-summary-goto-msg): Likewise.
11755 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11756 Doc fixes, rename args.
11758 2013-05-05 Alan Mackenzie <acm@muc.de>
11760 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11762 2013-05-05 Juri Linkov <juri@jurta.org>
11764 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11765 to not add the length of the summary segment to the return value.
11768 2013-05-05 Leo Liu <sdl.web@gmail.com>
11770 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11771 (inferior-octave-output-filter): Remove.
11772 (octave-send-region, inferior-octave-startup): Fix callers.
11773 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11774 (octave-binary-file-extensions): New user variable.
11775 (octave-find-definition): Confirm if opening binary files.
11776 (octave-help-file): Use octave-find-definition to get the binary
11778 (octave-help): Adjust for octave-help-file change.
11780 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11782 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11783 Merge the two entries that handle function definitions.
11784 (pascal--syntax-propertize): New const.
11785 (pascal-mode): Use it. Use setq-local.
11787 2013-05-04 Glenn Morris <rgm@gnu.org>
11789 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11790 (diary-from-outlook): Respect diary-from-outlook-function.
11792 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11794 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11795 Move the declaration from C.
11796 (read-minibuffer, eval-minibuffer): Move from C.
11797 (completion-setup-function): Avoid minibuffer-completion-contents.
11799 2013-05-03 Leo Liu <sdl.web@gmail.com>
11801 * progmodes/octave.el (octave-font-lock-keywords): Do not
11802 dehighlight 'end' in comments or strings.
11803 (octave-completing-read, octave-goto-function-definition):
11805 (octave-help-buffer): New user variable.
11806 (octave-help-file, octave-help-function): New button types.
11807 (octave-help): New command and bind it to C-h ;.
11808 (octave-find-definition): New command and bind it to M-.
11809 (user-error): Alias to error if not defined.
11811 2013-05-02 Leo Liu <sdl.web@gmail.com>
11813 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11815 (octave-font-lock-keywords): Include [ and {.
11817 2013-05-02 Leo Liu <sdl.web@gmail.com>
11819 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11820 (inferior-octave): Remove calling comint-mode and return the buffer.
11821 (inferior-octave-startup): Cosmetic changes.
11823 2013-05-02 Leo Liu <sdl.web@gmail.com>
11825 * progmodes/octave.el (octave-syntax-propertize-function):
11826 Include the case when ' is at line beginning. (Bug#14336)
11828 2013-05-02 Glenn Morris <rgm@gnu.org>
11830 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11831 * desktop.el (vc-dir-mode): Just autoload it here.
11833 2013-05-02 Alan Mackenzie <acm@muc.de>
11835 Eliminate variable c-standard-font-lock-fontify-region-function.
11836 * progmodes/cc-mode.el
11837 (c-standard-font-lock-fontify-region-function): Remove.
11838 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11840 2013-05-01 Leo Liu <sdl.web@gmail.com>
11842 * progmodes/octave.el: Compatible with older emacs-24 releases.
11843 (inferior-octave-has-built-in-variables): Remove. Built-in
11844 variables were removed from Octave in 2007.
11845 (inferior-octave-startup): Fix uses.
11846 (comint-line-beginning-position): Remove compatibility code for
11849 2013-05-01 Juri Linkov <juri@jurta.org>
11851 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11853 2013-05-01 Juri Linkov <juri@jurta.org>
11855 * comint.el (comint-previous-matching-input): Don't print message
11856 "History item: %d" when `isearch-mode' is active.
11857 (comint-history-isearch-message): Print message "History item: %d"
11858 when `comint-input-ring-index' is not empty and this function is
11859 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11861 2013-05-01 Leo Liu <sdl.web@gmail.com>
11863 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11864 definitions. Use completion-at-point to insert keywords.
11865 (octave-abbrev-start): Remove.
11866 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11868 2013-04-30 Leo Liu <sdl.web@gmail.com>
11870 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11873 2013-04-30 Alan Mackenzie <acm@muc.de>
11875 Handle arbitrarily long C++ member initialisation lists.
11876 * progmodes/cc-engine.el (c-back-over-member-initializers):
11878 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11879 (most) member init lists.
11881 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11883 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11886 2013-04-30 Leo Liu <sdl.web@gmail.com>
11888 * progmodes/octave.el (octave-variables): Remove. No builtin
11889 variables any more. All converted to functions.
11890 (octave-font-lock-keywords, octave-completion-at-point-function):
11892 (octave-font-lock-texinfo-comment): New user variable.
11893 (octave-texinfo-font-lock-keywords): New variable for texinfo
11895 (octave-function-comment-block): New face.
11896 (octave-font-lock-texinfo-comment): New function.
11897 (octave-mode): Font lock texinfo comment block.
11899 2013-04-29 Leo Liu <sdl.web@gmail.com>
11901 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11902 indexing expression.
11903 (octave-continuation-string): Do not use \.
11904 (inferior-octave-complete-impossible): Remove.
11905 (inferior-octave-completion-table)
11906 (inferior-octave-completion-at-point): Remove its uses.
11907 (inferior-octave-startup): completion_matches was introduced to
11908 Octave in 1996 so safe to assume it.
11909 (octave-function-file-comment): Improve to follow how Octave does it.
11910 (octave-update-function-file-comment): Tweak.
11912 2013-04-29 Leo Liu <sdl.web@gmail.com>
11914 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11915 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11916 (octave-function-file-comment): Fix typo.
11917 (octave-sync-function-file-names): Use read-char-choice.
11919 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11921 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11922 to t for the less important warnings.
11924 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11926 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11928 2013-04-27 Glenn Morris <rgm@gnu.org>
11930 * vc/log-view.el (log-view-current-entry):
11931 Treat "---" separator lines as part of the following rev. (Bug#14169)
11933 2013-04-27 Juri Linkov <juri@jurta.org>
11935 * subr.el (read-number): Doc fix about using it by interactive
11936 code letter `n'. (Bug#14254)
11938 2013-04-27 Juri Linkov <juri@jurta.org>
11940 * desktop.el (desktop-auto-save-timeout): New option.
11941 (desktop-file-checksum): New variable.
11942 (desktop-save): Add optional arg `auto-save' and don't auto-save
11943 if nothing changed.
11944 (desktop-auto-save-timer): New variable.
11945 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11946 (after-init-hook): Call `desktop-auto-save-set-timer'.
11947 Suggested by Reuben Thomas <rrt@sc3d.org> in
11948 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11950 2013-04-27 Leo Liu <sdl.web@gmail.com>
11952 * progmodes/octave.el (octave-function-file-p)
11953 (octave-skip-comment-forward, octave-function-file-comment)
11954 (octave-update-function-file-comment): New functions.
11955 (octave-mode-map): Bind C-c ; to
11956 octave-update-function-file-comment.
11957 (octave-mode-menu): Add octave-update-function-file-comment.
11958 (octave-mode, inferior-octave-mode): Fix doc-string.
11959 (octave-insert-defun): Conform to Octave's coding convention.
11962 * files.el (basic-save-buffer): Don't let errors in
11963 before-save-hook prevent saving buffer.
11965 2013-04-20 Roland Winkler <winkler@gnu.org>
11967 * faces.el (read-face-name): Use completing-read if arg multiple
11970 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11972 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11973 displayed, move point to after the totals line.
11974 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11977 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11979 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11980 Add current dir to the load-path.
11981 (package-generate-autoloads): Don't rely on
11982 autoload-ensure-default-file.
11984 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11986 * textmodes/remember.el (remember-store-in-files): Document that
11987 the file name format is passed to `format-time-string'.
11989 2013-04-26 Leo Liu <sdl.web@gmail.com>
11991 * progmodes/octave.el (octave-sync-function-file-names): New function.
11992 (octave-mode): Use it in before-save-hook.
11994 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11996 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11999 * progmodes/octave.el (octave-smie-forward-token): Properly skip
12000 \n and comment, even if it's not an implicit ; (bug#14218).
12002 2013-04-26 Glenn Morris <rgm@gnu.org>
12004 * subr.el (read-number): Once more use `read' rather than
12005 `string-to-number', to trap non-numeric input. (Bug#14254)
12007 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
12009 * emacs-lisp/syntax.el (syntax-propertize-multiline):
12010 Use `syntax-multiline' text property consistently instead of
12011 `font-lock-multiline'. (Bug#14237)
12013 2013-04-26 Glenn Morris <rgm@gnu.org>
12015 * emacs-lisp/shadow.el (list-load-path-shadows):
12016 No longer necessary to check for duplicate simple.el, since
12017 2012-07-07 change to init_lread to not include installation lisp
12018 directories in load-path when running uninstalled. (Bug#14270)
12020 2013-04-26 Leo Liu <sdl.web@gmail.com>
12022 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
12023 (octave-mode, inferior-octave-mode): Use setq-local.
12024 (octave-not-in-string-or-comment-p): Rename to
12025 octave-in-string-or-comment-p.
12026 (octave-in-comment-p, octave-in-string-p)
12027 (octave-in-string-or-comment-p): Replace defsubst with defun.
12029 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
12031 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
12033 2013-04-25 Bastien Guerry <bzg@gnu.org>
12035 * textmodes/remember.el (remember-data-directory)
12036 (remember-directory-file-name-format): Fix custom types.
12038 2013-04-25 Leo Liu <sdl.web@gmail.com>
12040 * progmodes/octave.el (octave-completion-at-point-function):
12041 Make use of inferior octave process.
12042 (octave-initialize-completions): Remove.
12043 (inferior-octave-completion-table): New function.
12044 (inferior-octave-completion-at-point): Use it.
12045 (octave-completion-alist): Remove.
12047 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12049 * progmodes/opascal.el: Use font-lock and syntax-propertize.
12050 (opascal-mode-syntax-table): New var.
12051 (opascal-literal-kind, opascal-is-literal-end)
12052 (opascal-literal-token-at): Rewrite.
12053 (opascal--literal-start-re, opascal-font-lock-keywords)
12054 (opascal--syntax-propertize): New constants.
12055 (opascal-font-lock-defaults): Adjust.
12056 (opascal-mode): Use them. Set comment-<foo> variables as well.
12057 (delphi-comment-face, opascal-comment-face, delphi-string-face)
12058 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
12059 (delphi-other-face, opascal-other-face): Remove face variables.
12060 (opascal-save-state): Remove macro.
12061 (opascal-fontifying-progress-step): Remove constant.
12062 (opascal--ignore-changes): Remove var.
12063 (opascal-set-token-property, opascal-parse-next-literal)
12064 (opascal-is-stable-literal, opascal-complete-literal)
12065 (opascal-is-literal-start, opascal-face-of)
12066 (opascal-parse-region, opascal-parse-region-until-stable)
12067 (opascal-fontify-region, opascal-after-change)
12068 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
12069 (opascal-debug-parse-region, opascal-debug-parse-window)
12070 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
12071 (opascal-debug-fontify-buffer): Remove.
12072 (opascal-debug-mode-map): Adjust accordingly.
12074 2013-04-25 Leo Liu <sdl.web@gmail.com>
12076 Merge octave-mod.el and octave-inf.el into octave.el with some
12078 * progmodes/octave.el: New file renamed from octave-mod.el.
12079 * progmodes/octave-inf.el: Merged into octave.el.
12080 * progmodes/octave-mod.el: Renamed to octave.el.
12082 2013-04-25 Tassilo Horn <tsdh@gnu.org>
12084 * textmodes/reftex-vars.el
12085 (reftex-label-ignored-macros-and-environments): New defcustom.
12087 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
12089 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
12091 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
12092 (smie-indent-keyword): Improve the check to ensure that the next
12093 comment is really on the same line.
12094 (smie-indent-comment): Don't align with a subsequent closer (or eob).
12096 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
12097 semi-colons if the line is not otherwise empty (bug#14218).
12099 2013-04-25 Glenn Morris <rgm@gnu.org>
12101 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12103 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12105 * progmodes/opascal.el (opascal-set-token-property): Rename from
12106 opascal-set-text-properties and only set `token' (bug#14134).
12107 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12108 (opascal-literal-text-properties): Remove.
12109 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12112 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12114 * textmodes/remember.el (remember-handler-functions): Add an
12115 option for a new handler `remember-store-in-files'.
12116 (remember-data-directory, remember-directory-file-name-format):
12118 (remember-store-in-files): New function to store remember notes
12119 as separate files within a directory.
12121 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12123 * progmodes/compile.el (compilation-next-error-function):
12124 Pass "formats" to compilation-find-file (bug#11777).
12126 2013-04-24 Glenn Morris <rgm@gnu.org>
12128 * vc/vc-bzr.el (vc-bzr-print-log):
12129 * vc/vc-hg.el (vc-hg-print-log):
12130 * vc/vc-svn.el (vc-svn-print-log):
12131 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12133 * vc/vc-bzr.el (vc-bzr-print-log):
12134 * vc/vc-cvs.el (vc-cvs-print-log):
12135 * vc/vc-git.el (vc-git-print-log):
12136 * vc/vc-hg.el (vc-hg-print-log):
12137 * vc/vc-mtn.el (vc-mtn-print-log):
12138 * vc/vc-rcs.el (vc-rcs-print-log):
12139 * vc/vc-sccs.el (vc-sccs-print-log):
12140 * vc/vc-svn.el (vc-svn-print-log):
12141 * vc/vc.el (vc-print-log-internal): Doc fixes.
12143 2013-04-23 Glenn Morris <rgm@gnu.org>
12145 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12146 Remove venerable code attempting to avoid substitute-command-keys.
12148 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12150 * textmodes/reftex-vars.el (reftex-label-regexps):
12151 Call `reftex-compile-variables' after changes to this variable.
12153 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12155 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12156 Use lexical-binding.
12157 (jit-lock-force-redisplay): Use markers, check buffer's continued
12158 existence and beware narrowed buffers.
12159 (jit-lock-fontify-now): Adjust call accordingly.
12161 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12163 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12164 to avoid misleading the user.
12166 2013-04-22 Leo Liu <sdl.web@gmail.com>
12168 * info-look.el: Prefer latex2e.info. (Bug#14240)
12170 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12172 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12174 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12175 * net/tramp.el (tramp-call-process): ... here.
12176 (tramp-set-completion-function, tramp-parse-putty):
12177 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12178 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12179 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12180 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12181 (tramp-call-local-coding-command): Use `tramp-call-process'
12182 instead of `tramp-compat-call-process'.
12184 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12185 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12186 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12187 (tramp-find-inline-compress): Improve traces.
12188 (tramp-maybe-send-script): Check for Perl binary.
12189 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12191 2013-04-22 Daiki Ueno <ueno@gnu.org>
12193 * epg.el (epg-context-pinentry-mode): New function.
12194 (epg-context-set-pinentry-mode): New function.
12195 (epg--start): Pass --pinentry-mode option to gpg command.
12197 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12199 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12200 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12201 `completion-at-point'. (Bug#13774)
12203 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12204 default key binding for `describe-distribution' has been moved to
12205 `C-h C-o'. (Bug#13970)
12207 2013-04-21 Glenn Morris <rgm@gnu.org>
12209 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12211 (vc-print-log): Clarify interactive prompt.
12213 2013-04-20 Glenn Morris <rgm@gnu.org>
12215 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12216 No longer include timestamp etc information.
12218 2013-04-20 Roland Winkler <winkler@gnu.org>
12220 * faces.el (read-face-name): Bug fix, return just one face if arg
12221 multiple is nil. (Bug#14209)
12223 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12225 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12226 (remove-function): Autoload.
12228 * comint.el (comint-redirect-original-filter-function): Remove.
12229 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12230 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12231 (vc-cvs-annotate-command):
12232 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12233 * progmodes/prolog.el (prolog-consult-compile):
12234 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12235 Use add/remove-function instead.
12236 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12237 (gud-tooltip-process-output, gud-tooltip-tips):
12238 Use add/remove-function instead.
12239 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12240 (scheme-interaction-mode, exit-scheme-interaction-mode):
12241 Use add/remove-function instead.
12243 * vc/vc-dispatcher.el: Use lexical-binding.
12244 (vc--process-sentinel): Rename from vc-process-sentinel.
12245 Change last arg to be the code to run. Don't use vc-previous-sentinel
12246 and vc-sentinel-commands any more.
12247 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12248 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12250 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12252 * progmodes/sh-script.el (sh-imenu-generic-expression):
12253 Handle function names with a single character. (Bug#14111)
12255 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12257 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12258 for subroutines defined in an eval (bug#14182).
12260 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12262 * bookmark.el (bookmark-completing-read): Improve handling of empty
12263 string (bug#14176).
12265 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12267 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12269 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12271 New faster Imenu implementation (bug#14058).
12272 * progmodes/python.el:
12273 (python-imenu-prev-index-position):
12274 (python-imenu-format-item-label-function)
12275 (python-imenu-format-parent-item-label-function)
12276 (python-imenu-format-parent-item-jump-label-function):
12278 (python-imenu-format-item-label)
12279 (python-imenu-format-parent-item-label)
12280 (python-imenu-format-parent-item-jump-label)
12281 (python-imenu--put-parent, python-imenu--build-tree)
12282 (python-imenu-create-index, python-imenu-create-flat-index)
12283 (python-util-popn): New functions.
12284 (python-mode): Set imenu-create-index-function to
12285 python-imenu-create-index.
12287 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12289 * winner.el (winner-active-region): Use region-active-p, activate-mark
12290 and deactivate-mark (bug#14225).
12292 * simple.el (deactivate-mark): Don't inline it.
12294 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12296 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12298 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12300 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12301 file extensions from the archive-mode entry in order to prefer
12302 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12304 2013-04-18 Leo Liu <sdl.web@gmail.com>
12306 * bindings.el (help-event-list): Add ?\?.
12308 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12310 * subr.el (with-wrapper-hook): Declare obsolete.
12311 * simple.el (filter-buffer-substring-function): New hook.
12312 (filter-buffer-substring): Use it.
12313 (filter-buffer-substring-functions): Mark obsolete.
12314 * minibuffer.el (completion-in-region-function): New hook.
12315 (completion-in-region): Use it.
12316 (completion-in-region-functions): Mark obsolete.
12317 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12318 * abbrev.el (abbrev-expand-function): New hook.
12319 (expand-abbrev): Use it.
12320 (abbrev-expand-functions): Mark obsolete.
12321 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12322 and :filter-return.
12324 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12326 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12327 and do not care about match data.
12329 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12331 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12332 completion tables when completing error conditions and
12333 `declare' arguments.
12334 (lisp-complete-symbol, field-complete): Mark as obsolete.
12335 (check-parens): Unmatched parens are user errors.
12336 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12338 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12340 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12341 command changed buffer (ie. `flyspell-pre-buffer' is not current
12342 buffer), which prevents making decisions based on invalid value of
12343 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12344 cause an error when `flyspell-pre-point' was nil after switching
12346 (flyspell-post-command-hook): No longer needs to change buffers when
12347 checking pre-word. While at it remove unnecessary progn.
12349 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12351 * textmodes/ispell.el (ispell-add-per-file-word-list):
12352 Fix `flyspell-correct-word-before-point' error when accepting
12353 words and `coment-padding' is an integer by using
12354 `comment-normalize-vars' (Bug #14214).
12356 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12358 New defun movement commands.
12359 * progmodes/python.el (python-nav--syntactically)
12360 (python-nav--forward-defun, python-nav-backward-defun)
12361 (python-nav-forward-defun): New functions.
12363 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12365 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12366 (python-syntax-context): Use named compiler-macro for backwards
12367 compatibility with Emacs 24.x.
12369 2013-04-17 Leo Liu <sdl.web@gmail.com>
12371 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12372 octave-hide-process-buffer.
12374 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12376 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12379 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12381 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12382 Fix adjustment of offset when receiving incomplete responses from GDB
12385 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12387 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12388 python-mode-abbrev-table.
12389 (python-skeleton-define): Adjust accordingly.
12390 (python-mode-abbrev-table): New table that inherits from it so that
12391 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12393 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12394 (abbrev-symbol): Use it.
12395 (abbrev--before-point): Use it since we already handle inheritance.
12397 2013-04-16 Leo Liu <sdl.web@gmail.com>
12399 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12400 binding to info-lookup-symbol.
12402 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12404 * minibuffer.el (completion--twq-all):
12405 * term/ns-win.el (ns-initialize-window-system):
12406 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12408 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12410 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12413 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12415 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12417 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12418 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12420 (ruby-end-of-defun): Remove the unused arg, change the docstring
12421 to reflect that this function is only used as the value of
12422 `end-of-defun-function'.
12423 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12424 to reflect an earlier change that beginning/end-of-defun functions
12425 jump between methods in a class definition, as well as top-level
12428 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12430 * minibuffer.el (minibuffer-complete): Don't just scroll
12431 a *Completions* that's been iconified.
12432 (minibuffer-force-complete): Make sure repetitions do cycle when going
12433 through completion-in-region -> minibuffer-complete.
12435 2013-04-15 Alan Mackenzie <acm@muc.de>
12437 Correct the placement of c-cpp-delimiters when there're #s not at
12440 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12441 place a submatch around the #.
12442 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12443 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12446 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12448 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12449 (advice--member-p): New arg `name'.
12450 (advice--add-function, advice-member-p): Use it (bug#14202).
12452 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12454 Reformulate java imenu-generic-expression.
12455 The old expression contained ill formed regexps.
12457 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12458 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12459 (cc-imenu-java-method-arg-regexp): New defconsts.
12460 (cc-imenu-java-build-type-args-regex): New defun.
12461 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12462 handling of spaces in the regexp.
12464 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12466 * textmodes/ispell.el (ispell-command-loop): Remove
12467 flyspell highlight of a word when ispell accepts it (bug #14178).
12469 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12471 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12472 uses code from the previous `ange-ftp-run-real-handler'.
12473 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12474 only in case that function exist. This is needed for proper
12475 unloading of Tramp.
12477 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12479 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12481 * textmodes/reftex.el (reftex-compile-variables): Use it.
12483 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12485 * files.el (normal-mode): Only use default major-mode if no other mode
12488 * emacs-lisp/trace.el (trace-values): New function.
12490 * files.el: Allow : in local variables (bug#14089).
12491 (hack-local-variable-regexp): New var.
12492 (hack-local-variables-prop-line, hack-local-variables): Use it.
12494 2013-04-13 Roland Winkler <winkler@gnu.org>
12496 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12497 data before it gets modified by bibtex-beginning-of-entry.
12499 2013-04-13 Roland Winkler <winkler@gnu.org>
12501 * textmodes/bibtex.el (bibtex-url): Doc fix.
12503 2013-04-13 Roland Winkler <winkler@gnu.org>
12505 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12506 does not visit a BibTeX file, exclude it from the list of buffers
12507 returned by bibtex-initialize.
12509 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12511 * window.el (split-window): Remove interactive form, since as a
12512 command this function is a special case of split-window-below.
12513 Correct doc string.
12515 2013-04-12 Roland Winkler <winkler@gnu.org>
12517 * faces.el (read-face-name): Do not override value of arg default.
12518 Allow single faces and strings as default values. Remove those
12519 elements from return value that are not faces.
12520 (describe-face): Simplify.
12521 (face-at-point): New optional args thing and multiple so that this
12522 function can provide the same functionality previously provided by
12524 (make-face-bold, make-face-unbold, make-face-italic)
12525 (make-face-unitalic, make-face-bold-italic, invert-face)
12526 (modify-face, read-face-and-attribute): Use face-at-point.
12528 * cus-edit.el (customize-face, customize-face-other-window)
12529 * cus-theme.el (custom-theme-add-face)
12530 * face-remap.el (buffer-face-set)
12531 * facemenu.el (facemenu-set-face): Use face-at-point.
12533 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12535 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12537 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12539 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12540 off leading { and trailing } from field values.
12542 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12544 * emacs-lisp/timer.el (timer--check): New function.
12545 (timer--time, timer-set-function, timer-event-handler): Use it.
12546 (timer-set-idle-time): Simplify.
12547 (timer--activate): CSE.
12548 (timer-event-handler): Give more info in error message.
12549 (internal-timer-start-idle): New function, moved from C.
12551 * mpc.el (mpc-proc): Add `restart' argument.
12552 (mpc-proc-cmd): Use it.
12553 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12554 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12557 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12559 * progmodes/sh-script.el: Implement `sh-mode' own
12560 `add-log-current-defun-function' (bug#14112).
12561 (sh-current-defun-name): New function.
12562 (sh-mode): Use the function.
12564 2013-04-09 Bastien Guerry <bzg@gnu.org>
12566 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12568 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12570 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12572 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12575 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12577 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12580 2013-04-07 Leo Liu <sdl.web@gmail.com>
12582 * pcmpl-x.el: New file.
12584 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12586 Do not set x-display-name until X connection is established.
12587 This is needed to prevent from weird situation described at
12588 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12589 * frame.el (make-frame): Set x-display-name after call to
12590 window system initialization function, not before.
12591 * term/x-win.el (x-initialize-window-system): Add optional
12592 display argument and use it.
12593 * term/w32-win.el (w32-initialize-window-system):
12594 * term/ns-win.el (ns-initialize-window-system):
12595 * term/pc-win.el (msdos-initialize-window-system):
12596 Add compatible optional display argument.
12598 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12600 * files.el (normal-backup-enable-predicate): On MS-Windows and
12601 MS-DOS compare truenames of temporary-file-directory and of the
12602 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12603 don't fail comparison by compare-strings. Also, compare file
12604 names case-insensitively on MS-Windows and MS-DOS.
12606 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12608 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12609 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12611 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12613 * whitespace.el (whitespace-color-on, whitespace-color-off):
12614 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12616 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12618 * ispell.el (ispell-set-spellchecker-params):
12619 Really set `ispell-args' for all equivs.
12621 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12623 * ido.el (ido-completions): Use extra elements of ido-decorations
12625 (ido-decorations): Update docstring.
12627 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12629 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12630 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12631 nil during initialization, in order not to miss changes since the
12632 file was opened. (Bug#14140)
12634 2013-04-05 Leo Liu <sdl.web@gmail.com>
12636 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12638 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12640 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12642 2013-04-04 Glenn Morris <rgm@gnu.org>
12644 * electric.el (electric-pair-inhibit-predicate): Add :version.
12646 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12648 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12649 when a package is required several times (bug#14082).
12651 2013-04-04 Roland Winkler <winkler@gnu.org>
12653 * faces.el (read-face-name): Behave as promised by the docstring.
12654 Assume that arg default is a list of faces.
12655 (describe-face): Call read-face-name with list of default faces.
12657 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12659 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12660 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12661 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12663 (bookmark-exit-hook-internal): Save even if list is empty.
12665 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12667 * emacs-lisp/package.el (package-pinned-packages): New var.
12668 (package--add-to-archive-contents): Obey it (bug#14118).
12670 2013-04-03 Alan Mackenzie <acm@muc.de>
12672 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12673 Also adapt to the new values of element 7 of a parse state.
12675 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12676 parameter `not-in-delimiter'. Handle being inside comment opener.
12677 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12678 character in case we're typing a '*' after a '/'.
12679 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12680 instead by passing the parameter to c-state-pp-to-literal.
12682 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12683 for elt. 7 of a parse state.
12685 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12687 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12688 * international/latin1-disp.el, international/mule-util.el:
12689 * language/cyril-util.el, language/european.el, language/ind-util.el:
12690 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12691 * language/tibetan.el, language/viet-util.el:
12692 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12694 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12696 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12697 (electric-pair-post-self-insert-function): Use it.
12698 (electric-pair-default-inhibit): New function, extracted from
12699 electric-pair-post-self-insert-function.
12701 2013-03-31 Roland Winkler <winkler@gnu.org>
12703 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12705 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12707 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12709 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12711 Un-indent after "pass" and "return" statements (Bug#13888)
12712 * progmodes/python.el (python-indent-block-enders): New var.
12713 (python-indent-calculate-indentation): Use it.
12715 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12717 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12718 defun. Defining it as defalias could introduce too eager
12719 byte-compiler optimization. (Bug#14030)
12721 2013-03-30 Chong Yidong <cyd@gnu.org>
12723 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12725 2013-03-30 Leo Liu <sdl.web@gmail.com>
12727 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12728 (kmacro-execute-from-register): Pass the keyboard macro to
12729 kmacro-call-macro or repeating won't work correctly.
12731 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12733 * progmodes/subword.el: Back to using `forward-symbol'.
12735 * subr.el (forward-whitespace, forward-symbol)
12736 (forward-same-syntax): Move from thingatpt.el.
12738 2013-03-29 Leo Liu <sdl.web@gmail.com>
12740 * kmacro.el (kmacro-to-register): New command.
12741 (kmacro-execute-from-register): New function.
12742 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12744 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12746 * mpc.el: Use defvar-local and setq-local.
12747 (mpc--proc-connect): Connection failures are not bugs.
12748 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12749 (mpc-volume-map): Bind to the up-events.
12751 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12753 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12754 instead of `forward-symbol'.
12756 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12758 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12759 (edebug--recursive-edit): Use it.
12760 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12761 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12763 2013-03-28 Leo Liu <sdl.web@gmail.com>
12765 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12767 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12769 * facemenu.el (list-colors-callback): New defvar.
12770 (list-colors-redisplay): New function.
12771 (list-colors-display): Install list-colors-redisplay as the
12772 revert-buffer-function. (Bug#14063)
12774 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12776 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12777 and suffixes don't overlap (bug#14061).
12779 * case-table.el: Use lexical-binding.
12780 (case-table-get-table): New function.
12781 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12783 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12785 * progmodes/subword.el: Add `superword-mode' to do word motion
12786 over symbol_words (parallels and leverages `subword-mode' which
12787 does word motion inside MixedCaseWords).
12789 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12791 * eshell/em-unix.el: Move su and sudo to...
12792 * eshell/em-tramp.el: ...Eshell tramp module.
12794 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12796 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12797 Change return value to be a sexp. Delay `get-buffer' to after
12798 restoring the desktop (bug#13951).
12800 2013-03-26 Leo Liu <sdl.web@gmail.com>
12802 * register.el: Move semantic tag handling back to
12803 cedet/semantic/senator.el. (Bug#14052)
12805 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12807 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12808 into the prompt either (bug#13963).
12810 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12812 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12813 part of "(error-foo)".
12815 2013-03-24 Juri Linkov <juri@jurta.org>
12817 * replace.el (list-matching-lines-prefix-face): New defcustom.
12818 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12819 `occur-engine' if `face-differs-from-default-p' returns t.
12820 (occur-engine): Add `,' inside backquote construct to evaluate
12821 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12822 Pass `prefix-face' to the functions `occur-context-lines' and
12823 `occur-engine-add-prefix'.
12824 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12825 `prefix-face' and propertize the prefix with `prefix-face'.
12828 2013-03-24 Leo Liu <sdl.web@gmail.com>
12830 * nxml/rng-valid.el (rng-validate-while-idle)
12831 (rng-validate-quick-while-idle): Guard against deleted buffer.
12834 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12835 is the last entry in kill-buffer-hook.
12837 * files.el (kill-buffer-hook): Doc fix.
12839 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12841 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12842 Make it safe-local.
12844 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12846 2013-03-23 Leo Liu <sdl.web@gmail.com>
12848 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12851 * nxml/rng-valid.el (rng-validate-mode)
12852 (rng-after-change-function, rng-do-some-validation):
12853 * nxml/rng-maint.el (rng-validate-buffer):
12854 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12855 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12856 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12857 (nxml-extend-after-change-region): Use with-silent-modifications.
12859 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12862 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12863 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12864 timer-idle-list. (Bug#13999)
12866 2013-03-23 Juri Linkov <juri@jurta.org>
12868 * info.el (info-index-match): New face.
12869 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12870 main pattern and add text properties with the new face to matches
12871 in index entries relative to the beginning of the index entry.
12874 2013-03-21 Eric Ludlam <zappo@gnu.org>
12876 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12877 Inhibit read only while inserting objects.
12879 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12881 * progmodes/cfengine.el: Update docs to mention
12882 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12883 symbol motion. Remove "_" from the word syntax.
12885 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12887 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12888 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12890 2013-03-20 Juri Linkov <juri@jurta.org>
12892 * info.el (Info-next-reference-or-link)
12893 (Info-prev-reference-or-link): New functions.
12894 (Info-next-reference, Info-prev-reference): Use them.
12895 (Info-try-follow-nearest-node): Handle footnote navigation.
12896 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12898 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12900 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12901 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12903 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12905 Suppress unnecessary non-ASCII chatter during build process.
12906 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12907 (batch-skkdic-convert): Suppress most of the chatter.
12908 It's not needed so much now that machines are faster,
12909 and its non-ASCII component was confusing; see Dmitry Gutov in
12910 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12912 2013-03-20 Leo Liu <sdl.web@gmail.com>
12914 * ido.el (ido-chop): Fix bug#10994.
12916 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12918 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12920 (whitespace-color-on, whitespace-color-off):
12921 Use `font-lock-fontify-buffer' (Bug#13817).
12923 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12925 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12926 remapping in mode-line.
12927 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12929 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12931 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12932 value for `whitespace-line' face (Bug#13875).
12933 (whitespace-font-lock-keywords): Change description.
12934 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12935 the constructed keywords instead.
12936 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12938 2013-03-19 Leo Liu <sdl.web@gmail.com>
12940 * progmodes/compile.el (compilation-display-error): New command.
12941 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12944 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12946 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12948 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12950 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12952 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12954 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12956 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12957 * net/tramp-gvfs.el (top):
12958 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12959 (tramp-handle-shell-command): Use it.
12960 (tramp-dissect-file-name): Raise an error when hostname is a
12961 method name, and neither method nor user is specified.
12963 * net/trampver.el: Update release number.
12965 2013-03-18 Leo Liu <sdl.web@gmail.com>
12967 Make sure eldoc can be turned off properly.
12968 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12970 (eldoc-display-message-p): Revert last change.
12971 (eldoc-display-message-no-interference-p)
12972 (eldoc-print-current-symbol-info): Tweak.
12974 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12976 * doc-view.el (doc-view-new-window-function): Check the new window
12977 overlay's display property instead the char property of the
12978 buffer's first char. Use `with-selected-window' instead of
12979 `save-window-excursion' with `select-window'.
12980 (doc-view-document->bitmap): Check the current doc-view overlay's
12981 display property instead the char property of the buffer's first char.
12983 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12985 Automate the build of ja-dic.el (Bug#13984).
12986 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12987 from the input, rather than assume that it's been done for us by the
12988 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12989 the current date into a ja-dic.el comment, as that complicates
12990 regression testing.
12992 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12994 * whitespace.el: Fix double evaluation.
12995 (whitespace-space, whitespace-hspace, whitespace-tab)
12996 (whitespace-newline, whitespace-trailing, whitespace-line)
12997 (whitespace-space-before-tab, whitespace-indentation)
12998 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
13000 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
13001 (whitespace-color-on): Use a single font-lock-add-keywords call.
13002 Fix double-evaluation of face variables.
13004 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
13006 * net/tramp-adb.el (tramp-adb-parse-device-names):
13007 Use `start-process' instead of `call-process'. Otherwise, the
13008 function might be blocked under MS Windows. (Bug#13299)
13010 2013-03-17 Leo Liu <sdl.web@gmail.com>
13012 Extend eldoc to display info in the mode-line. (Bug#13978)
13013 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
13014 (eldoc-mode-line-string): New variable.
13015 (eldoc-minibuffer-message): New function.
13016 (eldoc-message-function): New variable.
13017 (eldoc-message): Use it.
13018 (eldoc-display-message-p)
13019 (eldoc-display-message-no-interference-p):
13020 Support eldoc-post-insert-mode.
13022 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
13023 (eval-expression): Run it.
13025 2013-03-17 Roland Winkler <winkler@gnu.org>
13027 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
13028 strings in the list of return values.
13030 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
13032 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
13033 radix before checking for HMS forms.
13035 2013-03-16 Leo Liu <sdl.web@gmail.com>
13037 * progmodes/scheme.el: Add indentation and font-locking for λ.
13040 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
13042 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
13043 token before point (bug#13942).
13045 2013-03-16 Leo Liu <sdl.web@gmail.com>
13047 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
13049 2013-03-16 Eli Zaretskii <eliz@gnu.org>
13051 * startup.el (command-line-normalize-file-name): Fix handling of
13052 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
13053 <xfq.free@gmail.com> in
13054 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
13056 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
13058 Sync with Tramp 2.2.7.
13060 * net/trampver.el: Update release number.
13062 2013-03-14 Tassilo Horn <tsdh@gnu.org>
13064 * doc-view.el: Fix bug#13887.
13065 (doc-view-insert-image): Don't modify overlay associated to
13066 non-live windows, and implement horizontal centering of image in
13067 case it's smaller than the window.
13068 (doc-view-new-window-function): Force redisplay of new windows on
13071 2013-03-13 Karl Fogel <kfogel@red-bean.com>
13073 * saveplace.el (save-place-alist-to-file): Don't sort
13074 `save-place-alist', just pretty-print it (bug#13882).
13076 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
13078 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
13079 Check whether `default-file-name-coding-system' is bound.
13080 It isn't in XEmacs.
13082 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
13084 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
13085 backquotes for `obsolete' (bug#13929).
13087 * international/mule.el (find-auto-coding): Include file name in
13088 obsolescence warning (bug#13922).
13090 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
13092 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
13093 for CFEngine 3-specific indentation.
13094 (cfengine3-indent-line): Use it. Fix up category regex.
13095 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
13097 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
13099 * type-break.el (type-break-file-name):
13100 * textmodes/remember.el (remember-data-file):
13101 * strokes.el (strokes-file):
13102 * shadowfile.el (shadow-initialize):
13103 * saveplace.el (save-place-file):
13104 * ps-bdf.el (bdf-cache-file):
13105 * progmodes/idlwave.el (idlwave-config-directory):
13106 * net/quickurl.el (quickurl-url-file):
13107 * international/kkc.el (kkc-init-file-name):
13108 * ido.el (ido-save-directory-list-file):
13109 * emulation/viper.el (viper-custom-file-name):
13110 * emulation/vip.el (vip-startup-file):
13111 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13112 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13114 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13116 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13117 * language/thai-word.el: Switch to UTF-8.
13119 See ChangeLog.16 for earlier changes.
13121 ;; Local Variables:
13125 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13127 This file is part of GNU Emacs.
13129 GNU Emacs is free software: you can redistribute it and/or modify
13130 it under the terms of the GNU General Public License as published by
13131 the Free Software Foundation, either version 3 of the License, or
13132 (at your option) any later version.
13134 GNU Emacs is distributed in the hope that it will be useful,
13135 but WITHOUT ANY WARRANTY; without even the implied warranty of
13136 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13137 GNU General Public License for more details.
13139 You should have received a copy of the GNU General Public License
13140 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.