1 2014-02-10 Lars Ingebrigtsen <larsi@gnus.org>
3 * files.el (confirm-kill-emacs): Clarify doc (bug#15455).
5 * emacs-lisp/lisp.el (up-list): Doc fix (bug#15832).
7 * files.el (confirm-kill-emacs): Allow specifying an arbitrary
8 predicate function (bug#15455).
10 2014-02-10 Dmitry Gutov <dgutov@yandex.ru>
12 * ielm.el (inferior-emacs-lisp-mode): Instead of
13 `comment-use-global-state', set `comment-use-syntax'.
15 2014-02-10 Glenn Morris <rgm@gnu.org>
17 * emacs-lisp/gulp.el (gulp-discard): Add emacs-devel.
19 2014-02-09 Alan Mackenzie <acm@muc.de>
21 Fix c-invalidate-state-cache on narrowed buffers.
22 * progmodes/cc-defs.el (c-with-all-but-one-cpps-commented-out):
23 Widen when setting and clearing the CPP delimiter properties.
25 2014-02-09 Lars Ingebrigtsen <larsi@gnus.org>
27 * help.el (describe-bindings): Doc fix (bug#9888).
29 * files.el (save-buffer): Use ARG as the parameter name for
30 consistency (bug#10346).
31 (save-buffer): Clarify the 0 argument (bug#10346).
33 * cus-edit.el (customize-apropos): Fix error string.
34 (custom-buffer-create): Doc fix (bug#11122).
35 (custom-sort-items): Doc fix (bug#11121).
37 * dired-aux.el (dired-copy-file-recursive): Remove slighly
38 misleading comment (bug#11328).
40 * repeat.el (repeat-message-function): Reword doc slightly (bug#11619).
42 * icomplete.el (icomplete-with-completion-tables): Doc fix (bug#11654).
43 (icomplete-simple-completing-p): Mention the previous variable.
45 * font-lock.el (font-lock-value-in-major-mode): Clarify the
46 meaning of the parameter (bug#12282).
48 * files.el (find-file-noselect): Clarify prompt when changing
49 readedness (bug#13261).
50 (locate-file): Suffixes aren't returned, so don't say that they
52 (backup-inhibited): Doc clarification (bug#12525).
54 * dired.el (dired-internal-do-deletions): Don't say "Deleting..."
55 before we actually start to delete things (bug#16331).
57 * subr.el (event-start): Doc fix (bug#14228).
60 2014-02-09 Glenn Morris <rgm@gnu.org>
62 * emacs-lisp/warnings.el (lwarn):
63 Empower help-enable-auto-load. (Bug#15940)
65 2014-02-08 Andreas Schwab <schwab@linux-m68k.org>
67 * vc/log-edit.el (log-edit-comment-to-change-log): Doc fix.
70 2014-02-08 Michael Albinus <michael.albinus@gmx.de>
72 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
73 Insert output at end of buffer. (Bug#16120)
75 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
77 * simple.el (choose-completion-string-functions): Document new
78 calling convention (bug#14153).
79 (execute-extended-command): Clarify doc string (bug#13373).
81 * kmacro.el (kmacro-exec-ring-item): Doc fix (bug#14198).
83 * find-dired.el (find-name-dired): Doc fix (bug#14290).
84 (find-grep-dired): Doc fix (bug#14288).
86 2014-02-08 Juri Linkov <juri@jurta.org>
88 * isearch.el (isearch-quote-char): Check character validity
89 like in `quoted-insert' (bug#16677).
91 2014-02-08 Lars Ingebrigtsen <larsi@gnus.org>
93 * files.el (find-file-visit-truename): Doc clarification (bug#14697).
95 * isearch.el (isearch-hide-immediately): Doc clarification
98 * simple.el (line-move): Document utility function used many
99 places in the Emacs sources (bug#14843).
101 * dired.el (dired-mode-map): Make :help text more accurate (bug#14893).
102 (dired-prev-marked-file): Doc fix (bug#14855).
103 (dired-up-directory): Doc fix (bug#14848).
105 * minibuffer.el (read-file-name): Doc clarification (bug#15096).
107 * files.el (file-relative-name): Doc fix (bug#15159).
109 * fringe.el (fringe-styles): Doc fix (bug#15239).
111 * isearch.el (isearch-filter-predicate): Documentation typo fix
114 * info-look.el (info-lookup-symbol): Document MODE (bug#15498).
116 * isearch.el (isearch-cmds): Doc clarification (bug#15547).
118 * replace.el (replace-match-maybe-edit): Doc clarification
121 * subr.el (add-to-list): Refill the paragraphs (bug#15791).
123 * macros.el (insert-kbd-macro): Doc fix (bug#16025).
125 2014-02-08 Glenn Morris <rgm@gnu.org>
127 * help-fns.el (describe-variable):
128 Check {file,dir}-local-variables-alist, and buffer-file-name,
129 in the correct buffer.
131 2014-02-08 Ingo Lohmar <i.lohmar@gmail.com>
133 * help-fns.el (describe-variable): Fix the case where
134 a value is directory-local with no dir-locals file. (Bug#16635)
136 2014-02-08 Glenn Morris <rgm@gnu.org>
138 * abbrev.el (edit-abbrevs-mode):
139 Derive from fundamental-mode. (Bug#16682)
141 2014-02-07 Juanma Barranquero <lekktu@gmail.com>
143 * simple.el (quoted-insert): Check character validity (bug#16677).
145 2014-02-07 Juri Linkov <juri@jurta.org>
147 * desktop.el (desktop-read): Claim the lock when the owner is not
148 the current process. (Bug#16157)
150 2014-02-07 Juri Linkov <juri@jurta.org>
152 * desktop.el (desktop-buffers-not-to-save): Change default from nil
153 to "\\` ". (Bug#16651)
155 2014-02-07 Juri Linkov <juri@jurta.org>
157 * desktop.el (desktop-save-mode): Call `desktop-auto-save-set-timer'
158 when enabling, and `desktop-auto-save-cancel-timer' when disabling.
159 (desktop-auto-save-cancel-timer): New function with some code from
160 `desktop-auto-save-set-timer'.
161 (after-init-hook): Don't call `desktop-auto-save-set-timer'.
162 Instead of setting `desktop-save-mode' to nil, call
163 `desktop-save-mode' with arg 0. (Bug#16630)
165 2014-02-07 Glenn Morris <rgm@gnu.org>
167 * hi-lock.el (hi-lock-auto-select-face, hi-lock-line-face-buffer)
168 (hi-lock-face-buffer, hi-lock-face-phrase-buffer)
169 (hi-lock-face-symbol-at-point, hi-lock-read-face-name): Doc tweaks.
171 * obsolete/iswitchb.el: Move to obsolete/.
172 * simple.el (iswitchb-mode): Add manual autoloads to ease transition,
173 since obsolete/ is not scanned for autoloads.
174 * emacs-lisp/authors.el (authors-valid-file-names):
177 * obsolete/meese.el: Restore as obsolete (deleted 2014-01-11).
178 Disable now non-functional find-file-hook.
180 2014-02-06 Michael Albinus <michael.albinus@gmx.de>
182 * net/tramp-sh.el (tramp-sh-handle-start-file-process): Use "&&"
183 instead of ";" in order to avoid additional prompts. Let heredoc
184 scripts read from tty. (Bug#16582)
185 (tramp-send-command): No special handling of heredocs, it isn't
188 2014-02-06 Stefan Monnier <monnier@iro.umontreal.ca>
190 * emacs-lisp/lisp.el (lisp-completion-at-point): Symbols don't start
191 with a space (bug#16664). Limit the symbols considered to the ones
192 that are bound or fbound (bug#16646).
194 2014-02-06 Glenn Morris <rgm@gnu.org>
196 * epa.el (epa-mail-aliases): Doc fix.
198 2014-02-06 Dmitry Gutov <dgutov@yandex.ru>
200 * emacs-lisp/lisp.el (lisp-completion-at-point):
201 Use `completion-table-merge' instead of `completion-table-in-turn'
204 * minibuffer.el (completion-table-merge): New function.
206 2014-02-05 Michael Albinus <michael.albinus@gmx.de>
208 * net/tramp-sh.el (tramp-end-of-heredoc): New defconst.
209 (tramp-sh-handle-set-file-acl)
210 (tramp-sh-handle-start-file-process)
211 (tramp-sh-handle-write-region, tramp-sh-handle-vc-registered)
212 (tramp-find-executable, tramp-send-command): Use it.
214 2014-02-05 Glenn Morris <rgm@gnu.org>
216 * epa.el (epa-mail-aliases): Fix custom type. Doc tweak.
218 2014-02-04 Fabián Ezequiel Gallina <fgallina@gnu.org>
220 * progmodes/python.el (python-shell-send-string):
221 (python-shell-send-string-no-output): Fix docstring (Bug#16547).
223 2014-02-04 Anders Lindgren <andlind@gmail.com>
225 * emacs-lisp/ert.el (ert--activate-font-lock-keywords): Allow dashes in
226 the names (bug#16620).
228 2014-02-03 Martin Rudalics <rudalics@gmx.at>
230 * faces.el (window-divider): New default value. Rewrite doc-string.
231 (window-divider-first-pixel, window-divider-last-pixel): New faces.
233 2014-02-03 Dmitry Gutov <dgutov@yandex.ru>
235 * progmodes/ruby-mode.el (ruby-font-lock-keywords): `private',
236 `protected' and `public' can also be called without arguments.
238 2014-02-03 Glenn Morris <rgm@gnu.org>
240 * register.el (window-configuration-to-register)
241 (frame-configuration-to-register): Unadvertise unused argument.
242 * frameset.el (frameset-to-register): Remove unused argument.
244 * frameset.el (frameset-to-register):
245 * kmacro.el (kmacro-to-register):
246 * register.el (increment-register):
247 * calc/calc-yank.el (calc-copy-to-register, calc-insert-register)
248 (calc-append-to-register, calc-prepend-to-register):
249 * play/gametree.el (gametree-layout-to-register)
250 (gametree-apply-register-layout):
251 * textmodes/picture.el (picture-clear-rectangle-to-register)
252 (picture-yank-rectangle-from-register):
253 * vc/emerge.el (emerge-combine-versions-register):
254 Use register-read-with-preview to read registers.
256 2014-02-03 João Távora <joaotavora@gmail.com>
258 * elec-pair.el (electric-pair-backward-delete-char): Don't error
259 when at beginning of (possibly narrowed) buffer.
261 2014-02-02 Daniel Colascione <dancol@dancol.org>
263 * help-at-pt.el (help-at-pt-string,help-at-pt-maybe-display):
264 Also try to display local help from just before point.
266 2014-02-02 Alan Mackenzie <bug-cc-mode@gnu.org>
268 c-parse-state. Don't "append-lower-brace-pair" in certain
269 circumstances. Also fix an obscure bug where "\\s!" shouldn't be
270 recognised as a comment.
272 * progmodes/cc-engine.el (c-state-pp-to-literal): Check for "\\s!"
273 as well as normal comment starter.
274 (c-parse-state-get-strategy): Extra return possibility
276 (c-remove-stale-state-cache): Extra element CONS-SEPARATED in
277 return value list to indicate replacement of a brace-pair cons
279 (c-parse-state-1): With 'back-and-forward, only call
280 c-append-lower-brace-pair-to state-cache when cons-separated.
282 2014-02-02 Jan Djärv <jan.h.d@swipnet.se>
284 * term/ns-win.el (ns-suspend-error): New function.
285 (ns-initialize-window-system): Add ns-suspend-error to
286 suspend-hook (Bug#16612).
288 2014-02-02 Daniel Colascione <dancol@dancol.org>
290 * progmodes/cc-defs.el (c-find-assignment-for-mode): Make loading cc-mode silent.
292 2014-02-02 Daniel Colascione <dancol@dancol.org>
294 * comint.el (comint-prompt-read-only): Change doc to suggest remap keybinding.
296 2014-02-02 Glenn Morris <rgm@gnu.org>
298 * register.el (register-read-with-preview, point-to-register)
299 (window-configuration-to-register, frame-configuration-to-register)
300 (jump-to-register, number-to-register, view-register, insert-register)
301 (copy-to-register, append-to-register, prepend-to-register)
302 (copy-rectangle-to-register): Doc fixes.
304 2014-02-02 Stefan Monnier <monnier@iro.umontreal.ca>
306 * help-fns.el (help-C-file-name): Handle advised functions (bug#16478).
307 * emacs-lisp/find-func.el (find-function-C-source): Idem.
308 * emacs-lisp/nadvice.el (advice--cd*r): New function.
309 * help-fns.el (describe-function-1): Use it.
311 2014-02-02 Glenn Morris <rgm@gnu.org>
313 * register.el (register-preview-default): New function,
314 split from register-preview.
315 (register-preview-function): Rename from register-preview-functions,
317 (register-preview): Use register-preview-function.
318 (register-read-with-preview): Error on non-character event. (Bug#16595)
320 2014-02-01 Dmitry Gutov <dgutov@yandex.ru>
322 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Check for
323 `:' before binary operators (bug#16609). Don't check for `:'
324 before `[' and `(', or their syntax status. A percent literal
325 can't end with either.
326 (ruby-font-lock-keywords): For built-ins that require arguments,
327 check that they're followed by something that looks like argument
330 2014-02-01 Lars Ingebrigtsen <larsi@gnus.org>
332 * subr.el (butlast): Document what an omitted N means (bug#13437).
335 2014-01-31 Lars Ingebrigtsen <larsi@gnus.org>
337 * net/shr.el (shr-generic): Make into a defsubst to make the stack
338 depth shallower (bug#16587).
339 (shr-tag-svg): Respect `shr-inhibit-images'.
340 (shr-dom-to-xml): Respect `shr-blocked-images' (bug#15882).
342 2014-01-31 Dmitry Gutov <dgutov@yandex.ru>
344 * progmodes/ruby-mode.el (ruby-align-chained-calls): New option.
345 (ruby-smie-grammar): Make "." right-associative. Make its priority
346 lower than the ternary and all binary operators.
347 (ruby-smie-rules): Indent "(" relative to the first non-"."
348 parent, or the first "." parent at indentation.
349 Use `ruby-align-chained-calls' for indentation of "." tokens.
352 2014-01-31 Juri Linkov <juri@jurta.org>
354 * sort.el (delete-duplicate-lines): Remove `:weakness 'key'
355 from `make-hash-table'.
357 * textmodes/ispell.el (ispell-init-process): Change message format
358 to be consistent with other messages.
360 2014-01-31 Glenn Morris <rgm@gnu.org>
362 * delsel.el (delete-selection-mode): Doc fix.
364 * emacs-lisp/trace.el (trace--read-args, trace-function-foreground)
365 (trace-function-background): Doc fixes.
367 * ido.el (ido-use-virtual-buffers): Doc fix.
368 Reset :version, since the default value has not changed.
370 * register.el (register-preview-delay, register-read-with-preview):
373 * mail/reporter.el (reporter-dump-variable): In case of void-variable,
374 do not mess with mail-buffer position (fixes 2009-11-03 change).
375 * progmodes/cc-mode.el (c-submit-bug-report):
376 Check auto-fill-mode is bound. (Bug#16592)
378 2014-01-31 Darren Hoo <darren.hoo@gmail.com>
380 * startup.el (fancy-splash-image-file): New function,
381 split from fancy-splash-head.
382 (fancy-splash-head, use-fancy-splash-screens-p): Use it,
383 so that we are both using the same image. (Bug#16574)
385 2014-01-30 Glenn Morris <rgm@gnu.org>
387 * simple.el (eval-expression): Doc fix.
389 * hexl.el (hexl-mode-hook):
390 * ielm.el (ielm-mode-hook):
391 * emacs-lisp/lisp-mode.el (emacs-lisp-mode-hook)
392 (lisp-interaction-mode-hook):
393 * progmodes/cfengine.e (cfengine3-documentation-function):
394 Replace obsolete alias `turn-on-eldoc-mode' with `eldoc-mode'.
396 2014-01-30 Stefan Monnier <monnier@iro.umontreal.ca>
398 * emacs-lisp/eieio-opt.el (eieio-help-generic): Don't assume `generic'
399 is a symbol (bug#16584).
401 2014-01-30 Glenn Morris <rgm@gnu.org>
403 * help.el (help-for-help-internal): Add "P" to text.
405 2014-01-29 Glenn Morris <rgm@gnu.org>
407 * simple.el (just-one-space, cycle-spacing): Doc fixes.
409 2014-01-28 Martin Rudalics <rudalics@gmx.at>
411 * window.el (fit-frame-to-buffer): Fix calculations for margins and
414 2014-01-28 Luke Lee <luke.yx.lee@gmail.com>
416 * progmodes/hideif.el: Extend to full CPP expression syntax.
417 (hif-token-alist): Add missing tokens.
418 (hif-token-regexp): Add support for float/octal/hex immediates.
419 (hif-string-literal-regexp): New const.
420 (hif-tokenize): Recognize strings and float/octal/hex immediates.
421 (hif-exprlist): New function.
422 (hif-parse-if-exp): Use it.
423 (hif-logior-expr, hif-logxor-expr, hif-logand-expr, hif-comp-expr)
424 (hif-logshift-expr, hif-muldiv-expr, hif-lognot, hif-shiftleft)
425 (hif-shiftright, hif-multiply, hif-divide, hif-modulo, hif-equal)
426 (hif-logxor, hif-comma): New functions.
428 2014-01-28 Glenn Morris <rgm@gnu.org>
430 * textmodes/fill.el (fill-single-char-nobreak-p): Doc tweak.
432 * indent.el (tab-stop-list): Doc fix. Add :version.
434 * vc/pcvs.el (vc-editable-p, vc-checkout): Remove unused declarations.
435 (cvs-append-to-ignore): Add compatibility alias.
437 2014-01-27 Glenn Morris <rgm@gnu.org>
439 * dired.el (dired-hide-details-mode): Don't autoload it,
440 since it cannot be used outside Dired buffers anyway.
442 * emulation/cua-base.el (cua-mode): Doc fix.
444 * dired.el (dired-hide-details-hide-symlink-targets)
445 (dired-hide-details-hide-information-lines)
446 (dired-hide-details-mode): Doc fixes.
448 * shadowfile.el (shadow-info-file, shadow-todo-file): Doc fix.
449 * strokes.el (strokes-file): Doc fix. Bump :version.
450 (strokes-help): Doc fix.
451 * emulation/viper-init.el (viper-vi-style-in-minibuffer): Doc fix.
452 * emulation/viper.el (viper): Doc fix for custom group.
453 (top-level): Remove oh-so-no-longer-relevant text about vip.
454 * obsolete/otodo-mode.el (todo-prefix): Doc fix.
456 * ido.el (ido-save-directory-list-file):
457 * saveplace.el (save-place-file):
458 * calendar/timeclock.el (timeclock-file):
459 * net/quickurl.el (quickurl-url-file):
460 * obsolete/otodo-mode.el (todo-file-do, todo-file-done, todo-file-top):
461 * progmodes/idlwave.el (idlwave-config-directory):
462 * textmodes/remember.el (remember-data-file):
465 2014-01-26 Glenn Morris <rgm@gnu.org>
467 * progmodes/opascal.el (opascal-tab-always-indents, opascal-tab):
468 Doc fix. Make obsolete.
469 (opascal-mode): No longer mention opascal-tab-always-indents in doc.
471 * sort.el (delete-duplicate-lines): Doc fix.
473 2014-01-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
475 * progmodes/ada-mode.el (ada):
476 * woman.el (woman): Link to info manual and Commentary section.
478 * progmodes/flymake.el (flymake):
479 * nxml/nxml-mode.el (nxml):
481 * speedbar.el (speedbar, speedbar-faces, speedbar-vc):
482 * htmlfontify.el (htmlfontify):
485 * ido.el (ido): Link to info manual.
487 2014-01-25 Leo Liu <sdl.web@gmail.com>
489 * progmodes/flymake.el (flymake-make-overlay): No rear advance.
491 2014-01-25 Adam Sjøgren <asjo@koldfront.dk>
493 * net/shr.el (shr-tag-img): Prefer the title over the alt text
496 2014-01-24 Juanma Barranquero <lekktu@gmail.com>
498 * net/eww.el (eww-download-callback):
499 Fix reference to eww-download-directory.
501 * emacs-lisp/bytecomp.el (byte-compile-file):
502 Remove unused local variable `file-name'.
504 2014-01-24 Glenn Morris <rgm@gnu.org>
506 * woman.el (woman-default-faces, woman-monochrome-faces):
507 Fix obsolescence specification.
509 * subr.el (with-demoted-errors): Doc fix.
511 2014-01-23 Stefan Monnier <monnier@iro.umontreal.ca>
513 * emacs-lisp/cl-macs.el: Improve type->predicate mapping (bug#16520).
514 (cl--macroexp-fboundp): New function.
515 (cl--make-type-test): Use it.
517 2014-01-23 Glenn Morris <rgm@gnu.org>
519 * emacs-lisp/lisp-mode.el (eval-print-last-sexp, eval-last-sexp):
520 * simple.el (eval-expression): Doc fixes.
522 2014-01-22 Glenn Morris <rgm@gnu.org>
524 * emacs-lisp/authors.el (authors-fixed-entries): Addition.
526 2014-01-22 Stefan Monnier <monnier@iro.umontreal.ca>
528 * emacs-lisp/package.el: Write files silently.
529 (package-autoload-ensure-default-file, package--write-file-no-coding)
530 (package-generate-description-file, package--download-one-archive)
531 (package-install-from-archive): Tell `write-region' to stay quiet.
532 (package-menu-mode, package-menu--print-info): Omit the Archive column
533 if there's only one archive.
534 (package-all-keywords, package--has-keyword-p): Remove dead code.
536 2014-01-22 Glenn Morris <rgm@gnu.org>
538 * version.el (emacs-bzr-version-bzr): Fix typo.
540 * version.el (emacs-repository-get-version):
541 Check either .bzr or .git, but not both.
542 Make the git case actually use the DIR argument, and return nil
543 rather than the empty string.
544 Avoid error if .git exists but the git executable is not found.
546 2014-01-22 Martin Rudalics <rudalics@gmx.at>
548 Fixes in window size functions around Bug#16430 and Bug#16470.
549 * window.el (window-total-size, window-size): New argument ROUND.
550 (window--min-delta-1, window-min-delta, window--max-delta-1):
551 Be more conservative when calculating the numbers of lines or
552 columns a window can shrink (Bug#16430).
553 (fit-window-to-buffer): Simplify code.
554 * term.el (term-window-width): Call window-body-width again.
556 2014-01-22 Glenn Morris <rgm@gnu.org>
558 * image.el (image-format-suffixes): Doc fix.
560 * international/quail.el (quail-define-package): Doc fix.
562 * emacs-lisp/authors.el (authors-valid-file-names):
563 (authors-renamed-files-alist): Additions.
565 * vc/vc-git.el (vc-git-print-log): Remove --follow;
566 reverts 2014-01-09 change. (Bug#16422)
568 * calc/calc-embed.el (thing-at-point-looking-at):
569 * emacs-lisp/map-ynp.el (x-popup-dialog):
570 * obsolete/lmenu.el (x-popup-dialog):
571 * emacs-lisp/package.el (url-recreate-url):
572 * mail/mailclient.el (clipboard-kill-ring-save):
573 * subr.el (x-popup-dialog): Update declaration.
574 * mail/rmail.el (rmail-mime-message-p):
575 * window.el (tool-bar-lines-needed): Remove unnecessary declaration.
577 2014-01-21 Daniel Colascione <dancol@dancol.org>
579 * progmodes/sh-script.el (sh--inside-noncommand-expression):
580 Correctly detect when we're inside an arithmetic expansion form
581 containing nested parenthesis.
582 (sh--maybe-here-document): Use `sh--inside-noncommand-expression`
583 to detect cases where we shouldn't expand "<<" to a heredoc
586 2014-01-21 Stefan Monnier <monnier@iro.umontreal.ca>
588 * emacs-lisp/eldoc.el: Properly remove message in minibuffer case.
589 (eldoc--message-command-p): New function.
590 (eldoc-display-message-p): Use it.
591 (eldoc-pre-command-refresh-echo-area): In the minibuffer case, the
592 message is not automatically erased for us.
593 (eldoc-print-current-symbol-info): Erase previous message, if any.
595 2014-01-21 Tassilo Horn <tsdh@gnu.org>
597 * textmodes/reftex.el (reftex-create-bibtex-file): Fix autoload to
598 specify it's an interactive function.
600 * textmodes/reftex-cite.el (reftex-all-used-citation-keys):
601 Fix regex used for scanning for citation keys which failed for
602 citations with optional arguments.
604 2014-01-21 Leo Liu <sdl.web@gmail.com>
606 * simple.el (read--expression): Don't enable eldoc-mode.
608 2014-01-20 Stefan Monnier <monnier@iro.umontreal.ca>
610 * simple.el (move-beginning-of-line): Make sure we don't move forward
613 2014-01-20 Juri Linkov <juri@jurta.org>
615 * saveplace.el (toggle-save-place, save-place-to-alist)
616 (save-places-to-alist, save-place-dired-hook): Add (derived-mode-p
617 'dired-mode) before checking for dired-directory. (Bug#16477)
619 2014-01-20 Juri Linkov <juri@jurta.org>
621 * indent.el (indent-line-to): Use backward-to-indentation
622 instead of back-to-indentation. (Bug#16461)
624 2014-01-20 Paul Eggert <eggert@cs.ucla.edu>
626 Revert some of the CANNOT_DUMP fix (Bug#16494).
627 Because of this, "make bootstrap" won't work if CANNOT_DUMP=yes,
628 but fixing this can wait until after the next release.
629 * Makefile.in (emacs): Keep EMACSLOADPATH empty.
631 2014-01-19 Michael Albinus <michael.albinus@gmx.de>
633 * eshell/esh-mode.el (eshell-password-prompt-regexp):
634 Use `password-word-equivalents'.
635 (eshell-watch-for-password-prompt): Let-bind `case-fold-search'
636 to t. (Bug#5664, Bug#13124)
638 2014-01-19 Alan Mackenzie <acm@muc.de>
640 Bind open-paren-in-column-0-is-defun-start to nil at some entry
642 * progmodes/cc-engine.el (c-invalidate-state-cache-1)
643 (c-parse-state-1, c-guess-basic-syntax): Bind it here.
644 * progmodes/cc-mode.el (c-before-change, c-after-change)
645 (c-font-lock-fontify-region): Bind it here.
647 2014-01-19 Martin Rudalics <rudalics@gmx.at>
649 * term.el (term-window-width): Call window-text-width instead of
650 window-width (Bug#16470).
652 2014-01-18 Paul Eggert <eggert@cs.ucla.edu>
654 * simple.el (password-word-equivalents): Remove duplicates.
655 Sort, to make this easier next time.
656 Downcase. Omit ": " after "jelszó".
658 2014-01-18 Jan Djärv <jan.h.d@swipnet.se>
660 * term/common-win.el (saved-region-selection): Defvar it.
661 (x-select-text): Set saved-region-selection (Bug#16382).
663 2014-01-18 Glenn Morris <rgm@gnu.org>
665 * emacs-lisp/authors.el (authors-aliases)
666 (authors-renamed-files-alist): Add some entries.
668 2014-01-17 Michael Albinus <michael.albinus@gmx.de>
670 * net/tramp.el (tramp-password-prompt-regexp):
671 Use `password-word-equivalents' if available.
672 (tramp-action-password, tramp-process-one-action)
673 (tramp-read-passwd): Let-bind `case-fold-search' to t. (Bug#13124)
675 2014-01-17 Chong Yidong <cyd@gnu.org>
677 * simple.el (password-word-equivalents): New defcustom.
678 * comint.el (comint-password-prompt-regexp): Use it. Bump version
680 (comint-watch-for-password-prompt): Let-bind `case-fold-search'
683 2014-01-17 Dmitry Gutov <dgutov@yandex.ru>
685 * progmodes/ruby-mode.el (ruby-alignable-keywords): New constant.
686 (ruby-align-to-stmt-keywords): Change the default value.
687 Use `ruby-alignable-keywords' to generate the possible customization
689 (ruby-smie-rules): Instead of using a hardcoded list of alignable
690 keywords, check against the value of `ruby-alignable-keywords'
691 (http://lists.gnu.org/archive/html/emacs-devel/2014-01/msg01439.html).
693 2014-01-17 Glenn Morris <rgm@gnu.org>
695 * emacs-lisp/authors.el (authors-aliases): Remove unnecessary entries.
697 Make M-x authors return zero *Authors Errors* from current logs.
698 * emacs-lisp/authors.el (authors-obsolete-files-regexps):
699 (authors-ignored-files): Add some entries, remove others.
700 (authors-ambiguous-files, authors-valid-file-names):
702 (authors-renamed-files-alist): Add, remove, and adjust entries.
703 (authors-renamed-files-regexps): Add some entries.
704 Remove some very broad ones. Make some entries `lax'.
705 (authors-lax-changelogs): New constant.
706 (authors-disambiguate-file-name): Treat top-level specially.
707 (authors-lax-changelog-p): New function.
708 (authors-canonical-file-name): Check file as written against
709 authors-valid-file-names. Do not special-case etc/.
710 Handle `lax' logs and authors-renamed-files-regexps elements.
712 2014-01-16 Dmitry Gutov <dgutov@yandex.ru>
714 * emacs-lisp/package.el (package-desc--keywords): Use `cdr' with
715 `assoc'. Use `nth' instead of `cdr'. Make private. Update all
718 2014-01-16 Stefan Monnier <monnier@iro.umontreal.ca>
720 * follow.el (follow-adjust-window): Remove `dest' argument (bug#16426).
721 Assume we're already in the proper buffer.
722 Inspired by Anders Lindgren <andlind@gmail.com>.
723 (follow-post-command-hook): Call it from the right buffer.
724 (follow-comint-scroll-to-bottom): Adjust call.
725 (follow-all-followers): Use get-buffer-window-list.
727 2014-01-15 Daniel Colascione <dancol@dancol.org>
729 * emacs-lisp/bytecomp.el (byte-compile-file): Use whole
730 `buffer-file-name' in interactive-form so that we don't leave
731 pathless file names in `file-name-history'.
733 2014-01-15 Juri Linkov <juri@jurta.org>
735 * indent.el (indent-rigidly): Set deactivate-mark to nil
736 in transient indentation mode. (Bug#16438)
738 2014-01-15 Dmitry Gutov <dgutov@yandex.ru>
740 * emacs-lisp/package.el (package-desc-keywords): New function
742 (describe-package-1, package-all-keywords)
743 (package--has-keyword-p): Use it.
745 2014-01-14 Nicolas Richard <theonewiththeevillook@yahoo.fr>
747 * simple.el (define-alternatives): When creating the
748 COMMAND-alternatives variable, assign COMMAND as its definition
749 name so that `describe-variable' can relocate it.
751 2014-01-14 Matthew Leach <matthew@mattleach.net> (tiny change)
753 * font-lock.el (font-lock-keywords): Fix typo in docstring
756 2014-01-14 Agustín Martín Domingo <agustin.martin@hispalinux.es>
758 * ispell.el (ispell-region): Reset `in-comment' for new line
759 instead of wrongly reset `add-coment' (bug#13577).
761 2014-01-14 Daiki Ueno <ueno@gnu.org>
763 * epa-file.el (epa-file-write-region): Encode the region according
764 to `buffer-file-format'. Problem reported at:
765 <http://sourceforge.jp/ticket/browse.php?group_id=2267&tid=32917>.
767 2014-01-14 Stefan Monnier <monnier@iro.umontreal.ca>
769 * emacs-lisp/edebug.el (edebug--display): Move protective let-binding
770 so it applies in the right buffer (bug#16410).
772 2014-01-13 Daniel Colascione <dancol@dancol.org>
774 * textmodes/rst.el (rst-define-key): Provide deprecated
775 keybindings through named functions instead of anonymous ones so
776 that "??" doesn't appear in describe-mode output.
778 2014-01-13 Bastien Guerry <bzg@gnu.org>
780 * simple.el (define-alternatives): Call the selected command
781 interactively. When setting `COMMAND--implementation' for the
782 first time, tell the user how to chose another implementation.
783 Enhance the docstring.
785 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
787 * vc/log-edit.el: Fix highlighting of summary when it's the first line.
788 (log-edit--match-first-line): New function.
789 (log-edit-font-lock-keywords): Use it.
790 (log-edit-mode): Make jit-lock-defer-multiline work.
792 2014-01-13 Bastien Guerry <bzg@gnu.org>
794 * rect.el (rectangle-mark-mode): When the region is not active,
795 display a message saying that the mark as been set and that
796 rectangle mode is in use.
797 (rectangle--highlight-for-redisplay): Only put an overlay with a
798 visible vertical bar when (display-graphic-p) is non-nil.
799 This partially fixes Bug#16403.
801 2014-01-13 Juri Linkov <juri@jurta.org>
803 * info.el (Info-find-file): Go to DIR before displaying the error
804 about a nonexistent file if no previous Info file is visited.
805 Use `user-error' instead of `error' for "Info file %s does not exist".
806 (Info-find-node-2): In case of a nonexistent node in unwind forms
807 go to the Top node if there is no previous node to revert to.
810 2014-01-13 Martin Rudalics <rudalics@gmx.at>
812 fit-frame/window-to-buffer code fixes including one for Bug#14096.
813 * window.el (fit-frame-to-buffer): Fix doc-string.
814 Respect window-min-height/-width. Fit pixelwise when
815 frame-resize-pixelwise is non-nil. Adjust right/bottom edge
816 when avoiding that frame goes partially off-screen.
817 (fit-window-to-buffer): Respect window-min-height/-width
820 2014-01-13 Stefan Monnier <monnier@iro.umontreal.ca>
822 * indent.el (indent-according-to-mode): Flush to column 0 in text-mode
825 2014-01-12 Stefan Monnier <monnier@iro.umontreal.ca>
827 * net/shr.el (shr-render-region): Autoload.
829 2014-01-12 Xue Fuqiao <xfq.free@gmail.com>
831 * net/eww.el (eww-download-directory): Rename from
832 `eww-download-path' (Bug#16419).
834 2014-01-12 Leo Liu <sdl.web@gmail.com>
836 * dired-x.el (dired-mode-map): Fix last change.
838 * emacs-lisp/eldoc.el (eldoc-mode): Add hook locally.
840 2014-01-12 Paul Eggert <eggert@cs.ucla.edu>
843 * emacs-lisp/generic.el (generic--normalize-comments):
844 Rename from generic--normalise-comments. All uses changed.
845 * play/bubbles.el (bubbles--neighborhood-score):
846 (bubbles--mark-direct-neighbors, bubbles--mark-neighborhood)
847 (bubbles--neighborhood-available)
848 (bubbles--update-neighborhood-score):
849 Rename from names with 'neighbourhood'. All uses changed.
851 2014-01-12 Leo Liu <sdl.web@gmail.com>
853 Re-implement the feature of showing eldoc info after editing.
854 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): Remove.
855 (eldoc-edit-message-commands): New function.
856 (eldoc-print-after-edit): New variable.
857 (eldoc-pre-command-refresh-echo-area): Emit message only by
858 eldoc-message-commands.
859 (eldoc-mode): Restrict eldoc-message-commands to editing commands
860 if eldoc-print-after-edit is set. (Bug#16346)
861 * simple.el (read--expression): Enable eldoc-mode.
862 * progmodes/octave.el (octave-mode-menu): Adapt to change in eldoc.
864 2014-01-11 Dani Moncayo <dmoncayo@gmail.com>
865 Eric S. Raymond <esr@thyrsus.com>
867 * version.el (emacs-repository-get-version): Enhance so the
868 function works correctly in either a Bazaar or Git repo.
870 2014-01-11 Eric S. Raymond <esr@thyrsus.com>
872 * play/meese.el: It's 2014 and Ed Meese is justly forgotten.
873 Goes with removal of the joke manpages from /etc.
875 2014-01-10 K. Handa <handa@gnu.org>
877 * mail/rmail.el (rmail-get-coding-system):
878 Check rmail-get-coding-function before "funcall"ing it.
880 2014-01-10 Glenn Morris <rgm@gnu.org>
882 * emacs-lisp/authors.el (authors-fixed-entries):
883 Update for files that no longer exist.
885 2014-01-10 Eric S. Raymond <esr@thyrsus.com>
887 * version.el (emacs-bzr-get-version): Restore compatibilty with
890 2014-01-10 Bozhidar Batsov <bozhidar@batsov.com>
892 * progmodes/ruby-mode.el (auto-mode-alist): Add .podspec
895 2014-01-10 Eli Zaretskii <eliz@gnu.org>
897 * emacs-lisp/authors.el (authors-fixed-entries): Update my entry.
899 2014-01-10 Chong Yidong <cyd@gnu.org>
901 * progmodes/octave.el (octave-mode-menu): Don't assume eldoc is loaded.
903 2014-01-10 Anders Lindgren <andlind@gmail.com>
905 * follow.el (follow-cache-command-list): Include right-char and
908 2014-01-10 Paul Eggert <eggert@cs.ucla.edu>
911 * mail/unrmail.el (unrmail-mbox-format): Choice is mboxo, not mboxro.
912 * woman.el (woman-mark-horizontal-position):
913 Rename from woman-mark-horizonal-position. Use changed.
915 2014-01-10 Glenn Morris <rgm@gnu.org>
917 * info.el (info-initialize): If running uninstalled, ensure our
918 own info files are always found first, even if INFOPATH is set.
920 * help.el (view-order-manuals): Open emacs.info rather than ORDERS.
922 2014-01-09 David Engster <deng@randomsample.de>
924 * emacs-lisp/eieio-custom.el:
925 * emacs-lisp/eieio-opt.el: Set generated autoload file to
926 'eieio.el'. This was accidentally removed in 2012-10-01T18:10:29Z!cyd@gnu.org.
927 * emacs-lisp/eieio.el: Regenerate autoloads.
929 2014-01-09 Eric S. Raymond <esr@thyrsus.com>
931 * vc/vc-git.el (vc-git-print-log): Add --follow option to command,
932 following renames. (Bug#8756)
934 2014-01-09 Stefan Monnier <monnier@iro.umontreal.ca>
936 * simple.el (deactivate-mark, activate-mark): Force-mode-line-update
938 (activate-mark): Add `no-tmm' argument.
939 (set-mark, push-mark-command): Use it instead of running
940 activate-mark-hook by hand.
942 2014-01-08 Eric S. Raymond <esr@thyrsus.com>
944 In preparation for the move to git, sanitize out some
945 Bazaar-specific names.
947 * emacs-lisp/authors.el: INSTALL.BZR renamed to INSTALL.REPO.
949 * version.el (emacs-bzr-version): Name changed to
950 emacs-repository-version. Obsolete-variable alias made.
951 * loadup.el: Follow through on this name change.
952 * mail/emacsbug.el (report-emacs-bug): Factor out any
953 assumption about the version control system in use.
955 2014-01-08 David Engster <deng@randomsample.de>
957 * help-fns.el (help-fns-describe-function-functions):
958 New variable to call functions for augmenting help buffers.
959 (describe-function-1): Remove explicit calls to
960 `help-fns--compiler-macro', `help-fns--parent-mode' and
961 `help-fns--obsolete'. Put them in above new variable instead, and
962 call them through `run-hook-with-args'.
963 * emacs-lisp/eieio-opt.el (eieio-help-class): Rename from
964 `eieio-describe-class'. Not meant for interactive use anymore,
965 but to augment existing help buffers. Remove optional second
966 argument. Create proper button for file location.
967 Rewrite function to use `insert' instead of `princ' and `prin1' where
969 (eieio-help-class-slots): Rename from `eieio-describe-class-slots'.
970 (eieio-method-def, eieio-class-def): Move further up.
971 (describe-method, describe-generic, eieio-describe-method):
973 (eieio-help-constructor, eieio-help-generic): Rename from
974 `eieio-describe-constructor' and `eieio-describe-generic', resp.
975 Rewrite to use `insert' in the current buffer and use proper help
977 (eieio-help-find-method-definition)
978 (eieio-help-find-class-definition): Also accept symbols as
980 (eieio-help-mode-augmentation-maybee): Remove.
981 (eieio-describe-class-sb): Use `describe-function'.
982 * emacs-lisp/eieio.el (help-fns-describe-function-functions):
983 Add `eieio-help-generic' and `eieio-help-constructor'.
985 2014-01-08 Paul Eggert <eggert@cs.ucla.edu>
988 * language/china-util.el (hz-ascii-designation):
989 Rename from hz-ascii-designnation.
990 (hz-ascii-designation): Rename from hz-ascii-designnation.
993 2014-01-08 Stefan Monnier <monnier@iro.umontreal.ca>
995 * emacs-lisp/package.el (package-delete): Only remove pkg-desc from
998 2014-01-08 Bastien Guerry <bzg@gnu.org>
1000 * emacs-lisp/package.el (package-delete):
1001 Correctly delete the package from package-alist.
1003 2014-01-08 Daiki Ueno <ueno@gnu.org>
1005 * emacs-lisp/package.el (url-recreate-url): Declare.
1006 (url-http-target-url): Declare.
1007 (package-handle-response): Include requested URL in the error message.
1008 (package--check-signature): Don't re-signal errors from
1009 package--with-work-buffer. Suggested by Stefan Monnier.
1011 2014-01-07 Bastien Guerry <bzg@gnu.org>
1013 * minibuffer.el (completion--try-word-completion): When both a
1014 hyphen and a space are possible candidates for the character
1015 following a word, display both candidates. (Bug#15980)
1017 2014-01-07 Martin Rudalics <rudalics@gmx.at>
1019 * window.el (balance-windows-2): While rounding don't give a
1020 window more than the remainder. Bug#16351, Bug#16383.
1022 2014-01-07 Glenn Morris <rgm@gnu.org>
1024 * menu-bar.el (menu-bar-help-extra-packages): Remove.
1025 (menu-bar-help-menu): Use view-external-packages instead.
1027 2014-01-07 Bastien Guerry <bzg@gnu.org>
1029 * emacs-lisp/package.el (package-delete): Also delete the package
1030 name from `package-alist', not its description only.
1032 2014-01-07 Glenn Morris <rgm@gnu.org>
1034 * help.el (view-external-packages):
1035 * menu-bar.el (menu-bar-help-extra-packages):
1036 Visit efaq.info rather than etc/MORE.STUFF.
1038 2014-01-07 Juri Linkov <juri@jurta.org>
1040 * isearch.el (isearch-mode-map): Bind [return] and [backspace] to
1041 isearch-exit and isearch-delete-char resp. (Bug#16342, bug#16035)
1043 * progmodes/ps-mode.el (ps-mode-map): Remove [return] key binding
1044 that shadows RET. (Bug#16342)
1046 2014-01-07 Chong Yidong <cyd@gnu.org>
1048 * isearch.el (isearch-yank-char, isearch-yank-word)
1049 (isearch-yank-line): Doc fix.
1051 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1053 * abbrev.el (define-abbrev): Beware new meaning of fboundp.
1054 * emacs-lisp/elint.el (elint-find-builtins):
1055 * emacs-lisp/eldoc.el (eldoc-symbol-function):
1056 * emacs-lisp/bytecomp.el (byte-compile-callargs-warn)
1057 (byte-compile-file-form-defmumble, byte-compile, byte-compile-form):
1058 * emacs-lisp/byte-opt.el (byte-compile-inline-expand):
1059 * apropos.el (apropos-safe-documentation):
1060 * subr.el (symbol-file): Remove redundant fboundp.
1061 * progmodes/idlw-shell.el (idlwave-shell-comint-filter): Use defalias.
1063 2014-01-06 Bastien Guerry <bzg@gnu.org>
1065 * hl-line.el (global-hl-line-overlay): Make a local variable.
1066 (global-hl-line-overlays): New variable to store all overlays.
1067 (global-hl-line-mode): Don't delete overlays from the current
1068 buffer when `global-hl-line-sticky-flag' is non-nil.
1069 (global-hl-line-highlight): Add new overlays to
1070 `global-hl-line-overlays'.
1071 (global-hl-line-unhighlight-all): New function to delete all
1072 overlays when turning off `global-hl-line-mode'.
1073 This fixes Bug#16183.
1075 2014-01-06 Stefan Monnier <monnier@iro.umontreal.ca>
1077 * subr.el (set-transient-map): Fix nested case and docstring.
1079 2014-01-06 Tassilo Horn <tsdh@gnu.org>
1081 * textmodes/reftex-vars.el (reftex-label-alist-builtin): Add a
1084 2014-01-06 Daniel Colascione <dancol@dancol.org>
1086 Fix defun navigation in vc log view.
1088 * vc/log-view.el (log-view-beginning-of-defun): Rewrite to behave
1089 like `beginning-of-defun'.
1090 (log-view-end-of-defun,log-view-end-of-defun-1): Rename old
1091 log-view-end-of-defun to log-view-end-of-defun-1. Replace
1092 log-view-end-of-defun with wrapper that behaves like `end-of-defun'.
1093 (log-view-extract-comment): Call `log-view-current-entry' directly
1094 instead of relying on broken `log-view-beginning-of-defun' behavior.
1096 2014-01-06 Paul Eggert <eggert@cs.ucla.edu>
1099 * calc/calc-yank.el (calc-edit-mode, calc-edit-cancel):
1100 * emacs-lisp/debug.el (cancel-debug-on-entry):
1101 * epg.el (epg-error-to-string):
1102 * files.el (recover-file):
1103 * lpr.el (lpr-buffer, print-buffer, lpr-region, print-region):
1104 * mail/emacsbug.el (report-emacs-bug-hook):
1105 * mail/sendmail.el (mail-recover):
1106 * ses.el (ses-yank-resize):
1107 * term/ns-win.el (ns-print-buffer):
1108 Spelling fixes in diagnostics, mostly for "canceled" with one L.
1109 * epg.el (epg-key-capability-alist): Rename from misspelled version.
1111 * obsolete/xesam.el (xesam-all-fields): Fix misspelled field name.
1113 2014-01-06 Leo Liu <sdl.web@gmail.com>
1115 * dired-x.el (dired-mode-map): Rebind dired-omit-mode to C-x M-o
1116 to avoid shadowing global key. (Bug#16354)
1118 2014-01-06 Daniel Colascione <dancol@dancol.org>
1120 * textmodes/rst.el (rst-mode): Set electric-indent-inhibit for
1123 2014-01-05 Martin Rudalics <rudalics@gmx.at>
1125 * window.el (balance-windows): Add mising t to fix Bug#16351.
1127 2014-01-05 Lars Magne Ingebrigtsen <larsi@gnus.org>
1129 * net/shr.el (shr-descend): Don't bug out if the anchor is empty
1131 (shr-insert): If we have a word that's longer than `shr-width',
1132 break after it anyway. Otherwise we'll do no breaking once we get
1135 2014-01-05 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1137 * net/eww.el (eww): Support single/double quote for search.
1138 * net/eww.el (eww-list-histories,eww-history-browse): Fixup.
1139 (eww-history-quit): Delete and use quit-window.
1140 (eww-history-kill): Delete, because it doesn't work well and
1142 (eww-history-mode-map): Delete some keys and add easy-menu.
1144 2014-01-05 Paul Eggert <eggert@cs.ucla.edu>
1146 Fix misspelling of 'chinese' in rx (Bug#16237).
1147 * emacs-lisp/rx.el (rx-categories): Correct spelling of
1150 Change subword regexps back to vars (Bug#16296).
1151 * progmodes/subword.el (subword-forward-regexp)
1152 (subword-backward-regexp): Change these back to variables.
1154 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1156 * emacs-lisp/lisp-mode.el (lisp-mode-variables): Don't bother with
1157 syntax-begin-function (bug#16247).
1159 2014-01-03 Chong Yidong <cyd@gnu.org>
1161 * emacs-lisp/nadvice.el (advice--make-docstring): Change args.
1162 (advice--docstring): Delete variable.
1163 (advice--make-1): Leave the docstring empty.
1164 (advice-add): Use function-documentation for advised docstring.
1166 * emacs-lisp/advice.el (ad--make-advised-docstring): Change args.
1167 Ignore function-documentation property when getting documentation.
1168 (ad-activate-advised-definition): Use function-documentation
1169 generate the docstring.
1170 (ad-make-advised-definition): Don't call
1171 ad-make-advised-definition-docstring.
1172 (ad-make-advised-definition-docstring, ad-advised-definition-p):
1175 * progmodes/sql.el (sql-help): Use function-documentation instead
1176 of dynamic-docstring-function property. No need to autoload now.
1177 (sql--help-docstring): New variable.
1178 (sql--make-help-docstring): Use it.
1180 2014-01-03 Stefan Monnier <monnier@iro.umontreal.ca>
1182 * ielm.el (ielm-tab): Retarget.
1183 (ielm-map): Use ielm-tab for tab.
1184 (ielm-complete-filename): Use comint-filename-completion.
1185 (ielm-complete-symbol): Remove.
1186 (inferior-emacs-lisp-mode): Use lisp-completion-at-point instead and
1187 remove ielm-tab from completion-at-point-functions (bug#16224).
1189 * emacs-lisp/pcase.el (pcase--split-equal, pcase--split-member):
1190 Beware signals raised by predicates (bug#16201).
1192 2014-01-02 Richard Stallman <rms@gnu.org>
1194 * dired-aux.el (dired-do-print): Handle printer-name.
1196 * mail/rmailmm.el (rmail-mime-message-p): Move to rmail.el.
1197 * mail/rmail.el (rmail-mime-message-p): Move from rmailmm.el.
1198 (rmail-epa-decrypt): Turn off mime processing.
1200 * mail/rmail.el (rmail-make-in-reply-to-field):
1201 Add parens in message-id.
1203 * mail/rmail.el (rmail-get-coding-function): Variable.
1204 (rmail-get-coding-system): Use it.
1206 2013-12-31 Eli Zaretskii <eliz@gnu.org>
1208 * international/mule-conf.el: Unify the charset indian-is13194.
1209 (indian-is13194): Specify unify-map.
1211 2013-12-31 Leo Liu <sdl.web@gmail.com>
1213 * subr.el (set-temporary-overlay-map): Obsolete alias. (Bug#16305)
1215 2013-12-30 Daniel Colascione <dancol@dancol.org>
1217 * term/x-win.el ([XF86WakeUp]): Ignore the XF86WakeUp key instead
1218 of printing a useless when we resume from sleep.
1220 * progmodes/sh-script.el
1221 (sh-smie-sh-forward-token,sh-smie-rc-forward-token): Fix infloop
1222 in indentation code. (Bug#16233)
1224 2013-12-28 João Távora <joaotavora@gmail.com>
1226 * elec-pair.el (electric-pair-post-self-insert-function):
1227 Don't open extra newlines at beginning of buffer. (Bug#16272)
1229 2013-12-28 Eli Zaretskii <eliz@gnu.org>
1231 * frame.el (window-system-for-display): Don't allow to create a
1232 GUI frame from a -nw session on MS-Windows. (Bug#14739)
1234 2013-12-28 Glenn Morris <rgm@gnu.org>
1236 * mail/hashcash.el (hashcash-program): Rename from hashcash-path.
1239 * apropos.el (apropos-match-face):
1240 * calculator.el (calculator-displayer):
1241 * dabbrev.el (dabbrev-search-these-buffers-only):
1242 * face-remap.el (buffer-face-mode-face):
1243 * simple.el (yank-handled-properties):
1244 * emacs-lisp/testcover.el (testcover-potentially-1value-functions):
1245 * mail/footnote.el (footnote-mode-line-string, footnote-prefix):
1246 * mail/hashcash.el (hashcash-accept-resources, hashcash-program)
1247 (hashcash-double-spend-database):
1248 * progmodes/ruby-mode.el (ruby-deep-indent-paren)
1249 (ruby-deep-indent-paren-style):
1250 * textmodes/flyspell.el (flyspell-auto-correct-binding):
1251 * textmodes/rst.el (rst-toc-indent, rst-toc-insert-style)
1252 (rst-toc-insert-number-separator, rst-toc-insert-max-level):
1253 * vc/pcvs-defs.el (cvs-minor-mode-prefix):
1254 Specify custom types.
1256 * emacs-lisp/smie.el (smie-config): Add type, version, initialize.
1257 * bookmark.el (bookmark-bmenu-use-header-line):
1258 * doc-view.el (doc-view-scale-internally):
1259 * pcmpl-x.el (pcmpl-x-tlmgr-program, pcmpl-x-ack-program):
1260 * register.el (register-preview-delay):
1261 * net/shr.el (shr-bullet):
1262 * progmodes/cfengine.el (cfengine-cf-promises)
1263 (cfengine-parameters-indent):
1264 * progmodes/octave.el (inferior-octave-error-regexp-alist):
1265 * textmodes/reftex-vars.el (reftex-label-regexps):
1266 * vc/log-edit.el (log-edit-setup-add-author): Add version.
1268 * net/tls.el (tls-certtool-program): Fix default value.
1270 * desktop.el (desktop-restore-in-current-display):
1271 * newcomment.el (comment-empty-lines):
1272 * progmodes/idlwave.el (idlwave-scan-all-buffers-for-routine-info)
1273 (idlwave-pad-keyword):
1274 * progmodes/tcl.el (tcl-tab-always-indent):
1275 * textmodes/reftex-vars.el (reftex-index-default-tag):
1276 * elec-pair.el (electric-pair-skip-whitespace):
1277 * progmodes/cfengine.el (cfengine-cf-promises): Fix custom types.
1279 * emacs-lisp/authors.el (authors-ignored-files)
1280 (authors-valid-file-names, authors-renamed-files-alist): Additions.
1282 2013-12-27 Jarek Czekalski <jarekczek@poczta.onet.pl>
1284 * shell.el (shell-dynamic-complete-command): Doc fix.
1285 (shell--command-completion-data): Shell completion now matches
1286 executable filenames from the current buffer's directory, on
1287 systems in which this behavior is the default (windows-nt, ms-dos).
1289 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1291 * net/shr.el (shr-insert): Don't infloop if the width is zero.
1293 2013-12-27 Stefan Monnier <monnier@iro.umontreal.ca>
1295 * icomplete.el (icomplete-show-matches-on-no-input): Default to nil
1298 * electric.el: Move all electric-pair-* to elec-pair.el.
1299 * elec-pair.el: New file, split from electric.el.
1301 2013-12-27 Lars Ingebrigtsen <larsi@gnus.org>
1303 * net/shr.el (shr-find-fill-point): Don't try to fill if the
1304 indentation level is larger than the width, because that will
1306 (shr-insert): Fill repeatedly long texts, so that Japanese is
1307 formatted correctly (bug#16263).
1308 (shr-find-fill-point): Off by one error in comparison with the
1311 2013-12-26 João Távora <joaotavora@gmail.com>
1313 * electric.el (electric-pair-mode): More flexible engine for skip-
1314 and inhibit predicates, new options for pairing-related functionality.
1315 (electric-pair-preserve-balance): Pair/skip parentheses and quotes
1316 if that keeps or improves their balance in buffers.
1317 (electric-pair-delete-adjacent-pairs): Delete the pair when
1318 backspacing over adjacent matched delimiters.
1319 (electric-pair-open-extra-newline): Open extra newline when
1320 inserting newlines between adjacent matched delimiters.
1321 (electric--sort-post-self-insertion-hook):
1322 Sort post-self-insert-hook according to priority values when
1323 minor-modes are activated.
1324 * simple.el (newline-and-indent): Call newline with interactive
1326 (blink-paren-post-self-insert-function): Set priority to 100.
1327 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
1328 Use electric-pair-text-pairs to pair backtick-and-quote in strings and
1329 comments. Locally set electric-pair-skip-whitespace to 'chomp and
1330 electric-pair-open-newline-between-pairs to nil.
1332 2013-12-26 Fabián Ezequiel Gallina <fgallina@gnu.org>
1334 * progmodes/python.el: Use lexical-binding.
1335 (python-nav-beginning-of-defun): Stop searching ASAP.
1337 2013-12-25 Xue Fuqiao <xfq.free@gmail.com>
1339 * vc/vc.el (vc-ignore): Use `vc-responsible-backend'.
1340 Fix interactive spec. Doc fix. (Bug#15754)
1342 2013-12-25 Katsumi Yamaoka <yamaoka@jpl.org>
1344 * emacs-lisp/byte-run.el (eval-when-compile):
1345 * progmodes/cc-defs.el (cc-eval-when-compile):
1346 Fix edebug spec (bug#16184).
1348 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1350 * net/shr.el (shr-visit-file): Remove debugging function.
1351 (shr-insert): Don't infloop if we can't find a good place to break
1352 the line (bug#16256).
1354 2013-12-25 Fabián Ezequiel Gallina <fgallina@gnu.org>
1356 * progmodes/python.el:
1357 (python-nav--lisp-forward-sexp): New function.
1358 (python-nav--lisp-forward-sexp-safe): Use it. Rename from
1359 python-nav-lisp-forward-sexp-safe.
1360 (python-nav--forward-sexp): New argument SAFE allows switching
1361 forward sexp movement behavior for parens.
1362 (python-nav-forward-sexp): Throw errors on unterminated parens
1364 (python-nav-backward-sexp, python-nav-forward-sexp-safe)
1365 (python-nav-backward-sexp-safe): New functions.
1366 (python-shell-buffer-substring):
1367 Use `python-nav-forward-sexp-safe'.
1369 2013-12-25 Lars Ingebrigtsen <larsi@gnus.org>
1371 * net/shr.el (shr-find-fill-point): Don't break lines before a
1373 (shr-char-kinsoku-bol-p): The quotation mark isn't a kinsoky BOL char.
1374 (shr-find-fill-point): Remove the special checks for the quotation
1375 mark, since `shr-char-kinsoku-bol-p' should now return the right thing.
1377 2013-12-25 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1379 * net/eww.el (eww-form-textarea): Use a different face for
1380 textareas than text input since they have different keymaps
1383 2013-12-24 Fabián Ezequiel Gallina <fgallina@gnu.org>
1385 * progmodes/python.el (python-nav-beginning-of-statement):
1386 Speed up (Bug#15295).
1388 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1390 * net/eww.el (eww-bookmark-browse): Use `quit-window' to restore
1391 the window configuration.
1393 2013-12-24 Eli Zaretskii <eliz@gnu.org>
1395 * net/eww.el (eww-open-file): Ensure 3 slashes after "file:" when
1396 we run on MS-Windows or MS-DOS.
1398 2013-12-24 Martin Rudalics <rudalics@gmx.at>
1400 * window.el (balance-windows-area): Call window-size instead of
1401 window-height and window-width. Bug#16241.
1403 2013-12-24 Lars Ingebrigtsen <larsi@gnus.org>
1405 * net/eww.el (eww-bookmark-quit): Remove.
1406 (eww-bookmark-browse): Restore the window configuration when you
1407 choose a bookmark (bug#16144).
1409 2013-12-24 Daniel Colascione <dancol@dancol.org>
1411 * icomplete.el: Remove redundant :group arguments to `defcustom'
1413 (icomplete-show-matches-on-no-input): New customizable variable.
1414 (icomplete-minibuffer-setup): Call `icomplete-exhibit' on setup if
1415 we have something to show.
1416 (icomplete-exhibit): Compute completions even if we have no user input.
1418 2013-12-23 Daniel Colascione <dancol@dancol.org>
1420 * icomplete.el: Move `provide' to end of file.
1422 2013-12-23 Teodor Zlatanov <tzz@lifelogs.com>
1424 * net/gnutls.el (gnutls-verify-error): Add version tag.
1426 2013-12-23 Chong Yidong <cyd@gnu.org>
1428 * subr.el (set-transient-map): Rename from
1429 set-temporary-overlay-map. Doc fix.
1431 * face-remap.el (text-scale-adjust):
1432 * indent.el (indent-rigidly):
1433 * kmacro.el (kmacro-call-macro):
1434 * minibuffer.el (minibuffer-force-complete):
1435 * repeat.el (repeat):
1436 * simple.el (universal-argument--mode):
1437 * calendar/todo-mode.el (todo-insert-item--next-param):
1438 * progmodes/f90.el (f90-abbrev-start): Callers changed.
1440 * indent.el (indent-rigidly): Use substitute-command-keys.
1442 2013-12-22 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1444 * net/eww.el (eww-tag-select): Add text-property to jump to next
1446 (eww): Add non-supported ftp error.
1448 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1450 * progmodes/ruby-mode.el (ruby--electric-indent-p): Improve the
1451 comments. Handle electric indent after typing `?' and `!'.
1453 2013-12-22 Chong Yidong <cyd@gnu.org>
1455 * faces.el (face-spec-recalc): If the theme specs are not
1456 applicable to a frame, fall back on the defface spec.
1457 This prevents themes from obliterating faces on low-color terminals.
1459 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1461 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
1462 after `{'. We need it after block openers, and it doesn't seem
1463 to hurt after hash openers.
1465 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1467 * progmodes/ruby-mode.el (ruby--at-indentation-p): New function,
1468 extracted from `ruby-smie-rules'.
1469 (ruby--electric-indent-chars): New variable.
1470 (ruby--electric-indent-p): New function.
1471 (ruby-mode): Use `electric-indent-functions' instead of
1472 `electric-indent-chars'.
1474 2013-12-22 Dmitry Gutov <dgutov@yandex.ru>
1476 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords): Tweak the
1478 (ruby-smie-rules): Indent plus one level after `=>'.
1480 2013-12-21 Richard Stallman <rms@gnu.org>
1482 * simple.el (newline): Doc fix.
1484 2013-12-21 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
1486 * net/eww.el (eww-list-histories, eww-list-histories)
1487 (eww-history-browse, eww-history-quit, eww-history-kill)
1488 (eww-history-mode-map, eww-history-mode): New command and
1489 functions to list browser histories.
1490 (eww-form-text): Support text form with disabled
1491 and readonly attributes.
1492 (eww-checkbox-map): Fix wrong key bind to `eww-toggle-checkbox'.
1494 2013-12-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1496 * net/eww.el (eww-back-url, eww-forward-url, eww-next-url)
1497 (eww-previous-url, eww-up-url, eww-top-url, eww-add-bookmark)
1498 (eww-bookmark-prepare, eww-bookmark-kill, eww-bookmark-yank)
1499 (eww-bookmark-browse, eww-next-bookmark, eww-previous-bookmark):
1501 (eww-bookmark-mode-map): Add menu.
1502 (eww-render, eww-mode): Use `setq-local'.
1503 (eww-tool-bar-map): New variable.
1504 (eww-mode): Set `tool-bar-map'.
1505 (eww-view-source): Check for `html-mode' with `fboundp'.
1507 2013-12-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
1509 * net/shr.el (shr--extract-best-source): Don't bug out on audio
1510 elements with text inside. Also remove debugging.
1512 2013-12-21 Jan Djärv <jan.h.d@swipnet.se>
1514 * cus-start.el (all): Add ns-use-srgb-colorspace.
1516 2013-12-21 Chong Yidong <cyd@gnu.org>
1518 * custom.el (custom-theme-recalc-face): Do nothing if the face is
1519 undefined. Thus, theme settings for undefined faces do not take
1520 effect until the faces are defined with defface, the same as with
1523 * faces.el (face-spec-set): Use face-spec-recalc in all cases.
1524 (face-spec-reset-face): Don't assign extra properties in temacs.
1525 (face-spec-recalc): Apply X resources too.
1527 2013-12-21 Chong Yidong <cyd@gnu.org>
1529 * faces.el (face-spec-set):
1530 * cus-face.el (custom-theme-set-faces, custom-set-faces):
1531 * custom.el (defface): Doc fixes (Bug#16203).
1533 * indent.el (indent-rigidly-map): Add docstring, and move commands
1534 into named functions.
1535 (indent-rigidly-left, indent-rigidly-right)
1536 (indent-rigidly-left-to-tab-stop)
1537 (indent-rigidly-right-to-tab-stop): New functions. Decide on
1538 indentation direction based on bidi direction, and accumulate
1539 sequential commands in a single undo boundary.
1540 (indent-rigidly--pop-undo): New utility function.
1542 2013-12-20 Juanma Barranquero <lekktu@gmail.com>
1544 * faces.el (read-face-name): Require crm.el when using crm-separator.
1546 2013-12-20 Daniel Colascione <dancol@dancol.org>
1548 * progmodes/sh-script.el (sh-mode): Tweak paragraph-separate
1549 so that we don't reflow comments into the shebang line.
1551 2013-12-20 Juri Linkov <juri@jurta.org>
1553 * saveplace.el (save-place-to-alist): Add `dired-filename' as
1554 a position when `dired-directory' is non-nil. Check integer
1555 positions with `integerp'.
1556 (toggle-save-place, save-places-to-alist): Add check for
1558 (save-place-find-file-hook): Check integer positions with
1560 (save-place-dired-hook): Use `dired-goto-file' when
1561 `dired-filename' is found in the assoc list. Check integer
1562 positions with `integerp'.
1563 (dired-initial-position-hook): Rename from `dired-initial-point-hook'.
1565 * dired.el (dired-initial-position-hook): Rename back from
1566 `dired-initial-point-hook'.
1567 (dired-initial-position): Rename `dired-initial-point-hook' to
1568 `dired-initial-position-hook'.
1569 (dired-file-name-at-point): Doc fix. (Bug#15329)
1571 2013-12-20 Juri Linkov <juri@jurta.org>
1573 * replace.el (read-regexp-defaults-function): New defcustom (bug#14405).
1574 (read-regexp-suggestions): New function.
1575 (read-regexp): Use `read-regexp-defaults-function' to get default values.
1576 Use `read-regexp-suggestions'. Add non-empty default to history
1578 (occur-read-regexp-defaults-function): Remove function.
1579 (occur-read-primary-args): Use `regexp-history-last' instead of
1580 `occur-read-regexp-defaults-function'.
1582 * hi-lock.el (hi-lock-read-regexp-defaults-function): Remove function.
1583 (hi-lock-line-face-buffer, hi-lock-face-buffer)
1584 (hi-lock-face-phrase-buffer): Use `regexp-history-last' instead of
1585 `hi-lock-read-regexp-defaults-function'. Doc fix.
1586 (hi-lock-face-symbol-at-point): Replace `find-tag-default-as-regexp'
1587 with `find-tag-default-as-symbol-regexp'. Doc fix.
1588 (hi-lock-read-regexp-defaults): Remove function.
1589 (hi-lock-regexp-okay): Add check for null.
1591 * progmodes/grep.el (grep-read-regexp): Use `grep-tag-default' for
1592 the arg DEFAULTS. Move formatting of the prompt to `read-regexp'.
1594 * subr.el (find-tag-default-as-symbol-regexp): New function.
1595 (find-tag-default-as-regexp): Move symbol regexp formatting to
1596 `find-tag-default-as-symbol-regexp'.
1598 2013-12-20 E Sabof <esabof@gmail.com> (tiny change)
1600 * hi-lock.el (hi-lock-set-pattern): Check for `font-lock-specified-p'.
1603 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1605 * calendar/todo-mode.el: New implementation of item insertion
1606 commands and key bindings.
1607 (todo-key-prompt): New face.
1608 (todo-insert-item): New command.
1609 (todo-insert-item--parameters): New defconst, replacing defvar
1610 todo-insertion-commands-args-genlist.
1611 (todo-insert-item--param-key-alist): New defconst, replacing
1612 defvar todo-insertion-commands-arg-key-list.
1613 (todo-insert-item--keyof, todo-insert-item--this-key): New defsubsts.
1614 (todo-insert-item--argsleft, todo-insert-item--apply-args)
1615 (todo-insert-item--next-param): New functions.
1616 (todo-insert-item--args, todo-insert-item--argleft)
1617 (todo-insert-item--argsleft, todo-insert-item--newargsleft):
1619 (todo-key-bindings-t): Change binding of "i" from
1620 todo-insertion-map to todo-insert-item.
1621 (todo-powerset, todo-gen-arglists, todo-insertion-commands-args)
1622 (todo-insertion-command-name, todo-insertion-commands-names)
1623 (todo-define-insertion-command, todo-insertion-commands)
1624 (todo-insertion-key-bindings, todo-insertion-map): Remove.
1626 2013-12-20 Stephen Berman <stephen.berman@gmx.net>
1628 * calendar/todo-mode.el: Bug fixes and new features (bug#15225).
1629 (todo-toggle-item-highlighting): Use eval-and-compile instead of
1631 (todo-move-category): Allow choosing a non-existing todo file to
1632 move the category to, and create that file.
1633 (todo-default-priority): New user option.
1634 (todo-set-item-priority): Use it.
1635 (todo-desktop-save-buffer, todo-restore-desktop-buffer): New functions.
1636 (desktop-restore-file-buffer): Declare.
1637 (desktop-buffer-mode-handlers): Add todo-restore-desktop-buffer.
1638 (todo-modes-set-2): Locally set desktop-save-buffer to
1639 todo-desktop-save-buffer.
1640 (todo-mode, todo-archive-mode, todo-filtered-items-mode)
1641 (auto-mode-alist): Add autoload cookie.
1643 2013-12-20 Bozhidar Batsov <bozhidar@batsov.com>
1645 * emacs-lisp/subr-x.el: Renamed from helpers.el.
1646 helpers.el was a poor choice of name.
1647 (string-remove-prefix): New function.
1648 (string-remove-suffix): New function.
1650 2013-12-20 Martin Rudalics <rudalics@gmx.at>
1652 Fix assignment for new window total sizes.
1653 * window.el (window--pixel-to-size): Remove function.
1654 (window--pixel-to-total-1, window--pixel-to-total):
1655 Fix calculation of new total sizes.
1657 2013-12-20 Vitalie Spinu <spinuvit@gmail.com>
1659 * comint.el (comint-output-filter): Fix rear-nonsticky property
1660 placement (Bug#16010).
1662 2013-12-20 Chong Yidong <cyd@gnu.org>
1664 * faces.el (read-color): Minor fix for completion function.
1666 2013-12-20 Dmitry Gutov <dgutov@yandex.ru>
1668 * progmodes/ruby-mode.el (ruby-align-to-stmt-keywords):
1669 New option. (Bug#16182)
1670 (ruby-smie--indent-to-stmt-p): Use it.
1671 (ruby-smie-rules): Revert the logic in the handling of `when'.
1672 Expand the begin clause to handle `ruby-align-to-stmt-keywords'.
1673 (ruby-deep-arglist, ruby-deep-indent-paren)
1674 (ruby-deep-indent-paren-style): Update docstrings to note that the
1675 vars don't have any effect with SMIE.
1677 2013-12-20 Jay Belanger <jay.p.belanger@gmail.com>
1679 * calc/calc.el (calc-enter, calc-pop): Use the variable
1680 `calc-context-sensitive-enter'.
1682 2013-12-20 Lars Magne Ingebrigtsen <larsi@gnus.org>
1684 * net/shr.el (shr-insert): Protect against infloops in degenerate
1687 2013-12-20 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
1689 * progmodes/octave.el (octave): Add link to manual and octave
1691 (octave-mode-menu): Link to octave-mode manual.
1693 2013-12-20 Leo Liu <sdl.web@gmail.com>
1695 * skeleton.el (skeleton-pair-insert-maybe): Disable newline
1696 insertion using skeleton-end-newline. (Bug#16138)
1698 2013-12-20 Juri Linkov <juri@jurta.org>
1700 * replace.el (occur-engine): Use `add-face-text-property'
1701 to add the face property to matches and titles. (Bug#14645)
1703 * hi-lock.el (hi-green): Use lighter color "light green" closer to
1704 the palette of other hi-lock colors.
1705 (hi-lock-set-pattern): Prepend hi-lock face to the existing face.
1707 2013-12-19 Juri Linkov <juri@jurta.org>
1709 * isearch.el (isearch-mode-map): Bind `M-s e' to `isearch-edit-string'.
1710 Put :advertised-binding on `M-s c', `M-s r', `M-s e'. (Bug#16035)
1711 (minibuffer-history-symbol): Move variable declaration closer to
1714 * isearchb.el (isearchb): Add `event-basic-type' on `last-command-event'.
1717 2013-12-19 Juri Linkov <juri@jurta.org>
1719 * vc/log-edit.el (log-edit-insert-filenames-without-changelog):
1721 (log-edit-hook): Add it to :options. (Bug#16170)
1723 2013-12-19 Juri Linkov <juri@jurta.org>
1725 * simple.el (eval-expression-print-format): Don't check for
1726 command names and the last command. Always display additional
1727 formats of the integer result in the echo area, and insert them
1728 to the current buffer only with a zero prefix arg.
1729 Display character when char-displayable-p is non-nil.
1730 (eval-expression): With a zero prefix arg, set `print-length' and
1731 `print-level' to nil, and insert the integer values from
1732 `eval-expression-print-format' at the end. Doc fix. (Bug#12985)
1734 * emacs-lisp/lisp-mode.el (eval-print-last-sexp): Add arg
1735 `eval-last-sexp-arg-internal'. Doc fix.
1736 (eval-last-sexp-1): Pass arg `eval-last-sexp-arg-internal' to
1737 `eval-last-sexp-print-value'. Doc fix.
1738 (eval-last-sexp-print-value): Add arg `eval-last-sexp-arg-internal'.
1739 Set `print-length' and `print-level' to nil when arg is zero.
1740 (eval-last-sexp): Doc fix.
1741 (eval-defun-2): Print the integer values from
1742 `eval-expression-print-format' at the end.
1744 * emacs-lisp/edebug.el (edebug-eval-defun): Print the integer
1745 values from `eval-expression-print-format' at the end.
1747 * ielm.el (ielm-eval-input): Print the integer
1748 values from `eval-expression-print-format' at the end.
1750 2013-12-19 Teodor Zlatanov <tzz@lifelogs.com>
1752 * net/eww.el (eww-exit, eww-close, eww-mode-map): Revert change of
1753 2013-12-11T19:01:44Z!tzz@lifelogs.com.
1755 2013-12-19 Stefan Monnier <monnier@iro.umontreal.ca>
1757 * hl-line.el (hl-line-make-overlay): New fun. Set priority (bug#16192).
1758 (hl-line-highlight, global-hl-line-highlight): Use it.
1759 (hl-line-overlay): Use defvar-local.
1761 2013-12-19 Jan Djärv <jan.h.d@swipnet.se>
1763 * term/ns-win.el: Require dnd.
1764 (global-map): Remove drag items.
1765 (ns-insert-text, ns-set-foreground-at-mouse)
1766 (ns-set-background-at-mouse):
1767 Remove (ns-drag-n-drop, ns-drag-n-drop-other-frame)
1768 (ns-drag-n-drop-as-text, ns-drag-n-drop-as-text-other-frame):
1771 2013-12-19 Glenn Morris <rgm@gnu.org>
1773 * emacs-lisp/ert.el (ert-select-tests):
1774 Fix string/symbol mixup. (Bug#16121)
1776 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1778 * progmodes/ruby-mode.el (ruby-smie-rules): Indent middle-of-block
1779 keywords to their parent.
1781 2013-12-19 Dmitry Gutov <dgutov@yandex.ru>
1783 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Allow the
1784 first arg to be a string (fixed dead code), or an operator symbol.
1785 (ruby-smie--forward-token): Tokenize ` @ ' before strings and
1787 (ruby-smie-rules): Remove parent token check in the `.' clause, it
1788 did nothing. Don't respond to `(:after ".")', it will be called
1789 with :before anyway. Remove the ` @ ' rule, it didn't seem to
1790 change anything. Only return indentation for binary operators
1791 when they are hanging. De-dent opening paren when its parent is
1792 `.', otherwise it looks bad when the dot is not at bol or eol
1795 2013-12-19 Juri Linkov <juri@jurta.org>
1797 * replace.el (query-replace-read-args): Split a non-negative arg
1798 and a negative arg into separate elements.
1799 (query-replace, query-replace-regexp, replace-string)
1800 (replace-regexp): Add arg `backward'. Doc fix.
1801 (replace-match-maybe-edit): When new arg `backward' is non-nil,
1802 move point to the beginning of the match.
1803 (replace-search, replace-highlight): Use new arg `backward'
1804 to set the value of `isearch-forward'.
1805 (perform-replace): Add arg `backward' and use it to perform
1806 replacement backward. (Bug#14979)
1808 * isearch.el (isearch-query-replace): Use a negative prefix arg
1809 to call `perform-replace' with a non-nil arg `backward'.
1811 2013-12-18 Juri Linkov <juri@jurta.org>
1813 * vc/log-edit.el (log-edit-hook): Add `log-edit-insert-message-template'
1814 to the default list. Move `log-edit-show-files' to the end.
1815 Add more available functions to options.
1816 (log-edit): Move default specific settings to
1817 `log-edit-insert-message-template'. Don't move point.
1818 (log-edit-insert-message-template): New function.
1819 (log-edit-insert-changelog): Add `save-excursion' and don't move point.
1822 2013-12-18 Juri Linkov <juri@jurta.org>
1824 * help-mode.el (help-mode-map): Bind "l" to help-go-back,
1825 and "r" to help-go-forward for compatibity with Info. (Bug#16178)
1827 2013-12-18 Leo Liu <sdl.web@gmail.com>
1829 * eshell/em-prompt.el (eshell-emit-prompt): Fix last change.
1832 2013-12-18 Eli Zaretskii <eliz@gnu.org>
1834 * ls-lisp.el (ls-lisp-insert-directory): Don't modify %d and %f
1835 formats for displaying file sizes when the -s switch is given.
1836 Instead, compute a separate format for displaying the size in
1837 blocks, which is displayed in addition to the "regular" size.
1838 When -h is given in addition to -s, produce size in blocks in
1839 human-readable form as well. (Bug#16179)
1841 2013-12-18 Tassilo Horn <tsdh@gnu.org>
1843 * textmodes/reftex-vars.el (reftex-label-alist-builtin):
1844 Reference tables with ~\ref{...} instead of only \ref{...}.
1846 2013-12-18 Chong Yidong <cyd@gnu.org>
1848 * cus-edit.el (custom-magic-alist): Fix "themed" description
1851 * custom.el (custom-push-theme): If custom--inhibit-theme-enable
1852 is non-nil, do not create a new entry in the symbol's theme-value
1853 or theme-face property; update theme-settings only (Bug#14664).
1854 (custom-available-themes): Doc fix.
1856 * cus-theme.el (custom-new-theme-mode-map): Add bindings
1859 * replace.el (occur-engine): Avoid infloop (Bug#7593).
1861 2013-12-18 Kazuhiro Ito <kzhr@d1.dion.ne.jp> (tiny change)
1863 * progmodes/make-mode.el (makefile-fill-paragraph): Fix infloop
1866 2013-12-18 Shigeru Fukaya <shigeru.fukaya@gmail.com>
1868 * apropos.el (apropos-words-to-regexp): Fix algorithm (Bug#13946).
1870 2013-12-18 Glenn Morris <rgm@gnu.org>
1872 * Makefile.in (BYTE_COMPILE_FLAGS): Set load-prefer-newer to t.
1873 * cus-start.el (load-prefer-newer): New option.
1875 2013-12-18 Le Wang <l26wang@gmail.com>
1877 * comint.el (comint-previous-matching-input-from-input):
1878 Retain point (Bug#13404).
1880 2013-12-18 Chong Yidong <cyd@gnu.org>
1882 * simple.el (append-next-kill): Doc fix (Bug#15995, Bug#16016).
1884 2013-12-18 Glenn Morris <rgm@gnu.org>
1886 * mail/emacsbug.el (report-emacs-bug):
1887 Only mention enable-multibyte-characters if non-standard.
1889 2013-12-17 Juri Linkov <juri@jurta.org>
1891 * arc-mode.el (archive-extract-by-file): Check if directory exists
1892 before deletion to not show irrelevant errors if it doesn't exist.
1894 2013-12-17 Juri Linkov <juri@jurta.org>
1896 * menu-bar.el (menu-bar-tools-menu): Add `browse-web'.
1899 * net/eww.el (browse-web): Add alias to `eww'.
1900 (eww-mode-map): Bind "r" to `eww-forward-url' like in Info.
1901 Bind "S-SPC" to `scroll-down-command'. (Bug#16178)
1903 * net/browse-url.el (browse-url-browser-function): Move `eww'
1904 closer to similar functions.
1906 * startup.el (fancy-startup-screen, fancy-about-screen):
1907 Set browse-url-browser-function to eww-browse-url locally.
1910 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1912 * window.el (window--pixel-to-total): Remove unused `mini' var.
1913 (maximize-window, minimize-window): Remove unused `pixelwise' arg.
1914 (split-window): Remove unused `new' var.
1915 (window--display-buffer): Remove unused `frame' and `delta' vars.
1916 (fit-window-to-buffer): Remove unused vars `frame', `display-height',
1919 2013-12-17 Martin Rudalics <rudalics@gmx.at>
1921 * dired.el (dired-mark-pop-up):
1922 * register.el (register-preview): Don't bind
1923 split-height-threshold here since it's now done in
1924 display-buffer-below-selected.
1926 2013-12-17 oblique <psyberbits@gmail.com> (tiny change)
1928 * term/rxvt.el (rxvt-rgb-convert-to-16bit): Standardize with
1929 xterm-rgb-convert-to-16bit.
1930 (rxvt-register-default-colors): Standardize with
1931 xterm-register-default-colors (Bug#14078).
1933 2013-12-17 Dima Kogan <dima@secretsauce.net> (tiny change)
1935 * simple.el (kill-region): Pass mark first, then point, so that
1936 kill-append works right (Bug#12819).
1937 (copy-region-as-kill, kill-ring-save): Likewise.
1939 2013-12-17 Leo Liu <sdl.web@gmail.com>
1941 * net/rcirc.el (rcirc-add-face):
1942 * eshell/em-prompt.el (eshell-emit-prompt):
1943 * eshell/em-ls.el (eshell-ls-decorated-name): Use font-lock-face.
1946 2013-12-17 Chong Yidong <cyd@gnu.org>
1948 * files.el (break-hardlink-on-save): Doc fix (Bug#13801).
1949 Suggested by Xue Fuqiao.
1951 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1953 * progmodes/ruby-mode.el (ruby-smie-rules): Indent ternary if.
1955 2013-12-17 Stefan Monnier <monnier@iro.umontreal.ca>
1957 * net/shr.el (shr-insert-document): Remove unused var
1958 `shr-preliminary-table-render'.
1959 (shr-rescale-image): Remove unused arg `force'.
1960 (shr-put-image): Update calls accordingly.
1961 (shr-tag-a): Use `cont' rather than dyn-bound `dom'.
1963 2013-12-17 Dmitry Gutov <dgutov@yandex.ru>
1965 * emacs-lisp/smie.el (smie-indent--rule): Extract `smie-indent--rule-1'.
1966 (smie-indent-close): Call `smie-indent--rule-1' with METHOD
1967 :close-all, to see which indentation method to use (Bug#16116).
1968 (smie-rules-function): Document the method :close-all.
1970 2013-12-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
1972 * net/shr.el (shr-tag-a): Support zero-length <a name="foo"> elements.
1974 * net/eww.el (eww-display-html): If we can't find the anchor we're
1975 looking for, then go to point-min.
1977 2013-12-16 Paul Eggert <eggert@cs.ucla.edu>
1979 Fix problems with CANNOT_DUMP and EMACSLOADPATH.
1980 * Makefile.in (emacs): Add lisp src to EMACSLOADPATH.
1981 * loadup.el: Check for src/bootstrap-emacs only when Emacs can dump.
1982 Expand dir too, in case it's relative.
1984 2013-12-16 Juri Linkov <juri@jurta.org>
1986 * desktop.el (desktop-auto-save-timeout): Change default to
1987 `auto-save-timeout'. Doc fix.
1988 (desktop-save): Skip the timestamp in desktop-saved-frameset
1989 when checking for auto-save changes.
1990 (desktop-auto-save): Don't call desktop-auto-save-set-timer since
1991 `desktop-auto-save' is called repeatedly by the idle timer.
1992 (desktop-auto-save-set-timer): Replace `run-with-timer' with
1993 `run-with-idle-timer' and a non-nil arg REPEAT. Doc fix.
1996 2013-12-16 Juri Linkov <juri@jurta.org>
1998 * isearch.el (isearch-mode-map): Remove [escape] key bindinds.
2000 (isearch-pre-command-hook): Check `this-command' for symbolp.
2002 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2004 * emacs-lisp/gv.el (gv-ref): Mention lexbind restriction (bug#16153).
2006 2013-12-16 Teodor Zlatanov <tzz@lifelogs.com>
2008 * progmodes/cfengine.el (cfengine3--current-word): Remove.
2009 (cfengine3--current-function): Bring in the current-function
2010 functionality from `cfengine3--current-word'.
2011 (cfengine3-completion-function): Bring in the
2012 bounds-of-current-word functionality from
2013 `cfengine3--current-word'.
2015 2013-12-16 Martin Rudalics <rudalics@gmx.at>
2017 * window.el (display-buffer-below-selected):
2018 Bind split-height-threshold to 0 as suggested by Juri Linkov.
2020 2013-12-16 Leo Liu <sdl.web@gmail.com>
2022 * progmodes/compile.el (compile-goto-error): Do not push-mark.
2023 Remove NOMSG arg and all uses changed.
2025 2013-12-16 Stefan Monnier <monnier@iro.umontreal.ca>
2027 * emulation/cua-rect.el (cua-rectangle-mark-mode): New minor mode.
2028 (cua--deactivate-rectangle): Don't deactivate the mark.
2029 (cua-set-rectangle-mark): Don't set mark-active since
2030 cua--activate-rectangle already does it for us.
2031 (cua--rectangle-highlight-for-redisplay): Unhighlight a previous
2032 non-rectangular region.
2034 * emulation/cua-base.el (cua-repeat-replace-region):
2035 Use with-current-buffer.
2037 * net/gnutls.el: Use cl-lib.
2038 (gnutls-negotiate): `mapcan' -> cl-mapcan.
2040 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2042 * emacs-lisp/package.el (package-built-in-p): Support both
2043 built-in and the package.el converted package descriptions.
2044 (package-show-package-list): Allow keywords.
2045 (package-keyword-button-action): Use it instead of
2046 `finder-list-matches'.
2047 (package-menu-filter-interactive): Interactive filtering (by
2049 (package-menu--generate): Support keywords and change keymappings
2050 and headers when they are given.
2051 (package--has-keyword-p): Helper function.
2052 (package-menu--refresh): Use it.
2053 (package--mapc): Helper function.
2054 (package-all-keywords): Use it.
2055 (package-menu-mode-map): Set up menu items and keybindings to
2056 provide a filtering UI.
2058 2013-12-14 Teodor Zlatanov <tzz@lifelogs.com>
2060 * net/gnutls.el (gnutls-verify-error): New defcustom to control
2061 the behavior when a certificate fails validation. Defaults to
2062 old behavior: never abort, just warn.
2063 (gnutls-negotiate): Use it.
2065 2013-12-14 Martin Rudalics <rudalics@gmx.at>
2067 * window.el (display-buffer-below-selected): Never split window
2068 horizontally. Suggested by Juri Linkov <juri@jurta.org>.
2070 2013-12-14 Tom Willemse <tom@ryuslash.org> (tiny change)
2072 * emacs-lisp/package.el (package--prepare-dependencies): New function.
2073 (package-buffer-info): Use it (bug#15108).
2075 2013-12-14 Stefan Monnier <monnier@iro.umontreal.ca>
2077 * icomplete.el (icomplete-completions): Make sure the prefix is already
2078 displayed elsewhere before hiding it (bug#16219).
2080 2013-12-14 Dmitry Gutov <dgutov@yandex.ru>
2082 * progmodes/ruby-mode.el (ruby-smie-rules): Return nil before
2083 open-paren tokens when preceded by a open-paren, too.
2084 (ruby-smie-rules): Handle virtual indentation after open-paren
2085 tokens specially. If there is code between it and eol, return the
2086 column where is starts (Bug#16118).
2088 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2090 * progmodes/cfengine.el: Fix `add-hook' doc.
2091 (cfengine-mode-syntax-functions-regex): Initialize sensibly.
2092 (cfengine3--current-word): Fix parameters.
2093 (cfengine3-make-syntax-cache): Simplify further.
2094 (cfengine3-completion-function, cfengine3--current-function):
2095 Use `assq' for symbols.
2096 (cfengine3--current-function): Fix `cfengine3--current-word' call.
2098 2013-12-13 Glenn Morris <rgm@gnu.org>
2100 * loadup.el (load-path): Warn if site-load or site-init changes it.
2101 No more need to reset it when bootstrapping.
2103 2013-12-13 Teodor Zlatanov <tzz@lifelogs.com>
2105 * progmodes/cfengine.el (cfengine-cf-promises): Add more default
2106 locations for cf-promises.
2107 (cfengine-mode-syntax-functions-regex): New caching variable.
2108 (cfengine3-fallback-syntax): Fallback syntax for cases where
2109 cf-promises doesn't run.
2110 (cfengine3--current-word): Reimplement using
2111 `cfengine-mode-syntax-functions-regex'.
2112 (cfengine3-completion-function, cfengine3--current-function):
2113 Use `cfengine3-make-syntax-cache' directly.
2114 (cfengine3-clear-syntax-cache): New function.
2115 (cfengine3-make-syntax-cache): Simplify and create
2116 `cfengine-mode-syntax-functions-regex' on demand.
2117 (cfengine3-format-function-docstring): Don't call
2118 `cfengine3-make-syntax-cache' explicitly.
2120 2013-12-13 Martin Rudalics <rudalics@gmx.at>
2122 Fix windmove-find-other-window broken after pixelwise resizing
2124 * windmove.el (windmove-other-window-loc): Revert change from
2126 (windmove-find-other-window): Call window-in-direction.
2127 * window.el (window-in-direction): New arguments SIGN, WRAP and
2128 MINI to emulate original windmove-find-other-window behavior.
2130 2013-12-13 Dmitry Gutov <dgutov@yandex.ru>
2132 * simple.el (blink-matching--overlay): New variable.
2133 (blink-matching-open): Instead of moving point, highlight the
2134 matching paren with an overlay
2135 (http://lists.gnu.org/archive/html/emacs-devel/2013-12/msg00333.html).
2137 * faces.el (paren-showing-faces, show-paren-match)
2138 (show-paren-mismatch): Move from paren.el.
2140 2013-12-13 Leo Liu <sdl.web@gmail.com>
2142 * indent.el (indent-region): Disable progress reporter in
2143 minibuffer. (Bug#16108)
2145 * bindings.el (visual-order-cursor-movement): Fix version.
2147 2013-12-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
2149 * progmodes/python.el (python-pdbtrack-stacktrace-info-regexp):
2150 Also match after beginning of line.
2151 (python-pdbtrack-set-tracked-buffer): Fix logic for remote
2152 files. Thanks to Russell Sim. (Bug#15378)
2154 2013-12-13 Juri Linkov <juri@jurta.org>
2156 * simple.el <Keypad support>: Remove key bindings duplicated
2157 with bindings.el. (Bug#14397)
2159 2013-12-13 Juri Linkov <juri@jurta.org>
2161 * comint.el (comint-mode-map): Replace `delete-char' with
2162 `delete-forward-char'. (Bug#16109)
2164 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2166 * progmodes/python.el (python-indent-calculate-indentation):
2167 Fix de-denters cornercase. (Bug#15731)
2169 2013-12-12 Stefan Monnier <monnier@iro.umontreal.ca>
2171 * emacs-lisp/nadvice.el: Add `depth' property to manage ordering.
2172 (advice--make): Pay attention to `depth'.
2173 (advice--make-1): Don't autoload commands eagerly.
2174 * emacs-lisp/elp.el (elp-instrument-function):
2175 * emacs-lisp/trace.el (trace-function-internal):
2176 * emacs-lisp/debug.el (debug-on-entry): Keep them "first".
2178 * iswitchb.el (iswitchb-mode): Don't belittle ido.
2180 2013-12-12 Eli Zaretskii <eliz@gnu.org>
2182 * term/w32-win.el (w32-handle-dropped-file):
2183 * startup.el (normal-top-level):
2184 * net/browse-url.el (browse-url-file-url):
2185 * dnd.el (dnd-get-local-file-name): On MS-Windows, encode and
2186 decode file names using 'utf-8' rather than
2187 file-name-coding-system.
2189 2013-12-12 Fabián Ezequiel Gallina <fgallina@gnu.org>
2191 * progmodes/python.el (python-indent-context)
2192 (python-indent-calculate-indentation): Fix auto-identation
2193 behavior for comment blocks. (Bug#15916)
2195 2013-12-12 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
2197 * progmodes/python.el (python-indent-calculate-indentation):
2198 When determining indentation, don't treat "return", "pass", etc., as
2199 operators when they are just string constituents. (Bug#15812)
2201 2013-12-12 Juri Linkov <juri@jurta.org>
2203 * uniquify.el (uniquify-buffer-name-style): Change default to
2204 `post-forward-angle-brackets'.
2206 * menu-bar.el (menu-bar-options-menu): Don't require preloaded
2207 `uniquify'. Change default to `post-forward-angle-brackets'.
2209 2013-12-11 Glenn Morris <rgm@gnu.org>
2211 * emacs-lisp/package.el (finder-list-matches):
2212 Autoload rather than falsely declaring.
2214 2013-12-11 Teodor Zlatanov <tzz@lifelogs.com>
2216 * net/eww.el (eww-exit, eww-close): Add UI convenience wrappers.
2217 (eww-mode-map): Use them.
2219 2013-12-11 Martin Rudalics <rudalics@gmx.at>
2221 * window.el (display-buffer-in-side-window): Fix doc-string
2224 2013-12-11 Juanma Barranquero <lekktu@gmail.com>
2226 * vc/vc-git.el: Silence byte-compiler warnings.
2227 (vc-git-dir-extra-headers): Rename arg _dir which is no longer ignored.
2228 (log-edit-set-header): Declare.
2230 2013-12-11 Eli Zaretskii <eliz@gnu.org>
2232 * Makefile.in (custom-deps, finder-data): Run output file names
2233 through unmsys--file-name. (Bug#16099)
2235 2013-12-11 Stefan Monnier <monnier@iro.umontreal.ca>
2237 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't bother matching
2238 comment-start-skip, which fails when that uses submatch 1 (bug#16041).
2240 * emulation/cua-base.el (cua-paste): Add `delete-selection' property
2241 instead of deleting the selection "by hand" (bug#16098).
2242 Rely on insert-for-yank to yank rectangles.
2243 (cua-highlight-region-shift-only): Mark obsolete.
2244 (cua-mode): Don't enable/disable transient-mark-mode,
2245 shift-select-mode (cua-mode works both with and without them), and
2246 pc-selection-mode (obsolete).
2247 * emulation/cua-rect.el (cua--activate-rectangle): Activate the mark.
2248 (cua--deactivate-rectangle): Deactivate it.
2250 * delsel.el (delete-selection-mode): Don't enable transient-mark-mode.
2251 (delete-selection-helper): Make sure yank starts at the top of the
2253 (minibuffer-keyboard-quit): Use region-active-p.
2255 * emacs-lisp/trace.el (trace-make-advice): Don't deactivate the mark.
2257 * simple.el (normal-erase-is-backspace-mode): Map kp-delete identically
2258 to `delete' (bug#16109).
2260 2013-12-11 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2262 * progmodes/octave.el (octave-mode, inferior-octave-mode): Link to
2263 info manual and show keybindings and set `:group' keyword.
2265 2013-12-11 Juri Linkov <juri@jurta.org>
2267 * delsel.el (delete-active-region): Let-bind `this-command'
2268 to prevent `kill-region' from changing its original value.
2269 (delete-selection-helper): Handle `overwrite-mode' for the type
2270 `kill' exactly the same way as for the type `t'.
2271 (insert-char, quoted-insert, reindent-then-newline-and-indent):
2272 Support more commands. (Bug#13312)
2274 2013-12-11 Juri Linkov <juri@jurta.org>
2276 * bindings.el: Map kp keys to non-kp keys systematically
2277 with basic modifiers control, meta and shift. (Bug#14397)
2279 2013-12-11 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2281 * net/eww.el (eww-mode-map): Instead of "Quit" show "Exit" and
2282 "Close browser" menu items. Fix wrong function of "List
2285 2013-12-11 Juri Linkov <juri@jurta.org>
2287 * misearch.el (multi-isearch-buffers): Set the value of
2288 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2289 arg of isearch-forward to t.
2290 (multi-isearch-buffers-regexp): Set the value of
2291 `multi-isearch-buffer-list' globally. Set NO-RECURSIVE-EDIT
2292 arg of isearch-forward-regexp to t.
2293 (multi-isearch-files): Set the value of
2294 `multi-isearch-file-list' globally. Set NO-RECURSIVE-EDIT
2295 arg of isearch-forward to t.
2296 (multi-isearch-files-regexp): Set the value of
2297 `multi-isearch-file-list globally. Set NO-RECURSIVE-EDIT
2298 arg of isearch-forward-regexp to t. (Bug#16035)
2300 * dired-aux.el (dired-isearch-filenames): Set NO-RECURSIVE-EDIT
2301 arg of isearch-forward to t.
2302 (dired-isearch-filenames-regexp): Set NO-RECURSIVE-EDIT
2303 arg of isearch-forward-regexp to t.
2304 (dired-isearch-filter-filenames): Remove unnecessary check for
2305 `dired-isearch-filenames'.
2307 * comint.el (comint-history-isearch-backward):
2308 Set NO-RECURSIVE-EDIT arg of isearch-backward to t.
2309 (comint-history-isearch-backward-regexp):
2310 Set NO-RECURSIVE-EDIT arg of isearch-backward-regexp to t.
2312 2013-12-10 Eli Zaretskii <eliz@gnu.org>
2314 * Makefile.in (autoloads): Run $(srcdir)/loaddefs.el through
2315 unmsys--file-name. (Bug#16099)
2317 2013-12-10 Teodor Zlatanov <tzz@lifelogs.com>
2319 * emacs-lisp/package.el (package-keyword-button-action):
2320 Remove finder.el require dependency.
2322 2013-12-09 Teodor Zlatanov <tzz@lifelogs.com>
2324 * emacs-lisp/package.el: Require finder.el.
2325 (describe-package-1): Add keyword buttons.
2326 (package-make-button): New convenience function.
2327 (package-keyword-button-action): Keyword button action using
2328 `finder-list-matches'.
2330 2013-12-09 Eli Zaretskii <eliz@gnu.org>
2332 * autorevert.el (auto-revert-notify-add-watch): Fix a thinko in
2335 2013-12-09 Michael Albinus <michael.albinus@gmx.de>
2337 * autorevert.el (auto-revert-notify-add-watch): Do not handle
2340 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2342 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Return t
2343 after the end of a percent literal.
2345 2013-12-09 Cameron Desautels <camdez@gmail.com> (tiny change)
2347 * progmodes/ruby-mode.el (ruby-forward-string): Document.
2348 Handle caret-delimited strings (Bug#16079).
2350 2013-12-09 Dmitry Gutov <dgutov@yandex.ru>
2352 * progmodes/ruby-mode.el (ruby-accurate-end-of-block):
2353 When `ruby-use-smie' is t, use `smie-forward-sexp' instead of
2354 `ruby-parse-partial' (Bug#16078).
2356 2013-12-09 Leo Liu <sdl.web@gmail.com>
2358 * subr.el (read-passwd): Disable show-paren-mode. (Bug#16091)
2360 2013-12-08 Dmitry Gutov <dgutov@yandex.ru>
2362 * progmodes/js.el (js-auto-indent-flag): Remove, was unused.
2363 (js-switch-indent-offset): New option.
2364 (js--proper-indentation): Use it. And handle the case when
2365 "default" is actually a key in an object literal.
2366 (js--same-line): New function.
2367 (js--multi-line-declaration-indentation): Use it.
2368 (js--indent-in-array-comp, js--array-comp-indentation):
2370 (js--proper-indentation): Use them, to handle array comprehension
2373 2013-12-08 Leo Liu <sdl.web@gmail.com>
2375 * progmodes/flymake.el (flymake-highlight-line): Re-write.
2376 (flymake-make-overlay): Remove arg MOUSE-FACE.
2377 (flymake-save-string-to-file, flymake-read-file-to-string): Remove.
2379 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2381 * emulation/cua-rect.el (cua--rectangle-highlight-for-redisplay):
2383 (redisplay-highlight-region-function): Use it.
2385 * emulation/cua-base.el (cua--explicit-region-start)
2386 (cua--last-region-shifted): Remove.
2387 (cua--deactivate): Use deactivate-mark.
2388 (cua--pre-command-handler-1): Don't handle shift-selection.
2389 (cua--post-command-handler-1): Don't change transient-mark-mode.
2390 (cua--select-keymaps): Use region-active-p rather than
2391 cua--explicit-region-start or cua--last-region-shifted.
2392 (cua-mode): Enable shift-select-mode.
2394 2013-12-08 Leo Liu <sdl.web@gmail.com>
2396 * progmodes/flymake.el (flymake-popup-current-error-menu):
2397 Rename from flymake-display-err-menu-for-current-line. Reimplement.
2398 (flymake-posn-at-point-as-event, flymake-popup-menu)
2399 (flymake-make-emacs-menu): Remove. (Bug#16077)
2401 2013-12-08 Stefan Monnier <monnier@iro.umontreal.ca>
2403 * rect.el (rectangle-mark-mode): Activate mark even if
2404 transient-mark-mode is off (bug#16066).
2405 (rectangle--highlight-for-redisplay): Fix boundary condition when point
2406 is > mark and at bolp.
2408 * emulation/cua-rect.el (cua--rectangle-region-extract): New function.
2409 (region-extract-function): Use it.
2410 (cua-mouse-save-then-kill-rectangle): Use cua-copy-region.
2411 (cua-copy-rectangle, cua-cut-rectangle, cua-delete-rectangle):
2413 (cua--init-rectangles): Don't re-remap copy-region-as-kill,
2414 kill-ring-save, kill-region, delete-char, delete-forward-char.
2415 Ignore self-insert-iso.
2417 * emulation/cua-gmrk.el (cua--init-global-mark):
2418 Ignore `self-insert-iso'.
2420 * emulation/cua-base.el (cua--prefix-copy-handler)
2421 (cua--prefix-cut-handler): Rely on region-extract-function rather than
2422 checking cua--rectangle.
2423 (cua-delete-region): Use region-extract-function.
2424 (cua-replace-region): Delete function.
2425 (cua-copy-region, cua-cut-region): Obey region-extract-function.
2426 (cua--pre-command-handler-1): Don't do the delete-selection thing.
2427 (cua--self-insert-char-p): Ignore `self-insert-iso'.
2428 (cua--init-keymaps): Don't remap delete-selection commands.
2429 (cua-mode): Use delete-selection-mode instead of rolling our own
2432 * menu-bar.el (clipboard-kill-ring-save, clipboard-kill-region):
2433 Obey region-extract-function.
2435 Make registers and delete-selection-mode work on rectangles.
2436 * register.el (describe-register-1): Don't modify the register's value.
2437 (copy-to-register): Obey region-extract-function.
2438 * delsel.el (delete-active-region): Obey region-extract-function.
2440 2013-12-08 Leo Liu <sdl.web@gmail.com>
2442 * progmodes/flymake.el (flymake, flymake-error-bitmap)
2443 (flymake-warning-bitmap, flymake-fringe-indicator-position)
2444 (flymake-compilation-prevents-syntax-check)
2445 (flymake-start-syntax-check-on-newline)
2446 (flymake-no-changes-timeout, flymake-gui-warnings-enabled)
2447 (flymake-start-syntax-check-on-find-file, flymake-log-level)
2448 (flymake-xml-program, flymake-master-file-dirs)
2449 (flymake-master-file-count-limit)
2450 (flymake-allowed-file-name-masks): Relocate.
2451 (flymake-makehash, flymake-float-time)
2452 (flymake-replace-regexp-in-string, flymake-split-string)
2453 (flymake-get-temp-dir): Remove.
2454 (flymake-popup-menu, flymake-nop, flymake-make-xemacs-menu)
2455 (flymake-current-row, flymake-selected-frame)
2456 (flymake-get-point-pixel-pos): Remove xemacs compatibity and
2457 related functions. (Bug#16077)
2459 2013-12-07 Bozhidar Batsov <bozhidar@batsov.com>
2461 * emacs-lisp/helpers.el (string-blank-p): Use `string-match-p'.
2463 2013-12-07 Tassilo Horn <tsdh@gnu.org>
2465 * help-fns.el (describe-function-1): Use new advice-* functions
2466 rather than old ad-* functions. Fix function type description and
2467 source links for advised functions and subrs.
2469 2013-12-07 Lars Magne Ingebrigtsen <larsi@gnus.org>
2471 * net/shr.el (shr-tag-img): Don't bug out on <img src=""> data.
2473 2013-12-06 Michael Albinus <michael.albinus@gmx.de>
2475 * progmodes/compile.el (compilation-start):
2476 * progmodes/grep.el (rgrep): Revert change 2012-12-20T11:15:38Z!michael.albinus@gmx.de.
2478 * net/tramp-sh.el (tramp-sh-handle-start-file-process):
2479 Handle long command lines, lasting from "sh -c ...". (Bug#16045)
2481 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2483 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
2484 Touch up the last change.
2486 2013-12-06 Leo Liu <sdl.web@gmail.com>
2488 * progmodes/octave.el (inferior-octave-prompt): Use shy groups.
2489 (inferior-octave-startup): Always use "octave> " for prompt.
2490 (octave-goto-function-definition)
2491 (octave-sync-function-file-names)
2492 (octave-find-definition-default-filename): Remove redundant backquotes.
2494 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2496 * progmodes/ruby-mode.el (ruby-mode-syntax-table): Don't modify
2498 (ruby-expr-beg): Expect that `!' will have syntax class "symbol"
2499 where appropriate already.
2500 (ruby-syntax-propertize-function): Propertize `?' and `!' at the
2501 end of method names (Bug#15874).
2503 2013-12-06 Juri Linkov <juri@jurta.org>
2505 * isearch.el (isearch--saved-overriding-local-map):
2506 New internal variable.
2507 (isearch-mode): Set it to the initial value of
2508 `overriding-terminal-local-map'.
2509 (isearch-pre-command-hook): Compare `overriding-terminal-local-map'
2510 with `isearch--saved-overriding-local-map'. (Bug#16035)
2512 2013-12-06 Dmitry Gutov <dgutov@yandex.ru>
2514 * progmodes/octave.el (inferior-octave-completion-table):
2515 Turn back into function, use `completion-table-with-cache'
2516 (Bug#11906). Update all references.
2518 * minibuffer.el (completion-table-with-cache): New function.
2520 2013-12-05 Cameron Desautels <camdez@gmail.com> (tiny change)
2522 * emacs-lisp/regexp-opt.el (regexp-opt-charset): Fix ^ (bug#16046).
2524 2013-12-05 Teodor Zlatanov <tzz@lifelogs.com>
2526 * net/eww.el (eww-current-source): New variable to store page
2528 (eww-display-html, eww-mode, eww-save-history)
2529 (eww-restore-history): Use it.
2530 (eww-view-source): New command to view page source.
2531 Opportunistically uses `html-mode' to highlight the buffer.
2532 (eww-mode-map): Install it.
2534 2013-12-05 Michael Albinus <michael.albinus@gmx.de>
2536 * net/dbus.el (dbus-unregister-service)
2537 (dbus-escape-as-identifier, dbus-unescape-from-identifier):
2539 (dbus-unregister-service): Skip :serial entries in
2540 `dbus-registered-objects-table'.
2541 (dbus-byte-array-to-string): New optional arg MULTIBYTE.
2543 2013-12-04 Teodor Zlatanov <tzz@lifelogs.com>
2545 * emacs-lisp/lisp-mnt.el (lm-keywords-list): Trim whitespace
2546 around keywords with extra `split-string' argument.
2548 2013-12-04 Martin Rudalics <rudalics@gmx.at>
2550 * windmove.el (windmove-other-window-loc): Handle navigation
2551 between windows (excluding the minibuffer window - Bug#16017).
2553 2013-12-04 Michael Albinus <michael.albinus@gmx.de>
2555 * net/dbus.el (dbus-byte-array-to-string): Accept also byte arrays
2556 in D-Bus type syntax.
2557 (dbus-unescape-from-identifier): Use `byte-to-string' in order to
2558 preserve unibyte strings. (Bug#16048)
2560 2013-12-04 Stefan Monnier <monnier@iro.umontreal.ca>
2562 * emacs-lisp/eldoc.el (eldoc-minibuffer-message):
2563 Call force-mode-line-update is the proper buffer (bug#16042).
2565 2013-12-04 Dmitry Gutov <dgutov@yandex.ru>
2567 * vc/log-edit.el (log-edit-add-new-comment): Rename to
2568 `log-edit-remember-comment', make argument optional. Adjust all
2570 (log-edit-mode): Add `log-edit-remember-comment' to
2571 `kill-buffer-hook' locally.
2572 (log-edit-kill-buffer): Don't remember comment explicitly since
2573 the buffer is killed anyway.
2575 2013-12-04 Juri Linkov <juri@jurta.org>
2577 * isearch.el (isearch-mode, isearch-done): Don't set arg LOCAL in
2578 add-hook and remove-hook for multi-buffer search. (Bug#16035)
2580 2013-12-03 Tom Regner <tom@goochesa.de> (tiny change)
2582 * notifications.el (notifications-close-notification): Call the
2583 D-Bus method with ID being a `:uint32'. (Bug#16030)
2585 2013-12-03 Katsumi Yamaoka <yamaoka@jpl.org>
2587 * net/eww.el (eww-render): Don't pass arg to eww-display-image.
2589 2013-12-03 Juri Linkov <juri@jurta.org>
2591 * progmodes/compile.el (compilation-start): Rename window alist
2592 entry `no-display-ok' to `allow-no-window'.
2594 * simple.el (shell-command): Add window alist entry
2595 `allow-no-window' to `display-buffer'.
2596 (async-shell-command): Doc fix.
2598 * window.el (display-buffer-no-window): New action function.
2599 (display-buffer-alist, display-buffer): Doc fix. (Bug#13594)
2601 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2603 * vc/log-edit.el (log-edit-set-header): Extract from
2604 `log-edit-toggle-header'.
2605 (log-edit-extract-headers): Separate the summary, when extracted
2606 from header, from the rest of the message with an empty line.
2608 * vc/vc-git.el (vc-git-log-edit-toggle-amend): Move the summary
2609 line, if present, to the Summary header.
2611 2013-12-02 Stefan Monnier <monnier@iro.umontreal.ca>
2613 * epa-file.el (epa-file-insert-file-contents): Ensure we insert text
2614 in current-buffer (bug#16029).
2616 2013-12-02 Helmut Eller <eller.helmut@gmail.com>
2618 * emacs-lisp/debug.el (debugger-toggle-locals): New command.
2619 (debugger-mode-map): Bind it.
2620 (debugger--backtrace-base): New function.
2621 (debugger-eval-expression): Use it.
2622 (debugger-frame-number): Skip local vars when present.
2623 (debugger--locals-visible-p, debugger--insert-locals)
2624 (debugger--show-locals, debugger--hide-locals): New functions.
2626 2013-12-02 Michael Albinus <michael.albinus@gmx.de>
2628 * net/tramp-sh.el (tramp-remote-process-environment): Do not set
2630 (tramp-get-remote-locale): New defun.
2631 (tramp-open-connection-setup-interactive-shell): Use it.
2633 2013-12-02 Leo Liu <sdl.web@gmail.com>
2635 * subr.el (process-live-p): Return nil for non-process. (Bug#16023)
2637 * progmodes/sh-script.el (sh-shell-process):
2638 * progmodes/octave.el (inferior-octave-process-live-p):
2639 * progmodes/gdb-mi.el (gdb-delchar-or-quit)
2640 (gdb-inferior-io-sentinel):
2641 * emacs-lock.el (emacs-lock-live-process-p): All uses changed.
2643 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2645 * vc/log-edit.el (log-edit-kill-buffer): Move the use of
2646 `save-selected-window' to `log-edit-hide-buf'. This makes
2647 `log-edit-show-files' idempotent.
2648 (log-edit-show-files): Mark the new window as dedicated.
2650 2013-12-02 Dmitry Gutov <dgutov@yandex.ru>
2652 * vc/log-edit.el (log-edit-mode-map): Add binding for
2653 `log-edit-kill-biffer'.
2654 (log-edit-hide-buf): Add a FIXME comment.
2655 (log-edit-add-new-comment): New function, extracted from
2657 (log-edit-done, log-edit-add-to-changelog): Use it.
2658 (log-edit-kill-buffer): New command.
2660 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2662 * net/eww.el (eww-mode-map): Have `q' do a normal `quit-window'
2663 instead of killing the buffer.
2665 2013-12-01 Stefan Monnier <monnier@iro.umontreal.ca>
2667 * simple.el (newline): Mention `electric-indent-mode' (bug#16015).
2669 2013-12-01 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
2671 * net/eww.el (eww-form-checkbox-selected-symbol)
2672 (eww-form-checkbox-symbol): New customizable variable.
2673 (eww-form-checkbox, eww-toggle-checkbox):
2674 Use `eww-form-checkbox-selected-symbol' and `eww-form-checkbox-symbol'.
2676 * net/shr.el (shr-prefer-media-type-alist): New customizable variable.
2677 (shr--get-media-pref, shr--extract-best-source): New function.
2678 (shr-tag-video, shr-tag-audio): Use `shr--extract-best-source' when
2679 no :src tag was specified.
2681 * net/eww.el (eww-use-external-browser-for-content-type): New variable.
2682 (eww-render): Handle `eww-use-external-browser-for-content-type'.
2683 Use \\` to match beginning of string instead of ^.
2684 (eww-browse-with-external-browser): Provide optional URL parameter.
2685 (eww-render): Set `eww-current-title' back to "".
2687 * net/shr.el (shr-tag-video): Display content for video if no
2688 poster is available.
2689 (shr-tag-audio): Add support for <audio> tag.
2691 * net/eww.el (eww-text-input-types): New const.
2692 (eww-process-text-input): Treat input types in
2693 `eww-text-input-types' as text.
2695 * net/shr.el (shr-tag-table): Fix comment typo.
2697 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2699 * net/eww.el (eww-follow-link): New command to avoid reloading
2700 pages when we follow #target links (bug#15243).
2701 (eww-quit): Special mode buffers shouldn't query before exiting.
2703 2013-12-01 Kenjiro NAKAYAMA <nakayamakenjiro@gmail.com>
2705 * net/eww.el (eww-tag-select): Support <optgroup> tags in <select>
2708 2013-12-01 Lars Magne Ingebrigtsen <larsi@gnus.org>
2710 * net/eww.el (eww-restore-history): Update the window title after
2711 moving in the history.
2712 (eww-current-dom): New variable used to save the current DOM.
2714 2013-12-01 Dmitry Gutov <dgutov@yandex.ru>
2716 * vc/log-edit.el (log-edit-mode-map): Add binding for
2717 `log-edit-beginning-of-line'.
2718 (log-edit-setup-add-author): New user option.
2719 (log-edit-beginning-of-line): New command.
2720 (log-edit): Move major mode call above the contents setup so that
2721 the local variable values are already applied.
2722 (log-edit): Only insert "Author: " when
2723 `log-edit-setup-add-author' is non-nil.
2724 (log-edit): When SETUP is non-nil, position point after ": "
2725 instead of point-min.
2727 2013-12-01 Glenn Morris <rgm@gnu.org>
2729 * startup.el (command-line): Warn if ~/emacs.d is in load-path.
2731 2013-11-30 Eli Zaretskii <eliz@gnu.org>
2733 * startup.el (fancy-splash-frame): On MS-Windows, trigger
2734 redisplay to make sure the initial frame gets a chance to become
2735 visible. (Bug#16014)
2737 2013-11-30 Martin Rudalics <rudalics@gmx.at>
2739 Support resizing frames and windows pixelwise.
2740 * cus-start.el (frame-resize-pixelwise)
2741 (window-resize-pixelwise): New entries.
2742 * emacs-lisp/debug.el (debug): Use window-total-height instead
2743 of window-total-size.
2744 * frame.el (tool-bar-lines-needed): Defalias to tool-bar-height.
2745 * help.el (describe-bindings-internal): Call help-buffer
2746 (temp-buffer-max-width): New option.
2747 (resize-temp-buffer-window, help-window-setup)
2748 (with-help-window): Rewrite.
2749 * mouse.el (mouse-drag-line): Rewrite. Add key bindings for
2751 * window.el (frame-char-size, window-min-pixel-height)
2752 (window-safe-min-pixel-height, window-safe-min-pixel-width)
2753 (window-min-pixel-width, window-safe-min-pixel-size)
2754 (window-combination-p, window-safe-min-size)
2755 (window-resizable-p, window--size-to-pixel)
2756 (window--pixel-to-size, window--resize-apply-p): New functions.
2757 (window-safe-min-height): Fix doc-string.
2758 (window-size, window-min-size, window--min-size-1)
2759 (window-sizable, window-sizable-p, window--min-delta-1)
2760 (window-min-delta, window--max-delta-1, window-max-delta)
2761 (window--resizable, window--resizable-p, window-resizable)
2762 (window-full-height-p, window-full-width-p, window-at-side-p)
2763 (window--in-direction-2, window-in-direction)
2764 (window--resize-reset-1, window--resize-mini-window)
2765 (window-resize, window-resize-no-error)
2766 (window--resize-child-windows-normal)
2767 (window--resize-child-windows, window--resize-siblings)
2768 (window--resize-this-window, window--resize-root-window)
2769 (window--resize-root-window-vertically)
2770 (adjust-window-trailing-edge, enlarge-window, shrink-window)
2771 (maximize-window, minimize-window, delete-window)
2772 (quit-restore-window, window-split-min-size, split-window)
2773 (balance-windows-2, balance-windows)
2774 (balance-windows-area-adjust, balance-windows-area)
2775 (window--state-get-1, window-state-get, window--state-put-1)
2776 (window--state-put-2, window-state-put)
2777 (display-buffer-record-window, window--display-buffer):
2778 Make functions handle pixelwise sizing of windows.
2779 (display-buffer--action-function-custom-type)
2780 (display-buffer-fallback-action):
2781 Add display-buffer-in-previous-window.
2782 (display-buffer-use-some-window): Resize window to height it had
2784 (fit-window-to-buffer-horizontally): New option.
2785 (fit-frame-to-buffer): Describe new values.
2786 (fit-frame-to-buffer-bottom-margin): Replace with
2787 fit-frame-to-buffer-margins.
2788 (window--sanitize-margin): New function.
2789 (fit-frame-to-buffer, fit-window-to-buffer): Rewrite completely
2790 using window-text-pixel-size.
2792 2013-11-30 Glenn Morris <rgm@gnu.org>
2794 * emacs-lisp/bytecomp.el (byte-compile-form):
2795 Make the `interactive-only' warning like the `obsolete' one.
2796 * comint.el (comint-run):
2797 * files.el (insert-file-literally, insert-file):
2798 * replace.el (replace-string, replace-regexp):
2799 * simple.el (beginning-of-buffer, end-of-buffer, delete-backward-char)
2800 (goto-line, insert-buffer, next-line, previous-line):
2801 Tweak `interactive-only' spec.
2803 Stop keeping (most) generated cedet grammar files in the repository.
2804 * Makefile.in (semantic): New.
2805 (compile-main): Depend on semantic.
2807 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2809 * net/newst-reader.el (newsticker-html-renderer): Default to SHR if
2810 available. Suggested by Clément B. <barthele1u@etu.univ-lorraine.fr>.
2812 * uniquify.el (uniquify-buffer-name-style): Change default.
2814 * loadup.el: Preload "uniquify".
2816 * time.el (display-time-update): Update all mode lines (bug#15999).
2818 * electric.el (electric-indent-mode): Enable by default.
2819 * loadup.el: Preload "electric".
2821 2013-11-29 Bozhidar Batsov <bozhidar@batsov.com>
2823 * emacs-lisp/helpers.el (string-empty-p): New function.
2824 (string-blank-p): New function.
2826 2013-11-29 Andreas Politz <politza@hochschule-trier.de>
2828 * imenu.el (imenu--index-alist): Add missing dot to the docstring
2831 2013-11-29 Andreas Politz <politza@fh-trier.de>
2832 * imenu.el (imenu--subalist-p): Don't error on non-conses and
2833 allow non-lambda lists as functions.
2834 (imenu--in-alist): Don't recurse into non-subalists.
2835 (imenu): Don't pass function itself as an argument (Bug#14029).
2837 2013-11-29 Stefan Monnier <monnier@iro.umontreal.ca>
2839 * progmodes/python.el (python-mode-map): Remove binding for ":".
2840 (python-indent-electric-colon): Remove command.
2841 (python-indent-post-self-insert-function): Integrate the previous code
2842 of python-indent-electric-colon. Make it conditional on
2843 electric-indent-mode.
2844 (python-mode): Add ?: to electric-indent-chars.
2845 Move python-indent-post-self-insert-function to the end of
2846 post-self-insert-hook.
2848 2013-11-28 Stefan Monnier <monnier@iro.umontreal.ca>
2850 * doc-view.el (doc-view-goto-page): Update mode-line.
2852 * vc/vc-dispatcher.el (vc-log-edit): Setup the Summary&Author headers.
2854 2013-11-27 Glenn Morris <rgm@gnu.org>
2856 * international/charprop.el, international/uni-bidi.el:
2857 * international/uni-category.el, international/uni-combining.el:
2858 * international/uni-comment.el, international/uni-decimal.el:
2859 * international/uni-decomposition.el, international/uni-digit.el:
2860 * international/uni-lowercase.el, international/uni-mirrored.el:
2861 * international/uni-name.el, international/uni-numeric.el:
2862 * international/uni-old-name.el, international/uni-titlecase.el:
2863 * international/uni-uppercase.el:
2864 Remove generated files from VCS repository.
2866 2013-11-27 Eli Zaretskii <eliz@gnu.org>
2868 * filenotify.el (file-notify-add-watch): Don't special-case
2869 w32notify when computing the directory to watch.
2871 2013-11-27 Glenn Morris <rgm@gnu.org>
2873 Make bootstrap without generated uni-*.el files possible again.
2874 * loadup.el: Update command-line-args checking for unidata-gen.
2875 Add vc to load-path to allow loading vc-bzr when writing uni-*.el.
2876 * composite.el, international/characters.el:
2877 Handle unicode tables being undefined.
2879 Move ja-dic, quail, leim-list.el from ../leim to a leim subdirectory.
2880 * Makefile.in (setwins_for_subdirs): Skip leim/ directory.
2881 (compile-main): Depend on leim rule.
2883 * loadup.el: Move leim-list.el to leim/ subdirectory.
2884 * startup.el (normal-top-level): No more leim directory.
2885 * international/ja-dic-cnv.el (skkdic-convert):
2886 Disable version-control and autoloads in output files.
2887 * international/titdic-cnv.el (titdic-convert, miscdic-convert):
2888 Disable version-control and autoloads in output files.
2889 * leim/quail: Move here from ../leim.
2890 * leim/quail/hangul.el (hangul-input-method-activate):
2891 Add autoload cookie.
2892 (generated-autoload-load-name): Set file-local value.
2893 * leim/quail/uni-input.el (ucs-input-activate): Add autoload cookie.
2894 (generated-autoload-load-name): Set file-local value.
2896 2013-11-26 Kenjiro NAKAYAMA <knakayam@redhat.com>
2898 * net/eww.el (eww-bookmark-browse): Use 'eww-browse-url'.
2899 (eww-add-bookmark): Ask confirmation when add to bookmarks.
2900 (eww-quit): Ask confirmation before quitting eww.
2902 2013-11-26 Eli Zaretskii <eliz@gnu.org>
2904 * vc/vc.el (vc-diff-internal): Use *-dos coding-system when
2905 reading output from Diff on MS-Windows and MS-DOS.
2907 2013-11-26 Bozhidar Batsov <bozhidar@batsov.com>
2909 * emacs-lisp/helpers.el (string-reverse): New function.
2911 2013-11-26 Michael Albinus <michael.albinus@gmx.de>
2913 * net/tramp.el (tramp-file-name-regexp-unified): Support IPv6 host
2914 names on MS Windows, like "/[::1]:".
2916 * net/tramp-sh.el (tramp-sh-handle-insert-directory): Accept nil
2919 2013-11-26 Glenn Morris <rgm@gnu.org>
2921 * progmodes/python.el (python-indent-guess-indent-offset):
2922 Avoid corner-case error. (Bug#15975)
2924 Preload leim-list.el. (Bug#4789)
2925 * loadup.el: Load leim-list.el when found.
2926 * startup.el (normal-top-level): Skip re-loading leim/leim-list.el.
2928 2013-11-25 Bozhidar Batsov <bozhidar@batsov.com>
2930 * emacs-lisp/bytecomp.el (byte-compile-form): Fix a typo.
2932 * emacs-lisp/helpers.el (string-join): New function.
2934 2013-11-25 Sebastian Wiesner <lunaryorn@gmail.com> (tiny change)
2936 * emacs-lisp/bytecomp.el (byte-compile-interactive-only-functions):
2937 Mark as obsolete and replace it with a symbol property.
2938 (byte-compile-form): Use new 'interactive-only property.
2939 * comint.el, files.el, replace.el, simple.el:
2940 Apply new 'interactive-only properly.
2942 2013-11-25 Martin Rudalics <rudalics@gmx.at>
2944 * window.el (display-buffer-at-bottom): Make sure that
2945 split-window-sensibly creates the new window on bottom
2948 2013-11-23 David Kastrup <dak@gnu.org>
2950 * vc/smerge-mode.el (smerge-ediff): Choose default buffer names based
2951 on the conflict markers when available.
2952 (smerge--get-marker): New function.
2953 (smerge-end-re, smerge-base-re): Add subgroup.
2955 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2957 * frame.el (handle-focus-in, handle-focus-out): Add missing
2960 2013-11-25 Michael Albinus <michael.albinus@gmx.de>
2962 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
2963 `tramp-current-connection' only when KEEP-PASSWORD is non-nil.
2965 2013-11-25 Stefan Monnier <monnier@iro.umontreal.ca>
2967 * play/gomoku.el: Don't use intangible property. Use lexical-binding.
2968 (gomoku--last-pos): New var.
2969 (gomoku--intangible-chars): New const.
2970 (gomoku--intangible): New function.
2971 (gomoku-mode): Use it. Derive from special-mode.
2972 (gomoku-move-up): Adjust line count.
2973 (gomoku-click, gomoku-point-y, gomoku-point-square, gomoku-goto-xy)
2974 (gomoku-plot-square, gomoku-init-display, gomoku-cross-qtuple):
2975 Simplify accordingly.
2977 * frame.el (handle-focus-in, handle-focus-out): Move from frame.c.
2978 Remove blink-cursor code.
2979 (blink-cursor-timer-function, blink-cursor-suspend):
2980 Don't special-case GUIs.
2981 (blink-cursor-mode): Use focus-in/out-hook.
2983 2013-11-25 Dmitry Gutov <dgutov@yandex.ru>
2985 * vc/vc-git.el (vc-git-annotate-extract-revision-at-line): Make it
2986 work when annotation is invisible (Bug#13886).
2988 2013-11-24 Simon Schubert <2@0x2c.org> (tiny change)
2990 * json.el (json-alist-p): Only return non-nil if the alist has
2991 simple keys (Bug#13518).
2993 2013-11-24 Mihir Rege <mihirrege@gmail.com> (tiny change)
2995 * progmodes/js.el (js--ctrl-statement-indentation): Fix indent
2996 when control-statement is the first statement in a buffer (Bug#15956).
2998 2013-11-24 Dmitry Gutov <dgutov@yandex.ru>
3000 * imenu.el (imenu-generic-skip-comments-and-strings):
3001 New option (Bug#15560).
3002 (imenu--generic-function): Use it.
3004 2013-11-24 Jorgen Schaefer <contact@jorgenschaefer.de>
3006 * minibuffer.el (completion--in-region-1): Scroll the correct window.
3009 2013-11-24 Bozhidar Batsov <bozhidar@batsov.com>
3011 * emacs-lisp/helpers.el: Add some string helpers.
3012 (string-trim-left): Removes leading whitespace.
3013 (string-trim-right): Removes trailing whitespace.
3014 (string-trim): Removes leading and trailing whitespace.
3016 * subr.el (string-suffix-p): New function.
3018 2013-11-23 Glenn Morris <rgm@gnu.org>
3020 * progmodes/python.el (python-shell-send-file):
3021 Add option to delete file when done. (Bug#15647)
3022 (python-shell-send-string, python-shell-send-region): Use it.
3024 2013-11-23 Ivan Shmakov <ivan@siamics.net> (tiny change)
3026 * vc/diff-mode.el (diff-mode): Only allow diff-default-read-only
3027 to set buffer-read-only to t, never to nil. (Bug#15938)
3029 * textmodes/tex-mode.el (latex-noindent-environments):
3030 Add safe-local-variable property. (Bug#15936)
3032 2013-11-23 Glenn Morris <rgm@gnu.org>
3034 * textmodes/enriched.el (enriched-mode): Doc fix.
3035 * emacs-lisp/authors.el (authors-renamed-files-alist):
3036 Add enriched.doc -> enriched.txt.
3038 * Makefile.in (emacs): Empty EMACSLOADPATH rather than unsetting.
3040 2013-11-22 Leo Liu <sdl.web@gmail.com>
3042 * progmodes/octave.el (inferior-octave-startup): Spit out error
3045 2013-11-22 Bozhidar Batsov <bozhidar@batsov.com>
3047 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3050 (ruby-encoding-magic-comment-style): Add :version.
3052 2013-11-22 Leo Liu <sdl.web@gmail.com>
3054 * progmodes/octave.el (octave-operator-regexp): Exclude newline.
3056 (octave-help-mode): Adapt to change to help-mode-finish to use
3057 derived-mode-p on 2013-09-17.
3058 (inferior-octave-prompt): Also match octave-gui.
3059 (octave-kill-process): Don't ask twice. (Bug#10564)
3061 2013-11-22 Leo Liu <sdl.web@gmail.com>
3063 * progmodes/octave.el (inferior-octave-process-live-p): New helper.
3064 (inferior-octave-startup, inferior-octave-check-process)
3065 (inferior-octave-track-window-width-change)
3066 (octave-completion-at-point, octave-eldoc-function): Use it.
3067 (octave-kill-process): Provide confirmation. (Bug#10564)
3069 2013-11-21 Leo Liu <sdl.web@gmail.com>
3071 * progmodes/octave.el (octave-mode, inferior-octave-mode):
3072 Fix obsolete variable comment-use-global-state.
3074 2013-11-21 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3076 * progmodes/octave.el (octave-mode-map, octave-mode-menu):
3077 Add `octave-source-file'.
3078 (octave-source-file): New function. (Bug#15935)
3080 2013-11-21 Kenjiro Nakayama <nakayamakenjiro@gmail.com>
3082 * net/eww.el (eww-local-regex): New variable.
3083 (eww): Use it to detect localhost and similar.
3085 2013-11-21 Leo Liu <sdl.web@gmail.com>
3087 Add completion for command `ag'.
3088 * pcmpl-x.el (pcmpl-x-ag-options): New variable.
3089 (pcomplete/ag): New function.
3090 (pcmpl-x-ag-options): New function. Handle `[no]' in long options.
3092 2013-11-21 Stefan Monnier <monnier@iro.umontreal.ca>
3094 * emacs-lisp/byte-run.el (eval-when-compile): Fix edebug spec
3096 (make-obsolete): Remove interactive spec.
3098 2013-11-21 Glenn Morris <rgm@gnu.org>
3100 * startup.el (command-line-1): Use path-separator with -L.
3102 2013-11-20 Teodor Zlatanov <tzz@lifelogs.com>
3104 * emacs-lisp/package.el (describe-package-1): Add package archive
3107 2013-11-20 Bozhidar Batsov <bozhidar@batsov.com>
3109 * progmodes/ruby-mode.el (ruby-custom-encoding-magic-comment-template):
3110 Change default to "# encoding: %s" to differentiate it from the
3111 default Ruby encoding comment template.
3113 2013-11-20 era eriksson <era+emacsbugs@iki.fi>
3115 * ses.el (ses-mode): Doc fix. (Bug#14748)
3117 2013-11-20 Leo Liu <sdl.web@gmail.com>
3119 * window.el (display-buffer-alist): Doc fix. (Bug#13594)
3121 2013-11-19 Dan Nicolaescu <dann@gnu.org>
3123 * vc/vc-git.el (vc-git-dir-extra-headers): Add headers
3124 when rebase or bisect are in progress.
3126 2013-11-19 Xue Fuqiao <xfq.free@gmail.com>
3128 * filenotify.el (file-notify-add-watch): Doc fix.
3130 2013-11-19 Leo Liu <sdl.web@gmail.com>
3132 * obsolete/rcompile.el: Mark obsolete.
3134 * progmodes/compile.el (compilation-start)
3135 (compilation-goto-locus, compilation-find-file):
3136 Pass no-display-ok and handle nil value from display-buffer.
3139 * window.el (display-buffer-alist, display-buffer): Document the
3140 new parameter no-display-ok. Return either a window or nil
3141 but never a non-window value.
3143 2013-11-18 Stefan Monnier <monnier@iro.umontreal.ca>
3145 * electric.el (electric-indent-mode-map): Remove.
3146 (electric-indent-mode): Change the global-map instead (bug#15915).
3148 * textmodes/text-mode.el (paragraph-indent-minor-mode):
3151 2013-11-17 Stefan Monnier <monnier@iro.umontreal.ca>
3153 * emacs-lisp/nadvice.el (remove-function): Align with
3154 add-function's behavior.
3156 * progmodes/gdb-mi.el: Avoid backtracking in regexp matcher.
3157 (gdb--string-regexp): New constant.
3158 (gdb-tooltip-print, gdb-var-evaluate-expression-handler)
3159 (gdbmi-bnf-stream-record, gdb-jsonify-buffer): Use it.
3160 (gdb-source-file-regexp, gdb-prompt-name-regexp): Use it and change
3162 (gdb-get-source-file-list, gdb-get-prompt, gdb-get-source-file):
3163 Adjust use accordingly.
3164 (gdb-breakpoints-list-handler-custom): Pre-build the y/n string.
3166 2013-11-17 Adam Sokolnicki <adam.sokolnicki@gmail.com> (tiny change)
3168 * progmodes/ruby-mode.el (ruby-toggle-block): Don't stop at
3169 interpolation curlies (Bug#15914).
3171 2013-11-17 Jay Belanger <jay.p.belanger@gmail.com>
3173 * calc/calc.el (calc-context-sensitive-enter): New variable.
3174 (calc-enter): Use `calc-context-sensitive-enter'.
3176 2013-11-16 Teodor Zlatanov <tzz@lifelogs.com>
3178 * progmodes/cfengine.el: Version bump.
3179 (cfengine-cf-promises): New defcustom to locate cf-promises.
3180 (cfengine3-vartypes): Add new "data" type.
3181 (cfengine3--current-word): New function to get current name-like
3183 (cfengine3--current-function): New function to look up a CFEngine
3184 function's definition.
3185 (cfengine3-format-function-docstring): New function.
3186 (cfengine3-make-syntax-cache): New function.
3187 (cfengine3-documentation-function): New function: ElDoc glue.
3188 (cfengine3-completion-function): New function: completion glue.
3189 (cfengine3-mode): Set `compile-command',
3190 `eldoc-documentation-function', and add to
3191 `completion-at-point-functions'.
3193 2013-11-16 Michael Albinus <michael.albinus@gmx.de>
3195 * net/tramp-cmds.el (tramp-cleanup-connection): Clean up
3196 `tramp-current-connection'.
3198 2013-11-15 Dmitry Gutov <dgutov@yandex.ru>
3200 * progmodes/ruby-mode.el (ruby-font-lock-keywords): End regexp for
3201 nil/self/true/false with "end of symbol".
3203 2013-11-15 Bozhidar Batsov <bozhidar@batsov.com>
3205 * subr.el (version-regexp-alist): Fix a typo.
3207 2013-11-15 Michael Albinus <michael.albinus@gmx.de>
3209 * net/tramp-sh.el (tramp-remote-process-environment): Set "LC_ALL" to
3210 "en_US.utf8" and "LC_CTYPE" to "".
3211 (tramp-maybe-open-connection): Set "LC_ALL" to "en_US.utf8".
3212 (tramp-sh-handle-insert-directory): Don't set "LC_ALL" and "LC_CTYPE".
3214 2013-11-15 Leo Liu <sdl.web@gmail.com>
3216 * loadhist.el (read-feature): Get rid of fake feature nil. (Bug#15889)
3218 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3220 * progmodes/gud.el (ctl-x-map):
3221 Remove C-x SPC binding. (Bug#12342)
3222 (gud-jdb-find-source-using-classpath): Remove ((lambda (..)..)..).
3224 2013-11-14 Bozhidar Batsov <bozhidar@batsov.com>
3226 * subr.el (version-regexp-alist):
3227 Recognize hg, svn and darcs versions as snapshot versions.
3229 * progmodes/ruby-mode.el (ruby--detect-encoding): Make aware of
3230 'always-utf8 value of `ruby-insert-encoding-magic-comment'.
3231 (ruby--encoding-comment-required-p): Extract from
3232 `ruby-mode-set-encoding'.
3233 (ruby-mode-set-encoding): Add the ability to always insert an
3234 utf-8 encoding comment. Fix and simplify coding comment update
3237 2013-11-14 Michael Albinus <michael.albinus@gmx.de>
3239 * net/tramp-gvfs.el (top): Run init code only when
3240 `tramp-gvfs-enabled' is not nil.
3241 (tramp-gvfs-enabled): Check also :system bus.
3243 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3245 Sync with upstream verilog-mode revision 78e66ba.
3246 * progmodes/verilog-mode.el (verilog-end-of-defun)
3247 (verilog-type-completion, verilog-get-list): Remove unused funcs.
3248 (verilog-get-end-of-defun): Remove unused argument.
3249 (verilog-comment-depth): Remove unused local `e'.
3250 (verilog-read-decls, verilog-read-sub-decls, verilog-read-instants):
3251 Don't pass arg to verilog-get-end-of-defun.
3253 2013-11-14 Glenn Morris <rgm@gnu.org>
3255 * obsolete/assoc.el (aget): Prefix dynamic variable.
3257 * allout-widgets.el (allout-widgets): No need to autoload defgroup.
3259 2013-11-14 Stefan Monnier <monnier@iro.umontreal.ca>
3261 * widget.el, hfy-cmap.el: Remove bogus package version number.
3263 2013-11-13 Glenn Morris <rgm@gnu.org>
3265 * replace.el (replace-eval-replacement):
3266 Try to give more helpful error message. (Bug#15836)
3268 * arc-mode.el (archive-7z-extract, archive-7z-expunge)
3269 (archive-7z-update): Avoid custom type mismatches.
3271 * vc/vc.el (vc-diff-knows-L): Remove; unused since 2007-10-10.
3273 2013-11-13 Michael Albinus <michael.albinus@gmx.de>
3275 * net/tramp.el (tramp-remote-file-name-spec-regexp): An IPv6
3276 address can be empty.
3278 * net/tramp-gvfs.el (tramp-gvfs-handle-insert-directory):
3279 Accept nil SWITCHES.
3280 (tramp-gvfs-handle-write-region): Implement APPEND.
3282 2013-11-12 Dmitry Gutov <dgutov@yandex.ru>
3284 * progmodes/ruby-mode.el (ruby-smie-grammar): Disambiguate between
3285 binary "|" operator and closing block args delimiter.
3286 Remove FIXME comment referring to Ruby 1.8-only syntax.
3287 (ruby-smie--implicit-semi-p): Not after "|" operator.
3288 (ruby-smie--closing-pipe-p): New function.
3289 (ruby-smie--forward-token, ruby-smie--backward-token): Use it.
3290 (ruby-smie-rules): Indent after "|".
3292 2013-11-12 Glenn Morris <rgm@gnu.org>
3294 * ps-print.el (ps-face-attribute-list):
3295 Handle anonymous faces. (Bug#15827)
3297 2013-11-12 Martin Rudalics <rudalics@gmx.at>
3299 * window.el (display-buffer-other-frame): Fix doc-string.
3302 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3304 * subr.el (force-mode-line-update): Delete, move to buffer.c.
3306 2013-11-11 Michael Albinus <michael.albinus@gmx.de>
3308 * net/tramp-sh.el (tramp-do-copy-or-rename-file-via-buffer)
3309 (tramp-sh-handle-file-local-copy): Don't write a message when
3310 saving temporary files.
3312 * net/tramp-smb.el (tramp-smb-handle-copy-directory): Fix bug when
3313 both directories are remote.
3314 (tramp-smb-handle-directory-files): Do not return double entries.
3315 Do not expand full file names.
3316 (tramp-smb-handle-insert-directory): Accept nil SWITCHES.
3317 (tramp-smb-handle-write-region): Implement APPEND.
3318 (tramp-smb-get-stat-capability): Fix a stupid bug.
3320 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3322 * bindings.el (ctl-x-map): Bind C-x SPC to rectangle-mark-mode.
3324 2013-11-11 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3326 * emacs-lisp/cconv.el (cconv-convert): Print warning instead of
3327 throwing error over malformed let/let* (bug#15814).
3329 2013-11-11 Stefan Monnier <monnier@iro.umontreal.ca>
3331 * iswitchb.el (iswitchb-mode): Mark obsolete.
3333 2013-11-11 Glenn Morris <rgm@gnu.org>
3335 * international/uni-bidi.el, international/uni-category.el:
3336 * international/uni-name.el, international/uni-numeric.el:
3337 Regenerate for Unicode 6.3.0.
3339 2013-11-10 Michael Albinus <michael.albinus@gmx.de>
3341 * net/tramp.el (tramp-methods):
3342 * net/tramp-sh.el (tramp-compute-multi-hops): Revert change of
3343 2013-10-29 (2013-10-29T02:50:24Z!dancol@dancol.org).
3345 2013-11-09 Andreas Schwab <schwab@linux-m68k.org>
3347 * progmodes/sh-script.el (sh-font-lock-keywords-var):
3348 Force highlighting text after Summary keyword in doc face for rpm.
3350 2013-11-09 Dmitry Gutov <dgutov@yandex.ru>
3352 * textmodes/ispell.el (ispell-lookup-words): When `look' is not
3353 available and the word has no wildcards, append one to the grep pattern.
3354 http://lists.gnu.org/archive/html/emacs-devel/2013-11/msg00258.html
3355 (ispell-complete-word): Call `ispell-lookup-words' with the value
3356 independent of `ispell-look-p'.
3358 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3360 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p):
3362 (ruby-smie-rules): Indent non-hanging "begin" blocks as part of
3365 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3367 * progmodes/ruby-mode.el: Don't require cl any more. Use pcase instead.
3368 (ruby-font-lock-keywords): Use backquote.
3370 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3372 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3373 (ruby-smie--backward-token): Only consider full-string matches.
3375 2013-11-08 Jan Djärv <jan.h.d@swipnet.se>
3377 * faces.el (describe-face): Add distant-foreground.
3379 2013-11-08 Bozhidar Batsov <bozhidar@batsov.com>
3381 * progmodes/ruby-mode.el: Improve encoding comment handling.
3382 (ruby-encoding-magic-comment-style): New option.
3383 (ruby-custom-encoding-magic-comment-template): New option.
3384 (ruby--insert-coding-comment, ruby--detect-encoding):
3385 New functions extracted from `ruby-mode-set-encoding'.
3386 (ruby-mode-set-encoding): Use `ruby-encoding-magic-comment-style'
3387 to control the style of the auto-inserted encoding comment.
3389 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3391 * progmodes/ruby-mode.el (ruby-smie--indent-to-stmt):
3392 Use `smie-backward-sexp' with token argument.
3394 2013-11-08 Michael Albinus <michael.albinus@gmx.de>
3396 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3397 Remove instrumentation code.
3399 2013-11-08 Glenn Morris <rgm@gnu.org>
3401 * progmodes/autoconf.el (autoconf-mode):
3402 Tweak comment-start-skip. (Bug#15822)
3404 2013-11-08 Stefan Monnier <monnier@iro.umontreal.ca>
3406 * progmodes/sh-script.el (sh-smie--sh-keyword-in-p): Don't inf-loop
3407 at bobp (bug#15826).
3408 (sh-smie--sh-keyword-in-p): Recognize keywords at bobp.
3410 2013-11-08 Darren Hoo <darren.hoo@gmail.com>
3412 * man.el (Man-start-calling): New macro, extracted from
3413 Man-getpage-in-background.
3414 (Man-getpage-in-background): Use it.
3415 (Man-update-manpage): New command.
3416 (Man-mode-map): Bind it.
3418 2013-11-08 Dmitry Gutov <dgutov@yandex.ru>
3420 * progmodes/ruby-mode.el (ruby-smie-grammar): Improve precedences
3421 of "and", "or", "&&" and "||".
3422 (ruby-smie--args-separator-p): Prohibit keyword "do" as the first
3423 argument. Prohibit opening curly brace because it could only be a
3424 block opener in that position.
3425 (ruby-smie--forward-token, ruby-smie--backward-token):
3426 Separate "|" from "&" or "*" going after it. That can happen in block
3428 (ruby-smie--indent-to-stmt): New function, seeks the end of
3429 previous statement or beginning of buffer.
3430 (ruby-smie-rules): Use it.
3431 (ruby-smie-rules): Check if there's a ":" before a curly block
3432 opener candidate; if there is, it's a hash.
3434 2013-11-07 Stefan Monnier <monnier@iro.umontreal.ca>
3436 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Use macroexp-progn.
3437 (cl--block-wrapper): Fix last accidental change.
3439 2013-11-07 Michael Albinus <michael.albinus@gmx.de>
3441 * net/tramp-sh.el (tramp-set-remote-path, tramp-get-ls-command):
3442 Instrument, in order to hunt failure on hydra.
3444 2013-11-05 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3446 * emacs-lisp/cl-macs.el (cl-symbol-macrolet): Print warning for
3447 malformed bindings form (bug#15814).
3449 2013-11-07 Dmitry Gutov <dgutov@yandex.ru>
3451 * progmodes/ruby-mode.el (ruby-smie-grammar): Lower priority of
3452 "." compared to " @ ". This incidentally fixes some indentation
3454 (ruby-smie--implicit-semi-p): No implicit semi after "^", "and" or "or".
3455 (ruby-smie-grammar): New tokens: "and" and "or".
3456 (ruby-smie--args-separator-p): Fix the check for tokens at POS.
3457 Exclude "and" and "or". Remove "do" in order to work around token
3459 (ruby-smie-rules): Add all infix tokens. Handle the case of
3460 beginning-of-buffer.
3462 2013-11-06 Glenn Morris <rgm@gnu.org>
3464 * Makefile.in (setwins_almost, setwins_for_subdirs):
3465 Avoid accidental matches.
3467 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3469 * menu-bar.el (popup-menu): Use key-binding.
3471 2013-11-06 Eli Zaretskii <eliz@gnu.org>
3473 * menu-bar.el (popup-menu, menu-bar-open): When displaying TTY
3474 menus, support also the menus produced by minor modes.
3477 2013-11-06 Leo Liu <sdl.web@gmail.com>
3479 * thingatpt.el (thing-at-point-looking-at): Add optional arg
3480 DISTANCE to bound the search. All uses changed. (Bug#15808)
3482 2013-11-06 Glenn Morris <rgm@gnu.org>
3484 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs): Simplify.
3485 (setwins_almost, setwins_for_subdirs): Don't assume called from srcdir.
3486 (custom-deps, finder-data, autoloads, update-subdirs): No need to cd.
3488 2013-11-06 Stefan Monnier <monnier@iro.umontreal.ca>
3490 * electric.el (electric-indent-just-newline): New command.
3491 (electric-indent-mode-map): New keymap.
3492 (electric-indent-mode, electric-pair-mode, electric-layout-mode):
3493 Re-add :group which weren't redundant.
3495 * electric.el (electric-indent-local-mode): New minor mode.
3496 (electric-indent-functions-without-reindent): New var.
3497 (electric-indent-post-self-insert-function): Use it.
3498 * emacs-lisp/gv.el (buffer-local-value): Add setter.
3500 2013-11-05 Eli Zaretskii <eliz@gnu.org>
3502 * international/quail.el (quail-help): Be more explicit about the
3503 meaning of the labels shown on the keys. (Bug#15800)
3505 * startup.el (normal-top-level): Load the subdirs.el files before
3506 setting the locale environment. (Bug#15805)
3508 2013-11-05 Stefan Monnier <monnier@iro.umontreal.ca>
3510 * vc/vc-rcs.el (vc-rcs-parse): Make `gather' get e, b, and @-holes
3511 via arguments so as to get the right ones (bug#15418).
3513 * net/rcirc.el (rcirc-record-activity): Don't abuse add-to-list.
3515 2013-11-05 Michael Albinus <michael.albinus@gmx.de>
3517 Fix problems found while writing a test suite.
3519 * net/tramp-compat.el (tramp-compat-load): New defun.
3520 * net/tramp.el (tramp-handle-load): Use it.
3522 * net/tramp-sh.el (tramp-sh-handle-add-name-to-file): Handle the case
3523 "(numberp ok-if-already-exists)" correctly.
3525 2013-11-05 Xue Fuqiao <xfq.free@gmail.com>
3527 * international/characters.el (glyphless-char-display-control):
3530 2013-11-05 Bozhidar Batsov <bozhidar@batsov.com>
3532 * progmodes/python.el (python-mode):
3533 * progmodes/scheme.el (scheme-mode):
3534 * progmodes/prolog.el (prolog-mode):
3535 * progmodes/ruby-mode.el (ruby-mode):
3536 * emacs-lisp/lisp-mode.el (lisp-mode, lisp-interaction-mode)
3537 (emacs-lisp-mode): Remove incorrect and redundant text from docstring.
3539 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3541 * rect.el (rectangle--highlight-for-redisplay):
3542 * emacs-lisp/smie.el (smie--next-indent-change):
3543 Use buffer-chars-modified-tick.
3545 * emacs-lisp/byte-run.el (defmacro, defun): Set their `indent' property.
3547 * electric.el (electric-indent-post-self-insert-function):
3548 Only delete trailing whitepsace if it is indeed trailing (bug#15767).
3550 2013-11-04 Helmut Eller <eller.helmut@gmail.com>
3552 * emacs-lisp/cl-indent.el (with-compilation-unit): Add rule (bug#15782).
3554 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3556 * emacs-lisp/cconv.el (cconv-convert): Check form of let binding
3559 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3561 * emacs-lisp/helpers.el: Move from helpers.el. Use lexical-binding.
3563 * progmodes/python.el: Fix up last change.
3564 (python-shell--save-temp-file): New function.
3565 (python-shell-send-string): Use it. Remove `msg' arg. Don't assume
3566 `string' comes from the current buffer.
3567 (python-shell-send-string-no-output): Remove `msg' arg.
3568 (python--use-fake-loc): New var.
3569 (python-shell-buffer-substring): Obey it. Try to compensate for the
3570 extra coding line added by python-shell--save-temp-file.
3571 (python-shell-send-region): Use python-shell--save-temp-file and
3572 python-shell-send-file directly. Add `nomain' argument.
3573 (python-shell-send-buffer): Use python-shell-send-region.
3574 (python-electric-pair-string-delimiter): New function.
3575 (python-mode): Use it.
3577 2013-11-04 Eli Zaretskii <eliz@gnu.org>
3579 * startup.el (normal-top-level): Move setting eol-mnemonic-unix,
3580 eol-mnemonic-mac, eol-mnemonic-dos, and also setup of the locale
3581 environment and decoding all of the default-directory's to here
3583 (command-line): Decode also argv[0].
3585 * loadup.el: Error out if default-directory is a multibyte string
3586 when we are dumping.
3588 * Makefile.in (emacs): Don't set LC_ALL=C. (Bug#15260)
3590 2013-11-04 Teodor Zlatanov <tzz@lifelogs.com>
3592 * emacs-lisp/package.el (package-menu-mode)
3593 (package-menu--print-info, package-menu--archive-predicate):
3594 Add Archive column to package list.
3596 2013-11-04 Michael Albinus <michael.albinus@gmx.de>
3598 Fix problems found while writing a test suite.
3600 * net/tramp.el (tramp-file-name-regexp-unified): Simplify.
3601 (tramp-file-name-for-operation): Use `tramp-tramp-file-p'.
3602 (tramp-handle-substitute-in-file-name): Let-bind `process-environment'
3603 to nil when running original file name handler. Otherwise,
3604 there are problems with constructs like "$$FOO".
3606 * net/tramp-sh.el (tramp-do-copy-or-rename-file): Use correct prefix
3609 2013-11-04 Bozhidar Batsov <bozhidar@batsov.com>
3611 * progmodes/ruby-mode.el (ruby-mode): Clean up docstring.
3613 * subr.el (version<, version<=, version=):
3614 Update docstrings with information for snapshot versions.
3616 * helpers.el: New library for misc helper functions.
3617 (hash-table-keys): New function returning a list of hash keys.
3618 (hash-table-values): New function returning a list of hash values.
3620 2013-11-04 Dmitry Gutov <dgutov@yandex.ru>
3622 * progmodes/ruby-mode.el (ruby-smie--forward-token)
3623 (ruby-smie--backward-token): Tokenize heredocs as semicolons.
3625 2013-11-04 Michal Nazarewicz <mina86@mina86.com>
3627 * textmodes/fill.el (fill-single-char-nobreak-p): New function
3628 checking whether point is after a 1-letter word.
3630 2013-11-04 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3632 * progmodes/cperl-mode.el (cperl-font-lock-fontify-region-function):
3633 Don't infloop when expanding region over `multiline' syntax-type that
3634 begins a line (bug#15778).
3636 2013-11-04 Stefan Monnier <monnier@iro.umontreal.ca>
3638 * rect.el (rectangle-mark-mode): Rename from rectangle-mark.
3639 Make it into a proper minor mode.
3640 (rectangle--region): (implicitly) rename to rectangle-mark-mode.
3641 (rectangle-mark-mode-map): New keymap.
3642 (rectangle--highlight-for-redisplay): Fix some corner cases (bug#15796).
3644 2013-11-04 Glenn Morris <rgm@gnu.org>
3646 * startup.el (command-line-1): Allow `-L :...' to append to load-path.
3648 2013-11-03 Stefan Monnier <monnier@iro.umontreal.ca>
3650 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign): Remove.
3651 (ruby-smie-rules): Use smie-rule-parent instead.
3653 * emacs-lisp/smie.el (smie-rule-parent): Always call
3654 smie-indent-virtual rather than only for hanging tokens.
3655 (smie--next-indent-change): New helper command.
3657 2013-11-03 Glenn Morris <rgm@gnu.org>
3659 * Makefile.in (abs_srcdir): Remove.
3660 (emacs): Unset EMACSLOADPATH.
3662 2013-11-02 Glenn Morris <rgm@gnu.org>
3664 * Makefile.in (EMACS): Use a relative filename.
3665 (abs_top_builddir): Remove.
3666 (custom-deps, finder-data, autoloads): Use --chdir.
3668 * Makefile.in (abs_lisp): Remove, replace by abs_srcdir.
3670 Use relative filenames in TAGS files.
3671 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3672 (lisptagsfiles4, TAGS): Use relative file names.
3673 (TAGS-LISP): Remove.
3674 (maintainer-clean): No more TAGS-LISP file.
3676 * Makefile.in (lisptagsfiles1, lisptagsfiles2, lisptagsfiles3)
3677 (lisptagsfiles4): Use absolute filenames again.
3678 (TAGS, TAGS-LISP): Not everything needs to run in one line.
3679 Remove all *loaddefs files, not just the first. Remove esh-groups.
3680 (maintainer-clean): Delete TAGS, TAGS-LISP.
3682 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3684 * emacs-lisp/package.el (package-version-join):
3685 Recognize snapshot versions.
3687 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3689 * subr.el (version-regexp-alist): Add support for snapshot versions.
3691 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3693 * progmodes/ruby-mode.el (ruby-smie--rule-parent-skip-assign):
3694 New function, replacement for `smie-rule-parent' for when we want to
3695 skip over our direct parent if it's an assignment token..
3696 (ruby-smie-rules): Use it.
3698 2013-11-02 Dmitry Gutov <dgutov@yandex.ru>
3700 * progmodes/ruby-mode.el: Use `syntax-propertize-function'
3701 unconditionally. Remove now unnecessary forward declarations.
3702 Remove XEmacs-specific setup.
3703 (ruby-here-doc-end-re, ruby-here-doc-beg-match)
3704 (ruby-font-lock-syntactic-keywords)
3705 (ruby-comment-beg-syntax, ruby-in-here-doc-p)
3706 (ruby-here-doc-find-end, ruby-here-doc-beg-syntax)
3707 (ruby-here-doc-end-syntax): Remove.
3708 (ruby-mode): Don't check whether `syntax-propertize-rules' is
3709 defined as function.
3711 2013-11-02 Bozhidar Batsov <bozhidar@batsov.com>
3713 * progmodes/ruby-mode.el (ruby-mode-variables, ruby-mode): Use `setq-local'.
3715 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3717 * progmodes/ruby-mode.el (ruby-mode-variables): Don't set syntax
3718 table and abbrev table, `define-derived-mode' does that for us
3721 2013-11-01 Glenn Morris <rgm@gnu.org>
3723 * Makefile.in: Remove manual mh-e dependencies (writing .elc
3724 files is atomic for some time, so no parallel compilation issues).
3726 2013-11-01 Jan Djärv <jan.h.d@swipnet.se>
3728 * faces.el (face-x-resources): Add :distant-foreground.
3729 (region): Use :distant-foreground for gtk and ns.
3731 2013-11-01 Tassilo Horn <tsdh@gnu.org>
3733 Allow multiple bibliographies when BibLaTeX is used rather than
3735 * textmodes/reftex-parse.el (reftex-using-biblatex-p): New function.
3736 (reftex-locate-bibliography-files): Us it.
3738 2013-11-01 Claudio Bley <claudio.bley@googlemail.com>
3740 * image.el (image-type-header-regexps): Fix the 'pbm' part to
3741 allow comments in pbm files.
3743 * term/w32-win.el (dynamic-library-alist): Support newer versions
3744 of libjpeg starting with v7: look only for the DLL from the
3745 version against which Emacs was built.
3746 Support versions of libpng beyond 1.4.x.
3747 Support libtiff v4.x.
3749 2013-11-01 Bozhidar Batsov <bozhidar@batsov.com>
3751 * progmodes/ruby-mode.el (ruby-indent-tabs-mode)
3752 (ruby-indent-level, ruby-comment-column, ruby-deep-arglist):
3754 (ruby-deep-arglist): Add property :type.
3756 2013-10-31 Glenn Morris <rgm@gnu.org>
3758 * Makefile.in (custom-deps, finder-data): No need to setq the target
3759 variables, we are in the right directory and the defaults work fine.
3761 2013-10-30 Glenn Morris <rgm@gnu.org>
3763 * Makefile.in (autoloads): Do not use abs_lisp.
3765 * emacs-lisp/autoload.el (autoload-generate-file-autoloads):
3766 `newline' does not respect `standard-output', so use `princ'.
3768 2013-10-30 Alp Aker <alp.tekin.aker@gmail.com>
3770 Ensure unmarking in buffer menu clears 'S' marks. (Bug#15761)
3771 * buff-menu.el (Buffer-menu--unmark): New function.
3772 (Buffer-menu-unmark, Buffer-menu-backup-unmark): Use it.
3774 2013-10-30 Glenn Morris <rgm@gnu.org>
3776 * Makefile.in (AUTOGENEL): Add org/org-loaddefs.el.
3778 * emacs-lisp/package.el (lm-homepage): Declare.
3780 * eshell/em-ls.el (eshell-ls-directory, eshell-ls-symlink):
3783 * vc/pcvs.el (cvs-status-cvstrees): Autoload to silence compiler.
3785 * Makefile.in (finder-data, autoloads, update-subdirs)
3786 (compile-main, compile-clean, compile-always, bootstrap-clean):
3787 Check return value of cd.
3788 (compile-calc): Remove.
3790 2013-10-30 Stefan Monnier <monnier@iro.umontreal.ca>
3792 * simple.el (copy-region-as-kill): Fix call to region-extract-function.
3794 * emacs-lisp/bytecomp.el (byte-defop-compiler): Add new `2-and' handler.
3795 (byte-compile-and-folded): New function.
3796 (=, <, >, <=, >=): Use it.
3798 * dos-w32.el (minibuffer-history-case-insensitive-variables)
3799 (path-separator, null-device, buffer-file-coding-system)
3800 (lpr-headers-switches): Check system-type before modifying them.
3801 (find-buffer-file-type-coding-system): Mark obsolete.
3802 (w32-find-file-not-found-set-buffer-file-coding-system): Rename from
3803 find-file-not-found-set-buffer-file-coding-system.
3804 (w32-untranslated-filesystem-list, w32-untranslated-canonical-name):
3805 (w32-add-untranslated-filesystem, w32-remove-untranslated-filesystem)
3806 (w32-direct-print-region-use-command-dot-com, w32-untranslated-file-p):
3807 (w32-direct-print-region-helper, w32-direct-print-region-function)
3808 (w32-direct-ps-print-region-function): Rename by adding a "w32-" prefix.
3809 * startup.el (normal-top-level-add-subdirs-to-load-path):
3810 * ps-print.el (ps-print-region-function):
3811 * lpr.el (print-region-function): Use new name.
3813 * subr.el (custom-declare-variable-early): Remove function.
3814 (custom-declare-variable-list): Remove var.
3815 (error, user-error): Remove `while' loop.
3816 (read-quoted-char-radix, read-quoted-char): Move to simple.el.
3817 (user-emacs-directory-warning, locate-user-emacs-file):
3819 * simple.el (read-quoted-char-radix, read-quoted-char):
3820 * files.el (user-emacs-directory-warning, locate-user-emacs-file):
3822 * custom.el (custom-declare-variable-list): Don't process
3823 custom-declare-variable-list.
3825 * progmodes/python.el (python-shell-get-buffer): New function.
3826 (python-shell-get-process): Use it.
3827 (python-shell-send-string): Always use utf-8 and add a cookie to tell
3828 Python which encoding was used. Don't split-string since we only care
3829 about the first line. Return the temp-file, if applicable.
3830 (python-shell-send-region): Tell compile.el how to turn locations in
3831 the temp-file into locations in the source buffer.
3833 2013-10-29 Stefan Monnier <monnier@iro.umontreal.ca>
3835 * subr.el (undefined): Add missing behavior from the C code for
3838 * rect.el: Use lexical-binding. Add new rectangular region support.
3839 (rectangle-mark): New command.
3840 (rectangle--region): New var.
3841 (deactivate-mark-hook): Reset rectangle--region.
3842 (rectangle--extract-region, rectangle--insert-for-yank)
3843 (rectangle--highlight-for-redisplay)
3844 (rectangle--unhighlight-for-redisplay): New functions.
3845 (region-extract-function, redisplay-unhighlight-region-function)
3846 (redisplay-highlight-region-function): Use them to handle
3848 * simple.el (region-extract-function): New var.
3849 (delete-backward-char, delete-forward-char, deactivate-mark): Use it.
3850 (kill-new, kill-append): Remove obsolete `yank-handler' argument.
3851 (kill-region): Replace obsolete `yank-handler' arg with `region'.
3852 (copy-region-as-kill, kill-ring-save): Add `region' argument.
3853 (redisplay-unhighlight-region-function)
3854 (redisplay-highlight-region-function): New vars.
3855 (redisplay--update-region-highlight): New function.
3856 (pre-redisplay-function): Use it.
3857 (exchange-point-and-mark): Don't deactivate the mark before
3858 reactivate-it anyway.
3859 * comint.el (comint-kill-region): Remove yank-handler argument.
3860 * delsel.el (delete-backward-char, backward-delete-char-untabify)
3861 (delete-char): Remove property, since it's now part of their
3863 (self-insert-iso): Remove property since this command doesn't exist.
3865 * emacs-lisp/package.el (package--download-one-archive)
3866 (describe-package-1): Don't query the user about final newline.
3868 2013-10-29 Daniel Colascione <dancol@dancol.org>
3870 * net/tramp.el (tramp-methods): Document new functionality.
3871 * net/tramp-sh.el (tramp-compute-multi-hops): Punt to
3872 tramp-hostname-checker if method provides one instead of scanning
3873 argument list for "%h" to decide hostname acceptability.
3875 2013-10-28 Michael Albinus <michael.albinus@gmx.de>
3877 * net/tramp-sh.el (tramp-sh-handle-copy-directory):
3878 * net/tramp-smb.el (tramp-smb-handle-copy-directory):
3879 Handle COPY-CONTENTS. (Bug#15737)
3881 2013-10-28 Daiki Ueno <ueno@gnu.org>
3884 (epa-file-cache-passphrase-for-symmetric-encryption):
3885 Document that this option has no effect with GnuPG 2.0 (bug#15552).
3887 2013-10-27 Xue Fuqiao <xfq.free@gmail.com>
3889 * image.el (defimage):
3890 (image-load-path): Doc fixes.
3892 2013-10-27 Alan Mackenzie <acm@muc.de>
3894 Indent statements in macros following "##" correctly.
3895 * progmodes/cc-engine.el (c-crosses-statement-barrier-p):
3896 Modify the "#" arm of a cond form to handle "#" and "##" operators.
3898 2013-10-27 Nathan Trapuzzano <nbtrap@nbtrap.com> (tiny change)
3900 * linum.el (linum-update-window): Fix boundary test (bug#13446).
3902 2013-10-27 Dmitry Gutov <dgutov@yandex.ru>
3904 * progmodes/ruby-mode.el (ruby-smie--bosp): Anything that goes
3905 after `=' is probably a new expression.
3907 2013-10-27 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
3909 * man.el (man-imenu-title): New option.
3910 (Man-mode-map): Add menu. (Bug#15722)
3911 (Man-mode): Add imenu to menu.
3913 2013-10-26 Dmitry Gutov <dgutov@yandex.ru>
3915 * progmodes/ruby-mode.el (ruby-smie--args-separator-p): Be more
3916 specific in what the first arg can be: a non-keyword word,
3917 string/regexp/percent literal opener, opening paren, or unary
3918 operator followed directly by word.
3920 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3922 * progmodes/prolog.el: Remove old indent; use post-self-insert-hook.
3923 (prolog-align-comments-flag, prolog-indent-mline-comments-flag)
3924 (prolog-object-end-to-0-flag, prolog-electric-newline-flag)
3925 (prolog-electric-tab-flag, prolog-use-prolog-tokenizer-flag):
3926 Remove vars, they do not apply any more.
3927 (prolog-mode-abbrev-table): Remove redundant declaration.
3928 (prolog-upper-case-string, prolog-lower-case-string): Remove.
3929 (prolog-use-smie): Remove.
3930 (prolog-smie-rules): Add indentation rule for the if-then-else layout
3931 supported by prolog-electric-if-then-else-flag.
3932 (prolog-mode-variables, prolog-menu): Use setq-local.
3933 (prolog-mode-keybindings-edit): Don't rebind M-C-p and M-C-n.
3934 Remove binding to `Backspace' since this key doesn't exist anyway.
3935 Remove bindings for electric self-inserting keys.
3936 (prog-mode): Assume it's defined.
3937 (prolog-post-self-insert): New function.
3938 (prolog-mode): Use it.
3939 (prolog-indent-line, prolog-indent-level)
3940 (prolog-find-indent-of-matching-paren)
3941 (prolog-indentation-level-of-line, prolog-goto-comment-column)
3942 (prolog-paren-is-the-first-on-line-p, prolog-region-paren-balance)
3943 (prolog-goto-next-paren, prolog-in-string-or-comment)
3944 (prolog-tokenize, prolog-inside-mline-comment)
3945 (prolog-find-start-of-mline-comment): Remove functions.
3946 (prolog-find-unmatched-paren, prolog-clause-end)
3947 (prolog-guess-fill-prefix, prolog-get-predspec): Use syntax-ppss.
3948 (prolog-electric--if-then-else): Rename from
3949 prolog-insert-spaces-after-paren; use prolog-electric-if-then-else-flag.
3950 (prolog-tokenize-searchkey): Remove const.
3951 (prolog-clause-info): Use forward-sexp.
3952 (prolog-forward-list, prolog-backward-list, prolog-electric-delete)
3953 (prolog-electric-if-then-else): Remove commands.
3954 (prolog-electric--colon): Rename from prolog-electric-colon; adapt it
3955 for use in post-self-insert-hook.
3956 (prolog-electric--dash): Rename from prolog-electric-dash; adapt it
3957 for use in post-self-insert-hook.
3958 (prolog-electric--dot): Rename from prolog-electric-dot; adapt it
3959 for use in post-self-insert-hook.
3960 (prolog-electric--underscore): Rename from prolog-electric--underscore;
3961 adapt it for use in post-self-insert-hook.
3963 2013-10-25 Michael Albinus <michael.albinus@gmx.de>
3965 * emacs-lisp/ert.el (ert-run-tests-interactively):
3966 Use `completing-read'. (Bug#9756)
3968 2013-10-25 Eli Zaretskii <eliz@gnu.org>
3970 * simple.el (line-move): Call line-move-1 instead of
3971 line-move-visual when the current window hscroll is zero, but
3972 temporary-goal-column indicates we will need to hscroll as result
3973 of the movement. (Bug#15712)
3975 2013-10-25 Dmitry Gutov <dgutov@yandex.ru>
3977 * progmodes/ruby-mode.el (ruby-mode-menu): Use proper
3978 capitalization. Use :visible instead of :active.
3979 Fix `ruby-indent-exp' reference. Add menu items for the generic
3980 commands that are used with SMIE.
3981 (ruby-do-end-to-brace): Insert space after `{'.
3983 2013-10-25 John Anthony <john@jo.hnanthony.com>
3985 * progmodes/ruby-mode.el (ruby-mode-menu): Add a menu. (Bug#15600)
3987 * progmodes/inf-lisp.el (inferior-lisp-menu): Add a menu. (Bug#15599)
3989 2013-10-25 Glenn Morris <rgm@gnu.org>
3991 * vc/vc.el (vc-print-log): Don't use a working revision unless
3992 one was explicitly specified. (Bug#15322)
3994 2013-10-25 Stefan Monnier <monnier@iro.umontreal.ca>
3996 * subr.el (add-to-list): Preserve return value in compiler-macro
3999 2013-10-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4001 * progmodes/octave.el (octave-lookfor): Handle empty lookfor
4002 result. Ask user to retry using '-all' flag. (Bug#15701)
4004 2013-10-24 Stefan Monnier <monnier@iro.umontreal.ca>
4006 * emacs-lisp/smie.el: New smie-config system.
4007 (smie-config): New defcustom.
4008 (smie-edebug, smie-config-show-indent, smie-config-set-indent)
4009 (smie-config-guess, smie-config-save): New commands.
4010 (smie-config--mode-local, smie-config--buffer-local)
4011 (smie-config--trace, smie-config--modefuns): New vars.
4012 (smie-config--advice, smie-config--mode-hook)
4013 (smie-config--setter, smie-config-local, smie-config--get-trace)
4014 (smie-config--guess-value, smie-config--guess): New functions.
4015 (smie-indent-forward-token, smie-indent-backward-token): Don't copy
4016 text properties. Treat "string fence" syntax like string syntax.
4018 * progmodes/sh-script.el (sh-use-smie): Change default.
4019 (sh-smie-sh-rules, sh-smie-rc-rules): Obey legacy sh-indent-* vars.
4020 (sh-var-value): Simplify by CSE.
4021 (sh-show-indent, sh-set-indent, sh-learn-line-indent)
4022 (sh-learn-buffer-indent): Redirect to their SMIE equivalent when SMIE
4024 (sh-guess-basic-offset): Use cl-incf.
4025 (sh-guess-basic-offset): Use push+nreverse to avoid O(n^2).
4027 2013-10-24 Helmut Eller <eller.helmut@gmail.com>
4029 * emacs-lisp/lisp-mode.el (lisp-cl-font-lock-keywords-2): Fix cut&paste
4032 2013-10-24 Glenn Morris <rgm@gnu.org>
4034 * Makefile.in (abs_top_srcdir): Remove.
4035 (update-subdirs): Use relative path to update-subdirs.
4037 2013-10-24 Eli Zaretskii <eliz@gnu.org>
4039 * Makefile.in ($(MH_E_DIR)/mh-loaddefs.el)
4040 ($(TRAMP_DIR)/tramp-loaddefs.el, $(CAL_DIR)/cal-loaddefs.el)
4041 ($(CAL_DIR)/diary-loaddefs.el, $(CAL_DIR)/hol-loaddefs.el):
4042 Call unmsys--file-name before expand-file-name, not after it.
4044 2013-10-24 Michael Albinus <michael.albinus@gmx.de>
4046 * emacs-lisp/ert.el (ert-deftest): Bind macro `skip-unless'.
4047 (ert-test-skipped): New error.
4048 (ert-skip, ert-stats-skipped): New defuns.
4049 (ert--skip-unless): New macro.
4050 (ert-test-skipped): New struct.
4051 (ert--run-test-debugger, ert-test-result-type-p)
4052 (ert-test-result-expected-p, ert--stats, ert-stats-completed)
4053 (ert--stats-set-test-and-result, ert-char-for-test-result)
4054 (ert-string-for-test-result, ert-run-tests-batch)
4055 (ert--results-update-ewoc-hf, ert-run-tests-interactively):
4056 Handle skipped tests. (Bug#9803)
4058 2013-10-24 Glenn Morris <rgm@gnu.org>
4060 * Makefile.in (check-declare): Remove unnecessary path in -l argument.
4062 * Makefile.in (abs_top_srcdir): New, set by configure.
4063 (update-subdirs): Correct build-aux location.
4065 2013-10-24 Dmitry Gutov <dgutov@yandex.ru>
4067 * vc/vc.el (vc-print-root-log): Always set `default-directory'
4068 value, whether we could auto-deduce `backend', or not.
4070 * progmodes/ruby-mode.el (ruby-smie-rules): Fix the "curly block
4071 with parameters" example. Simplify the "is it block or is it
4072 hash" check, but also make it more thorough.
4074 2013-10-23 Masashi Fujimoto <masfj.dev@gmail.com> (tiny change)
4076 * battery.el (battery-pmset): Handle OS X Mavericks. (Bug#15694)
4078 2013-10-23 Stefan Monnier <monnier@iro.umontreal.ca>
4080 * progmodes/ruby-mode.el (ruby-smie-rules): Only align with parent of
4083 * progmodes/ruby-mode.el (ruby-smie-rules): Don't return 0 for
4086 2013-10-23 Jed Brown <jed@59A2.org> (tiny change)
4088 * progmodes/compile.el (compilation-directory-matcher)
4089 (compilation-page-delimiter):
4090 Support GNU Make-4.0 directory quoting. (Bug#15678)
4092 2013-10-23 Leo Liu <sdl.web@gmail.com>
4094 * ido.el (ido-tidy): Handle read-only text.
4096 2013-10-23 Glenn Morris <rgm@gnu.org>
4098 * Makefile.in (abs_srcdir, abs_lisp): New, set by configure.
4099 (emacs, compile, compile-always):
4100 Quote entities that might contain whitespace.
4101 (custom-deps, finder-data, autoloads): Use abs_lisp.
4102 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
4103 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
4104 ($(CAL_DIR)/hol-loaddefs.el): Manually expand target file name.
4106 2013-10-23 Dmitry Gutov <dgutov@yandex.ru>
4108 * progmodes/ruby-mode.el (ruby-smie--at-dot-call):
4109 Use `following-char'.
4111 2013-10-22 Stefan Monnier <monnier@iro.umontreal.ca>
4113 * emacs-lisp/smie.el (smie-rule-parent): Fix opener-test.
4114 * progmodes/ruby-mode.el (ruby-smie-rules):
4115 Remove corresponding workaround. Fix indentation rule of ";" so it
4116 also applies when ";" is the parent.
4118 2013-10-22 Xue Fuqiao <xfq.free@gmail.com>
4120 * frame.el (display-screens, display-pixel-height)
4121 (display-pixel-width, display-mm-width, display-backing-store)
4122 (display-save-under, display-planes, display-color-cells)
4123 (display-visual-class, display-monitor-attributes-list):
4124 Mention the optional ‘display’ argument in doc strings.
4126 2013-10-22 Michael Gauland <mikelygee@amuri.net>
4128 * progmodes/ebnf2ps.el (ebnf-prologue): Avoid PS error with some
4129 viewers such as evince when ebnf-production-name-p is nil. (Bug#15625)
4131 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4133 * progmodes/ruby-mode.el (ruby-smie-grammar): Remove outdated
4134 TODO. Add "." after " @ ".
4135 (ruby-smie--at-dot-call): New function. Checks if point at method
4136 call with explicit target.
4137 (ruby-smie--forward-token, ruby-smie--backward-token): Prepend "."
4138 to the method name tokens when it precedes them.
4139 (ruby-smie--backward-id, ruby-smie--forward-id): Remove.
4140 (ruby-smie-rules): Add rule for indentation before and after "."
4143 2013-10-21 Stefan Monnier <monnier@iro.umontreal.ca>
4145 * textmodes/remember.el (remember-diary-extract-entries):
4148 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after + used as
4151 2013-10-21 Dmitry Gutov <dgutov@yandex.ru>
4153 * progmodes/ruby-mode.el (ruby-smie-grammar):
4154 Add (almost) all infix operators.
4155 (ruby-smie--implicit-semi-p): Add new operator chars.
4157 * progmodes/ruby-mode.el (ruby-mode-map): Add binding for
4159 (ruby-smie--args-separator-p): Check that there's no newline
4160 between method call and its arguments.
4162 2013-10-20 Alan Mackenzie <acm@muc.de>
4164 Allow comma separated lists after Java "implements".
4166 * progmodes/cc-engine.el (c-backward-over-enum-header):
4168 * progmodes/cc-fonts.el (c-basic-matchers-after): Remove comma
4169 from a "disallowed" list in enum fontification.
4171 2013-10-20 Johan Bockgård <bojohan@gnu.org>
4173 * startup.el (default-frame-background-mode): Remove unused defvar.
4175 * progmodes/verilog-mode.el (verilog-mode): Don't set
4176 comment-indent-function globally.
4178 2013-10-20 Jan Djärv <jan.h.d@swipnet.se>
4180 * menu-bar.el: Put help-menu in menu-bar-final-items unconditionally.
4181 Move Info menu item creation to ns-win.el.
4183 * term/ns-win.el (ns-initialize-window-system): Rename Help to Info
4186 * menu-bar.el: Move GNUstep specific menus...
4188 * term/ns-win.el (ns-initialize-window-system): ... to here.
4190 2013-10-19 Stefan Monnier <monnier@iro.umontreal.ca>
4192 * simple.el (newline): Only run post-self-insert-hook when
4193 called interactively.
4195 2013-10-19 Johan Bockgård <bojohan@gnu.org>
4197 * icomplete.el (icomplete-with-completion-tables): Add :version.
4199 2013-10-19 Alan Mackenzie <acm@muc.de>
4201 Fix fontification bugs with constructors and const.
4203 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): (Just after
4204 CASE 2) Remove the check for the absence of a suffix construct
4205 after a function declaration with only types (no identifiers) in
4206 the parentheses. Also, accept a function declaration with just a
4207 type inside the parentheses, if this type can be positively
4208 recognised as such, or if a prefix keyword like "explicit" nails
4209 down the construct as a declaration.
4211 2013-10-19 Eli Zaretskii <eliz@gnu.org>
4213 * menu-bar.el (tty-menu-navigation-map): Bind mouse-N to perform
4214 TTY menu actions and down-mouse-N to tty-menu-ignore. This solves
4215 the problem whereby selecting a menu item that leads to a
4216 minibuffer prompt moves the cursor out of the minibuffer window,
4217 making it hard to type at the prompt. Suggested by Stefan Monnier
4218 <monnier@iro.umontreal.ca>.
4220 2013-10-19 Jan Djärv <jan.h.d@swipnet.se>
4222 * menu-bar.el: Don't make Services menu.
4224 2013-10-19 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
4226 * ffap.el: Handle "/usr/include/c++/<version>" directories.
4227 (ffap-alist): Use ffap-c++-mode for c++-mode.
4228 (ffap-c++-path): New variable.
4229 (ffap-c++-mode): New function.
4231 2013-10-19 Joe Vornehm Jr. <joe.vornehm@gmail.com> (tiny change)
4233 * ido.el (dired-other-frame): Only list directories. (Bug#15638)
4235 2013-10-18 Michael Albinus <michael.albinus@gmx.de>
4237 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Fix an error
4238 introduced on 2013-09-08, which results in an infinite loop
4239 requesting a password.
4241 2013-10-18 Glenn Morris <rgm@gnu.org>
4243 * progmodes/verilog-mode.el (verilog-case-fold): Add :version.
4245 2013-10-18 Wilson Snyder <wsnyder@wsnyder.org>
4247 Sync with upstream verilog-mode revision 1a6ecec7.
4248 * progmodes/verilog-mode.el (verilog-mode-version): Update.
4249 (verilog-mode-release-date): Remove.
4250 (verilog-highlight-grouping-keywords, verilog-active-low-regexp)
4251 (verilog-auto-inst-param-value, verilog-auto-input-ignore-regexp)
4252 (verilog-auto-inout-ignore-regexp, verilog-auto-output-ignore-regexp)
4253 (verilog-auto-tieoff-ignore-regexp)
4254 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp)
4255 (verilog-scan-cache-preserving, verilog-mode, verilog-at-struct-p)
4256 (verilog-signals-with, verilog-dir-cache-preserving)
4257 (verilog-auto-inst, verilog-auto-inout-param, verilog-auto):
4259 (verilog-case-fold): New option, to control case folding in
4260 regexp searches, bug597.
4261 (verilog-menu): Add verilog-sk-uvm-component, minor tweaks.
4262 (verilog-string-match-fold, verilog-in-paren-count)
4263 (verilog-in-struct-nested-p, verilog-at-struct-mv-p)
4264 (verilog-at-close-struct-p): New functions.
4265 (verilog-beg-block-re-ordered, verilog-extended-case-re)
4266 (verilog-forward-sexp, verilog-set-auto-endcomments):
4267 (verilog-leap-to-case-head): Handle "unique0" case.
4268 (verilog-in-constraint-re): New constant.
4269 (verilog-keywords, verilog-type-font-keywords):
4270 Add some SystemVerilog 1800-2012 keywords.
4271 (verilog-label-be): Remove unimplemented argument, bug669.
4272 (verilog-batch-execute-func): When batch expanding clear
4273 create-lockfiles to prevent spurious user locks when a file ends
4275 (verilog-calculate-indent, verilog-calc-1)
4276 (verilog-at-close-constraint-p, verilog-at-constraint-p)
4277 (verilog-do-indent): Fix indentation of nested constraints
4279 (verilog-sig-tieoff, verilog-typedef-name-p, verilog-auto-inst)
4280 (verilog-auto-inst-param): Use verilog-string-match-fold.
4281 (verilog-read-inst-module-matcher):
4282 Fix AUTOINST on gate primitives with #1.
4283 (verilog-read-decls): Fix double-declaring user-defined typed signals.
4284 Reads all user-defined typed variables.
4285 (verilog-read-defines): Fix reading definitions inside comments, bug647.
4286 (verilog-signals-matching-regexp)
4287 (verilog-signals-not-matching-regexp, verilog-auto):
4288 Respect verilog-case-fold.
4289 (verilog-diff-report): Fix line count.
4290 (verilog-auto-assign-modport): Remove unused local `modi'.
4291 (verilog-auto-inst-port): Support [][] in AUTO_TEMPLATE to
4292 better handle multidimensional arrays.
4293 Fix packed array ports misadding bit index in AUTOINST, bug637.
4294 (verilog-auto-output, verilog-auto-input): Fix AUTOINPUT and AUTOOUTPUT
4295 to not double-declare existing outputs and inputs, respectively.
4296 (verilog-template-map): Bind U to verilog-sk-uvm-component.
4297 (verilog-sk-uvm-object): Rename from verilog-sk-uvm-class.
4298 (verilog-sk-uvm-component): New skeleton.
4299 (verilog-submit-bug-report): Add verilog-case-fold,
4300 remove verilog-mode-release-date.
4302 2013-10-17 Barry O'Reilly <gundaetiapo@gmail.com>
4304 * subr.el (sit-for): Call (input-pending-p t) so as to behave
4307 2013-10-18 Reuben Thomas <rrt@sc3d.org>
4309 * textmodes/remember.el (remember): Set buffer-offer-save in
4310 remember buffers (bug#13566).
4312 2013-10-18 Daniel Colascione <dancol@dancol.org>
4314 When evaluating forms in ielm, direct standard output to ielm
4315 buffer. Add new ielm-return-for-effect command. Remove trailing
4316 whitespace throughout.
4318 * ielm.el (ielm-map): Bind M-RET to ielm-return-for-effect.
4319 (ielm-return-for-effect): New command.
4320 (ielm-send-input): Accept optional `for-effect' parameter.
4321 (ielm-eval-input): Accept optional `for-effect' parameter.
4322 Bind `standard-output' to stream we create using
4323 `ielm-standard-output-impl'. Suppress printing result when
4325 (ielm-standard-output-impl): New function.
4326 (inferior-emacs-lisp-mode): Explain new features in documentation.
4328 2013-10-17 Michael Albinus <michael.albinus@gmx.de>
4332 * net/tramp.el (tramp-debug-message): Do not check for connection
4334 (tramp-message): Use "vector" connection property.
4336 * net/tramp.el (tramp-rfn-eshadow-update-overlay)
4337 (tramp-equal-remote, tramp-eshell-directory-change)
4338 * net/tramp-adb.el (tramp-adb-handle-copy-file)
4339 (tramp-adb-handle-rename-file)
4340 * net/tramp-cmds.el (tramp-list-remote-buffers)
4341 (tramp-cleanup-connection, tramp-cleanup-this-connection)
4342 * net/tramp-compat.el (tramp-compat-process-running-p)
4343 * net/tramp-ftp.el (tramp-ftp-file-name-handler)
4344 * net/tramp-gvfs.el (tramp-gvfs-handle-copy-file)
4345 (tramp-gvfs-handle-rename-file)
4346 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
4347 (tramp-set-file-uid-gid)
4348 * net/tramp-smb.el (tramp-smb-handle-copy-file)
4349 (tramp-smb-handle-rename-file): Use `tramp-tramp-file-p' instead
4352 * net/tramp.el (tramp-connectable-p, tramp-handle-file-remote-p)
4353 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
4354 (tramp-gw-aux-proc-sentinel, tramp-gw-process-filter)
4355 (tramp-gw-open-network-stream): Suppress unrelated traces.
4357 * net/tramp-adb.el (tramp-adb-maybe-open-connection)
4358 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
4359 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
4360 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Set "vector"
4361 connection property.
4363 * net/tramp-cache.el (top): Suppress traces when reading
4366 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
4367 Refactor common code. Improve debug message.
4368 (tramp-maybe-open-connection)
4369 * net/tramp-smb.el (tramp-smb-call-winexe): Do not request
4370 connection buffer too early.
4372 * net/tramp-smb.el (tramp-smb-actions-get-acl): New defconst, renamed
4373 from `tramp-smb-actions-with-acl'.
4374 (tramp-smb-actions-set-acl): New defconst.
4375 (tramp-smb-handle-copy-directory)
4376 (tramp-smb-action-get-acl): New defun, renamed from
4377 `tramp-smb-action-with-acl'.
4378 (tramp-smb-action-set-acl): New defun.
4379 (tramp-smb-handle-set-file-acl): Rewrite.
4381 2013-10-17 Glenn Morris <rgm@gnu.org>
4383 * indent.el (indent-rigidly): Fix 2013-10-08 change. (Bug#15635)
4385 2013-10-17 Stefan Monnier <monnier@iro.umontreal.ca>
4387 * skeleton.el (skeleton-newline): Remove.
4388 (skeleton-internal-1): Use (insert "\n") instead.
4390 * emacs-lisp/lisp.el (lisp-completion-at-point): Complete var names for
4393 * progmodes/sh-script.el (sh-find-prev-matching): Disable SMIE's
4394 forward-sexp-function while we redo its job (bug#15613).
4396 2013-10-17 Jay Belanger <jay.p.belanger@gmail.com>
4398 * calc/calc-comb.el (math-prime-test): Don't assume large integers are
4399 represented by lists.
4401 2013-10-16 Glenn Morris <rgm@gnu.org>
4403 * tmm.el (tmm--history): New dynamic variable.
4404 (tmm-prompt): Use tmm--history in place of `history'. (Bug#15623)
4406 2013-10-16 Michael Albinus <michael.albinus@gmx.de>
4408 * net/tramp-smb.el (tramp-smb-acl-program): New customer option.
4409 (tramp-smb-errors): Add error messages.
4410 (tramp-smb-actions-with-acl): New defconst.
4411 (tramp-smb-file-name-handler-alist) [set-file-acl]: Add handler.
4412 (tramp-smb-action-with-acl, tramp-smb-handle-set-file-acl): New defuns.
4413 (tramp-smb-handle-file-acl): Rewrite, using "smbcacls".
4414 (tramp-smb-handle-file-attributes): Simplify test for "stat" capability.
4415 (tramp-smb-get-stat-capability): Fix tests.
4417 2013-10-16 Dima Kogan <dima@secretsauce.net> (tiny change)
4419 * progmodes/subword.el (subword-capitalize): Fix Stefan's mess
4422 2013-10-16 Glenn Morris <rgm@gnu.org>
4424 * ansi-color.el (ansi-color-drop-regexp):
4425 Add 1J, 1K, 2K. (Bug#15617)
4427 * files.el (hack-local-variables--warned-lexical): New.
4428 (hack-local-variables):
4429 Warn about misplaced lexical-binding. (Bug#15616)
4431 * net/eww.el (eww-render): Always set eww-current-url,
4432 and update header line. (Bug#15622)
4433 (eww-display-html): ... Rather than just doing it here.
4435 2013-10-15 Eli Zaretskii <eliz@gnu.org>
4437 * menu-bar.el (tty-menu-navigation-map): Bind mouse wheels to TTY
4438 menu navigations commands.
4440 2013-10-14 Dima Kogan <dima@secretsauce.net> (tiny change)
4442 * progmodes/subword.el (subword-capitalize): Be careful when
4443 the search for [[:alpha:]] fails (bug#15580).
4445 2013-10-14 Eli Zaretskii <eliz@gnu.org>
4447 * menu-bar.el (tty-menu-navigation-map): Bind shifted mouse clicks
4448 to commands that scroll the menu.
4450 2013-10-14 Dmitry Gutov <dgutov@yandex.ru>
4452 * progmodes/ruby-mode.el (ruby-smie--args-separator-p):
4453 Handle methods ending with `?' and `!'.
4455 2013-10-14 Akinori MUSHA <knu@iDaemons.org>
4457 * progmodes/ruby-mode.el (ruby-encoding-map): Add a mapping from
4458 `japanese-cp932' to `cp932' to fix the problem where saving a
4459 source file written in Shift_JIS twice would end up having
4460 `coding: japanese-cp932' which Ruby could not recognize.
4461 (ruby-mode-set-encoding): Add support for encodings mapped to nil
4462 in `ruby-encoding-map'.
4463 (ruby-encoding-map): Map `us-ascii' to nil by default, meaning it
4464 doesn't need to be explicitly declared in magic comment.
4465 (ruby-encoding-map): Add type declaration for better customize UI.
4467 2013-10-13 Glenn Morris <rgm@gnu.org>
4469 * progmodes/sh-script.el (sh-mark-line, sh-learn-buffer-indent):
4470 Occur buffers are read-only. http://bugs.debian.org/720775
4472 * emacs-lisp/authors.el (authors-fixed-entries):
4473 Comment out old alpha stuff.
4475 2013-10-13 Dmitry Gutov <dgutov@yandex.ru>
4477 * progmodes/ruby-mode.el (ruby-mode): Add `ruby-mode-set-encoding'
4478 to `after-save-hook' instead of `before-save-hook'.
4479 (ruby-mode-set-encoding): Use the value of coding system used to
4480 write the file. Call `basic-save-buffer-1' after modifying the
4483 2013-10-13 Alan Mackenzie <acm@muc.de>
4485 Fix indentation/fontification of Java enum with
4486 "implements"/generic.
4488 * progmodes/cc-engine.el (c-backward-over-enum-header):
4489 Extracted from the three other places and enhanced to handle generics.
4490 (c-inside-bracelist-p): Uses new function above.
4491 * progmodes/cc-fonts.el (c-font-lock-declarations): Uses new
4493 (c-font-lock-enum-tail): Uses new function above.
4495 2013-10-13 Kenichi Handa <handa@gnu.org>
4497 * international/mule-cmds.el (select-safe-coding-system): Remove a
4498 superfluous condition in chekcing whether a coding system is safe
4501 2013-10-13 Oleh Krehel <ohwoeowho@gmail.com>
4503 * replace.el (how-many): Fix rstart and !rend case. (Bug#15589)
4505 2013-10-13 Andreas Politz <politza@hochschule-trier.de>
4507 * progmodes/sql.el (sql-add-product): Fix paren typo. (Bug#15435)
4509 2013-10-13 Glenn Morris <rgm@gnu.org>
4511 * menu-bar.el (menu-bar-update-buffers):
4512 Unify Buffers menu prompt string. (Bug#15576)
4514 * face-remap.el (text-scale-adjust): Doc fix. (Bug#15434)
4516 * emacs-lisp/authors.el (authors-aliases, authors-ignored-files):
4518 (authors-fixed-entries): Use accented form of name.
4520 2013-10-12 Stefan Monnier <monnier@iro.umontreal.ca>
4522 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for paren-free
4523 method calls (bug#15594).
4524 (ruby-smie--args-separator-p): New function.
4525 (ruby-smie--forward-token, ruby-smie--backward-token): Use it to
4526 recognize paren-free method calls.
4528 * isearch.el (isearch-pre-command-hook): Don't build in knowledge about
4529 internals of universal-argument.
4531 2013-10-11 Eli Zaretskii <eliz@gnu.org>
4533 * menu-bar.el (tty-menu-navigation-map): Remap F10 to tty-menu-exit.
4534 Bind all menu-bar sequences to tty-menu-exit -- this pops down a
4535 dropped menu on second mouse click on the menu bar.
4537 2013-10-11 Stefan Monnier <monnier@iro.umontreal.ca>
4539 * progmodes/sh-script.el: Provide simpl(e|istic) completion.
4540 (explicit-shell-file-name): Declare.
4541 (sh--vars-before-point, sh--cmd-completion-table): New functions.
4542 (sh-completion-at-point-function): New function.
4544 (sh-smie--keyword-p): Remove unused argument.
4545 (sh-smie-sh-backward-token, sh-smie-rc-backward-token): Remove unused
4547 (sh-set-shell): Always setup SMIE, even if we use the
4548 old indentation code.
4550 2013-10-11 Dmitry Gutov <dgutov@yandex.ru>
4552 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Split the
4554 (ruby-smie-rules): Simplify the "do" rule. The cases when the
4555 predicate would return nil are almost non-existent.
4556 (ruby-smie--redundant-do-p): Include "until" and "for" statements.
4558 * emacs-lisp/smie.el (smie--matching-block-data): Invalidate the
4559 cache also after commands that modify the buffer but don't move
4562 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4564 * env.el (substitute-env-in-file-name): New function.
4565 (substitute-env-vars): Extend the meaning of the optional arg.
4567 2013-10-10 Eli Zaretskii <eliz@gnu.org>
4569 * term/w32-win.el (dynamic-library-alist): Define separate lists
4570 of GIF DLLs for versions before and after 5.0.0 of giflib.
4573 2013-10-10 João Távora <joaotavora@gmail.com>
4575 * vc/vc.el (vc-diff-build-argument-list-internal): If the file is
4576 not locked, use last revision and current source as
4577 defaults. (Bug#15569)
4579 2013-10-10 Masatake YAMATO <yamato@redhat.com>
4581 * menu-bar.el (menu-bar-open): Don't use popup-menu if
4584 2013-10-10 Martin Rudalics <rudalics@gmx.at>
4586 * window.el (pop-to-buffer-same-window): Fix doc-string.
4589 2013-10-10 Stefan Monnier <monnier@iro.umontreal.ca>
4591 * menu-bar.el (tty-menu-navigation-map): Reduce redundancy.
4593 2013-10-10 Andrei Chițu <andrei.chitu1@gmail.com> (tiny change)
4595 * calendar/icalendar.el (icalendar-import-file):
4596 Fix interactive spec. (Bug#15482)
4598 2013-10-10 Glenn Morris <rgm@gnu.org>
4600 * desktop.el (desktop-save): Default to saving in .emacs.d,
4601 since PWD is no longer in desktop-path by default. (Bug#15319)
4603 * menu-bar.el (menu-bar-options-menu): Remove text-mode auto-fill,
4604 now that text mode has a menu with the same entry.
4605 (menu-bar-text-mode-auto-fill): Remove now unused func.
4606 * textmodes/text-mode.el (text-mode-map):
4607 Use auto-fill help text from menu-bar.el.
4609 2013-10-10 John Anthony <john@jo.hnanthony.com>
4611 * textmodes/text-mode.el (text-mode-map): Add a menu. (Bug#15562)
4613 2013-10-09 Juri Linkov <juri@jurta.org>
4615 * isearch.el (isearch-pre-command-hook): Use this-single-command-keys
4616 instead of this-command-keys. Add universal-argument-more and
4617 universal-argument-minus to the list of prefix commands. (Bug#15568)
4619 2013-10-09 Glenn Morris <rgm@gnu.org>
4621 * vc/vc-svn.el (vc-svn-create-repo):
4622 Expand paths in file://... url. (Bug#15446)
4624 * emacs-lisp/authors.el (authors-aliases, authors-fixed-case):
4626 (authors): Remove unused local variables.
4628 2013-10-09 Stefan Monnier <monnier@iro.umontreal.ca>
4630 * profiler.el: Create a more coherent calltree from partial backtraces.
4631 (profiler-format): Hide the tail with `invisible' so that C-s can still
4632 find the hidden elements.
4633 (profiler-calltree-depth): Don't recurse so enthusiastically.
4634 (profiler-function-equal): New hash-table-test.
4635 (profiler-calltree-build-unified): New function.
4636 (profiler-calltree-build): Use it.
4637 (profiler-report-make-name-part): Indent the calltree less.
4638 (profiler-report-mode): Add visibility specs for profiler-format.
4639 (profiler-report-expand-entry, profiler-report-toggle-entry):
4640 Expand the whole subtree when provided with a prefix arg.
4642 2013-10-09 Dmitry Gutov <dgutov@yandex.ru>
4644 * progmodes/ruby-mode.el (ruby-smie-rules): Indent after hanging
4646 (ruby-smie--implicit-semi-p): Prohibit implicit semicolon after
4647 hanging iuwu-mod token.
4648 (ruby-smie--forward-token): Do not include a dot after a token in
4650 (ruby-smie--backward-token): Likewise.
4652 2013-10-08 Juri Linkov <juri@jurta.org>
4654 * isearch.el (isearch-help-map, isearch-mode-map): Don't bind [t]
4655 to isearch-other-control-char.
4656 (isearch-mode): Add isearch-pre-command-hook to pre-command-hook
4657 and isearch-post-command-hook to post-command-hook.
4658 (isearch-done): Remove isearch-pre-command-hook from pre-command-hook
4659 and isearch-post-command-hook from post-command-hook.
4660 (isearch-unread-key-sequence)
4661 (isearch-reread-key-sequence-naturally)
4662 (isearch-lookup-scroll-key, isearch-other-control-char)
4663 (isearch-other-meta-char): Remove functions.
4664 (isearch-pre-command-hook, isearch-post-command-hook):
4665 New functions based on isearch-other-meta-char rewritten
4666 relying on the new behavior of overriding-terminal-local-map
4667 that does not replace the local keymaps any more. (Bug#15200)
4669 2013-10-08 Eli Zaretskii <eliz@gnu.org>
4671 Support menus on text-mode terminals.
4672 * tmm.el (tmm-menubar): Adapt doc string to TTY menus
4675 * tooltip.el (tooltip-mode): Don't error out on TTYs.
4677 * menu-bar.el (popup-menu, popup-menu-normalize-position):
4678 Move here from mouse.el.
4679 (popup-menu): Support menu-bar navigation on TTYs using C-f/C-b
4681 (tty-menu-navigation-map): New map for TTY menu navigation.
4683 * loadup.el ("tooltip"): Load even if x-show-tip is not available.
4685 * frame.el (display-mouse-p): Report text-mode mouse as available
4687 (display-popup-menus-p): Report availability if mouse is
4688 available; don't condition on window-system.
4690 * faces.el (tty-menu-enabled-face, tty-menu-disabled-face)
4691 (tty-menu-selected-face): New faces.
4693 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4695 * emacs-lisp/lisp-mode.el: Font-lock cl-lib constructs.
4696 (lisp-el-font-lock-keywords, lisp-el-font-lock-keywords-1)
4697 (lisp-el-font-lock-keywords-2, lisp-cl-font-lock-keywords)
4698 (lisp-cl-font-lock-keywords-1, lisp-cl-font-lock-keywords-2):
4700 (lisp-mode-variables): New `elisp' argument.
4701 (emacs-lisp-mode): Use it.
4702 * font-lock.el (lisp-font-lock-keywords, lisp-font-lock-keywords-1)
4703 (lisp-font-lock-keywords-2): Move to lisp-mode.el.
4705 * indent.el: Use lexical-binding.
4706 (indent-region): Add progress reporter.
4707 (tab-stop-list): Make it implicitly extend to infinity by repeating the
4709 (indent--next-tab-stop): New function to implement this behavior.
4710 (tab-to-tab-stop, move-to-tab-stop): Use it.
4712 2013-10-08 Teemu Likonen <tlikonen@iki.fi>
4714 * indent.el (indent-rigidly--current-indentation): New function.
4715 (indent-rigidly-map): New var.
4716 (indent-rigidly): Use it to provide interactive mode (bug#8196).
4718 2013-10-08 Bastien Guerry <bzg@gnu.org>
4720 * register.el (insert-register): Fix 2013-10-07 change.
4722 2013-10-08 Stefan Monnier <monnier@iro.umontreal.ca>
4724 * progmodes/perl-mode.el: Use lexical-binding.
4725 Remove redundant :group args.
4726 (perl-nochange): Change default to be closer to other major modes's
4728 (perl-indent-line): Don't consider text on current line as a
4729 valid beginning of function from which to indent.
4731 * emacs-lisp/backquote.el (backquote-process): Catch uses of , and ,@
4732 with more than one argument (bug#15538).
4734 * mpc.el (mpc-songs-jump-to): Adjust to different playlist format.
4736 * vc/pcvs.el: Use lexical-binding.
4737 (cvs-temp-buffer, cvs-make-cvs-buffer): Pass some vars in the lexical
4738 environment of `eval'.
4739 (cvs-mode-run, cvs-mode-do): Change `postproc' to be a function rather
4740 than a list of expressions. Adjust callers.
4741 * vc/pcvs-defs.el (cvs-postprocess): Remove, unused.
4743 2013-10-07 Dmitry Gutov <dgutov@yandex.ru>
4745 * progmodes/ruby-mode.el (ruby-smie--implicit-semi-p): Handle the
4746 case of the dot in a chained method call being on the following line.
4748 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4750 * electric.el (electric-indent-inhibit): New var.
4751 (electric-indent-post-self-insert-function): Use it.
4752 * progmodes/python.el (python-mode): Set it.
4754 * progmodes/ruby-mode.el (ruby-smie-rules): Tweak handling of
4757 * emacs-lisp/smie.el (smie-next-sexp): Refine last fix.
4759 * textmodes/css-mode.el (css-smie-rules): Fix indentation (bug#15467).
4760 (css-mode): Use electric-indent-chars.
4762 * nxml/nxml-mode.el: Use lexical-binding and syntax-propertize.
4763 (font-lock-beg, font-lock-end): Move before first use.
4764 (nxml-mode): Use syntax-propertize-function.
4765 (nxml-after-change, nxml-after-change1): Adjust accordingly.
4766 (nxml-extend-after-change-region): Remove.
4767 * nxml/xmltok.el: Use lexical-binding.
4768 (xmltok-save): Use `declare'.
4769 (xmltok-unclosed-reparse-p, xmltok-semi-closed-reparse-p): Remove.
4770 * nxml/nxml-util.el: Use lexical-binding.
4771 (nxml-with-degradation-on-error, nxml-with-invisible-motion):
4773 * nxml/nxml-ns.el: Use lexical-binding.
4774 (nxml-ns-save): Use `declare'.
4775 (nxml-ns-prefixes-for): Avoid add-to-list.
4776 * nxml/rng-match.el: Use lexical-binding.
4777 (rng--ipattern): Use cl-defstruct.
4778 (rng-compute-start-tag-open-deriv, rng-compute-start-attribute-deriv)
4779 (rng-cons-group-after, rng-subst-group-after)
4780 (rng-subst-interleave-after, rng-apply-after, rng-compute-data-deriv):
4781 Use closures instead of `(lambda...).
4783 2013-10-07 Michael Albinus <michael.albinus@gmx.de>
4785 * net/tramp.el (tramp-handle-insert-file-contents): Improve handling
4788 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
4789 Use `tramp-handle-insert-file-contents'.
4790 (tramp-gvfs-handle-insert-file-contents): Remove function.
4792 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
4793 Use `save-restriction' in order to keep markers.
4795 * net/trampver.el: Update release number.
4797 2013-10-07 Stefan Monnier <monnier@iro.umontreal.ca>
4799 * progmodes/compile.el (compilation-parse-errors):
4800 Use compilation--put-prop.
4801 (compilation--ensure-parse): Check compilation-multiline.
4803 * emacs-lisp/easymenu.el (easy-menu-create-menu): Use closures.
4805 * emacs-lisp/lisp-mode.el (eval-defun-2): Simplify, using
4808 * emacs-lisp/tq.el (tq-create): Use a closure instead of `(lambda...).
4810 * progmodes/ruby-mode.el: Fix recently added tests.
4811 (ruby-smie-grammar): Add - and +.
4812 (ruby-smie--redundant-do-p, ruby-smie--forward-id)
4813 (ruby-smie--backward-id): New functions.
4814 (ruby-smie--forward-token, ruby-smie--backward-token): Use them.
4815 (ruby-smie-rules): Handle hanging do. Get rid of hack, not needed
4818 2013-10-07 Leo Liu <sdl.web@gmail.com>
4820 * register.el (register-preview-delay)
4821 (register-preview-functions): New variables.
4822 (register-read-with-preview, register-preview)
4823 (register-describe-oneline): New functions.
4824 (point-to-register, window-configuration-to-register)
4825 (frame-configuration-to-register, jump-to-register)
4826 (number-to-register, view-register, insert-register)
4827 (copy-to-register, append-to-register, prepend-to-register)
4828 (copy-rectangle-to-register): Use register-read-with-preview to
4829 read register. (Bug#15525)
4831 2013-10-06 Dato Simó <dato@net.com.org.es> (tiny change)
4833 * net/network-stream.el (network-stream-open-starttls): Don't add
4834 --insecure if it's already present, because that gnutls-cli
4835 rejects getting that parameter twice.
4837 2013-10-06 Dmitry Gutov <dgutov@yandex.ru>
4839 * progmodes/ruby-mode.el (ruby-smie-rules): Dedent `ensure'
4842 2013-10-05 Dmitry Gutov <dgutov@yandex.ru>
4844 * newcomment.el (comment-use-global-state): Change default value
4845 to t, mark obsolete (Bug#15251).
4846 (comment-beginning): In addition to `comment-to-syntax', check the
4847 value of `comment-use-global-state'.
4849 2013-10-05 Stefan Monnier <monnier@iro.umontreal.ca>
4851 * progmodes/ruby-mode.el (ruby-use-smie): Change default.
4852 (ruby-comment-column): Follow the global default, by default.
4853 (ruby-smie-grammar): Add assignment syntax.
4854 (ruby-smie--implicit-semi-p): No implicit semi-colon after an
4855 open-paren, a comma, or a \.
4856 (ruby-smie--forward-token, ruby-smie--backward-token): Handle heredocs,
4857 and line continuations.
4858 (ruby-smie-rules): Adjust handling of open-paren, now that it's never
4859 followed by implicit semi-colons. Add rule for string concatenation
4860 and for indentation at BOB.
4861 (ruby-forward-sexp, ruby-backward-sexp): Adjust for when smie is in use.
4863 * emacs-lisp/smie.el (smie-next-sexp): Don't go back to pos before
4864 calling next-sexp, since next-token may have skipped chars which
4865 next-sexp doesn't know should be skipped!
4867 2013-10-05 Leo Liu <sdl.web@gmail.com>
4869 * progmodes/octave.el (octave-send-region):
4870 Call compilation-forget-errors.
4872 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4874 * vc/vc-svn.el (vc-svn-find-admin-dir):
4875 * vc/vc-rcs.el (vc-rcs-find-admin-dir):
4876 * vc/vc-mtn.el (vc-mtn-find-admin-dir):
4877 * vc/vc-cvs.el (vc-cvs-find-admin-dir):
4878 * vc/vc-arch.el (vc-arch-find-admin-dir): New functions.
4880 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4882 * textmodes/css-mode.el (css-smie-rules): Toplevel's a list (bug#15467).
4884 2013-10-04 Stefan Monnier <monnier@iro.umontreal.ca>
4886 * subr.el (read-passwd): Hide chars even when called within a context
4887 where after-change-functions is disabled (bug#15501).
4888 (set-temporary-overlay-map): Don't remove oneself from pre-command-hook
4889 until we removed ourself from overriding-terminal-local-map.
4891 2013-10-04 Leo Liu <sdl.web@gmail.com>
4893 * progmodes/octave.el (inferior-octave-mode):
4894 Call compilation-forget-errors.
4896 2013-10-04 Xue Fuqiao <xfq.free@gmail.com>
4898 * emacs-lisp/syntax.el (syntax-ppss): Doc fix.
4900 2013-10-04 Michael Albinus <michael.albinus@gmx.de>
4902 * net/secrets.el (secrets-create-collection): Add optional
4903 argument ALIAS. Use proper Label keyword. Append ALIAS as
4904 dbus-call-method argument. (Bug#15516)
4906 2013-10-04 Leo Liu <sdl.web@gmail.com>
4908 * progmodes/octave.el (inferior-octave-error-regexp-alist)
4909 (inferior-octave-compilation-font-lock-keywords): New variables.
4910 (compilation-error-regexp-alist)
4911 (compilation-mode-font-lock-keywords): Defvar to pacify compiler.
4912 (inferior-octave-mode): Use compilation-shell-minor-mode.
4914 2013-10-04 Jorgen Schaefer <forcer@forcix.cx>
4916 * minibuffer.el (completion--replace): Be careful that `end' might be
4919 2013-10-03 Daiki Ueno <ueno@gnu.org>
4921 Add support for package signature checking.
4922 * emacs-lisp/package.el (url-http-file-exists-p)
4923 (epg-make-context, epg-context-set-home-directory)
4924 (epg-verify-string, epg-context-result-for)
4925 (epg-signature-status, epg-signature-to-string)
4926 (epg-check-configuration, epg-configuration)
4927 (epg-import-keys-from-file): Declare.
4928 (package-check-signature): New user option.
4929 (package-unsigned-archives): New user option.
4930 (package-desc): Add `signed' field.
4931 (package-load-descriptor): Set `signed' field if .signed file exists.
4932 (package--archive-file-exists-p): New function.
4933 (package--check-signature): New function.
4934 (package-install-from-archive): Check package signature.
4935 (package--download-one-archive): Check archive signature.
4936 (package-delete): Remove .signed file.
4937 (package-import-keyring): New command.
4938 (package-refresh-contents): Import default keyring.
4939 (package-desc-status): Add "unsigned" status.
4940 (describe-package-1, package-menu--print-info)
4941 (package-menu-mark-delete, package-menu--find-upgrades)
4942 (package-menu--status-predicate): Support "unsigned" status.
4944 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4946 * emacs-lisp/cconv.el (cconv-convert, cconv-analyse-form): Adjust for
4947 the new compilation scheme using the new byte-codes.
4949 * emacs-lisp/bytecomp.el (byte-pushcatch, byte-pushconditioncase)
4950 (byte-pophandler): New byte codes.
4951 (byte-goto-ops): Adjust accordingly.
4952 (byte-compile--use-old-handlers): New var.
4953 (byte-compile-catch): Use new byte codes depending on
4954 byte-compile--use-old-handlers.
4955 (byte-compile-condition-case--old): Rename from
4956 byte-compile-condition-case.
4957 (byte-compile-condition-case--new): New function.
4958 (byte-compile-condition-case): New function that dispatches depending
4959 on byte-compile--use-old-handlers.
4960 (byte-compile-unwind-protect): Pass a function to byte-unwind-protect
4963 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker):
4964 Optimize under `condition-case' and `catch' if
4965 byte-compile--use-old-handlers is nil.
4966 (disassemble-offset): Handle new bytecodes.
4968 2013-10-03 Stefan Monnier <monnier@iro.umontreal.ca>
4970 * subr.el (error): Use `declare'.
4971 (decode-char, encode-char): Use advertised-calling-convention instead
4972 of the docstring to discourage use of the `restriction' arg.
4974 2013-10-03 Daiki Ueno <ueno@gnu.org>
4976 * epg.el (epg-verify-file): Add a comment saying that it does not
4977 notify verification error as a return value nor a signal.
4978 (epg-verify-string): Ditto.
4980 2013-10-02 Kevin Rodgers <kevin.d.rodgers@gmail.com>
4982 * progmodes/compile.el (compilation-start): Try globbing the arg to
4985 2013-10-02 Michael Albinus <michael.albinus@gmx.de>
4987 Sync with Tramp 2.2.8.
4989 * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers):
4990 * net/tramp-cache.el (tramp-cache-print): Use `tramp-compat-funcall'.
4991 * net/trampver.el: Update release number.
4993 2013-10-01 Jan Djärv <jan.h.d@swipnet.se>
4995 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
4996 and default-process-coding-system for darwin only.
4998 2013-10-01 Stefan Monnier <monnier@iro.umontreal.ca>
5000 * emacs-lisp/package.el (package-desc): Simplify (bug#15495).
5002 2013-10-01 Mitchel Humpherys <mitch.special@gmail.com> (tiny change)
5004 * vc/vc-git.el (vc-git-grep): Disable pager.
5006 2013-10-01 Dmitry Gutov <dgutov@yandex.ru>
5008 * emacs-lisp/package.el (package-buffer-info, describe-package-1):
5009 Use :url instead of :homepage, as per
5010 http://lists.gnu.org/archive/html/emacs-devel/2013-09/msg00622.html
5012 * newcomment.el (comment-beginning): When `comment-use-syntax' is
5013 non-nil, use `syntax-ppss' (Bug#15251).
5015 2013-09-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5017 * progmodes/octave.el (inferior-octave-startup-file):
5018 Prefer ~/.emacs.d/init_octave.m.
5020 2013-09-29 Dmitry Gutov <dgutov@yandex.ru>
5022 * emacs-lisp/package.el (package-desc-from-define):
5023 Accept additional arguments as plist, convert them to an alist and store
5024 them in the `extras' slot.
5025 (package-generate-description-file): Convert extras alist back to
5026 plist and append to the `define-package' form arguments.
5027 (package--alist-to-plist): New function.
5028 (package--ac-desc): Add `extras' slot.
5029 (package--add-to-archive-contents): Check if the archive-contents
5030 vector is long enough, and if it is, pass its `extras' slot value
5031 to `package-desc-create'.
5032 (package-buffer-info): Call `lm-homepage', pass the returned value
5033 to `package-desc-from-define'.
5034 (describe-package-1): Render the homepage button (Bug#13291).
5036 * emacs-lisp/package-x.el (package-upload-buffer-internal):
5037 Pass `extras' slot from `package-desc' to `package-make-ac-desc'.
5039 2013-09-29 Jan Djärv <jan.h.d@swipnet.se>
5041 * term/ns-win.el (ns-initialize-window-system): Set locale-coding-system
5042 and default-process-coding-system to utf-8-unix (Bug#15402).
5044 2013-09-29 Xue Fuqiao <xfq.free@gmail.com>
5046 * subr.el (looking-back): Do not recommend using looking-back.
5048 2013-09-28 Alan Mackenzie <acm@muc.de>
5050 Fix indentation/fontification of Java enum with "implements".
5052 * progmodes/cc-langs.el (c-postfix-decl-spec-key): New variable, a
5053 regexp which matches "implements", etc., in Java.
5054 * progmodes/cc-engine.el (c-inside-bracelist-p): Check for extra
5055 specifier clauses coming after "enum".
5056 * progmodes/cc-fonts.el (c-font-lock-declarations)
5057 (c-font-lock-enum-tail): Check for extra specifier clauses coming
5060 2013-09-28 Jan Djärv <jan.h.d@swipnet.se>
5062 * faces.el (region): Change ns_selection_color to
5063 ns_selection_fg_color, add ns_selection_bg_color.
5065 2013-09-28 Leo Liu <sdl.web@gmail.com>
5067 * progmodes/octave.el (inferior-octave-completion-table)
5068 (inferior-octave-completion-at-point): Minor tweaks.
5070 * textmodes/ispell.el (ispell-lookup-words): Rename from
5071 lookup-words. (Bug#15460)
5072 (lookup-words): Obsolete.
5073 (ispell-complete-word, ispell-command-loop): All uses changed.
5075 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5077 * progmodes/octave.el (octave-mode-map): Bind octave-send-buffer.
5078 (octave-mode-menu): Add octave-send-buffer.
5079 (octave-send-buffer): New function.
5081 2013-09-28 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
5083 * progmodes/octave.el (octave-mode-map): Add key binding for
5085 (octave-mode-menu): Add octave-lookfor.
5086 (inferior-octave-mode-map, octave-help-mode-map): Bind C-ha to
5088 (octave-lookfor): New function.
5090 2013-09-28 Stefan Monnier <monnier@iro.umontreal.ca>
5092 * emacs-lisp/cl-macs.el:
5093 (cl--loop-destr-temps): Remove.
5094 (cl--loop-iterator-function): Rename from cl--loop-map-form and change
5096 (cl--loop-set-iterator-function): New function.
5097 (cl-loop): Adjust accordingly, so as not to use cl-subst.
5098 (cl--parse-loop-clause): Adjust all uses of cl--loop-map-form.
5099 Bind `it' with `let' instead of substituting it with `cl-subst'.
5100 (cl--unused-var-p): New function.
5101 (cl--loop-let): Don't use the cl--loop-destr-temps hack any more.
5102 Eliminate some unused variable warnings (bug#15326).
5104 2013-09-27 Tassilo Horn <tsdh@gnu.org>
5106 * doc-view.el (doc-view-scale-reset): Rename from
5107 `doc-view-reset-zoom-level'.
5108 (doc-view-scale-adjust): New command.
5109 (doc-view-mode-map): Remap `text-scale-adjust' bindings to
5110 `doc-view-scale-adjust'.
5112 2013-09-26 Tassilo Horn <tsdh@gnu.org>
5114 * doc-view.el (doc-view-reset-zoom-level): New command.
5115 (doc-view-mode-map): Remap text-scale-adjust bindings to doc-view
5116 zoom commands (bug#15466).
5118 2013-09-26 Kenichi Handa <handa@gnu.org>
5120 * international/quail.el (quail-help): Make it not a command.
5122 2013-09-26 Leo Liu <sdl.web@gmail.com>
5124 * minibuffer.el (completion-all-sorted-completions): Make args
5125 optional as they are.
5127 2013-09-25 Daniel Colascione <dancol@dancol.org>
5129 * emacs-lisp/cl-macs.el (cl-type-spec): Tell edebug what type
5130 specs are and that they're not evaluated.
5132 2013-09-24 Sam Steingold <sds@gnu.org>
5134 * midnight.el (clean-buffer-list-kill-regexps)
5135 (clean-buffer-list-kill-buffer-names): Update for the new Man
5136 buffer naming which includes the object name.
5138 2013-09-23 Stefan Monnier <monnier@iro.umontreal.ca>
5140 * eshell/esh-cmd.el (eshell--sep-terms): New var.
5141 (eshell-parse-command, eshell-parse-pipeline): Use it since
5142 eshell-separate-commands requires a dynamic scoped var.
5143 Reported by Jan Moringen <jmoringe@techfak.uni-bielefeld.de>.
5145 2013-09-23 Leo Liu <sdl.web@gmail.com>
5147 * autoinsert.el (auto-insert-alist): Make the value of
5148 lexical-binding match its file setting.
5150 2013-09-23 Juanma Barranquero <lekktu@gmail.com>
5152 * vc/vc-sccs.el (vc-sccs-search-project-dir): Mark unused argument.
5154 * autoarg.el (autoarg-kp-digit-argument):
5155 * electric.el (Electric-command-loop):
5156 * kmacro.el (kmacro-step-edit-insert):
5157 Do not set universal-argument-num-events.
5159 2013-09-22 Leo Liu <sdl.web@gmail.com>
5161 * files.el (interpreter-mode-alist): Add octave.
5163 2013-09-21 Alan Mackenzie <acm@muc.de>
5165 C++: fontify identifier in declaration following "public:" correctly.
5166 * progmodes/cc-langs.el (c-decl-start-colon-kwd-re): New lang var
5167 to match "public", etc.
5168 (c-decl-prefix-re): Add ":" into the C++ value.
5169 * progmodes/cc-engine.el (c-find-decl-prefix-search): Refactor a
5170 bit. Add a check for a ":" preceded by "public", etc.
5172 2013-09-21 Eli Zaretskii <eliz@gnu.org>
5174 * files.el (auto-mode-alist): Support OBJFILE-gdb.gdb script files
5175 recognized by GDB 7.5 and later.
5177 2013-09-21 Xue Fuqiao <xfq.free@gmail.com>
5179 * vc/vc-dir.el (vc-dir-mode-map): Add keybinding for vc-log-incoming.
5181 2013-09-20 Stefan Monnier <monnier@iro.umontreal.ca>
5183 * subr.el (internal--call-interactively): New const.
5184 (called-interactively-p): Use it (bug#3984).
5186 2013-09-20 Xue Fuqiao <xfq.free@gmail.com>
5188 * vc/pcvs.el (cvs-mode-ignore):
5189 * vc/vc-cvs.el (vc-cvs-ignore, vc-cvs-append-to-ignore):
5190 Rename cvs-append-to-ignore to vc-cvs-append-to-ignore.
5192 2013-09-19 Stefan Monnier <monnier@iro.umontreal.ca>
5194 * eshell/em-ls.el: Use advice. Remove redundant :group keywords.
5195 (eshell-ls-orig-insert-directory): Remove.
5196 (eshell-ls-unload-hook): Not a defcustom any more. Use advice-remove.
5197 (eshell-ls-use-in-dired): Use advice-add/remove.
5198 (eshell-ls--insert-directory): Rename from eshell-ls-insert-directory.
5199 Add `orig-fun' arg for use in :around advice.
5200 Make it check (redundantly) eshell-ls-use-in-dired.
5202 2013-09-19 Glenn Morris <rgm@gnu.org>
5204 * emacs-lisp/cl-macs.el (cl-defsubst): Remove unused local `pbody'.
5206 * simple.el (x-selection-owner-p, x-selection-exists-p): Declare.
5208 * emacs-lisp/eieio.el (class-parent): Undo previous change.
5210 2013-09-19 Michael Albinus <michael.albinus@gmx.de>
5212 * net/tramp-sh.el (tramp-get-remote-id): Do not raise an error.
5213 (tramp-get-remote-uid-with-id, tramp-get-remote-gid-with-id)
5214 (tramp-get-remote-python): New defuns.
5215 (tramp-get-remote-uid-with-perl)
5216 (tramp-get-remote-gid-with-perl): New defuns. Perl code
5217 contributed by yary <not.com@gmail.com> (tiny change).
5218 (tramp-get-remote-uid-with-python)
5219 (tramp-get-remote-gid-with-python): New defuns. Python code
5220 contributed by Andrey Tykhonov <atykhonov@gmail.com> (tiny change).
5221 (tramp-get-remote-uid, tramp-get-remote-gid): Use new defuns.
5223 2013-09-19 Glenn Morris <rgm@gnu.org>
5225 * emacs-lisp/eieio.el (class-parent): Don't use defalias with macros.
5227 * eshell/em-unix.el (eshell-remove-entries):
5228 Rename argument to avoid name-clash with global `top-level'.
5230 * eshell/esh-proc.el (eshell-kill-process-function):
5231 Remove eshell-reset-after-proc from eshell-kill-hook if present.
5232 (eshell-reset-after-proc): Remove unused arg `proc'.
5234 * eshell/esh-util.el (eshell-read-hosts-file): Use `filename' arg.
5235 (directory-files-and-attributes): Mark unused arg.
5237 * eshell/em-unix.el (eshell-remove-entries):
5238 Remove unused arg `path'. Update callers.
5240 * eshell/em-hist.el (eshell-hist-parse-arguments):
5241 Remove unused arg `silent'. Update callers.
5243 * eshell/em-ls.el (eshell-ls-use-in-dired): Use `symbol' arg.
5244 Fix (f)boundp mix-up.
5246 * eshell/em-smart.el (eshell-smart-scroll-window)
5247 (eshell-disable-after-change):
5248 * eshell/em-term.el (eshell-term-sentinel): Mark unused arg.
5250 2013-09-18 Alan Mackenzie <acm@muc.de>
5252 Fix fontification of type when followed by "const".
5253 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Don't exclude
5254 "known" types from fontification.
5256 2013-09-18 Glenn Morris <rgm@gnu.org>
5258 * emacs-lisp/chart.el (x-display-color-cells): Declare.
5259 (chart-face-list): Drop Emacsen without display-color-p.
5261 * net/eww.el (libxml-parse-html-region): Declare.
5262 (eww-display-html): Explicit error if no libxml2 support.
5264 * doc-view.el (doc-view-mode): Silence --without-x compilation.
5266 * image.el (image-type-from-buffer, image-multi-frame-p):
5267 Remove --without-x warning/error.
5269 * mouse.el (mouse-yank-primary):
5270 * term.el (term-mouse-paste):
5271 Reorder to silence --without-x compilation.
5273 * mpc.el (doc-view-mode): Silence --without-x compilation.
5275 * mail/rmailmm.el (rmail-mime-set-bulk-data):
5276 Silence --without-x compilation.
5278 * progmodes/gud.el (gud-find-file, gud-mode):
5279 Silence --without-x compilation.
5280 (tooltip-mode): Declare.
5282 * wdired.el (dired-backup-overwrite): Remove declaration.
5283 (wdired-mode-map): Add doc string.
5285 * custom.el (x-get-resource): Declare.
5287 * eshell/em-glob.el (ange-cache):
5288 * eshell/em-unix.el (ange-cache): Declare.
5290 * faces.el (x-display-list, x-open-connection, x-get-resource):
5293 * follow.el (scroll-bar-toolkit-scroll, scroll-bar-drag)
5294 (scroll-bar-scroll-up, scroll-bar-scroll-down, mwheel-scroll):
5297 * frame.el (x-display-grayscale-p, x-display-name): Declare.
5299 * net/gnutls.el (gnutls-log-level): Declare.
5301 * net/shr.el (image-size, image-animate): Declare.
5303 * simple.el (font-info): Declare.
5305 * subr.el (x-popup-dialog): Declare.
5307 * term/common-win.el (x-select-enable-primary)
5308 (x-last-selected-text-primary, x-last-selected-text-clipboard):
5311 * term/ns-win.el (x-handle-args): Declare.
5313 * term/x-win.el (x-select-enable-clipboard): Declare.
5315 * term/w32-win.el (create-default-fontset): Declare.
5317 * w32-common-fns.el (x-server-version, x-select-enable-clipboard):
5320 * window.el (x-display-pixel-height, tool-bar-lines-needed): Declare.
5321 (fit-frame-to-buffer): Explicit error if --without-x.
5322 (mouse-autoselect-window-select): Silence compiler.
5324 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape): Declare.
5326 * eshell/em-cmpl.el (eshell-complete-parse-arguments):
5327 * eshell/em-hist.el (eshell/history, eshell-isearch-backward):
5328 * eshell/em-pred.el (eshell-parse-modifiers, eshell-pred-file-time):
5329 * eshell/esh-util.el (eshell-sublist):
5330 Remove unused local variables.
5332 * eshell/esh-io.el (x-select-enable-clipboard): Declare.
5334 * textmodes/two-column.el: Make 2C-split work for --without-x.
5335 (scroll-bar-columns): Autoload.
5336 (top-level): Require fringe when compiling.
5338 2013-09-18 Leo Liu <sdl.web@gmail.com>
5340 * subr.el (add-hook): Robustify to handle closure as well.
5342 2013-09-17 Glenn Morris <rgm@gnu.org>
5344 * simple.el (messages-buffer-mode-map): Unbind "g".
5346 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5348 * help-mode.el (help-mode-finish): Use derived-mode-p.
5349 Remove obsolete highlighting.
5351 * play/life.el (life-mode): Use define-derived-mode. Derive from
5353 (life): Let-bind inhibit-read-only.
5354 (life-setup): Avoid `setq'. Use `life-mode'.
5356 * emacs-lisp/package.el (package-generate-autoloads): Remove `require'
5357 which should not be needed any more.
5358 (package-menu-refresh, package-menu-describe-package): Use user-error.
5360 * eshell/esh-cmd.el (eshell-post-rewrite-command-function): New var.
5361 (eshell-post-rewrite-command-hook): Make obsolete.
5362 (eshell-parse-command): Simplify.
5363 (eshell-structure-basic-command): Remove unused arg `vocal-test'.
5364 (eshell--cmd): Declare.
5365 (eshell-parse-pipeline): Remove unused var `final-p'.
5366 Pass a dynvar to eshell-post-rewrite-command-hook.
5367 Implement the new eshell-post-rewrite-command-function.
5368 (eshell-invoke-directly): Remove unused arg `input'.
5369 * eshell/esh-io.el (eshell-io-initialize):
5370 Use eshell-post-rewrite-command-function (bug#15399).
5371 (eshell--apply-redirections): Rename from eshell-apply-redirections;
5372 adjust to new calling convention.
5373 (eshell-create-handles): Rename args to avoid clashing with dynvar
5376 2013-09-17 Glenn Morris <rgm@gnu.org>
5378 * simple.el (messages-buffer-mode): New major mode.
5379 (messages-buffer): New function.
5380 * startup.el (normal-top-level): Switch mode of *Messages* buffer.
5381 * emacs-lisp/ert.el (ert--force-message-log-buffer-truncation)
5382 (ert-run-test): Use `messages-buffer' function.
5383 (ert--force-message-log-buffer-truncation): Ignore read-only.
5384 * help.el (view-echo-area-messages): Use `messages-buffer' function.
5385 * mail/emacsbug.el (report-emacs-bug): Use `messages-buffer' function.
5387 2013-09-17 Stefan Monnier <monnier@iro.umontreal.ca>
5389 * subr.el (eval-after-load): Preserve evaluation order (bug#15389).
5391 * abbrev.el (abbrev--check-chars): Fix thinko (bug#15360).
5393 2013-09-16 Stefan Monnier <monnier@iro.umontreal.ca>
5395 * icomplete.el (icomplete-in-buffer): New var.
5396 (icomplete-pre-command-hook, icomplete-post-command-hook): Remove those
5397 vars and replace them with functions.
5398 (icomplete-minibuffer-setup): Adjust accordingly.
5399 (icomplete--completion-table, icomplete--completion-predicate)
5400 (icomplete--field-string, icomplete--field-beg, icomplete--field-end):
5402 (icomplete-forward-completions, icomplete-backward-completions)
5403 (icomplete-simple-completing-p, icomplete-exhibit)
5404 (icomplete-completions): Use them.
5405 (icomplete--in-region-buffer): New var.
5406 (icomplete--in-region-setup): New function.
5407 (icomplete-mode): Use it.
5409 * eshell/esh-opt.el: Fix last change to set lexical-vars properly
5411 (eshell--do-opts): Rename from eshell-do-opt, remove arg `body-fun',
5412 return args and options.
5413 (eshell-eval-using-options): Use the new return value of
5414 eshell--do-opts to set the options's vars in their scope.
5415 (eshell--set-option): Rename from eshell-set-option.
5417 (eshell--process-option): Rename from eshell-process-option.
5419 (eshell--process-args): Use an `opt-vals' alist to store the options's
5420 values during their processing and return them additionally to the
5423 2013-09-15 Dmitry Gutov <dgutov@yandex.ru>
5425 * progmodes/ruby-mode.el (ruby-operator-re): Consider line
5426 continuation character an operator, as far as indentation is
5427 concerned (Bug#15369).
5429 2013-09-15 Martin Rudalics <rudalics@gmx.at>
5431 * window.el (window--state-put-2): Don't process buffer state
5432 when buffer doesn't exist any more (Bug#15382).
5434 2013-09-15 Glenn Morris <rgm@gnu.org>
5436 * eshell/em-unix.el (eshell/rm):
5437 Make -f ignore missing files. (Bug#15373)
5439 * eshell/esh-cmd.el (eshell--local-vars): New variable. (Bug#15372)
5440 (eshell-rewrite-for-command): Add for loop vars to eshell--local-vars.
5441 * eshell/esh-var.el (eshell-get-variable): Respect eshell--local-vars.
5443 2013-09-14 Glenn Morris <rgm@gnu.org>
5445 * eshell/esh-var.el (eshell-variable-aliases-list): Fix doc typo.
5447 2013-09-13 Glenn Morris <rgm@gnu.org>
5449 * dired-x.el (dired-guess-shell-alist-user): Doc fix.
5450 (dired-guess-default): Make `file' available in the env. (Bug#15363)
5452 2013-09-13 Dmitry Antipov <dmantipov@yandex.ru>
5454 * frame.el (x-focus-frame): Mark as declared in frame.c.
5456 2013-09-13 Stefan Monnier <monnier@iro.umontreal.ca>
5458 * ls-lisp.el: Use advice-add.
5459 (original-insert-directory): Remove.
5460 (ls-lisp--insert-directory): Rename from insert-directory; add
5461 `orig-fun' argument.
5462 (insert-directory): Advise.
5464 2013-09-13 Eli Zaretskii <eliz@gnu.org>
5466 * term.el (term-emulate-terminal): Decode the command string
5467 before passing it to term-command-hook. (Bug#15337)
5469 2013-09-13 Glenn Morris <rgm@gnu.org>
5471 * eshell/esh-util.el (ange-cache): Move declaration earlier.
5473 * eshell/esh-ext.el (eshell-search-path): Declare.
5475 * eshell/em-prompt.el (eshell/pwd): Autoload it.
5476 Otherwise an error occurs if eshell-dirs module not loaded.
5478 * progmodes/gdb-mi.el (gud-cont, gud-step): Declare.
5480 2013-09-13 Michael Albinus <michael.albinus@gmx.de>
5482 * net/tramp.el (tramp-check-proper-method-and-host): Rename it from
5483 `tramp-check-proper-host'. Check for a valid method name.
5485 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5486 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
5487 * net/tramp-sh.el (tramp-maybe-open-connection):
5488 * net/tramp-smb.el (tramp-smb-maybe-open-connection): Call it.
5490 * net/tramp-cache.el (tramp-cache-print): Don't print text properties
5491 also for hash values.
5493 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5495 * term/ns-win.el (parameters): Don't declare as dynamic.
5496 (before-make-frame-hook): Don't add ineffective function.
5498 * eshell/*.el: Use lexical-binding (bug#15231).
5500 2013-09-12 Kenichi Handa <handa@gnu.org>
5502 * composite.el (compose-gstring-for-graphic): Handle enclosing mark.
5504 2013-09-12 Glenn Morris <rgm@gnu.org>
5506 * vc/vc-svn.el (vc-svn-dir-status-files, vc-svn-dir-extra-headers)
5507 (vc-svn-ignore, vc-svn-retrieve-tag): Mark unused arguments.
5509 * subr.el (do-after-load-evaluation): Also give compiler warnings
5510 when obsolete files are used (except by obsolete files).
5512 * vc/vc-svn.el (vc-svn-parse-status): If there are multiple files
5513 in the status output, assume `filename' is the first. (Bug#15322)
5515 * vc/vc.el (vc-deduce-fileset): Doc fix.
5517 * calc/calc-help.el (Info-goto-node):
5518 * progmodes/cperl-mode.el (Info-find-node):
5519 * vc/ediff.el (Info-goto-node): Update declarations.
5521 * vc/vc-dispatcher.el (vc-dir-refresh): Declare.
5523 * vc/vc-bzr.el (vc-compilation-mode): Declare.
5524 (vc-bzr-pull): Require vc-dispatcher.
5525 * vc/vc-git.el (vc-compilation-mode): Declare.
5526 (vc-git-pull): Require vc-dispatcher.
5528 * progmodes/ruby-mode.el (ruby-syntax-propertize-function): Declare.
5530 * progmodes/octave.el (help-button-action): Declare.
5532 * shell.el (shell-directory-tracker): Output error as a message
5533 rather than just returning it as a string.
5534 (shell-process-pushd): Remove useless use of message.
5536 * dframe.el (dframe-timer-fn):
5537 * files.el (dir-locals-read-from-file):
5538 * mpc.el (mpc--status-timer-run, mpc--status-idle-timer-run)
5540 * reveal.el (reveal-post-command):
5541 * saveplace.el (load-save-place-alist-from-file):
5542 * shell.el (shell-resync-dirs):
5543 * w32-common-fns.el (x-get-selection-value):
5544 * emacs-lisp/copyright.el (copyright-find-copyright):
5545 * emacs-lisp/eldoc.el (eldoc-print-current-symbol-info):
5546 * emulation/tpu-edt.el (tpu-copy-keyfile):
5547 * play/bubbles.el (bubbles--mark-neighbourhood):
5548 * progmodes/executable.el
5549 (executable-make-buffer-file-executable-if-script-p):
5550 * term/pc-win.el (x-get-selection-value): Use with-demoted-errors.
5552 2013-09-12 Stefan Monnier <monnier@iro.umontreal.ca>
5554 Cleanup Eshell to rely less on dynamic scoping.
5555 * eshell/esh-opt.el (eshell-eval-using-options): Don't bind usage-msg,
5556 last-value, and ext-command here. Bind `args' closer to `body'.
5557 (temp-args, last-value, usage-msg, ext-command, args): Don't defvar.
5558 (eshell--args): Declare new dynamic var.
5559 (eshell-do-opt): Add argument `args'. Bind our own usage-msg,
5560 last-value, and ext-command. Pass `args' to `body'.
5561 (eshell-process-args): Bind eshell--args.
5562 (eshell-set-option): Use eshell--args.
5563 * eshell/eshell.el (eshell): Use derived-mode-p.
5564 * eshell/esh-var.el (eshell-parse-variable): Use backquote.
5565 (eshell-parse-variable-ref): Remove unused vars `end' and `err'.
5566 (eshell-glob-function): Declare.
5567 * eshell/esh-util.el: Require cl-lib.
5568 (eshell-read-hosts-file): Avoid add-to-list.
5569 * eshell/esh-cmd.el (eshell-parse-lisp-argument): Remove unused var
5571 * eshell/em-unix.el (compilation-scroll-output, locate-history-list):
5573 (eshell/diff): Remove unused var `err'.
5574 * eshell/em-rebind.el (eshell-delete-backward-char): Remove unused arg
5576 * eshell/em-pred.el (eshell-parse-modifiers): Remove unused var `err'.
5577 * eshell/em-ls.el (eshell-ls-highlight-alist): Move defvars before
5579 * eshell/em-glob.el (eshell-glob-matches, message-shown):
5580 Move declaration before first use.
5581 * eshell/em-alias.el (eshell-maybe-replace-by-alias): Use backquotes.
5582 * autorevert.el (auto-revert-notify-handler): Use `cl-dolist' since we
5585 2013-09-12 Glenn Morris <rgm@gnu.org>
5587 * term/ns-win.el (global-map): Remove binding for ispell-next,
5588 deleted 1999-05-29. (Bug#15357)
5590 2013-09-11 Glenn Morris <rgm@gnu.org>
5592 * echistory.el (electric-command-history): Remove call to deleted func.
5594 * play/landmark.el (landmark-mode): Fix typos.
5596 * vc/vc-cvs.el (cvs-append-to-ignore): Fix arg spec.
5597 Check cvs-sort-ignore-file is bound.
5599 * savehist.el: No need for cl when compiling on Emacs.
5601 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5603 * eshell/esh-mode.el (eshell-mode-syntax-table): Fix up initialization
5605 (eshell-self-insert-command, eshell-send-invisible):
5606 Remove unused argument.
5607 (eshell-handle-control-codes): Remove unused var `orig'.
5608 Avoid delete-backward-char.
5610 * files.el (set-auto-mode): Simplify a bit further.
5612 2013-09-11 Glenn Morris <rgm@gnu.org>
5614 * files.el (interpreter-mode-alist): Remove \\` \\' parts.
5615 (set-auto-mode): Don't regexp-quote elements.
5616 * progmodes/python.el (interpreter-mode-alist): Remove \\` \\'.
5617 * progmodes/cc-mode.el (interpreter-mode-alist):
5618 * progmodes/ruby-mode.el (interpreter-mode-alist):
5619 Revert previous change.
5621 2013-09-11 Stefan Monnier <monnier@iro.umontreal.ca>
5623 * play/snake.el (snake-mode):
5624 * play/mpuz.el (mpuz-mode):
5625 * play/landmark.el (lm-mode):
5626 * play/blackbox.el (blackbox-mode):
5627 * play/5x5.el (5x5-mode):
5628 * obsolete/options.el (Edit-options-mode):
5629 * net/quickurl.el (quickurl-list-mode):
5630 * net/newst-treeview.el (newsticker-treeview-mode):
5631 * mail/rmailsum.el (rmail-summary-mode):
5632 * mail/mspools.el (mspools-mode):
5633 * locate.el (locate-mode):
5634 * ibuffer.el (ibuffer-mode):
5635 * emulation/ws-mode.el (wordstar-mode):
5636 * emacs-lisp/debug.el (debugger-mode):
5637 * array.el (array-mode):
5638 * net/eudc.el (eudc-mode): Use define-derived-mode.
5639 * net/mairix.el (mairix-searches-mode-font-lock-keywords):
5640 Move initialization into declaration.
5641 (mairix-searches-mode): Use define-derived-mode.
5642 * net/eudc-hotlist.el (eudc-hotlist-mode): Use define-derived-mode.
5643 (eudc-edit-hotlist): Use dolist.
5644 * man.el (Man-mode-syntax-table): Rename from man-mode-syntax-table.
5645 (Man-mode): Use define-derived-mode.
5646 * info.el (Info-edit-mode-map): Rename from Info-edit-map.
5647 (Info-edit-mode): Use define-derived-mode.
5648 (Info-cease-edit): Use Info-mode.
5649 * eshell/esh-mode.el (eshell-mode-syntax-table): Move initialization
5651 (eshell-mode): Use define-derived-mode.
5652 * chistory.el (command-history-mode-map): Rename from
5653 command-history-map.
5654 (command-history-mode): Use define-derived-mode.
5655 (Command-history-setup): Remove function.
5656 * calc/calc.el (calc-trail-mode-map): New var.
5657 (calc-trail-mode): Use define-derived-mode.
5658 (calc-trail-buffer): Set calc-main-buffer manually.
5659 * bookmark.el (bookmark-insert-annotation): New function.
5660 (bookmark-edit-annotation): Use it.
5661 (bookmark-edit-annotation-mode): Make it a proper major mode.
5662 (bookmark-send-edited-annotation): Use derived-mode-p.
5663 * arc-mode.el (archive-mode): Move kill-all-local-variables a tiny bit
5664 closer to its ideal place. Use \' to match EOS.
5666 * profiler.el (profiler-calltree-find): Use function-equal.
5668 2013-09-10 Glenn Morris <rgm@gnu.org>
5670 * files.el (interpreter-mode-alist): Convert to regexps.
5671 (set-auto-mode): Adapt for this. (Bug#15306)
5672 * progmodes/cperl-mode.el (cperl-clobber-mode-lists):
5673 Comment out unused variable.
5674 * progmodes/cc-mode.el (interpreter-mode-alist):
5675 * progmodes/python.el (interpreter-mode-alist):
5676 * progmodes/ruby-mode.el (interpreter-mode-alist): Convert to regexps.
5677 * progmodes/sh-script.el (sh-set-shell):
5678 No longer use interpreter-mode-alist to get list of shells.
5680 * progmodes/cc-mode.el (awk-mode): Remove duplicate autoload.
5682 2013-09-10 Stefan Monnier <monnier@iro.umontreal.ca>
5684 * simple.el: Use set-temporary-overlay-map for universal-argument.
5685 (universal-argument-map): Don't use default-bindings (bug#15317).
5686 Bind switch-frame explicitly. Replace universal-argument-minus with
5687 a conditional binding.
5688 (universal-argument-num-events, saved-overriding-map): Remove.
5689 (restore-overriding-map): Remove.
5690 (universal-argument--mode): Rename from save&set-overriding-map,
5692 (universal-argument, universal-argument-more, negative-argument)
5693 (digit-argument): Adjust accordingly.
5694 (universal-argument-minus): Remove.
5695 (universal-argument-other-key): Remove.
5697 * subr.el (with-demoted-errors): Add `format' argument.
5699 2013-09-10 Michael Albinus <michael.albinus@gmx.de>
5701 * net/tramp.el (tramp-cleanup): Remove. Functionality added to
5702 `tramp-cleanup-connection'.
5704 * net/tramp-cmds.el (tramp-cleanup-connection): Add optional
5705 parameters KEEP-DEBUG and KEEP-PASSWORD.
5707 * net/tramp.el (tramp-file-name-handler):
5708 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
5709 * net/tramp-sh.el (tramp-open-connection-setup-interactive-shell)
5710 (tramp-maybe-open-connection):
5711 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
5712 Use `tramp-cleanup-connection'.
5714 * net/tramp-sh.el (tramp-maybe-open-connection):
5715 Catch 'uname-changed inside the progress reporter.
5717 2013-09-10 Glenn Morris <rgm@gnu.org>
5719 * simple.el (read-minibuffer): Unbreak it. (Bug#15318)
5721 * dired-x.el (dired-mark-sexp): Unbreak for systems where ls
5722 returns "alternate access method" in mode (eg "-rw-r--r--.").
5724 2013-09-08 Glenn Morris <rgm@gnu.org>
5726 * saveplace.el (load-save-place-alist-from-file):
5727 Demote errors. (Bug#15305)
5729 2013-09-08 Michael Albinus <michael.albinus@gmx.de>
5731 Improve compatibility with older Emacsen, and XEmacs.
5733 * net/tramp.el (tramp-find-method, tramp-find-user): Call `propertize'
5734 only if it is bound. It isn't for XEmacs.
5735 (with-tramp-progress-reporter): Do not let-bind `result'.
5736 This yields to scoping errors in XEmacs.
5737 (tramp-handle-make-auto-save-file-name): New function, moved from
5740 * net/tramp-adb.el (tramp-adb-file-name-handler-alist): Add handler
5741 for `make-auto-save-file-name'.
5742 (tramp-adb--gnu-switches-to-ash):
5743 Use `tramp-compat-replace-regexp-in-string'.
5745 * net/tramp-cache.el (tramp-cache-print): Call
5746 `substring-no-properties' only if it is bound. It isn't for XEmacs.
5748 * net/tramp-cmds.el (tramp-bug): Call `propertize' only if it is
5749 bound. It isn't for XEmacs.
5751 * net/tramp-compat.el (tramp-compat-copy-file):
5752 Catch `wrong-number-of-arguments' error.
5753 (tramp-compat-replace-regexp-in-string): New defun.
5755 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): Add handler
5756 for `make-auto-save-file-name'.
5757 (tramp-gvfs-handle-copy-file): Use `tramp-compat-funcall' for
5759 (tramp-gvfs-file-gvfs-monitor-file-process-filter)
5760 (tramp-gvfs-file-name): Use `tramp-compat-replace-regexp-in-string'.
5761 (tramp-synce-list-devices): Use `push' instead of `pushnew'.
5763 * net/tramp-gw.el (tramp-gw-open-network-stream):
5764 Use `tramp-compat-replace-regexp-in-string'.
5766 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
5767 Call `tramp-handle-make-auto-save-file-name'.
5768 (tramp-sh-handle-make-auto-save-file-name): Move to tramp.el.
5769 (tramp-sh-file-gvfs-monitor-dir-process-filter)
5770 (tramp-sh-file-inotifywait-process-filter):
5771 Use `tramp-compat-replace-regexp-in-string'.
5772 (tramp-compute-multi-hops): Use `push' instead of `pushnew'.
5774 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Add handler
5775 for `make-auto-save-file-name'.
5776 (tramp-smb-handle-copy-directory):
5777 Call `tramp-compat-replace-regexp-in-string'.
5778 (tramp-smb-get-file-entries): Use `push' instead of `pushnew'.
5779 (tramp-smb-handle-copy-file): Improve error message.
5780 (tramp-smb-handle-rename-file): Rename directly only in case
5781 `newname' does not exist yet. This is a restriction of smbclient.
5782 (tramp-smb-maybe-open-connection): Rerun the function only when
5783 `auth-sources' is non-nil.
5785 2013-09-08 Kenichi Handa <handa@gnu.org>
5787 * international/characters.el: Set category "^" (Combining) for
5790 2013-09-07 Alan Mackenzie <acm@muc.de>
5792 Correctly fontify Java class constructors.
5793 * progmodes/cc-langs.el (c-type-decl-suffix-key): Now matches ")"
5795 (c-recognize-typeless-decls): Set the Java value to t.
5796 * progmodes/cc-engine.el (c-forward-decl-or-cast-1):
5797 While handling a "(", add a check for, effectively, Java, and handle a
5798 "typeless" declaration there.
5800 2013-09-07 Roland Winkler <winkler@gnu.org>
5802 * textmodes/bibtex.el (bibtex-biblatex-entry-alist): Add optional
5803 field subtitle for entry type book.
5805 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5807 * minibuffer.el: Make minibuffer-complete call completion-in-region
5808 rather than other way around.
5809 (completion--some, completion-pcm--find-all-completions):
5810 Don't delay signals when debugging.
5811 (minibuffer-completion-contents): Beware fields within the
5812 minibuffer contents.
5813 (completion-all-sorted-completions): Use defvar-local.
5814 (completion--do-completion, completion--cache-all-sorted-completions)
5815 (completion-all-sorted-completions, minibuffer-force-complete):
5816 Add args `beg' and `end'.
5817 (completion--in-region-1): New fun, extracted from minibuffer-complete.
5818 (minibuffer-complete): Use completion-in-region.
5819 (completion-complete-and-exit): New fun, extracted from
5820 minibuffer-complete-and-exit.
5821 (minibuffer-complete-and-exit): Use it.
5822 (completion--complete-and-exit): Rename from
5823 minibuffer--complete-and-exit.
5824 (completion-in-region--single-word): New function, extracted from
5825 minibuffer-complete-word.
5826 (minibuffer-complete-word): Use it.
5827 (display-completion-list): Make `common-substring' argument obsolete.
5828 (completion--in-region): Call completion--in-region-1 instead of
5829 minibuffer-complete.
5830 (completion-help-at-point): Pass boundaries to
5831 minibuffer-completion-help as args rather than via an overlay.
5832 (completion-pcm--string->pattern): Use `any-delim'.
5833 (completion-pcm--optimize-pattern): New function.
5834 (completion-pcm--pattern->regex): Handle `any-delim'.
5835 * icomplete.el (icomplete-forward-completions)
5836 (icomplete-backward-completions, icomplete-completions):
5837 Adjust calls to completion-all-sorted-completions and
5838 completion--cache-all-sorted-completions.
5839 (icomplete-with-completion-tables): Default to t.
5840 * emacs-lisp/crm.el (crm--current-element): Rename from
5841 crm--select-current-element. Don't put an overlay but return the
5843 (crm--completion-command): Take two new args to bind to the boundaries.
5844 (crm-completion-help): Adjust accordingly.
5845 (crm-complete): Use completion-in-region.
5846 (crm-complete-word): Use completion-in-region--single-word.
5847 (crm-complete-and-exit): Use completion-complete-and-exit.
5849 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5851 * dired-x.el (dired-mark-sexp): Bind the vars lexically rather
5854 2013-09-06 Juri Linkov <juri@jurta.org>
5856 * info.el (Info-display-images-node): When image file doesn't exist
5857 display text version of the image if it's provided in the Info file.
5858 Otherwise, display the location of missing image from SRC attribute.
5859 Add help-echo text property from ALT attribute. (Bug#15279)
5861 2013-09-06 Stefan Monnier <monnier@iro.umontreal.ca>
5863 * abbrev.el (edit-abbrevs-mode-map): Rename from edit-abbrevs-map.
5864 (edit-abbrevs-mode): Use define-derived-mode.
5866 * epa.el (epa--encode-coding-string, epa--decode-coding-string)
5867 (epa--select-safe-coding-system, epa--derived-mode-p): Make it obvious
5869 (epa-key-list-mode, epa-key-mode, epa-info-mode):
5870 Use define-derived-mode.
5872 * epg.el (epg-start-encrypt): Minor CSE simplification.
5874 2013-09-06 William Xu <william.xwl@gmail.com>
5876 * arc-mode.el: Add support for 7za (bug#15264).
5877 (archive-7z-program): New var.
5878 (archive-zip-extract, archive-zip-expunge, archive-zip-update)
5879 (archive-zip-update-case, archive-7z-extract, archive-7z-expunge)
5880 (archive-7z-update, archive-zip-extract, archive-7z-summarize): Use it.
5882 2013-09-06 Michael Albinus <michael.albinus@gmx.de>
5886 * net/tramp.el (tramp-syntax, tramp-prefix-format)
5887 (tramp-postfix-method-format, tramp-prefix-ipv6-format)
5888 (tramp-postfix-ipv6-format, tramp-prefix-port-format)
5889 (tramp-postfix-host-format, tramp-file-name-regexp)
5890 (tramp-completion-file-name-regexp)
5891 (tramp-completion-dissect-file-name)
5892 (tramp-handle-substitute-in-file-name): Remove 'url case.
5893 (tramp-file-name-regexp-url)
5894 (tramp-completion-file-name-regexp-url): Remove constants.
5896 2013-09-06 Glenn Morris <rgm@gnu.org>
5898 * replace.el (replace-string): Doc fix re start/end. (Bug#15275)
5900 2013-09-05 Dmitry Gutov <dgutov@yandex.ru>
5902 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move "Perl-ish
5903 keywords" below "here-doc beginnings" (Bug#15270).
5905 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5907 * subr.el (pop): Use `car-safe'.
5908 * emacs-lisp/byte-opt.el (byte-optimize-form-code-walker): Remove hack
5909 to detect unused `pop' return value.
5911 * progmodes/python.el (python-nav-beginning-of-block): Remove unused
5913 (python-nav--forward-sexp): Remove unused var `re-search-fn'.
5914 (python-fill-string): Remove unused var `marker'.
5915 (python-skeleton-add-menu-items): Remove unused var `items'.
5917 * international/mule-cmds.el: Require CL.
5918 (find-coding-systems-for-charsets): Avoid add-to-list.
5919 (sanitize-coding-system-list): New function, extracted from
5920 select-safe-coding-system-interactively.
5921 (select-safe-coding-system-interactively): Use it.
5922 (read-input-method-name): Accept symbols for `default'.
5924 * emacs-lisp/advice.el (defadvice): Add indent rule.
5926 2013-09-05 Daniel Hackney <dan@haxney.org>
5930 * net/browse-url.el:
5933 * net/eudcb-ldap.el:
5946 * vc/vc-annotate.el: Prefix unused arguments with `_' to silence
5947 byte compiler. Remove some unused let-bound variables.
5949 2013-09-05 Stefan Monnier <monnier@iro.umontreal.ca>
5951 * emacs-lisp/cconv.el: Use `car-safe' rather than `car' to access
5952 a "ref-cell", since it gets better optimized (bug#14883).
5954 2013-09-05 Glenn Morris <rgm@gnu.org>
5956 * progmodes/cc-awk.el (c-forward-sws): Declare.
5958 2013-09-04 Glenn Morris <rgm@gnu.org>
5960 * generic-x.el [rul-generic-mode]: Require cc-mode.
5961 (c++-mode-syntax-table): Declare.
5962 (rul-generic-mode-syntax-table): Init in the defvar.
5964 2013-09-04 Stefan Monnier <monnier@iro.umontreal.ca>
5966 * vc/vc-dispatcher.el (vc-run-delayed): New macro.
5967 (vc-do-command, vc-set-async-update):
5968 * vc/vc-mtn.el (vc-mtn-dir-status):
5969 * vc/vc-hg.el (vc-hg-dir-status, vc-hg-dir-status-files)
5970 (vc-hg-pull, vc-hg-merge-branch):
5971 * vc/vc-git.el (vc-git-dir-status-goto-stage, vc-git-pull)
5972 (vc-git-merge-branch):
5973 * vc/vc-cvs.el (vc-cvs-print-log, vc-cvs-dir-status)
5974 (vc-cvs-dir-status-files):
5975 * vc/vc-bzr.el (vc-bzr-pull, vc-bzr-merge-branch, vc-bzr-dir-status)
5976 (vc-bzr-dir-status-files):
5977 * vc/vc-arch.el (vc-arch-dir-status): Use vc-run-delayed.
5978 * vc/vc-annotate.el: Use lexical-binding.
5979 (vc-annotate-display-select, vc-annotate): Use vc-run-delayed.
5980 (vc-sentinel-movepoint): Declare.
5981 (vc-annotate): Don't use `goto-line'.
5982 * vc/vc.el (vc-diff-internal): Prefer a closure to `(lambda...).
5983 (vc-diff-internal, vc-log-internal-common): Use vc-run-delayed.
5984 (vc-sentinel-movepoint): Declare.
5985 * vc/vc-svn.el: Use lexical-binding.
5986 (vc-svn-dir-status, vc-svn-dir-status-files): Use vc-run-delayed.
5988 * vc/vc-rcs.el: Use lexical-binding.
5990 * autorevert.el (auto-revert-notify-handler): Explicitly ignore
5991 `deleted'. Don't drop errors silently.
5993 * emacs-lisp/gv.el (gv-get): Warn about CL-compiled places.
5995 2013-09-04 Xue Fuqiao <xfq.free@gmail.com>
5997 * vc/vc.el (vc-ignore): Rewrite.
5998 (vc-default-ignore): New function.
5999 (vc-default-ignore-completion-table): Use find-ignore-file.
6001 * vc/vc-bzr.el (vc-bzr-ignore, vc-bzr-ignore-completion-table):
6002 * vc/vc-git.el (vc-git-ignore, vc-git-ignore-completion-table):
6003 * vc/vc-hg.el (vc-hg-ignore, vc-hg-ignore-completion-table):
6004 Remove. Most code moved to vc.el.
6006 2013-09-03 Stefan Monnier <monnier@iro.umontreal.ca>
6008 * net/tramp-gvfs.el (tramp-gvfs-mount-spec, tramp-synce-list-devices):
6009 * net/tramp-smb.el (tramp-smb-get-file-entries):
6010 * net/tramp-sh.el (tramp-sh-handle-insert-directory)
6011 (tramp-compute-multi-hops): Fix misuses of `add-to-list'.
6013 * net/eww.el (eww-display-raw): Remove unused argument `charset'.
6015 (eww-change-select): Remove unused var `properties'.
6016 (eww-make-unique-file-name): Remove unused var `base'.
6018 * finder.el (finder-compile-keywords): Don't mess with windows.
6020 * calculator.el (calculator-funcall): Fix typo in last change.
6022 * vc/vc-git.el (vc-git-checkin): Make it possible to commit a merge.
6024 * emacs-lisp/package.el (package-activate-1): Don't let a missing
6025 <pkg>-autoloads.el file stop us.
6027 * net/tramp.el (with-parsed-tramp-file-name): Silence compiler
6028 warnings, and factor out common code.
6030 2013-09-03 Dmitry Gutov <dgutov@yandex.ru>
6032 * progmodes/ruby-mode.el (ruby-calculate-indent): Consider
6033 two-character operators and whether the character preceding them
6034 changes their meaning (Bug#15208).
6036 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6038 Format code sent to Python shell for robustness.
6039 * progmodes/python.el (python-shell-buffer-substring):
6041 (python-shell-send-region, python-shell-send-buffer): Use it.
6043 2013-09-02 Michael Albinus <michael.albinus@gmx.de>
6045 * net/tramp-compat.el (tramp-compat-user-error): Move it ...
6046 * net/tramp.el (tramp-user-error): ... here.
6047 (tramp-find-method, tramp-check-proper-host)
6048 (tramp-dissect-file-name, tramp-debug-message)
6049 (tramp-handle-shell-command):
6050 * net/tramp-adb.el (tramp-adb-handle-shell-command):
6051 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler): Adapt callees.
6053 * net/tramp-cache.el (tramp-cache-print): Don't print text properties.
6055 2013-09-02 Martin Rudalics <rudalics@gmx.at>
6057 * avoid.el (mouse-avoidance-point-position)
6058 (mouse-avoidance-too-close-p): Handle case where posn-at-point
6061 2013-09-02 Fabián Ezequiel Gallina <fgallina@gnu.org>
6063 * progmodes/python.el (python-shell-completion-get-completions):
6064 Drop use of deleted `comint-last-prompt-overlay'.
6065 (python-nav-if-name-main): New command.
6067 2013-09-01 Glenn Morris <rgm@gnu.org>
6069 * Makefile.in (setwins, setwins_almost, setwins_for_subdirs):
6070 Avoid leading space in $wins. Otherwise the sed command used by
6071 eg compile-main ends up containing "/*.el". (Bug#15170)
6073 * frame.el (frame-background-mode): Doc fix. (Bug#15226)
6075 2013-08-30 Glenn Morris <rgm@gnu.org>
6077 * emacs-lisp/bytecomp.el (byte-recompile-directory):
6078 Fix is-this-a-directory logic. (Bug#15220)
6080 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6082 * textmodes/css-mode.el: Use SMIE.
6083 (css-smie-grammar): New var.
6084 (css-smie--forward-token, css-smie--backward-token)
6085 (css-smie-rules): New functions.
6086 (css-mode): Use them.
6087 (css-navigation-syntax-table): Remove var.
6088 (css-backward-sexp, css-forward-sexp, css-indent-calculate-virtual)
6089 (css-indent-calculate, css-indent-line): Remove functions.
6091 Misc changes to reduce use of `(lambda...); and other cleanups.
6092 * cus-edit.el: Use lexical-binding.
6093 (customize-push-and-save, customize-apropos)
6094 (custom-buffer-create-internal): Use closures.
6095 * progmodes/bat-mode.el (bat-mode-syntax-table): "..." are strings.
6096 * progmodes/ada-xref.el: Use setq.
6097 * net/tramp.el (with-tramp-progress-reporter): Avoid setq.
6098 * dframe.el: Use lexical-binding.
6099 (dframe-frame-mode): Fix calling convention for hooks. Use a closure.
6100 * speedbar.el (speedbar-frame-mode): Adjust call accordingly.
6101 * descr-text.el: Use lexical-binding.
6102 (describe-text-widget, describe-text-sexp, describe-property-list):
6104 * comint.el (comint-history-isearch-push-state): Use a closure.
6105 * calculator.el: Use lexical-binding.
6106 (calculator-number-to-string): Make it work with lexical-binding.
6107 (calculator-funcall): Same and use cl-letf.
6109 * emacs-lisp/lisp.el (lisp--company-doc-buffer)
6110 (lisp--company-doc-string, lisp--company-location): New functions.
6111 (lisp-completion-at-point): Use them to improve Company support.
6113 * progmodes/ruby-mode.el (ruby-smie-grammar): Add rule for formal
6114 params of lambda expressions.
6115 (ruby-smie--implicit-semi-p): Refine rule (bug#15208).
6116 (ruby-smie--opening-pipe-p): New function.
6117 (ruby-smie--forward-token, ruby-smie--backward-token): Handle Ruby
6118 symbols and matched |...| for formal params.
6119 (ruby-smie-rules): Don't let the formal params of a "do" prevent it
6120 from being treated as hanging. Handle "rescue".
6122 2013-08-29 Glenn Morris <rgm@gnu.org>
6124 * progmodes/cc-engine.el (c-pull-open-brace):
6125 Move definition before use.
6127 2013-08-29 Stefan Monnier <monnier@iro.umontreal.ca>
6129 * emacs-lisp/cl-macs.el (cl-defsubst): Make it clear that args
6130 are immutable. Don't use `unsafe' any more.
6131 (cl--defsubst-expand): Don't substitute at the same time as keeping
6132 a residual unused let-binding. Don't use `unsafe' any more.
6134 2013-08-29 Glenn Morris <rgm@gnu.org>
6136 * calendar/cal-china.el (calendar-chinese-year-cache):
6139 * nxml/nxml-util.el (nxml-debug-clear-inside):
6140 Use cl-loop rather than loop.
6142 * net/eww.el (eww-mode-map): Lower-case menu bar entries look bad.
6144 * progmodes/sh-script.el (sh-builtins) <bash>: Add some bash4-isms.
6146 2013-08-28 Glenn Morris <rgm@gnu.org>
6148 * progmodes/antlr-mode.el: No need to require cc-mode twice.
6150 * progmodes/cc-bytecomp.el (cc-require): Handle uncompiled case.
6152 * progmodes/cc-mode.el (c-define-abbrev-table): Handle NAME unbound.
6154 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6156 * simple.el (repeat-complex-command--called-interactively-skip):
6158 (repeat-complex-command): Use it (bug#14136).
6160 * progmodes/cc-mode.el: Minor cleanup of var declarations.
6161 (c-define-abbrev-table): Add `doc' argument.
6162 (c-mode-abbrev-table, c++-mode-abbrev-table)
6163 (objc-mode-abbrev-table, java-mode-abbrev-table)
6164 (idl-mode-abbrev-table, pike-mode-abbrev-table)
6165 (awk-mode-abbrev-table): Use it.
6166 (c-mode-syntax-table, c-mode-map, c++-mode-syntax-table)
6167 (c++-mode-map, objc-mode-syntax-table, objc-mode-map)
6168 (java-mode-syntax-table, java-mode-map, idl-mode-syntax-table)
6169 (idl-mode-map, pike-mode-syntax-table, pike-mode-map, awk-mode-map):
6170 Move initialization into the declaration; and remove any
6173 * epg.el (epg--process-filter): Use with-current-buffer, save-excursion
6174 and dynamic let binding.
6176 * vc/smerge-mode.el: Remove redundant :group args.
6178 * emacs-lisp/package.el (package-activate-1): Don't add unnecessarily
6181 2013-08-28 Juri Linkov <juri@jurta.org>
6183 * isearch.el (isearch-reread-key-sequence-naturally): Use non-nil
6184 arg DONT-DOWNCASE-LAST of `read-key-sequence'.
6185 (isearch-other-meta-char): Handle an undefined shifted printing
6186 character by downshifting it. (Bug#15200)
6188 2013-08-28 Juri Linkov <juri@jurta.org>
6190 * isearch.el (isearch-search): Change regexp error message for
6191 non-regexp searches. (Bug#15166)
6193 2013-08-28 Paul Eggert <eggert@cs.ucla.edu>
6195 * Makefile.in (SHELL): Now @SHELL@, not /bin/sh,
6196 for portability to hosts where /bin/sh has problems.
6198 2013-08-28 Stefan Monnier <monnier@iro.umontreal.ca>
6200 * emacs-lisp/cconv.el (cconv--analyse-function): Improve warning.
6202 2013-08-27 Juri Linkov <juri@jurta.org>
6204 * isearch.el (isearch-other-meta-char): Don't store kmacro commands
6205 in the keyboard macro. (Bug#15126)
6207 2013-08-27 Juri Linkov <juri@jurta.org>
6209 * isearch.el (isearch-quote-char): Comment out converting unibyte
6210 to multibyte, thus syncing with its `quoted-insert' counterpart.
6213 2013-08-27 Martin Rudalics <rudalics@gmx.at>
6215 * window.el (display-buffer-use-some-window): Add missing
6216 argument in call of get-largest-window (Bug#15185).
6217 Reported by Stephen Leake.
6219 2013-08-27 Glenn Morris <rgm@gnu.org>
6221 * emacs-lisp/package.el (package-buffer-info): Fix message typo.
6223 2013-08-27 Stefan Monnier <monnier@iro.umontreal.ca>
6225 * progmodes/python.el (python-font-lock-keywords): Don't return nil
6226 from a matcher-function unless there's no more matches (bug#15161).
6228 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6230 * minibuffer.el: Revert change from 2013-08-20.
6232 * net/tramp.el (tramp-find-method, tramp-find-user): Mark result
6233 with text property `tramp-default', if appropriate.
6234 (tramp-check-proper-host): New defun.
6235 (tramp-dissect-file-name): Do not check hostname. Revert change
6237 (tramp-backtrace): Make VEC-OR-PROC optional.
6239 * net/tramp-adb.el (tramp-adb-maybe-open-connection):
6240 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
6241 * net/tramp-sh.el (tramp-maybe-open-connection):
6242 * net/tramp-smb.el (tramp-smb-maybe-open-connection):
6243 Apply `tramp-check-proper-host'.
6245 2013-08-26 Tassilo Horn <tsdh@gnu.org>
6247 * epa-hook.el (epa-file-encrypt-to): Quote `safe-local-variable'
6248 lambda expression in order to have `describe-variable' display it.
6250 2013-08-26 Michael Albinus <michael.albinus@gmx.de>
6252 * net/tramp-sh.el (tramp-sh-handle-verify-visited-file-modtime):
6253 BUF can be optional. (Bug#15186)
6255 2013-08-25 Xue Fuqiao <xfq.free@gmail.com>
6257 * progmodes/flymake.el (flymake-get-real-file-name-function):
6258 Fix broken customization. (Bug#15184)
6260 2013-08-25 Alan Mackenzie <acm@muc.de>
6262 Improve indentation of bracelists defined by macros (without "=").
6264 * progmodes/cc-engine.el (c-inside-bracelist-p): When a macro
6265 expansion begins with "{", regard it as bracelist when it doesn't
6268 Parse C++ inher-intro when there's a template split over 2 lines.
6270 * progmodes/cc-engine.el (c-guess-basic-syntax CASE 5C): Code more
6271 rigorously the search for "class" etc. followed by ":".
6273 * progmodes/cc-langs.el (c-opt-<>-sexp-key): Make the value for
6274 random languages a regexp which never matches rather than nil.
6276 Handle "/"s more accurately in test for virtual semicolons (AWK Mode).
6278 * progmodes/cc-awk.el (c-awk-one-line-possibly-open-string-re)
6279 (c-awk-regexp-one-line-possibly-open-char-list-re)
6280 (c-awk-one-line-possibly-open-regexp-re)
6281 (c-awk-one-line-non-syn-ws*-re): Remove.
6282 (c-awk-possibly-open-string-re, c-awk-non-/-syn-ws*-re)
6283 (c-awk-space*-/-re, c-awk-space*-regexp-/-re)
6284 (c-awk-space*-unclosed-regexp-/-re): New constants.
6285 (c-awk-at-vsemi-p): Reformulate better to recognize "/"s which
6286 aren't regexp delimiters.
6288 * progmodes/cc-engine.el (c-crosses-statement-barrier-p): Add in
6289 handling for a rare situation in AWK Mode involving unterminated
6292 2013-08-23 Glenn Morris <rgm@gnu.org>
6294 * files.el (auto-mode-alist): Use sh-mode for .bash_history.
6296 * files.el (interpreter-mode-alist): Use tcl-mode for expect scripts.
6298 * files.el (create-file-buffer): If the result would begin with
6299 spaces, prepend a "|" instead of removing them. (Bug#15162)
6301 2013-08-23 Stefan Monnier <monnier@iro.umontreal.ca>
6303 * textmodes/fill.el (fill-match-adaptive-prefix): Don't throw away
6304 text-properties (bug#15155).
6306 * calc/calc-keypd.el (calc-keypad-execute): `x-flush-mouse-queue' doesn't
6308 (calc-keypad-redraw): Remove unused var `pad'.
6309 (calc-keypad-press): Remove unused var `menu'.
6311 2013-08-23 Martin Rudalics <rudalics@gmx.at>
6313 * window.el (display-buffer-pop-up-frame):
6314 Call pop-up-frame-function with BUFFER current so `make-frame' will
6315 use it as the new frame's buffer (Bug#15133).
6317 2013-08-22 Stefan Monnier <monnier@iro.umontreal.ca>
6319 * calendar/timeclock.el: Minor cleanups.
6320 (timeclock-ask-before-exiting, timeclock-use-display-time):
6322 (timeclock-modeline-display): Define as alias before the
6324 (timeclock-mode-line-display): Use define-minor-mode.
6325 (timeclock-day-list-template): Make it a function, add an argument.
6326 (timeclock-day-list-required, timeclock-day-list-length)
6327 (timeclock-day-list-debt, timeclock-day-list-span)
6328 (timeclock-day-list-break): Adjust calls accordingly.
6330 2013-08-21 Stefan Monnier <monnier@iro.umontreal.ca>
6332 * emacs-lisp/pp.el (pp-eval-expression, pp-macroexpand-expression):
6333 Use read--expression so that completion works again.
6335 2013-08-21 Sam Steingold <sds@gnu.org>
6337 Add rudimentary inferior shell interaction
6338 * progmodes/sh-script.el (sh-shell-process): New buffer-local variable.
6339 (sh-set-shell): Reset it.
6340 (sh-show-shell, sh-cd-here, sh-send-line-or-region-and-step):
6341 New commands (bound to C-c C-z, C-c C-d, and C-c C-n).
6343 2013-08-20 Stefan Monnier <monnier@iro.umontreal.ca>
6345 * align.el: Use lexical-binding.
6346 (align-region): Simplify accordingly.
6348 2013-08-20 Michael Albinus <michael.albinus@gmx.de>
6350 * minibuffer.el (completion--sifn-requote): Bind `non-essential'.
6352 * rfn-eshadow.el (rfn-eshadow-update-overlay): Move binding of
6355 2013-08-17 Michael Albinus <michael.albinus@gmx.de>
6359 * net/tramp-cmds.el:
6361 * net/tramp-gvfs.el:
6363 * net/tramp-sh.el: Don't wrap external variable declarations by
6364 `eval-when-compile'.
6366 2013-08-16 Lars Magne Ingebrigtsen <larsi@gnus.org>
6368 * net/shr.el (shr-rescale-image): Use ImageMagick even for GIFs
6369 now that Emacs supports ImageMagick animations.
6371 2013-08-16 Michael Albinus <michael.albinus@gmx.de>
6373 * net/tramp-cmds.el (top): Don't declare `buffer-name'.
6374 (tramp-append-tramp-buffers): Rewrite buffer local variables part.
6376 2013-08-16 Martin Rudalics <rudalics@gmx.at>
6378 * window.el (mouse-autoselect-window-select): Do autoselect when
6379 mouse pointer is on margin.
6381 2013-08-16 William Parsons <wbparsons@alum.mit.edu> (tiny change)
6383 * net/ange-ftp.el (ange-ftp-skip-msgs): Add 500 EPSV. (Bug#1972)
6385 2013-08-16 Glenn Morris <rgm@gnu.org>
6387 * net/ange-ftp.el (ange-ftp-good-msgs, ange-ftp-get-pwd):
6388 Handle "Remote Directory" response of some clients. (Bug#15058)
6390 * emacs-lisp/bytecomp.el (byte-compile-make-variable-buffer-local):
6391 Tweak warning. (Bug#14926)
6393 * menu-bar.el (send-mail-item-name, read-mail-item-name): Remove.
6394 (menu-bar-tools-menu): Simplify news and mail items. (Bug#15095)
6396 * image-mode.el (image-mode-map): Add menu items to reverse,
6397 increase, decrease, reset animation speed.
6398 (image--set-speed, image-increase-speed, image-decrease-speed)
6399 (image-reverse-speed, image-reset-speed): New functions.
6400 (image-mode-map): Add bindings for speed commands.
6402 * image.el (image-animate-get-speed, image-animate-set-speed):
6404 (image-animate-timeout): Respect image :speed property.
6406 2013-08-15 Stefan Monnier <monnier@iro.umontreal.ca>
6408 * emacs-lisp/debug.el (debugger-setup-buffer): Put point on the
6409 previous line (bug#15101).
6410 (debugger-eval-expression, debugger-record-expression):
6411 Use read--expression (bug#15102).
6413 2013-08-15 Michael Albinus <michael.albinus@gmx.de>
6415 Remove byte compiler warnings, visible when compiling with
6416 `byte-compile-force-lexical-warnings' set to t.
6418 * net/tramp.el (tramp-debug-message, tramp-message, tramp-error)
6419 (tramp-error-with-buffer): Rename ARGS to ARGUMENTS and BUFFER to BUF.
6420 (tramp-handle-unhandled-file-name-directory)
6421 (tramp-handle-file-notify-add-watch, tramp-action-login)
6422 (tramp-action-succeed, tramp-action-permission-denied)
6423 (tramp-action-terminal, tramp-action-process-alive): Prefix unused
6426 * net/tramp-adb.el (tramp-adb-parse-device-names)
6427 (tramp-adb-handle-insert-directory, tramp-adb-handle-delete-file)
6428 (tramp-adb-handle-copy-file): Prefix unused arguments with "_".
6429 (tramp-adb-handle-file-truename): Remove unused arguments.
6431 * net/tramp-cache.el (tramp-flush-directory-property)
6432 (tramp-flush-connection-property, tramp-list-connections)
6433 (tramp-parse-connection-properties): Prefix unused arguments with "_".
6435 * net/tramp-compat.el (tramp-compat-make-temp-file):
6436 Rename FILENAME to F.
6438 * net/tramp-gvfs.el (tramp-gvfs-handle-file-notify-add-watch)
6439 (tramp-gvfs-handle-write-region, tramp-bluez-parse-device-names)
6440 (tramp-zeroconf-parse-workstation-device-names)
6441 (tramp-zeroconf-parse-webdav-device-names)
6442 (tramp-synce-parse-device-names): Prefix unused arguments with "_".
6444 * net/tramp-gw.el (tramp-gw-gw-proc-sentinel)
6445 (tramp-gw-aux-proc-sentinel): Prefix unused arguments with "_".
6447 * net/tramp-sh.el (tramp-sh-handle-file-truename): Remove unused
6449 (tramp-sh-handle-copy-file, tramp-sh-handle-dired-compress-file)
6450 (tramp-sh-handle-insert-file-contents-literally)
6451 (tramp-sh-handle-file-notify-add-watch): Prefix unused arguments
6453 (tramp-do-copy-or-rename-file, tramp-barf-if-no-shell-prompt):
6454 Remove unused variables.
6456 * net/tramp-smb.el (tramp-smb-handle-copy-directory)
6457 (tramp-smb-handle-copy-file, tramp-smb-handle-delete-file)
6458 (tramp-smb-read-file-entry): Prefix unused arguments with "_".
6460 * net/tramp-uu.el (tramp-uu-b64-alphabet, tramp-uu-b64-char-to-byte):
6461 Make them a defconst.
6462 (tramp-uuencode-region): Remove unused variable.
6464 2013-08-14 Juanma Barranquero <lekktu@gmail.com>
6466 * frameset.el (frameset--prop-setter): New function.
6467 (frameset-prop): Add gv-setter declaration.
6468 (frameset-filter-minibuffer): Deal with the case that the minibuffer
6469 parameter was already set in FILTERED. Doc fix.
6470 (frameset--record-minibuffer-relationships): Allow saving a
6471 minibufferless frame without its corresponding minibuffer frame.
6472 (frameset--reuse-frame): Accept a match from an orphaned minibufferless
6473 frame, if the frame id matches.
6474 (frameset--minibufferless-last-p): Sort non-orphaned minibufferless
6475 frames before orphaned ones.
6476 (frameset-restore): Warn about orphaned windows, instead of error out.
6478 2013-08-14 Martin Rudalics <rudalics@gmx.at>
6480 * window.el (window-make-atom): Don't overwrite parameter
6482 (display-buffer-in-atom-window): Handle special case where we
6483 split an already atomic window.
6484 (window--major-non-side-window, display-buffer-in-side-window)
6485 (window--side-check): Ignore minibuffer window when walking
6487 (window-deletable-p): Return 'frame only if no other frame uses
6488 our minibuffer window.
6489 (record-window-buffer): Run buffer-list-update-hook.
6490 (split-window): Make sure window--check-frame won't destroy an
6491 existing atomic window in case the new window gets nested
6493 (display-buffer-at-bottom): Ignore minibuffer window when
6494 walking window tree. Don't split a side window.
6495 (pop-to-buffer): Don't set-buffer here, the select-window call
6497 (mouse-autoselect-window-select): Autoselect only if we are in the
6498 text portion of the window.
6500 2013-08-13 Lars Magne Ingebrigtsen <larsi@gnus.org>
6502 * net/shr.el (shr-parse-image-data): New function to grab both the
6503 data itself and the Content-Type.
6504 (shr-put-image): Use it.
6506 * net/eww.el (eww-display-image): Ditto.
6508 * image.el (image-content-type-suffixes): New variable.
6510 2013-08-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
6512 * progmodes/python.el (python-imenu--build-tree)
6513 (python-imenu--put-parent): Simplify and Fix (GH bug 146).
6515 2013-08-13 Xue Fuqiao <xfq.free@gmail.com>
6517 * simple.el (backward-word): Mention the optional argument.
6519 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6521 * frameset.el (frameset--make): Rename constructor from make-frameset.
6522 (frameset-p, frameset-valid-p): Don't autoload.
6523 (frameset-valid-p): Use normal accessors.
6525 2013-08-13 Glenn Morris <rgm@gnu.org>
6527 * progmodes/compile.el (compile-command): Tweak example in doc.
6528 * obsolete/scribe.el (scribe-mode):
6529 * progmodes/mixal-mode.el (mixal-mode): Quote buffer name. (Bug#15053)
6531 * mail/feedmail.el (feedmail-confirm-outgoing)
6532 (feedmail-display-full-frame, feedmail-deduce-bcc-where): Fix types.
6534 * cus-start.el (truncate-partial-width-windows): Fix type.
6536 * emulation/viper-init.el (viper-search-scroll-threshold): Fix type.
6538 * net/shr.el (shr-table-horizontal-line): Fix custom type.
6540 2013-08-13 Stefan Monnier <monnier@iro.umontreal.ca>
6542 * emacs-lisp/timer.el (timer--time-setter): New function.
6543 (timer--time): Use it as gv-setter.
6545 * emacs-lisp/gv.el (gv-define-simple-setter): Output warning when
6546 setter is not a symbol.
6548 2013-08-12 Grégoire Jadi <daimrod@gmail.com>
6550 * mail/sendmail.el (sendmail-send-it): Don't kill the error buffer
6551 if sending fails. This makes debugging easier.
6553 2013-08-12 Juanma Barranquero <lekktu@gmail.com>
6555 * xml.el (xml-parse-tag-1): Use looking-at (this reverts change in
6556 2013-08-11T00:07:48Z!lekktu@gmail.com, which breaks the test suite).
6557 https://lists.gnu.org/archive/html/emacs-devel/2013-08/msg00263.html
6559 2013-08-12 Eli Zaretskii <eliz@gnu.org>
6561 * term/w32-win.el (dynamic-library-alist): Add DLLs for zlib.
6563 2013-08-12 Glenn Morris <rgm@gnu.org>
6565 * format.el (format-annotate-function):
6566 Handle read-only text properties in the source. (Bug#14887)
6568 2013-08-11 Lars Magne Ingebrigtsen <larsi@gnus.org>
6570 * net/eww.el (eww-display-html): Ignore coding system errors.
6571 One web site uses "utf-8lias" as the coding system.
6573 2013-08-11 Juanma Barranquero <lekktu@gmail.com>
6575 * frameset.el (frameset-valid-p): Fix check; STATES can indeed be nil.
6577 2013-08-10 Juanma Barranquero <lekktu@gmail.com>
6579 * tutorial.el (tutorial--describe-nonstandard-key): Use string-match-p.
6580 (tutorial--detailed-help): Remove unused local variables.
6581 (tutorial--save-tutorial-to): Use ignore-errors.
6582 (help-with-tutorial): Use looking-at-p.
6584 * view.el (view-buffer-other-window, view-buffer-other-frame):
6585 Mark unused arguments.
6587 * woman.el (woman-parse-colon-path, woman-parse-colon-path)
6588 (woman-select-symbol-fonts, woman, woman-find-file)
6589 (woman-insert-file-contents, woman-non-underline-faces):
6591 (woman1-unquote): Move declaration.
6593 * xml.el (xml-parse-tag-1, xml-parse-string): Use looking-at-p.
6594 (xml-parse-dtd): Use looking-at-p, string-match-p. Mark unused
6595 argument. Remove unused local variable.
6596 (xml-parse-elem-type): Use string-match-p.
6597 (xml-substitute-numeric-entities): Use ignore-errors.
6599 * calculator.el (calculator): Mark unused argument.
6600 (calculator-paste, calculator-quit, calculator-integer-p):
6602 (calculator-string-to-number, calculator-decimal, calculator-exp)
6603 (calculator-op-or-exp): Use string-match-p.
6605 * dired.el (dired-buffer-more-recently-used-p): Declare.
6606 (dired-insert-set-properties, dired-insert-old-subdirs):
6609 * dired-aux.el (dired-compress): Use ignore-errors.
6610 (dired-do-chxxx, dired-do-chmod, dired-trample-file-versions)
6611 (dired-do-async-shell-command, dired-do-shell-command)
6612 (dired-shell-stuff-it, dired-compress-file, dired-insert-subdir)
6613 (dired-insert-subdir-validate): Use string-match-p.
6614 (dired-map-dired-file-lines, dired-subdir-hidden-p): Use looking-at-p.
6615 (dired-add-entry): Use string-match-p, looking-at-p.
6616 (dired-insert-subdir-newpos): Remove unused local variable.
6618 * filenotify.el (file-notify-callback): Remove unused local variable.
6620 * filesets.el (filesets-error): Mark unused argument.
6621 (filesets-which-command-p, filesets-filter-dir-names)
6622 (filesets-directory-files, filesets-get-external-viewer)
6623 (filesets-ingroup-get-data): Use string-match-p.
6625 * find-file.el (ff-other-file-name, ff-other-file-name)
6626 (ff-find-the-other-file, ff-cc-hh-converter):
6627 Remove unused local variables.
6628 (ff-get-file-name): Use string-match-p.
6629 (ff-all-dirs-under): Use ignore-errors.
6631 * follow.el (follow-comint-scroll-to-bottom): Mark unused argument.
6632 (follow-select-if-visible): Remove unused local variable.
6634 * forms.el (read-file-filter): Move declaration.
6635 (forms--make-format, forms--make-parser, forms-insert-record):
6636 Quote function with #'.
6637 (forms--update): Use string-match-p. Quote function with #'.
6639 * help-mode.el (help-dir-local-var-def): Mark unused argument.
6640 (help-make-xrefs): Use looking-at-p.
6641 (help-xref-on-pp): Use looking-at-p, ignore-errors.
6643 * ibuffer.el (ibuffer-ext-visible-p): Declare.
6644 (ibuffer-confirm-operation-on): Use string-match-p.
6646 * msb.el (msb-item-handler, msb-dired-item-handler):
6647 Mark unused arguments.
6649 * ses.el (ses-decode-cell-symbol)
6650 (ses-kill-override): Remove unused local variable.
6651 (ses-create-cell-variable, ses-relocate-formula): Use string-match-p.
6652 (ses-load): Use ignore-errors, looking-at-p.
6653 (ses-jump-safe): Use ignore-errors.
6654 (ses-export-tsv, ses-export-tsf, ses-unsafe): Mark unused arguments.
6656 * tabify.el (untabify, tabify): Mark unused arguments.
6658 * thingatpt.el (thing-at-point--bounds-of-well-formed-url):
6659 Mark unused argument.
6660 (bounds-of-thing-at-point, thing-at-point-bounds-of-list-at-point)
6661 (thing-at-point-newsgroup-p, form-at-point): Use ignore-errors.
6663 * emacs-lisp/timer.el (timer--time): Define setter with
6664 gv-define-setter to avoid deprecation warning.
6666 * completion.el: Remove stuff unused since revno:3176 (1993-05-27).
6667 (*record-cmpl-statistics-p*): Remove (was commented out).
6668 (cmpl-statistics-block): Remove (body was commented out).
6669 All callers changed.
6670 (add-completions-from-buffer, load-completions-from-file):
6671 Remove unused variables.
6673 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6675 * filecache.el (file-cache-delete-file-list):
6676 Print message only when told so.
6677 (file-cache-files-matching): Use #' in mapconcat argument.
6679 * ffap.el (ffap-url-at-point): Fix reference to variable
6680 thing-at-point-default-mail-uri-scheme.
6682 2013-08-09 Stefan Monnier <monnier@iro.umontreal.ca>
6684 * subr.el (define-error): New function.
6685 * progmodes/ada-xref.el (ada-error-file-not-found): Rename from
6686 error-file-not-found and define with define-error.
6687 * emacs-lisp/cl-lib.el (cl-assertion-failed): Move here from subr.el
6688 and define with define-error.
6689 * userlock.el (file-locked, file-supersession):
6690 * simple.el (mark-inactive):
6691 * progmodes/js.el (js-moz-bad-rpc, js-js-error):
6692 * progmodes/ada-mode.el (ada-mode-errors):
6693 * play/life.el (life-extinct):
6694 * nxml/xsd-regexp.el (xsdre-invalid-regexp, xsdre-parse-error):
6695 * nxml/xmltok.el (xmltok-markup-declaration-parse-error):
6696 * nxml/rng-util.el (rng-error):
6697 * nxml/rng-uri.el (rng-uri-error):
6698 * nxml/rng-match.el (rng-compile-error):
6699 * nxml/rng-cmpct.el (rng-c-incorrect-schema):
6700 * nxml/nxml-util.el (nxml-error, nxml-file-parse-error):
6701 * nxml/nxml-rap.el (nxml-scan-error):
6702 * nxml/nxml-outln.el (nxml-outline-error):
6703 * net/soap-client.el (soap-error):
6704 * net/gnutls.el (gnutls-error):
6705 * net/ange-ftp.el (ftp-error):
6706 * mpc.el (mpc-proc-error):
6707 * json.el (json-error, json-readtable-error, json-unknown-keyword)
6708 (json-number-format, json-string-escape, json-string-format)
6709 (json-key-format, json-object-format):
6710 * jka-compr.el (compression-error):
6711 * international/quail.el (quail-error):
6712 * international/kkc.el (kkc-error):
6713 * emacs-lisp/ert.el (ert-test-failed):
6714 * calc/calc.el (calc-error, inexact-result, math-overflow)
6716 * bookmark.el (bookmark-error-no-filename):
6717 * epg.el (epg-error): Define with define-error.
6719 * time.el (display-time-event-handler)
6720 (display-time-next-load-average): Don't call sit-for since it seems
6721 unnecessary (bug#15045).
6723 * emacs-lisp/checkdoc.el: Remove redundant :group keywords.
6724 Use #' instead of ' to quote functions.
6725 (checkdoc-output-mode): Use setq-local.
6726 (checkdoc-spellcheck-documentation-flag, checkdoc-ispell-lisp-words)
6727 (checkdoc-verb-check-experimental-flag, checkdoc-proper-noun-regexp)
6728 (checkdoc-common-verbs-regexp): Mark safe-local-variable (bug#15010).
6729 (checkdoc-ispell, checkdoc-ispell-current-buffer)
6730 (checkdoc-ispell-interactive, checkdoc-ispell-message-interactive)
6731 (checkdoc-ispell-message-text, checkdoc-ispell-start)
6732 (checkdoc-ispell-continue, checkdoc-ispell-comments)
6733 (checkdoc-ispell-defun): Remove unused arg `take-notes'.
6735 * ido.el (ido-completion-help): Fix up compiler warning.
6737 2013-08-09 Juanma Barranquero <lekktu@gmail.com>
6739 * frameset.el (frameset-p): Add autoload cookie.
6740 (frameset--jump-to-register): New function, based on code moved from
6742 (frameset-to-register): Move from register.el. Adapt to `registerv'.
6744 * register.el (frameset-frame-id, frameset-frame-with-id, frameset-p)
6745 (frameset-restore, frameset-save, frameset-session-filter-alist):
6746 Remove declarations.
6747 (register-alist): Doc fix.
6748 (frameset-to-register): Move to frameset.el.
6749 (jump-to-register, describe-register-1): Remove frameset-specific code.
6751 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6753 * allout-widgets.el (allout-widgets-pre-command-business)
6754 (allout-widgets-post-command-business)
6755 (allout-widgets-after-change-handler)
6756 (allout-decorate-item-and-context, allout-set-boundary-marker)
6757 (allout-body-modification-handler)
6758 (allout-graphics-modification-handler): Mark ignored arguments.
6759 (allout-widgets-post-command-business)
6760 (allout-widgets-exposure-change-processor)
6761 (allout-widgets-exposure-undo-processor)
6762 (allout-decorate-item-and-context, allout-redecorate-visible-subtree)
6763 (allout-parse-item-at-point, allout-decorate-item-guides)
6764 (allout-decorate-item-cue, allout-item-span): Remove unused variables.
6765 * allout.el (epa-passphrase-callback-function): Declare.
6766 (allout-overlay-insert-in-front-handler)
6767 (allout-overlay-interior-modification-handler)
6768 (allout-isearch-end-handler, allout-chart-siblings)
6769 (allout-up-current-level, allout-end-of-level, allout-reindent-body)
6770 (allout-yank-processing, allout-process-exposed)
6771 (allout-latex-verb-quote, allout-latexify-one-item, outlineify-sticky)
6772 (allout-latex-verbatim-quote-curr-line): Remove unused variables.
6773 * emacs-lisp/lisp-mode.el (lisp-eval-defun, last-sexp-toggle-display)
6774 (lisp-indent-defform): Mark ignored arguments.
6775 (lisp-indent-line): Mark ignored arguments. Remove unused variables.
6776 (calculate-lisp-indent): Remove unused variables.
6777 * international/characters.el (indian-2-column, arabic-2-column)
6778 (tibetan): Mark ignored arguments.
6779 (use-cjk-char-width-table): Mark ignored arguments.
6780 Remove unused variables.
6781 * international/fontset.el (build-default-fontset-data)
6782 (x-compose-font-name, create-fontset-from-fontset-spec):
6783 Mark ignored arguments.
6784 (fontset-plain-name): Remove unused variables.
6785 * international/mule.el (charset-id, charset-bytes, generic-char-p)
6786 (keyboard-coding-system): Mark ignored arguments.
6787 (find-auto-coding): Remove unused variables. Use `ignore-errors'.
6788 * help.el (resize-temp-buffer-window):
6789 * window.el (display-buffer-in-major-side-window)
6790 (display-buffer-in-side-window, display-buffer-in-previous-window):
6791 Remove unused variables.
6792 * isearch.el (isearch-forward-symbol):
6793 * version.el (emacs-bzr-version-bzr):
6794 * international/mule-cmds.el (current-language-environment):
6795 * term/common-win.el (x-handle-iconic, x-handle-geometry)
6797 * term/pc-win.el (x-list-fonts, x-display-planes)
6798 (x-display-color-cells, x-server-max-request-size, x-server-vendor)
6799 (x-server-version, x-display-screens, x-display-mm-height)
6800 (x-display-mm-width, x-display-backing-store, x-display-visual-class)
6801 (x-selection-owner-p, x-own-selection-internal)
6802 (x-disown-selection-internal, x-get-selection-internal)
6803 (msdos-initialize-window-system):
6804 * term/tty-colors.el (tty-color-alist, tty-color-clear):
6805 * term/x-win.el (x-handle-no-bitmap-icon):
6806 * vc/vc-hooks.el (vc-mode, vc-default-make-version-backups-p)
6807 (vc-default-find-file-hook, vc-default-extra-menu):
6808 Mark ignored arguments.
6810 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6812 * emacs-lisp/edebug.el (edebug-debugger): Use edebug-eval to run the
6813 break-condition in the context of the debugged code (bug#12685).
6815 2013-08-08 Christopher Schmidt <christopher@ch.ristopher.com>
6818 Do not use an overlay to highlight the last prompt. (Bug#14744)
6819 (comint-mode): Make comint-last-prompt buffer local.
6820 (comint-last-prompt): New variable.
6821 (comint-last-prompt-overlay): Remove. Superseded by
6823 (comint-snapshot-last-prompt, comint-output-filter):
6824 Use comint-last-prompt.
6826 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6828 * frameset.el (frameset-valid-p): Check vector length. Doc fix.
6829 (frameset-save): Check validity of the resulting frameset.
6831 2013-08-08 Xue Fuqiao <xfq.free@gmail.com>
6833 * ido.el (ido-record-command): Add doc string.
6835 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6837 * frameset.el (frameset): Do not disable creation of the default
6838 frameset-p predicate. Doc fix.
6839 (frameset-valid-p): New function, copied from the old predicate-p.
6840 Add additional checks.
6841 (frameset-restore): Check with frameset-valid-p.
6842 (frameset-p, frameset-version, frameset-timestamp, frameset-app)
6843 (frameset-name, frameset-description, frameset-properties)
6844 (frameset-states): Add docstring.
6845 (frameset-session-filter-alist, frameset-persistent-filter-alist)
6846 (frameset-filter-alist): Doc fixes.
6848 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6850 * frameset.el (frameset-p, frameset-prop): Doc fixes.
6852 2013-08-08 Stefan Monnier <monnier@iro.umontreal.ca>
6854 * emacs-lisp/bytecomp.el (byte-compile-function-warn): New function,
6855 extracted from byte-compile-callargs-warn and byte-compile-normal-call.
6856 (byte-compile-callargs-warn, byte-compile-function-form): Use it.
6857 (byte-compile-normal-call): Remove obsolescence check.
6859 2013-08-08 Juanma Barranquero <lekktu@gmail.com>
6861 * frameset.el (frameset-restore): Doc fix.
6863 * register.el (frameset-frame-id, frameset-frame-with-id)
6864 (frameset-p, frameset-restore, frameset-save): Declare.
6865 (register-alist): Document framesets.
6866 (frameset-session-filter-alist): Declare.
6867 (frameset-to-register): New function.
6868 (jump-to-register): Implement jumping to framesets. Doc fix.
6869 (describe-register-1): Describe framesets.
6871 * bindings.el (ctl-x-r-map): Bind ?f to frameset-to-register.
6873 2013-08-07 Juanma Barranquero <lekktu@gmail.com>
6875 * desktop.el (desktop-save-frameset): Use new frameset-save args.
6876 Use lexical-binding.
6878 * frameset.el (frameset): Use type vector, not list (incompatible
6879 change). Do not declare a new constructor, use the default one.
6880 Upgrade suggested properties `app', `name' and `desc' to slots `app',
6881 `name' and `description', respectively, and add read-only slot
6882 `timestamp'. Doc fixes.
6883 (frameset-copy, frameset-persistent-filter-alist)
6884 (frameset-filter-alist, frameset-switch-to-gui-p)
6885 (frameset-switch-to-tty-p, frameset-filter-tty-to-GUI)
6886 (frameset-filter-sanitize-color, frameset-filter-minibuffer)
6887 (frameset-filter-iconified, frameset-keep-original-display-p):
6889 (frameset-filter-shelve-param, frameset-filter-unshelve-param):
6890 Rename from frameset-filter-(save|restore)-param. All callers changed.
6892 (frameset-p): Adapt to change to vector and be more thorough.
6893 Change arg name to OBJECT. Doc fix.
6894 (frameset-prop): Rename arg PROP to PROPERTY. Doc fix.
6895 (frameset-session-filter-alist): Rename from frameset-live-filter-alist.
6896 All callers changed.
6897 (frameset-frame-with-id): Rename from frameset-locate-frame-id.
6898 All callers changed.
6899 (frameset--record-minibuffer-relationships): Rename from
6900 frameset--process-minibuffer-frames. All callers changed.
6901 (frameset-save): Add new keyword arguments APP, NAME and DESCRIPTION.
6902 Use new default constructor (again). Doc fix.
6903 (frameset--find-frame-if): Rename from `frameset--find-frame.
6904 All callers changed.
6905 (frameset--reuse-frame): Rename arg FRAME-CFG to PARAMETERS.
6906 (frameset--initial-params): Rename arg FRAME-CFG to PARAMETERS.
6908 (frameset--restore-frame): Rename args FRAME-CFG and WINDOW-CFG to
6909 PARAMETERS and WINDOW-STATE, respectively.
6910 (frameset-restore): Add new keyword argument PREDICATE.
6911 Reset frameset--target-display to nil. Doc fix.
6913 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6915 * progmodes/bat-mode.el (bat--syntax-propertize): New var.
6917 (bat-mode-syntax-table): Mark \n as end-of-comment.
6918 (bat-font-lock-keywords): Remove comment rule.
6920 * progmodes/bat-mode.el: Rename from dos.el. Use "bat-" prefix.
6921 (dos-mode-help): Remove. Use describe-mode (C-h m) instead.
6923 * emacs-lisp/bytecomp.el: Check existence of f in #'f.
6924 (byte-compile-callargs-warn): Use `push'.
6925 (byte-compile-arglist-warn): Ignore higher-order "calls".
6926 (byte-compile-file-form-autoload): Use `pcase'.
6927 (byte-compile-function-form): If quoting a symbol, check that it exists.
6929 2013-08-07 Eli Zaretskii <eliz@gnu.org>
6931 * progmodes/dos.el (dos-font-lock-keywords): Rename LINUX to UNIX
6932 and add a few popular commands found in batch files.
6933 (dos, dos-label-face, dos-cmd-help, dos-run, dos-run-args)
6934 (dos-mode): Doc fixes.
6936 2013-08-07 Stefan Monnier <monnier@iro.umontreal.ca>
6938 * progmodes/dos.el (auto-mode-alist): Add entries for dos-mode.
6939 (dos-mode): Use setq-local. Add space after "rem".
6940 (dos-mode-syntax-table): Don't use "w" for symbol chars.
6941 (dos-font-lock-keywords): Try to adjust font-lock rules accordingly.
6943 2013-08-07 Arni Magnusson <arnima@hafro.is>
6945 * progmodes/dos.el: New file.
6946 * generic-x.el (bat-generic-mode): Redefine as an obsolete alias to
6949 2013-08-06 Glenn Morris <rgm@gnu.org>
6951 * calendar/calendar.el: Add new faces, and day-header-array.
6952 (calendar-weekday-header, calendar-weekend-header)
6953 (calendar-month-header): New faces.
6954 (calendar-day-header-construct): New function.
6955 (calendar-day-header-width): Also :set calendar-day-header-array.
6956 (calendar-american-month-header, calendar-european-month-header)
6957 (calendar-iso-month-header): Use calendar- faces.
6958 (calendar-generate-month):
6959 Use calendar-day-header-array for day headers; apply faces to them.
6960 (calendar-mode): Check calendar-font-lock-keywords non-nil.
6961 (calendar-abbrev-construct): Add optional maxlen argument.
6962 (calendar-day-name-array): Doc fix.
6963 (calendar-day-name-array, calendar-abbrev-length)
6964 (calendar-day-abbrev-array):
6965 Also :set calendar-day-header-array, and maybe redraw.
6966 (calendar-day-header-array): New option. (Bug#15007)
6967 (calendar-font-lock-keywords): Set to nil and make obsolete.
6968 (calendar-day-name): Add option to use header array.
6970 2013-08-06 Lars Magne Ingebrigtsen <larsi@gnus.org>
6972 * net/shr.el (shr-render-td): Remove debugging.
6973 (shr-render-td): Make width computation consistent by defaulting
6974 all zero-width columns to 10 characters. This may not be optimal,
6975 but it's at least consistent.
6976 (shr-make-table-1): Redo last change to fix the real problem in
6979 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6981 * files.el (cache-long-line-scans):
6982 Make obsolete alias to `cache-long-scans'.
6984 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
6986 * frameset.el (frameset, frameset-filter-alist)
6987 (frameset-filter-params, frameset-save, frameset--reuse-frame)
6988 (frameset--minibufferless-last-p, frameset-restore): Doc fixes.
6989 (frameset-compute-pos): Rename from frameset--compute-pos,
6991 (frameset-move-onscreen): Use frameset-compute-pos.
6992 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
6994 * find-lisp.el (find-lisp-line-indent, find-lisp-find-dired-filter):
6995 Fix typos in docstrings.
6997 2013-08-06 Dmitry Antipov <dmantipov@yandex.ru>
6999 * frame.el (get-other-frame): Tiny cleanup.
7001 2013-08-06 Juanma Barranquero <lekktu@gmail.com>
7003 * vc/vc.el (vc-default-ignore-completion-table):
7004 Silence byte-compiler warning.
7006 * frameset.el (frameset-p): Don't check non-nullness of the `properties'
7007 slot, which can indeed be nil.
7008 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7009 Move entry for `left' from persistent to live filter alist.
7010 (frameset-filter-alist, frameset--minibufferless-last-p, frameset-save):
7012 (frameset-filter-params): When restoring a frame, copy items added to
7013 `filtered', to avoid unwittingly modifying the original parameters.
7014 (frameset-move-onscreen): Rename from frameset--move-onscreen. Doc fix.
7015 (frameset--restore-frame): Fix reference to frameset-move-onscreen.
7017 * dired.el (dired-insert-directory): Revert change in 2013-06-21T12:24:37Z!lekktu@gmail.com
7018 to use looking-at-p instead of looking-at. (Bug#15028)
7020 2013-08-05 Stefan Monnier <monnier@iro.umontreal.ca>
7022 Revert introduction of isearch-filter-predicates (bug#14714).
7023 Rely on add-function instead.
7024 * isearch.el (isearch-filter-predicates): Rename it back to
7025 isearch-filter-predicate.
7026 (isearch-message-prefix): Use advice-function-mapc and advice
7027 properties to get the isearch-message-prefix.
7028 (isearch-search, isearch-lazy-highlight-search): Revert to funcall
7029 instead of run-hook-with-args-until-failure.
7030 (isearch-filter-visible): Not obsolete any more.
7031 * loadup.el: Preload nadvice.
7032 * replace.el (perform-replace): Revert to funcall
7033 instead of run-hook-with-args-until-failure.
7034 * wdired.el (wdired-change-to-wdired-mode): Use add-function.
7035 * dired-aux.el (dired-isearch-filenames-mode): Rename from
7036 dired-isearch-filenames-toggle; make it into a proper minor mode.
7037 Use add/remove-function.
7038 (dired-isearch-filenames-setup, dired-isearch-filenames-end):
7039 Call the minor-mode rather than add/remove-hook.
7040 (dired-isearch-filter-filenames):
7041 Remove isearch-message-prefix property.
7042 * info.el (Info--search-loop): New function, extracted from Info-search.
7043 Funcall isearch-filter-predicate instead of
7044 run-hook-with-args-until-failure isearch-filter-predicates.
7045 (Info-search): Use it.
7046 (Info-mode): Use isearch-filter-predicate instead of
7047 isearch-filter-predicates.
7049 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7051 Do not call to `selected-window' where it is assumed by default.
7052 Affected functions are `window-minibuffer-p', `window-dedicated-p',
7053 `window-hscroll', `window-width', `window-height', `window-buffer',
7054 `window-frame', `window-start', `window-point', `next-window'
7055 and `window-display-table'.
7056 * abbrev.el (abbrev--default-expand):
7057 * bs.el (bs--show-with-configuration):
7058 * buff-menu.el (Buffer-menu-mouse-select):
7059 * calc/calc.el (calc):
7060 * calendar/calendar.el (calendar-generate-window):
7061 * calendar/diary-lib.el (diary-simple-display, diary-show-all-entries)
7063 * comint.el (send-invisible, comint-dynamic-complete-filename)
7064 (comint-dynamic-simple-complete, comint-dynamic-list-completions):
7065 * completion.el (complete):
7066 * dabbrev.el (dabbrev-expand, dabbrev--make-friend-buffer-list):
7067 * disp-table.el (describe-current-display-table):
7068 * doc-view.el (doc-view-insert-image):
7069 * ebuff-menu.el (Electric-buffer-menu-mouse-select):
7070 * ehelp.el (with-electric-help):
7071 * emacs-lisp/easy-mmode.el (easy-mmode-define-navigation):
7072 * emacs-lisp/edebug.el (edebug-two-window-p, edebug-pop-to-buffer):
7073 * emacs-lisp/helper.el (Helper-help-scroller):
7074 * emulation/cua-base.el (cua--post-command-handler-1):
7075 * eshell/esh-mode.el (eshell-output-filter):
7076 * ffap.el (ffap-gnus-wrapper):
7077 * help-macro.el (make-help-screen):
7078 * hilit-chg.el (highlight-compare-buffers):
7079 * hippie-exp.el (hippie-expand, try-expand-dabbrev-visible):
7080 * hl-line.el (global-hl-line-highlight):
7081 * icomplete.el (icomplete-simple-completing-p):
7082 * isearch.el (isearch-done):
7083 * jit-lock.el (jit-lock-stealth-fontify):
7084 * mail/rmailsum.el (rmail-summary-scroll-msg-up):
7085 * mouse-drag.el (mouse-drag-should-do-col-scrolling):
7086 * mpc.el (mpc-tagbrowser, mpc):
7087 * net/rcirc.el (rcirc-any-buffer):
7088 * play/gomoku.el (gomoku-max-width, gomoku-max-height):
7089 * play/landmark.el (landmark-max-width, landmark-max-height):
7090 * play/zone.el (zone):
7091 * progmodes/compile.el (compilation-goto-locus):
7092 * progmodes/ebrowse.el (ebrowse-view/find-file-and-search-pattern):
7093 * progmodes/etags.el (find-tag-other-window):
7094 * progmodes/fortran.el (fortran-column-ruler):
7095 * progmodes/gdb-mi.el (gdb-mouse-toggle-breakpoint-fringe):
7096 * progmodes/verilog-mode.el (verilog-point-text):
7097 * reposition.el (reposition-window):
7098 * rot13.el (toggle-rot13-mode):
7099 * server.el (server-switch-buffer):
7100 * shell.el (shell-dynamic-complete-command)
7101 (shell-dynamic-complete-environment-variable):
7102 * simple.el (insert-buffer, set-selective-display)
7103 (delete-completion-window):
7104 * speedbar.el (speedbar-timer-fn, speedbar-center-buffer-smartly)
7105 (speedbar-recenter):
7106 * startup.el (fancy-splash-head):
7107 * textmodes/ispell.el (ispell-command-loop):
7108 * textmodes/makeinfo.el (makeinfo-compilation-sentinel-region):
7109 * tutorial.el (help-with-tutorial):
7110 * vc/add-log.el (add-change-log-entry):
7111 * vc/compare-w.el (compare-windows):
7112 * vc/ediff-help.el (ediff-indent-help-message):
7113 * vc/ediff-util.el (ediff-setup-control-buffer, ediff-position-region):
7114 * vc/ediff-wind.el (ediff-skip-unsuitable-frames)
7115 (ediff-setup-control-frame):
7116 * vc/emerge.el (emerge-position-region):
7117 * vc/pcvs-util.el (cvs-bury-buffer):
7118 * window.el (walk-windows, mouse-autoselect-window-select):
7119 * winner.el (winner-set-conf, winner-undo): Related users changed.
7121 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7123 * frameset.el (frameset--set-id): Doc fix.
7124 (frameset-frame-id, frameset-frame-id-equal-p)
7125 (frameset-locate-frame-id): New functions.
7126 (frameset--process-minibuffer-frames, frameset--reuse-frame)
7127 (frameset-restore): Use them.
7129 2013-08-05 Dmitry Antipov <dmantipov@yandex.ru>
7131 Do not call to `selected-frame' where it is assumed by default.
7132 Affected functions are `raise-frame', `redraw-frame',
7133 `frame-first-window', `frame-terminal' and `delete-frame'.
7134 * calendar/appt.el (appt-disp-window):
7135 * epg.el (epg-wait-for-completion):
7136 * follow.el (follow-delete-other-windows-and-split)
7137 (follow-avoid-tail-recenter):
7138 * international/mule.el (set-terminal-coding-system):
7139 * mail/rmail.el (rmail-mail-return):
7140 * net/newst-plainview.el (newsticker--buffer-set-uptodate):
7141 * progmodes/f90.el (f90-add-imenu-menu):
7142 * progmodes/idlw-toolbar.el (idlwave-toolbar-toggle):
7143 * server.el (server-switch-buffer):
7144 * simple.el (delete-completion-window):
7146 * term/xterm.el (terminal-init-xterm-modify-other-keys)
7147 (xterm-turn-on-modify-other-keys, xterm-remove-modify-other-keys):
7148 * vc/ediff-util.el (ediff-status-info, ediff-show-diff-output):
7149 * vc/ediff.el (ediff-documentation): Related users changed.
7150 * frame.el (selected-terminal): Remove the leftover.
7152 2013-08-05 Glenn Morris <rgm@gnu.org>
7154 * calendar/calendar.el (calendar-generate-month):
7155 Fix for calendar-column-width != 1 + calendar-day-digit-width.
7156 (calendar-generate-month, calendar-font-lock-keywords):
7157 Fix for calendar-day-header-width > length of any day name.
7159 2013-08-05 Juanma Barranquero <lekktu@gmail.com>
7161 * desktop.el (desktop-clear): Use new name of sort predicate.
7163 * frameset.el (frameset): Add docstring. Move :version property to its
7165 (frameset-copy): Rename from copy-frameset.
7166 (frameset-p): Check more thoroughly.
7167 (frameset-prop): Do not check for :version, which is no longer a prop.
7168 (frameset-live-filter-alist, frameset-persistent-filter-alist):
7169 Use new :never value instead of t.
7170 (frameset-filter-alist): Expand and clarify docstring.
7171 (frameset-filter-tty-to-GUI, frameset-filter-sanitize-color)
7172 (frameset-filter-minibuffer, frameset-filter-save-param)
7173 (frameset-filter-restore-param, frameset-filter-iconified):
7174 Add pointer to docstring of frameset-filter-alist.
7175 (frameset-filter-params): Rename filter values to be more meaningful:
7176 :never instead of t, and reverse the meanings of :save and :restore.
7177 (frameset--process-minibuffer-frames): Clarify error message.
7178 (frameset-save): Avoid unnecessary and confusing call to framep.
7179 Use new BOA constructor for framesets.
7180 (frameset--reuse-list): Doc fix.
7181 (frameset--restore-frame): Rename from frameset--get-frame. Doc fix.
7182 (frameset--minibufferless-last-p): Rename from frameset--sort-states.
7183 (frameset-minibufferless-first-p): Doc fix.
7184 Rename from frameset-sort-frames-for-deletion.
7185 (frameset-restore): Doc fixes. Use new function names.
7186 Most changes suggested by Drew Adams <drew.adams@oracle.com>.
7188 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7190 * desktop.el (desktop-restore-forces-onscreen)
7191 (desktop-restore-reuses-frames): Document :keyword constant values.
7192 (desktop-filter-parameters-alist): Remove, now identical to
7193 frameset-filter-alist.
7194 (desktop--filter-tty*): Remove, moved to frameset.el.
7195 (desktop-save-frameset, desktop-restore-frameset):
7196 Do not pass :filters argument.
7198 * frameset.el (frameset-live-filter-alist)
7199 (frameset-persistent-filter-alist): New variables.
7200 (frameset-filter-alist): Use them. Add autoload cookie.
7201 (frameset-filter-tty-to-GUI): Move from desktop.el and rename.
7202 (frameset--set-id, frameset--reuse-frame): Rename `frame-id' to
7203 `frameset--id' (it's supposed to be internal to frameset.el).
7204 (frameset--process-minibuffer-frames): Ditto. Doc fix.
7205 (frameset--initial-params): New function.
7206 (frameset--get-frame): Use it. Doc fix.
7207 (frameset--move-onscreen): Accept new PRED value for FORCE-ONSCREEN.
7208 Accept :all, not 'all.
7209 (frameset-restore): Add new predicate values for FORCE-ONSCREEN and
7210 FORCE-DISPLAY. Use :keywords for constant arguments to avoid collision
7211 with fbound symbols. Fix frame id matching, and remove matching ids if
7212 the frame being restored is deleted. Obey :delete.
7214 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7216 * subr.el (macrop): New function.
7217 (text-clone--maintaining): New var.
7218 (text-clone--maintain): Rename from text-clone-maintain. Use it
7219 instead of inhibit-modification-hooks.
7221 * emacs-lisp/nadvice.el (advice--normalize): For aliases to macros, use
7222 a proxy, so as handle autoloads and redefinitions of the target.
7223 (advice--defalias-fset, advice-remove): Use advice--symbol-function.
7225 * emacs-lisp/pcase.el (pcase-mutually-exclusive-predicates):
7226 Remove bogus (arrayp . stringp) pair. Add entries for `vectorp'.
7227 (pcase--mutually-exclusive-p): New function.
7228 (pcase--split-consp): Use it.
7229 (pcase--split-pred): Use it. Optimize the case where `pat' is a qpat
7230 mutually exclusive with the current predicate.
7232 * emacs-lisp/edebug.el (edebug-lookup-function): Remove function.
7233 (edebug-macrop): Remove. Use `macrop' instead.
7234 * emacs-lisp/advice.el (ad-subr-p): Remove. Use `subrp' instead.
7236 * eshell/esh-cmd.el (eshell-macrop):
7237 * apropos.el (apropos-macrop): Remove. Use `macrop' instead.
7239 2013-08-04 Stefan Monnier <monnier@iro.umontreal.ca>
7241 * emacs-lisp/nadvice.el (advice-function-mapc): Rename from advice-mapc.
7242 (advice-mapc): New function, using it.
7243 (advice-function-member-p): New function.
7244 (advice--normalize): Store the cdr in advice--saved-rewrite since
7245 that's the part that will be changed.
7246 (advice--symbol-function): New function.
7247 (advice-remove): Handle removal before the function is defined.
7248 Adjust to new advice--saved-rewrite.
7249 (advice-member-p): Use advice-function-member-p and
7250 advice--symbol-function.
7252 2013-08-04 Juanma Barranquero <lekktu@gmail.com>
7254 * frameset.el (frameset-p, frameset-save): Fix autoload cookies.
7255 (frameset-filter-minibuffer): Doc fix.
7256 (frameset-restore): Fix autoload cookie. Fix typo in docstring.
7257 (frameset--set-id, frameset--process-minibuffer-frames)
7258 (frameset-restore): Rename parameter `frameset-id' to `frame-id'.
7259 (frameset--reuse-frame): Pass correct frame-id to frameset--find-frame.
7261 * desktop.el (desktop-clear): Only delete frames when called
7262 interactively and desktop-restore-frames is non-nil. Doc fix.
7263 (desktop-read): Set desktop-saved-frameset to nil.
7265 2013-08-04 Xue Fuqiao <xfq.free@gmail.com>
7267 * vc/vc.el (vc-ignore): Rewrite.
7268 (vc-default-ignore-completion-table):
7270 (vc--add-line, vc--remove-regexp): New functions.
7272 * vc/vc-svn.el (vc-svn-ignore): Doc fix.
7273 (vc-svn-ignore-completion-table): New function.
7275 * vc/vc-hg.el (vc-hg-ignore): Rewrite.
7276 (vc-hg-ignore-completion-table):
7277 (vc-hg-find-ignore-file): New functions.
7279 * vc/vc-git.el (vc-git-ignore): Rewrite.
7280 (vc-git-ignore-completion-table):
7281 (vc-git-find-ignore-file): New functions.
7283 * vc/vc-dir.el (vc-dir-menu-map): Add menu for vc-dir-ignore.
7285 * vc/vc-bzr.el (vc-bzr-ignore): Rewrite.
7286 (vc-bzr-ignore-completion-table):
7287 (vc-bzr-find-ignore-file): New functions.
7289 2013-08-03 Juanma Barranquero <lekktu@gmail.com>
7291 * frameset.el (frameset-prop): New function and setter.
7292 (frameset-save): Do not modify frame list passed by the caller.
7294 2013-08-03 Stefan Monnier <monnier@iro.umontreal.ca>
7296 * emacs-lisp/package.el (package-desc-from-define): Ignore unknown keys.
7298 2013-08-02 Stefan Monnier <monnier@iro.umontreal.ca>
7300 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode)
7301 (easy-mmode-define-navigation): Avoid ((lambda (..) ..) ...).
7303 * custom.el (custom-initialize-default, custom-initialize-set)
7304 (custom-initialize-reset, custom-initialize-changed): Affect the
7305 toplevel-default-value (bug#6275, bug#14586).
7306 * emacs-lisp/advice.el (ad-compile-function): Undo previous workaround
7309 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7311 * emacs-lisp/lisp-mode.el (lisp-imenu-generic-expression):
7312 Add cl-def* expressions.
7314 * frameset.el (frameset-filter-params): Fix order of arguments.
7316 2013-08-02 Juanma Barranquero <lekktu@gmail.com>
7318 Move code related to saving frames to frameset.el.
7319 * desktop.el: Require frameset.
7320 (desktop-restore-frames): Doc fix.
7321 (desktop-restore-reuses-frames): Rename from
7322 desktop-restoring-reuses-frames.
7323 (desktop-saved-frameset): Rename from desktop-saved-frame-states.
7324 (desktop-clear): Clear frames too.
7325 (desktop-filter-parameters-alist): Set from frameset-filter-alist.
7326 (desktop--filter-tty*, desktop-save, desktop-read):
7327 Use frameset functions.
7328 (desktop-before-saving-frames-functions, desktop--filter-*-color)
7329 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7330 (desktop--filter-save-desktop-parm, desktop--filter-iconified-position)
7331 (desktop-restore-in-original-display-p, desktop--filter-frame-parms)
7332 (desktop--process-minibuffer-frames, desktop-save-frames)
7333 (desktop--reuse-list, desktop--compute-pos, desktop--move-onscreen)
7334 (desktop--find-frame, desktop--select-frame, desktop--make-frame)
7335 (desktop--sort-states, desktop-restoring-frames-p)
7336 (desktop-restore-frames): Remove. Most code moved to frameset.el.
7337 (desktop-restoring-frameset-p, desktop-restore-frameset)
7338 (desktop--check-dont-save, desktop-save-frameset): New functions.
7339 (desktop--app-id): New constant.
7340 (desktop-first-buffer, desktop-buffer-ok-count)
7341 (desktop-buffer-fail-count): Move before first use.
7342 * frameset.el: New file.
7344 2013-08-01 Stefan Monnier <monnier@iro.umontreal.ca>
7346 * files.el: Use lexical-binding.
7347 (dir-locals-read-from-file): Remove unused `err' variable.
7348 (hack-dir-local-variables--warned-coding): New var.
7349 (hack-dir-local-variables): Use it to avoid repeated warnings.
7350 (make-backup-file-name--default-function): New function.
7351 (make-backup-file-name-function): Use it as default.
7352 (buffer-stale--default-function): New function.
7353 (buffer-stale-function): Use it as default.
7354 (revert-buffer-insert-file-contents--default-function): New function.
7355 (revert-buffer-insert-file-contents-function): Use it as default.
7356 (insert-directory): Avoid add-to-list.
7358 * autorevert.el (auto-revert-handler): Simplify.
7359 Use buffer-stale--default-function.
7361 2013-08-01 Tassilo Horn <tsdh@gnu.org>
7363 * speedbar.el (speedbar-query-confirmation-method): Doc fix.
7365 * whitespace.el (whitespace-ensure-local-variables): New function.
7366 (whitespace-cleanup-region): Call it.
7367 (whitespace-turn-on): Call it.
7369 2013-08-01 Michael Albinus <michael.albinus@gmx.de>
7371 Complete file name handlers.
7373 * net/tramp.el (tramp-handle-set-visited-file-modtime)
7374 (tramp-handle-verify-visited-file-modtime)
7375 (tramp-handle-file-notify-rm-watch): New functions.
7376 (tramp-call-process): Do not bind `default-directory'.
7378 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7379 Order alphabetically.
7380 [access-file, add-name-to-file, dired-call-process]:
7381 [dired-compress-file, file-acl, file-notify-rm-watch]:
7382 [file-ownership-preserved-p, file-selinux-context]:
7383 [make-directory-internal, make-symbolic-link, set-file-acl]:
7384 [set-file-selinux-context, set-visited-file-modtime]:
7385 [verify-visited-file-modtime]: Add handler.
7386 (tramp-adb-handle-write-region): Apply `set-visited-file-modtime'.
7388 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist)
7389 [file-notify-add-watch, file-notify-rm-watch]:
7390 [set-file-times, set-visited-file-modtime]:
7391 [verify-visited-file-modtime]: Add handler.
7392 (with-tramp-gvfs-error-message)
7393 (tramp-gvfs-handle-set-visited-file-modtime)
7394 (tramp-gvfs-fuse-file-name): Remove.
7395 (tramp-gvfs-handle-file-notify-add-watch)
7396 (tramp-gvfs-file-gvfs-monitor-file-process-filter): New defuns.
7397 (tramp-gvfs-handle-write-region): Fix error in moving tmpfile.
7399 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7400 Order alphabetically.
7401 [file-notify-rm-watch ]: Use default Tramp handler.
7402 [executable-find]: Remove private handler.
7403 (tramp-do-copy-or-rename-file-out-of-band): Do not bind
7404 `default-directory'.
7405 (tramp-sh-handle-executable-find)
7406 (tramp-sh-handle-file-notify-rm-watch): Remove functions.
7407 (tramp-sh-file-gvfs-monitor-dir-process-filter)
7408 (tramp-sh-file-inotifywait-process-filter, tramp-set-remote-path):
7409 Do not use `format' in `tramp-message'.
7411 * net/tramp-smb.el (tramp-smb-file-name-handler-alist)
7412 [file-notify-rm-watch, set-visited-file-modtime]:
7413 [verify-visited-file-modtime]: Add handler.
7414 (tramp-smb-call-winexe): Do not bind `default-directory'.
7416 2013-08-01 Xue Fuqiao <xfq.free@gmail.com>
7418 * vc/vc-hooks.el (vc-menu-map): Fix menu entry for vc-ignore.
7420 2013-07-31 Dmitry Gutov <dgutov@yandex.ru>
7422 * vc/log-view.el (log-view-diff): Extract `log-view-diff-common',
7424 (log-view-diff-changeset): Same.
7425 (log-view-diff-common): Call backend command `previous-revision'
7426 to find out the previous revision, in both cases. Swap the
7427 variables `to' and `fr', so that `fr' usually refers to the
7428 earlier revision (Bug#14989).
7430 2013-07-31 Kan-Ru Chen <kanru@kanru.info>
7432 * ibuf-ext.el (ibuffer-filter-by-filename):
7433 Make it work with dired buffers too.
7435 2013-07-31 Dmitry Antipov <dmantipov@yandex.ru>
7437 * emacs-lisp/re-builder.el (reb-color-display-p):
7438 * files.el (save-buffers-kill-terminal):
7439 * net/browse-url.el (browse-url):
7440 * server.el (server-save-buffers-kill-terminal):
7441 * textmodes/reftex-toc.el (reftex-toc, reftex-toc-revert):
7442 Prefer nil to selected-frame for the first arg of frame-parameter.
7444 2013-07-31 Xue Fuqiao <xfq.free@gmail.com>
7446 * vc/vc-hooks.el (vc-menu-map): Add menu entry for vc-ignore.
7448 2013-07-30 Stephen Berman <stephen.berman@gmx.net>
7450 * minibuffer.el (completion--twq-all): Try and preserve each
7451 completion's case choice (bug#14907).
7453 2013-07-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
7455 * net/network-stream.el (open-network-stream): Mention the new
7456 :nogreeting parameter.
7457 (network-stream-open-starttls): Use the :nogreeting parameter
7460 * net/shr.el (shr-mouse-browse-url): Remove and use `shr-browse-url'.
7462 * net/eww.el (eww-setup-buffer): Switching to the buffer seems
7463 more natural than popping.
7465 * net/shr.el (shr-urlify): Put `follow-link' on URLs (bug#14815).
7466 (shr-urlify): Highlight under mouse.
7468 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7470 * vc/vc-hooks.el (vc-prefix-map): Add key binding for vc-ignore.
7472 * vc/vc-dir.el (vc-dir-mode-map): Change key binding for vc-dir-ignore.
7474 * vc/vc-svn.el (vc-svn-ignore): Remove `interactive'. Use `*vc*'
7477 * vc/vc-hg.el (vc-hg-ignore): Remove `interactive'. Do not assume
7478 point-min==1. Fix search string. Fix parentheses missing.
7480 * vc/vc-git.el (vc-git-ignore): Remove `interactive'. Do not
7481 assume point-min==1. Fix search string. Fix parentheses missing.
7483 * vc/vc-cvs.el (vc-cvs-ignore): Remove `interactive'.
7485 * vc/vc-bzr.el (vc-bzr-ignore): Remove `interactive'. Use `*vc*'
7488 2013-07-29 Eli Zaretskii <eliz@gnu.org>
7490 * frame.el (frame-notice-user-settings): Avoid inflooping when the
7491 initial frame is minibuffer-less. (Bug#14841)
7493 2013-07-29 Michael Albinus <michael.albinus@gmx.de>
7495 * net/tramp.el (tramp-use-ssh-controlmaster-options): New customer
7498 * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band)
7499 (tramp-maybe-open-connection): Use it.
7501 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7503 * desktop.el (desktop--make-frame): Include `minibuffer' in the
7504 minimal set of parameters passed when creating a frame, because
7505 the minibuffer status of a frame cannot be changed later.
7507 2013-07-28 Stephen Berman <stephen.berman@gmx.net>
7509 * calendar/todo-mode.el (todo-rename-file): Fix incorrect use of
7510 replace-regexp-in-string and inadvertent omissions in previous change.
7511 (todo-filter-items): Ensure only file names are comma-separated in
7512 name of filtered items buffer.
7514 2013-07-28 Juanma Barranquero <lekktu@gmail.com>
7516 * desktop.el: Optionally force offscreen frames back onscreen.
7517 (desktop-restoring-reuses-frames): New option.
7518 (desktop--compute-pos, desktop--move-onscreen): New functions.
7519 (desktop--make-frame): Use desktop--move-onscreen.
7521 2013-07-27 Alan Mackenzie <acm@muc.de>
7523 Fontify a Java generic method as a function.
7524 * progmodes/cc-langs.el (c-recognize-<>-arglists): Set the Java
7527 2013-07-27 Stephen Berman <stephen.berman@gmx.net>
7529 * calendar/todo-mode.el: Add command to rename todo files.
7530 (todo-rename-file): New command.
7531 (todo-key-bindings-t): Add key binding for it. Change the
7532 bindings of todo-filter-regexp-items(-multifile) to use `x'
7533 instead of `r', since the latter is better suited to the new
7536 2013-07-27 Alan Mackenzie <acm@muc.de>
7538 Make Java try-with-resources statement parse properly.
7539 * progmodes/cc-langs.el (c-block-stmt-1-2-kwds)
7540 (c-block-stmt-1-2-key): New language constants/variables.
7541 * progmodes/cc-engine.el (c-beginning-of-statement-1)
7542 (c-after-conditional): Adapt to deal with c-block-stmt-1-2-key.
7543 * progmodes/cc-fonts.el (c-font-lock-declarations): Adapt to deal
7544 with c-block-stmt-1-2-key.
7546 2013-07-27 Juanma Barranquero <lekktu@gmail.com>
7548 * desktop.el (desktop--make-frame): Apply most frame parameters after
7549 creating the frame to force (partially or totally) offscreen frames to
7550 be restored as such.
7552 2013-07-26 Xue Fuqiao <xfq.free@gmail.com>
7554 * vc/vc-dir.el (vc-dir-mode-map): Add binding for vc-root-diff.
7557 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7559 * emacs-lisp/nadvice.el (advice--called-interactively-skip): Use the new
7560 `base' arg of backtrace-frame.
7562 2013-07-26 Eli Zaretskii <eliz@gnu.org>
7564 * simple.el (list-processes): Doc fix.
7566 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7568 * desktop.el (desktop--select-frame):
7569 Try harder to reuse existing frames.
7571 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7573 * emacs-lisp/edebug.el: Use backtrace-eval to handle lexical variables.
7574 (edebug-eval): Use backtrace-eval.
7575 (edebug--display, edebug--recursive-edit): Don't let-bind the
7576 edebug-outer-* vars that keep track of variables we locally let-bind.
7577 (edebug-outside-excursion): Don't restore outside values of locally
7579 (edebug--display): Use user-error.
7580 (cl-lexical-debug, cl-debug-env): Remove.
7582 2013-07-26 Juanma Barranquero <lekktu@gmail.com>
7584 * desktop.el (desktop-restore-frames): Call `sit-for' once all frames
7585 are restored to be sure that they are visible before deleting any
7588 2013-07-26 Matthias Meulien <orontee@gmail.com>
7590 * vc/vc-dir.el (vc-dir-mode-map): Add binding for
7591 vc-print-root-log. (Bug#14948)
7593 2013-07-26 Richard Stallman <rms@gnu.org>
7595 Add aliases for encrypting mail.
7596 * epa.el (epa-mail-aliases): New option.
7597 * epa-mail.el (epa-mail-encrypt): Rewrite to be callable from programs.
7598 Bind inhibit-read-only so read-only text doesn't ruin everything.
7599 (epa-mail-default-recipients): New subroutine broken out.
7600 Handle epa-mail-aliases.
7602 2013-07-26 Stefan Monnier <monnier@iro.umontreal.ca>
7604 Add support for lexical variables to the debugger's `e' command.
7605 * emacs-lisp/debug.el (debug): Don't let-bind the debugger-outer-*
7606 vars, except for debugger-outer-match-data.
7607 (debugger-frame-number): Move check for "on a function call" from
7608 callers into it. Add `skip-base' argument.
7609 (debugger-frame, debugger-frame-clear): Simplify accordingly.
7610 (debugger-env-macro): Only reset the state stored in non-variables,
7611 i.e. current-buffer and match-data.
7612 (debugger-eval-expression): Rewrite using backtrace-eval.
7613 * subr.el (internal--called-interactively-p--get-frame): Remove.
7614 (called-interactively-p):
7615 * emacs-lisp/edebug.el (edebug--called-interactively-skip): Use the new
7616 `base' arg of backtrace-frame instead.
7618 2013-07-26 Glenn Morris <rgm@gnu.org>
7620 * align.el (align-regexp): Doc fix. (Bug#14857)
7621 (align-region): Explicit error if subexpression missing/does not match.
7623 * simple.el (global-visual-line-mode):
7624 Do not duplicate the mode lighter. (Bug#14858)
7626 2013-07-25 Martin Rudalics <rudalics@gmx.at>
7628 * window.el (display-buffer): In display-buffer bind
7629 split-window-keep-point to t, bug#14829.
7631 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7633 * desktop.el: Rename internal "desktop-X" frame params to "desktop--X".
7634 (desktop-filter-parameters-alist, desktop--filter-restore-desktop-parm)
7635 (desktop--filter-save-desktop-parm, desktop--process-minibuffer-frames)
7636 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7638 (desktop--select-frame, desktop--sort-states, desktop-restore-frames):
7639 Use pcase-let, pcase-let* to deobfuscate access to desktop--mini values.
7641 2013-07-25 Glenn Morris <rgm@gnu.org>
7643 * dired-x.el (dired-mark-extension): Convert comment to doc string.
7645 2013-07-25 Juanma Barranquero <lekktu@gmail.com>
7647 * desktop.el (desktop--make-frame): Do not pass the `fullscreen'
7648 parameter to modify-frame-parameters if the value has not changed;
7649 this is a workaround for bug#14949.
7650 (desktop--make-frame): On cl-delete-if call, check parameter name,
7653 2013-07-30 Xue Fuqiao <xfq.free@gmail.com>
7655 * vc/vc.el (vc-ignore): New function.
7657 * vc/vc-svn.el (vc-svn-ignore): New function.
7659 * vc/vc-hg.el (vc-hg-ignore): New function.
7661 * vc/vc-git.el (vc-git-ignore): New function.
7663 * vc/vc-dir.el (vc-dir-mode-map): Add key binding for vc-dir-ignore
7664 (vc-dir-ignore): New function.
7666 * vc/vc-cvs.el (vc-cvs-ignore): New function.
7667 (cvs-append-to-ignore): Move here from pcvs.el.
7669 * vc/vc-bzr.el (vc-bzr-ignore): New function.
7671 * vc/pcvs.el (vc-cvs): Require 'vc-cvs.
7673 2013-07-24 Juanma Barranquero <lekktu@gmail.com>
7675 * desktop.el (desktop-restoring-frames-p): Return a true boolean.
7676 (desktop-restore-frames): Warn when deleting an existing frame failed.
7678 2013-07-24 Glenn Morris <rgm@gnu.org>
7680 * ffap.el (ffap-machine-p): Handle "not known" response. (Bug#14929)
7682 2013-07-24 Michael Albinus <michael.albinus@gmx.de>
7684 * filenotify.el (file-notify-supported-p):
7685 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7688 * autorevert.el (auto-revert-use-notify):
7689 (auto-revert-notify-add-watch):
7690 * net/tramp.el (tramp-file-name-for-operation):
7691 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7692 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7693 * net/tramp-sh.el (tramp-sh-file-name-handler-alist):
7694 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7695 Remove `file-notify-supported-p' entry.
7697 2013-07-24 Glenn Morris <rgm@gnu.org>
7699 * printing.el: Replace all uses of deleted ps-windows-system,
7700 ps-lp-system, ps-flatten-list with lpr- versions.
7702 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7704 * emacs-lisp/pcase.el (pcase--u1): Verify if self-quoting values can be
7705 checked with memq (bug#14935).
7707 * files.el (revert-buffer-function): Use a non-nil default.
7708 (revert-buffer-preserve-modes): Declare var to
7709 provide access to the `preserve-modes' argument.
7710 (revert-buffer): Let-bind it.
7711 (revert-buffer--default): New function, extracted from revert-buffer.
7713 2013-07-24 Stefan Monnier <monnier@iro.umontreal.ca>
7715 * lpr.el: Signal print errors more prominently.
7716 (print-region-function): Don't default to nil.
7717 (lpr-print-region): New function, extracted from print-region-1.
7718 Check lpr's return value and signal an error in case of problem.
7719 (print-region-1): Use it.
7720 * ps-print.el (ps-windows-system, ps-lp-system): Remove. Use the lpr-*
7722 (ps-printer-name): Default to nil.
7723 (ps-printer-name-option): Default to lpr-printer-switch.
7724 (ps-print-region-function): Don't default to nil.
7725 (ps-postscript-code-directory): Simplify default.
7726 (ps-do-despool): Use lpr-print-region to properly check the outcome.
7727 (ps-string-list, ps-eval-switch, ps-flatten-list)
7728 (ps-flatten-list-1): Remove.
7729 (ps-multibyte-buffer): Avoid setq.
7730 * dos-w32.el (direct-print-region-helper): Use proper regexp operators.
7731 (print-region-function, ps-print-region-function): Don't set them here.
7733 2013-07-24 Xue Fuqiao <xfq.free@gmail.com>
7735 * ido.el (ido-fractionp):
7736 (ido-cache-ftp-work-directory-time, ido-max-prospects, ido-mode)
7737 (ido-max-file-prompt-width, ido-unc-hosts-cache)
7738 (ido-max-directory-size, ido-max-dir-file-cache)
7739 (ido-decorations): Doc fix.
7741 * ansi-color.el: Fix old URL.
7743 2013-07-23 Michael R. Mauger <michael@mauger.com>
7745 * progmodes/sql.el: Version 3.3
7746 (sql-product-alist): Improve oracle :prompt-cont-regexp.
7747 (sql-starts-with-prompt-re, sql-ends-with-prompt-re): New functions.
7748 (sql-interactive-remove-continuation-prompt): Rewrite, use
7749 functions above. Fix continuation prompt and complete output line
7751 (sql-redirect-one, sql-execute): Use `read-only-mode' on
7752 redirected output buffer.
7753 (sql-mode): Restore deleted code (Bug#13591).
7755 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7757 * desktop.el (desktop-clear, desktop-list*): Fix previous change.
7759 2013-07-23 Michael Albinus <michael.albinus@gmx.de>
7761 * net/tramp.el (tramp-handle-file-notify-add-watch): New defun.
7763 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7764 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7765 * net/tramp-smb.el (tramp-smb-file-name-handler-alist): Use it.
7767 2013-07-23 Juanma Barranquero <lekktu@gmail.com>
7769 * desktop.el (desktop-clear): Simplify; remove useless checks
7770 against invalid buffer names.
7771 (desktop-list*): Use cl-list*.
7772 (desktop-buffer-info, desktop-create-buffer): Simplify.
7774 2013-07-23 Leo Liu <sdl.web@gmail.com>
7776 * bookmark.el (bookmark-make-record): Restore NAME as a default
7779 2013-07-22 Stefan Monnier <monnier@iro.umontreal.ca>
7781 * emacs-lisp/autoload.el (autoload--setup-output): New function,
7782 extracted from autoload--insert-text.
7783 (autoload--insert-text): Remove.
7784 (autoload--print-cookie-text): New function, extracted from
7785 autoload--insert-cookie-text.
7786 (autoload--insert-cookie-text): Remove.
7787 (autoload-generate-file-autoloads): Adjust calls accordingly.
7789 * winner.el (winner-hook-installed-p): Remove.
7790 (winner-mode): Simplify accordingly.
7792 * subr.el (add-to-list): Fix compiler-macro when `append' is
7793 not constant. Don't use `cl-member' for the base case.
7795 * progmodes/subword.el: Fix boundary case (bug#13758).
7796 (subword-forward-regexp): Make it a constant. Wrap optional \\W in its
7798 (subword-backward-regexp): Make it a constant.
7799 (subword-forward-internal): Don't treat a trailing capital as the
7800 beginning of a word.
7802 2013-07-22 Ari Roponen <ari.roponen@gmail.com> (tiny change)
7804 * emacs-lisp/package.el (package-menu-mode): Don't modify the
7805 global value of tabulated-list-revert-hook (bug#14930).
7807 2013-07-22 Juanma Barranquero <lekktu@gmail.com>
7809 * desktop.el: Require 'cl-lib.
7810 (desktop-before-saving-frames-functions): New hook.
7811 (desktop--process-minibuffer-frames): Set desktop-mini parameter only
7812 for frames being saved. Rename from desktop--save-minibuffer-frames.
7813 (desktop-save-frames): Run hook desktop-before-saving-frames-functions.
7814 Do not save frames with non-nil `desktop-dont-save' parameter.
7815 Filter out deleted frames.
7816 (desktop--find-frame): Use cl-find-if.
7817 (desktop--select-frame): Use cl-(first|second|third) to access values
7819 (desktop--make-frame): Use cl-delete-if.
7820 (desktop--sort-states): Fix sorting of minibuffer-owning frames.
7821 (desktop-restore-frames): Use cl-(first|second|third) to access values
7822 of desktop-mini. Look for visible frame at the end, not while
7825 * dired-x.el (dired-mark-unmarked-files, dired-virtual)
7826 (dired-guess-default, dired-mark-sexp, dired-filename-at-point):
7827 Use string-match-p, looking-at-p (bug#14927).
7829 2013-07-21 Juanma Barranquero <lekktu@gmail.com>
7831 * desktop.el (desktop-saved-frame-states):
7832 Rename from desktop--saved-states; all users changed.
7833 (desktop-save-frames): Rename from desktop--save-frames.
7834 Do not save state to desktop file.
7835 (desktop-save): Save desktop-saved-frame-states to desktop file
7837 (desktop-restoring-frames-p): New function.
7838 (desktop-restore-frames): Use it. Rename from desktop--restore-frames.
7839 (desktop-read): Use desktop-restoring-frames-p. Do not try to fix
7840 buffer-lists when restoring frames. Suggested by Martin Rudalics.
7842 * desktop.el: Correctly restore iconified frames.
7843 (desktop--filter-iconified-position): New function.
7844 (desktop-filter-parameters-alist): Add entries for `top' and `left'.
7846 2013-07-20 Glenn Morris <rgm@gnu.org>
7848 * progmodes/gdb-mi.el (gdb-delete-handler, gdb-stopped):
7849 Let `message' do the formatting.
7850 (def-gdb-preempt-display-buffer): Add explicit format.
7852 * image-dired.el (image-dired-track-original-file):
7853 Use with-current-buffer.
7854 (image-dired-track-thumbnail): Use with-current-buffer.
7855 Avoid changing point of wrong window.
7857 * image-dired.el (image-dired-track-original-file):
7858 Avoid changing point of wrong window. (Bug#14909)
7860 2013-07-20 Richard Copley <rcopley@gmail.com> (tiny change)
7862 * progmodes/gdb-mi.el (gdb-done-or-error):
7863 Guard against "%" in gdb output. (Bug#14127)
7865 2013-07-20 Andreas Schwab <schwab@linux-m68k.org>
7867 * progmodes/sh-script.el (sh-read-variable): Remove interactive spec.
7870 * international/mule.el (coding-system-iso-2022-flags): Fix last
7873 2013-07-20 Kenichi Handa <handa@gnu.org>
7875 * international/mule.el (coding-system-iso-2022-flags):
7876 Add `8-bit-level-4'. (Bug#8522)
7878 2013-07-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
7880 * net/shr.el (shr-mouse-browse-url): New command and keystroke
7883 * net/eww.el (eww-process-text-input): Allow inputting when the
7884 point is at the start of the line, as the properties aren't
7887 * net/shr.el (shr-make-table-1): Ensure that we don't infloop on
7890 2013-07-19 Richard Stallman <rms@gnu.org>
7892 * epa.el (epa-popup-info-window): Doc fix.
7894 * subr.el (split-string): New arg TRIM.
7896 2013-07-18 Juanma Barranquero <lekktu@gmail.com>
7898 * frame.el (blink-cursor-timer-function, blink-cursor-suspend):
7899 Add check for W32 (followup to 2013-07-16T11:41:06Z!jan.h.d@swipnet.se).
7901 2013-07-18 Michael Albinus <michael.albinus@gmx.de>
7903 * filenotify.el (file-notify--library): Rename from
7904 `file-notify-support'. Do not autoload. Adapt all uses.
7905 (file-notify-supported-p): New defun.
7907 * autorevert.el (auto-revert-use-notify):
7908 Use `file-notify-supported-p' instead of `file-notify-support'.
7910 (auto-revert-notify-add-watch): Use `file-notify-supported-p'.
7912 * net/tramp.el (tramp-file-name-for-operation):
7913 Add `file-notify-supported-p'.
7915 * net/tramp-sh.el (tramp-sh-handle-file-notify-supported-p):
7917 (tramp-sh-file-name-handler-alist): Add it as handler for
7918 `file-notify-supported-p '.
7920 * net/tramp-adb.el (tramp-adb-file-name-handler-alist):
7921 * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist):
7922 * net/tramp-smb.el (tramp-smb-file-name-handler-alist):
7923 Add `ignore' as handler for `file-notify-*' functions.
7925 2013-07-17 Eli Zaretskii <eliz@gnu.org>
7927 * simple.el (line-move-partial, line-move): Don't start vscroll or
7928 scroll-up if the current line is not taller than the window.
7931 2013-07-16 Dmitry Gutov <dgutov@yandex.ru>
7933 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Do not
7934 highlight question marks in the method names as strings.
7935 (ruby-block-beg-keywords): Inline.
7936 (ruby-font-lock-keyword-beg-re): Extract from
7937 `ruby-font-lock-keywords'.
7939 2013-07-16 Jan Djärv <jan.h.d@swipnet.se>
7941 * frame.el (blink-cursor-blinks): New defcustom.
7942 (blink-cursor-blinks-done): New defvar.
7943 (blink-cursor-start): Set blink-cursor-blinks-done to 1.
7944 (blink-cursor-timer-function): Check if number of blinks has been
7946 (blink-cursor-suspend, blink-cursor-check): New defuns.
7948 2013-07-15 Glenn Morris <rgm@gnu.org>
7950 * edmacro.el (edmacro-format-keys): Fix previous change.
7952 2013-07-15 Paul Eggert <eggert@cs.ucla.edu>
7954 * shell.el (explicit-bash-args): Remove obsolete hack for Bash 1.x.
7955 The hack didn't work outside English locales anyway.
7957 2013-07-15 Juanma Barranquero <lekktu@gmail.com>
7959 * simple.el (define-alternatives): Rename from alternatives-define,
7960 per RMS' suggestion.
7962 2013-07-14 Juanma Barranquero <lekktu@gmail.com>
7964 * desktop.el (desktop-restore-frames): Change default to t.
7965 (desktop-restore-in-current-display): Now offer more options.
7966 (desktop-restoring-reuses-frames): New customization option.
7967 (desktop--saved-states): Doc fix.
7968 (desktop-filter-parameters-alist): New variable, renamed and expanded
7969 from desktop--excluded-frame-parameters.
7970 (desktop--target-display): New variable.
7971 (desktop-switch-to-gui-p, desktop-switch-to-tty-p)
7972 (desktop--filter-tty*, desktop--filter-*-color)
7973 (desktop--filter-minibuffer, desktop--filter-restore-desktop-parm)
7974 (desktop--filter-save-desktop-parm)
7975 (desktop-restore-in-original-display-p): New functions.
7976 (desktop--filter-frame-parms): Use new desktop-filter-parameters-alist.
7977 (desktop--save-minibuffer-frames): New function, inspired by a similar
7978 function from Martin Rudalics.
7979 (desktop--save-frames): Call it; play nice with desktop-globals-to-save.
7980 (desktop--restore-in-this-display-p): Remove.
7981 (desktop--find-frame): Rename from desktop--find-frame-in-display
7982 and add predicate argument.
7983 (desktop--make-full-frame): Remove, integrated into desktop--make-frame.
7984 (desktop--reuse-list): New variable.
7985 (desktop--select-frame, desktop--make-frame, desktop--sort-states):
7987 (desktop--restore-frames): Add support for "minibuffer-special" frames.
7989 2013-07-14 Michael Albinus <michael.albinus@gmx.de>
7991 * net/tramp-sh.el (tramp-sh-handle-vc-registered): Use `ignore-error'.
7993 2013-07-13 Dmitry Gutov <dgutov@yandex.ru>
7995 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
7996 Highlight conversion methods on Kernel.
7998 2013-07-13 Alan Mackenzie <acm@muc.de>
8000 * progmodes/cc-engine.el (c-forward-decl-or-cast-1): Label CASE 13
8001 and comment it out. This out-commenting enables certain C++
8002 declarations to be parsed correctly.
8004 2013-07-13 Eli Zaretskii <eliz@gnu.org>
8006 * international/mule.el (define-coding-system): Doc fix.
8008 * simple.el (default-font-height): Don't call font-info if the
8009 frame's default font didn't change since the frame was created.
8012 2013-07-13 Leo Liu <sdl.web@gmail.com>
8014 * ido.el (ido-read-file-name): Guard against non-symbol value.
8016 2013-07-13 Fabián Ezequiel Gallina <fgallina@gnu.org>
8018 * progmodes/python.el (python-imenu--build-tree): Fix corner case
8021 2013-07-13 Leo Liu <sdl.web@gmail.com>
8023 * ido.el (ido-exhibit): Handle ido-enter-matching-directory before
8024 ido-set-matches call. (Bug#6852)
8026 2013-07-12 Dmitry Gutov <dgutov@yandex.ru>
8028 * progmodes/ruby-mode.el (ruby-percent-literals-beg-re):
8029 (ruby-syntax-expansion-allowed-p): Support array of symbols, for
8031 (ruby-font-lock-keywords): Distinguish calls to functions with
8032 module-like names from module references. Highlight character
8035 2013-07-12 Sergio Durigan Junior <sergiodj@riseup.net> (tiny change)
8037 * progmodes/gdb-mi.el (gdb-strip-string-backslash): New function.
8038 (gdb-send): Handle continued commands. (Bug#14847)
8040 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8042 * desktop.el (desktop--v2s): Remove unused local variable.
8043 (desktop-save-buffer): Make defvar-local; adjust docstring.
8044 (desktop-auto-save-timeout, desktop-owner): Use ignore-errors.
8045 (desktop-clear, desktop-save-buffer-p): Use string-match-p.
8047 2013-07-12 Andreas Schwab <schwab@linux-m68k.org>
8049 * emacs-lisp/map-ynp.el (map-y-or-n-p): Fix last change.
8051 2013-07-12 Eli Zaretskii <eliz@gnu.org>
8053 * simple.el (next-line, previous-line): Document TRY-VSCROLL and ARG.
8056 2013-07-12 Glenn Morris <rgm@gnu.org>
8058 * doc-view.el: Require cl-lib at runtime too.
8059 (doc-view-remove-if): Remove.
8060 (doc-view-search-next-match, doc-view-search-previous-match):
8063 * edmacro.el: Require cl-lib at runtime too.
8064 (edmacro-format-keys, edmacro-parse-keys): Use cl-mismatch, cl-subseq.
8065 (edmacro-mismatch, edmacro-subseq): Remove.
8067 * shadowfile.el: Require cl-lib.
8068 (shadow-remove-if): Remove.
8069 (shadow-set-cluster, shadow-shadows-of-1, shadow-remove-from-todo):
8072 * wid-edit.el: Require cl-lib.
8073 (widget-choose): Use cl-remove-if.
8074 (widget-remove-if): Remove.
8076 * progmodes/ebrowse.el: Require cl-lib at runtime too.
8077 (ebrowse-delete-if-not): Remove.
8078 (ebrowse-browser-buffer-list, ebrowse-member-buffer-list)
8079 (ebrowse-tree-buffer-list, ebrowse-same-tree-member-buffer-list):
8080 Use cl-delete-if-not.
8082 2013-07-12 Juanma Barranquero <lekktu@gmail.com>
8084 * emacs-lisp/cl-macs.el (cl-multiple-value-bind, cl-multiple-value-setq)
8085 (cl-the, cl-declare, cl-defstruct): Fix typos in docstrings.
8087 2013-07-12 Leo Liu <sdl.web@gmail.com>
8089 * ido.el (dired-do-copy, dired): Set 'ido property. (Bug#11954)
8091 2013-07-11 Glenn Morris <rgm@gnu.org>
8093 * emacs-lisp/edebug.el: Require cl-lib at run-time too.
8094 (edebug-gensym-index, edebug-gensym):
8095 Remove reimplementation of cl-gensym.
8096 (edebug-make-enter-wrapper, edebug-make-form-wrapper): Use cl-gensym.
8098 * thumbs.el: Require cl-lib at run-time too.
8099 (thumbs-gensym-counter, thumbs-gensym):
8100 Remove reimplementation of cl-gensym.
8101 (thumbs-temp-file): Use cl-gensym.
8103 * emacs-lisp/ert.el: Require cl-lib at runtime too.
8104 (ert--cl-do-remf, ert--remprop, ert--remove-if-not)
8105 (ert--intersection, ert--set-difference, ert--set-difference-eq)
8106 (ert--union, ert--gensym-counter, ert--gensym-counter)
8107 (ert--coerce-to-vector, ert--remove*, ert--string-position)
8108 (ert--mismatch, ert--subseq): Remove reimplementations of cl funcs.
8109 (ert-make-test-unbound, ert--expand-should-1)
8110 (ert--expand-should, ert--should-error-handle-error)
8111 (should-error, ert--explain-equal-rec)
8112 (ert--plist-difference-explanation, ert-select-tests)
8113 (ert--make-stats, ert--remove-from-list, ert--string-first-line):
8114 Use cl-lib functions rather than reimplementations.
8116 2013-07-11 Michael Albinus <michael.albinus@gmx.de>
8118 * net/tramp.el (tramp-methods): Extend docstring.
8119 (tramp-connection-timeout): New defcustom.
8120 (tramp-error-with-buffer): Reset timestamp only when appropriate.
8121 (with-tramp-progress-reporter): Simplify.
8122 (tramp-process-actions): Improve messages.
8124 * net/tramp-gvfs.el (tramp-gvfs-maybe-open-connection):
8125 * net/tramp-sh.el (tramp-maybe-open-connection):
8126 Use `tramp-connection-timeout'.
8127 (tramp-methods) [su, sudo, ksu]: Add method specific timeouts.
8130 2013-07-11 Leo Liu <sdl.web@gmail.com>
8132 * ido.el (ido-read-file-name): Conform to the requirements of
8133 read-file-name. (Bug#11861)
8134 (ido-read-directory-name): Conform to the requirements of
8135 read-directory-name.
8137 2013-07-11 Juanma Barranquero <lekktu@gmail.com>
8139 * subr.el (delay-warning): New function.
8141 2013-07-10 Eli Zaretskii <eliz@gnu.org>
8143 * simple.el (default-line-height): New function.
8144 (line-move-partial, line-move): Use it instead of computing the
8146 (line-move-partial): Always compute ROWH. If the last line is
8147 partially-visible, but its text is completely visible, allow
8148 cursor to enter such a partially-visible line.
8150 2013-07-10 Michael Albinus <michael.albinus@gmx.de>
8152 Improve error messages. (Bug#14808)
8154 * net/tramp.el (tramp-current-connection): New defvar, moved from
8156 (tramp-message-show-progress-reporter-message): Remove, not
8158 (tramp-error-with-buffer): Show message in minibuffer.
8159 Discard input before waiting. Reset connection timestamp.
8160 (with-tramp-progress-reporter): Improve messages.
8161 (tramp-process-actions): Use progress reporter. Delete process in
8162 case of error. Improve messages.
8164 * net/tramp-sh.el (tramp-barf-if-no-shell-prompt): Use condition-case.
8165 Call `tramp-error-with-buffer' with vector and buffer.
8166 (tramp-current-connection): Remove.
8167 (tramp-maybe-open-connection): The car of
8168 `tramp-current-connection' are the first 3 slots of the vector.
8170 2013-07-10 Teodor Zlatanov <tzz@lifelogs.com>
8172 * progmodes/cfengine.el (cfengine3-indent-line): Do not indent
8173 inside continued strings.
8175 2013-07-10 Paul Eggert <eggert@cs.ucla.edu>
8177 Timestamp fixes for undo (Bug#14824).
8178 * files.el (clear-visited-file-modtime): Move here from fileio.c.
8180 2013-07-10 Leo Liu <sdl.web@gmail.com>
8182 * files.el (require-final-newline): Allow safe local value.
8185 2013-07-09 Leo Liu <sdl.web@gmail.com>
8187 * ido.el (ido-read-directory-name): Handle fallback.
8188 (ido-read-file-name): Update DIR to ido-current-directory.
8190 (ido-add-virtual-buffers-to-list): Robustify. (Bug#14552)
8192 2013-07-09 Dmitry Gutov <dgutov@yandex.ru>
8194 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove extra
8195 "autoload". Remove "warn lower camel case" section, previously
8196 commented out. Highlight negation char. Do not highlight the
8197 target in singleton method definitions.
8199 2013-07-08 Stefan Monnier <monnier@iro.umontreal.ca>
8201 * faces.el (tty-setup-hook): Declare the hook.
8203 * emacs-lisp/pcase.el (pcase--split-pred): Add `vars' argument to try
8204 and detect when a guard/pred depends on local vars (bug#14773).
8205 (pcase--u1): Adjust caller.
8207 2013-07-08 Eli Zaretskii <eliz@gnu.org>
8209 * simple.el (line-move-partial, line-move): Account for
8211 (line-move-partial): Avoid setting vscroll when the last
8212 partially-visible line in window is of default height.
8214 2013-07-08 Lars Magne Ingebrigtsen <larsi@gnus.org>
8216 * net/shr.el (shr-map): Reinstate the `u' key binding, since it's
8219 2013-07-07 Juanma Barranquero <lekktu@gmail.com>
8221 * subr.el (read-quoted-char): Remove unused local variable `char'.
8223 2013-07-07 Michael Kifer <kifer@cs.stonybrook.edu>
8225 * ediff.el (ediff-version): Version update.
8226 (ediff-files-command, ediff3-files-command, ediff-merge-command)
8227 (ediff-merge-with-ancestor-command, ediff-directories-command)
8228 (ediff-directories3-command, ediff-merge-directories-command)
8229 (ediff-merge-directories-with-ancestor-command): New functions.
8230 All are command-line interfaces to ediff: to facilitate calling
8231 Emacs with the appropriate ediff functions invoked.
8233 * viper-cmd.el (viper-del-forward-char-in-insert): New function.
8234 (viper-save-kill-buffer): Check if buffer is modified.
8236 * viper.el (viper-version): Version update.
8237 (viper-emacs-state-mode-list): Add egg-status-buffer-mode.
8239 2013-07-07 Stefan Monnier <monnier@iro.umontreal.ca>
8241 * faces.el (tty-run-terminal-initialization): Run new tty-setup-hook.
8242 * viper-cmd.el (viper-envelop-ESC-key): Remove function.
8243 (viper-intercept-ESC-key): Simplify.
8244 * viper-keym.el (viper-ESC-key): Make it a constant, don't use kbd.
8245 * viper.el (viper--tty-ESC-filter, viper--lookup-key)
8246 (viper-catch-tty-ESC, viper-uncatch-tty-ESC)
8247 (viper-setup-ESC-to-escape): New functions.
8248 (viper-go-away, viper-set-hooks): Call viper-setup-ESC-to-escape.
8249 (viper-set-hooks): Do not modify flyspell-mode-hook. (Bug#13793)
8251 2013-07-07 Eli Zaretskii <eliz@gnu.org>
8253 * simple.el (default-font-height, window-screen-lines):
8255 (line-move, line-move-partial): Use them instead of
8256 frame-char-height and window-text-height. This makes scrolling
8257 text smoother when the buffer's default face uses a font that is
8258 different from the frame's default font.
8260 2013-07-06 Jan Djärv <jan.h.d@swipnet.se>
8262 * files.el (write-file): Do not display confirm dialog for NS,
8263 it does its own dialog, which can't be canceled (Bug#14578).
8265 2013-07-06 Eli Zaretskii <eliz@gnu.org>
8267 * simple.el (line-move-partial): Adjust the row returned by
8268 posn-at-point for the current window-vscroll. (Bug#14567)
8270 2013-07-06 Michael Albinus <michael.albinus@gmx.de>
8272 * net/tramp-sh.el (tramp-sh-file-gvfs-monitor-dir-process-filter):
8273 (tramp-sh-file-inotifywait-process-filter): Handle file names with
8276 2013-07-06 Martin Rudalics <rudalics@gmx.at>
8278 * window.el (window-state-put-stale-windows): New variable.
8279 (window--state-put-2): Save list of windows without matching buffer.
8280 (window-state-put): Remove "bufferless" windows if possible.
8282 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8284 * simple.el (alternatives-define): Remove leftover :group keyword.
8287 2013-07-06 Leo Liu <sdl.web@gmail.com>
8289 * ido.el (ido-use-virtual-buffers): Allow new value 'auto.
8290 (ido-enable-virtual-buffers): New variable.
8291 (ido-buffer-internal, ido-toggle-virtual-buffers)
8292 (ido-make-buffer-list): Use it.
8293 (ido-exhibit): Support turning on and off virtual buffers
8296 2013-07-06 Juanma Barranquero <lekktu@gmail.com>
8298 * simple.el (alternatives-define): New macro.
8300 2013-07-06 Stefan Monnier <monnier@iro.umontreal.ca>
8302 * subr.el (read-quoted-char): Use read-key.
8303 (sit-for): Let read-event decode tty input (bug#14782).
8305 2013-07-05 Stephen Berman <stephen.berman@gmx.net>
8307 * calendar/todo-mode.el: Add handling of file deletion, both by
8308 mode command and externally. Fix various related bugs.
8309 Clarify Commentary and improve some documentation strings and code.
8310 (todo-delete-file): New command.
8311 (todo-check-file): New function.
8312 (todo-show): Handle external deletion of the file we're trying to
8313 show (bug#14688). Replace called-interactively-p by an optional
8314 prefix argument to avoid problematic interaction with catch form
8315 when byte compiled (bug#14702).
8316 (todo-quit): Handle external deletion of the archive's todo file.
8317 Make sure the buffer that was visiting the archive file is still
8318 live before trying to bury it.
8319 (todo-category-completions): Handle external deletion of any
8320 category completion files.
8321 (todo-jump-to-category, todo-basic-insert-item): Recalculate list
8322 of todo files, in case of external deletion.
8323 (todo-add-file): Replace unnecessary setq by let-binding.
8324 (todo-find-archive): Check whether there are any archives.
8325 Replace unnecessary setq by let-binding.
8326 (todo-archive-done-item): Use find-file-noselect to get the
8327 archive buffer whether or not the archive already exists.
8328 Remove superfluous code. Use file size instead of buffer-file-name to
8329 check if the archive is new; if it is, update list of archives.
8330 (todo-default-todo-file): Allow nil to be a valid value for when
8331 there are no todo files.
8332 (todo-reevaluate-default-file-defcustom): Use corrected definition
8333 of todo-default-todo-file.
8334 (todo-key-bindings-t+a+f): Add key binding for todo-delete-file.
8335 (todo-delete-category, todo-show-categories-table)
8336 (todo-category-number): Clarify comment.
8337 (todo-filter-items): Clarify documentation string.
8338 (todo-show-current-file, todo-display-as-todo-file)
8339 (todo-reset-and-enable-done-separator): Tweak documentation string.
8340 (todo-done-separator): Make separator length window-width, since
8341 bug#2749 is now fixed.
8343 2013-07-05 Michael Albinus <michael.albinus@gmx.de>
8345 * net/tramp-sh.el (tramp-sh-handle-file-notify-add-watch):
8346 Support both "gvfs-monitor-dir" and "inotifywait".
8347 (tramp-sh-file-inotifywait-process-filter): Rename from
8348 `tramp-sh-file-notify-process-filter'.
8349 (tramp-sh-file-gvfs-monitor-dir-process-filter)
8350 (tramp-get-remote-gvfs-monitor-dir): New defuns.
8352 2013-07-05 Leo Liu <sdl.web@gmail.com>
8354 * autoinsert.el (auto-insert-alist): Default to lexical-binding.
8356 2013-07-04 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
8358 * frame.el (display-pixel-height, display-pixel-width)
8359 (display-mm-height, display-mm-width): Mention behavior on
8360 multi-monitor setups in docstrings.
8361 (w32-display-monitor-attributes-list): Declare function.
8362 (display-monitor-attributes-list): Use it.
8364 2013-07-04 Michael Albinus <michael.albinus@gmx.de>
8366 * filenotify.el: New package.
8368 * autorevert.el (top): Require filenotify.el.
8369 (auto-revert-notify-enabled): Remove. Use `file-notify-support'
8371 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
8372 (auto-revert-notify-handler): Use `file-notify-*' functions.
8374 * subr.el (file-notify-handle-event): Move function to filenotify.el.
8376 * net/tramp.el (tramp-file-name-for-operation):
8377 Handle `file-notify-add-watch' and `file-notify-rm-watch'.
8379 * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler
8380 for `file-notify-add-watch' and `file-notify-rm-watch'.
8381 (tramp-process-sentinel): Improve trace.
8382 (tramp-sh-handle-file-notify-add-watch)
8383 (tramp-sh-file-notify-process-filter)
8384 (tramp-sh-handle-file-notify-rm-watch)
8385 (tramp-get-remote-inotifywait): New defuns.
8387 2013-07-03 Juri Linkov <juri@jurta.org>
8389 * buff-menu.el (Buffer-menu-multi-occur): Add args and move the
8390 call of `occur-read-primary-args' to interactive spec.
8392 * ibuffer.el (ibuffer-mode-map): Bind "M-s a C-o" to
8393 `ibuffer-do-occur' like in buff-menu.el. (Bug#14673)
8395 2013-07-03 Matthias Meulien <orontee@gmail.com>
8397 * buff-menu.el (Buffer-menu-mode-map): Bind "M-s a C-o" to
8398 `Buffer-menu-multi-occur'. Add it to the menu.
8399 (Buffer-menu-mode): Document it in docstring.
8400 (Buffer-menu-multi-occur): New command. (Bug#14673)
8402 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8404 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Highlight more
8405 keywords and built-ins.
8407 2013-07-03 Glenn Morris <rgm@gnu.org>
8409 * subr.el (y-or-n-p): Handle empty prompts. (Bug#14770)
8411 Make info-xref checks case-sensitive by default
8412 * info.el (Info-find-node, Info-find-in-tag-table)
8413 (Info-find-node-in-buffer, Info-find-node-2, Info-goto-node):
8414 Add option for exact case matching of nodes.
8415 * info-xref.el (info-xref): New custom group.
8416 (info-xref-case-fold): New option.
8417 (info-xref-goto-node-p): Pass info-xref-case-fold to Info-goto-node.
8419 2013-07-03 Leo Liu <sdl.web@gmail.com>
8421 * ido.el (ido-delete-file-at-head): Respect delete-by-moving-to-trash.
8423 2013-07-03 Dmitry Gutov <dgutov@yandex.ru>
8425 * progmodes/ruby-mode.el (ruby-move-to-block): When we're at a
8426 middle of block statement initially, lower the depth. Remove
8427 FIXME comment, not longer valid. Remove middle of block statement
8428 detection, no need to do that anymore since we've been using
8429 `ruby-parse-region' here.
8431 2013-07-02 Jan Djärv <jan.h.d@swipnet.se>
8433 * term/ns-win.el (display-format-alist): Use .* (Bug#14765).
8435 2013-07-01 Katsumi Yamaoka <yamaoka@jpl.org>
8437 * wid-edit.el (widget-default-get): Don't modify widget (Bug#14738).
8439 2013-07-01 Juanma Barranquero <lekktu@gmail.com>
8441 * desktop.el (desktop-restore-frames): Rename from desktop-save-windows.
8442 (desktop-restore-in-current-display): New customization option.
8443 (desktop--excluded-frame-parameters): Add `font'.
8444 (desktop--save-frames): Rename from desktop--save-windows.
8445 (desktop--restore-in-this-display-p): New function.
8446 (desktop--make-full-frame): Remove unwanted width/height from
8447 full(width|height) frames.
8448 (desktop--restore-frames): Rename from desktop--restore-windows.
8449 Obey desktop-restore-current-display. Do not delete old frames or
8450 select a new frame unless we were able to restore at least one frame.
8452 2013-06-30 Michal Nazarewicz <mina86@mina86.com>
8454 * files.el (find-file-noselect): Simplify conditional expression.
8456 * textmodes/remember.el (remember-append-to-file):
8457 Don't mix `find-buffer-visiting' and `get-file-buffer'.
8459 Add `remember-notes' function to store random notes across Emacs
8461 * textmodes/remember.el (remember-data-file): Add :set callback to
8462 affect notes buffer (if any).
8463 (remember-notes): New command.
8464 (remember-notes-buffer-name, bury-remember-notes-on-kill):
8465 New defcustoms for the `remember-notes' function.
8466 (remember-notes-save-and-bury-buffer): New command.
8467 (remember-notes-mode-map): New variable.
8468 (remember-mode): New minor mode.
8469 (remember-notes--kill-buffer-query): New function.
8470 * startup.el (initial-buffer-choice): Add notes to custom type.
8472 2013-06-30 Eli Zaretskii <eliz@gnu.org>
8474 * bindings.el (right-char, left-char): Don't call sit-for, this is
8475 no longer needed. Use arithmetic comparison only for numerical
8478 * international/mule-cmds.el (select-safe-coding-system):
8479 Handle the case of FROM being a string correctly. (Bug#14755)
8481 2013-06-30 Lars Magne Ingebrigtsen <larsi@gnus.org>
8483 * net/shr.el (shr-make-table-1): Add a sanity check that allows
8484 progression on degenerate tables.
8485 (shr-rescale-image): ImageMagick animated images currently don't work.
8487 2013-06-30 Juanma Barranquero <lekktu@gmail.com>
8489 Some fixes and improvements for desktop frame restoration.
8490 It is still experimental and disabled by default.
8491 * desktop.el (desktop--save-windows): Put the selected frame at
8492 the head of the list.
8493 (desktop--make-full-frame): New function.
8494 (desktop--restore-windows): Try to re-select the frame that was
8495 selected upon saving. Do not abort if some frames fail to restore,
8496 just show an error message and continue. Set up maximized frames
8497 so they have default non-maximized dimensions.
8499 2013-06-30 Dmitry Gutov <dgutov@yandex.ru>
8501 * progmodes/ruby-mode.el (ruby-syntax-propertize-function):
8502 Don't start heredoc inside a string or comment.
8504 2013-06-29 Eli Zaretskii <eliz@gnu.org>
8506 * bindings.el (visual-order-cursor-movement): New defcustom.
8507 (right-char, left-char): Provide visual-order cursor motion by
8508 calling move-point-visually. Update the doc strings.
8510 2013-06-28 Kenichi Handa <handa@gnu.org>
8512 * international/mule.el (define-coding-system): New coding system
8513 properties :inhibit-null-byte-detection,
8514 :inhibit-iso-escape-detection, and :prefer-utf-8.
8515 (set-buffer-file-coding-system): If :charset-list property of
8516 CODING-SYSTEM is `emacs', do not check if CODING-SYSTEM is
8517 appropriate for setting.
8519 * international/mule-cmds.el (select-safe-coding-system):
8520 If DEFAULT-CODING-SYSTEM is prefer-utf-8 and the buffer contains
8521 multibyte characters, return utf-8 (or one of its siblings).
8523 * international/mule-conf.el (prefer-utf-8): New coding system.
8524 (file-coding-system-alist): Use prefer-utf-8 as default for Elisp
8527 2013-06-28 Ivan Kanis <ivan@kanis.fr>
8529 * net/shr.el (shr-render-region): New function.
8531 * net/eww.el: Autoload `eww-browse-url'.
8533 2013-06-27 Dmitry Gutov <dgutov@yandex.ru>
8535 * emacs-lisp/package-x.el (package-upload-buffer-internal):
8536 Adapt to `package-desc-version' being a list.
8537 Use `package--ac-desc-version' to retrieve version from a package
8540 2013-06-27 Juanma Barranquero <lekktu@gmail.com>
8542 New experimental feature to save&restore window and frame setup.
8543 * desktop.el (desktop-save-windows): New defcustom.
8544 (desktop--saved-states): New var.
8545 (desktop--excluded-frame-parameters): New defconst.
8546 (desktop--filter-frame-parms, desktop--find-frame-in-display)
8547 (desktop--restore-windows, desktop--save-windows): New functions.
8548 (desktop-save): Call `desktop--save-windows'.
8549 (desktop-read): Call `desktop--restore-windows'.
8551 2013-06-27 Lars Magne Ingebrigtsen <larsi@gnus.org>
8553 * net/shr.el (add-face-text-property): Remove compat definition.
8555 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8557 * info.el (Info-try-follow-nearest-node): Move search for footnote
8558 above search for node name to prevent missing a footnote (bug#14717).
8560 2013-06-27 Stephen Berman <stephen.berman@gmx.net>
8562 * obsolete/otodo-mode.el: Add obsolescence info to file header.
8564 2013-06-27 Leo Liu <sdl.web@gmail.com>
8566 * net/eww.el (eww-read-bookmarks): Check file size.
8568 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8570 * emacs-lisp/nadvice.el (advice--defalias-fset): Move advice back to
8571 advice--pending if newdef is nil or an autoload (bug#13820).
8572 (advice-mapc): New function.
8574 2013-06-26 Lars Magne Ingebrigtsen <larsi@gnus.org>
8576 * net/eww.el (eww-mode): Undo isn't necessary in eww buffers,
8578 (eww-mode-map): Add a menu bar.
8579 (eww-add-bookmark): New command.
8580 (eww-bookmark-mode): New mode and commands.
8581 (eww-add-bookmark): Remove newlines from the title.
8582 (eww-bookmark-browse): Don't bug out if it's the only window.
8584 2013-06-26 Glenn Morris <rgm@gnu.org>
8586 * htmlfontify.el (hfy-triplet): Handle unspecified-fg, bg.
8587 (hfy-size): Handle ttys. (Bug#14668)
8589 * info-xref.el: Update for Texinfo 5 change in *note format.
8590 (info-xref-node-re, info-xref-note-re): New constants.
8591 (info-xref-check-buffer): Use info-xref-note-re.
8593 2013-06-26 Stefan Monnier <monnier@iro.umontreal.ca>
8595 * simple.el (set-variable): Use read-from-minibuffer (bug#14710).
8597 * emacs-lisp/package.el (package--add-to-archive-contents): Add missing
8598 nil terminate the loop (bug#14718).
8600 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8602 * net/eww.el: Rework history traversal. When going forward/back,
8603 put these actions into the history, too, so that they can be
8605 (eww-render): Move the history reset to the correct buffer.
8607 2013-06-25 Juri Linkov <juri@jurta.org>
8609 * files-x.el (modify-dir-local-variable): Change the header comment
8610 in the file with directory local variables. (Bug#14692)
8612 * files-x.el (read-file-local-variable-value): Add `default'.
8615 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8617 * net/eww.el (eww-make-unique-file-name): Create a unique file
8618 name before saving to entering `y' accidentally asynchronously.
8620 2013-06-25 Ivan Kanis <ivan@kanis.fr>
8622 * net/eww.el (eww-download): New command and keystroke.
8624 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8626 * net/eww.el (eww-copy-page-url): Change name of command.
8628 * net/shr.el (shr-map): Change `shr-copy-url' from `u' to `w' to
8629 be more consistent with Info and dired.
8631 * net/eww.el (eww-mode-map): Ditto.
8633 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8635 * emacs-lisp/package.el: Use lexical-binding. Include obsolete
8636 packages from archives.
8637 (package-archive-contents): Change format; include obsolete packages.
8638 (package-desc): Use `dir' to mark builtin packages.
8639 (package--from-builtin): Set the `dir' field to `builtin'.
8640 (generated-autoload-file, version-control): Declare.
8641 (package-compute-transaction): Change first arg and return value to be
8642 lists of package-descs. Adjust to new package-archive-contents format.
8643 (package--add-to-archive-contents): Adjust to new
8644 package-archive-contents format.
8645 (package-download-transaction): Arg is now a list of package-descs.
8646 (package-install): If `pkg' is a package name, pass it as
8647 a requirement, so it is subject to the usual (e.g. disabled) checks.
8648 (describe-package): Accept package-desc as well.
8649 (describe-package-1): Describe a specific package-desc. Add links to
8650 other package-descs for the same package name.
8651 (package-menu-describe-package): Pass the actual package-desc.
8652 (package-menu-mode): Add to tabulated-list-revert-hook so revert-buffer
8654 (package-desc-status): New function.
8655 (package-menu--refresh): New function, extracted
8656 from package-menu--generate.
8657 (package-menu--generate): Use it.
8658 (package-delete): Update package-alist.
8659 (package-menu-execute): Don't call package-initialize.
8661 * progmodes/idlw-toolbar.el, progmodes/idlw-shell.el,
8662 progmodes/idlw-help.el, progmodes/idlw-complete-structtag.el,
8663 progmodes/ebnf-yac.el, progmodes/ebnf-otz.el, progmodes/ebnf-iso.el,
8664 progmodes/ebnf-ebx.el, progmodes/ebnf-dtd.el, progmodes/ebnf-bnf.el,
8665 progmodes/ebnf-abn.el, emacs-lisp/package-x.el, emacs-lisp/cl-seq.el,
8666 emacs-lisp/cl-macs.el: Neuter the "Version:" header.
8668 2013-06-25 Martin Rudalics <rudalics@gmx.at>
8670 * window.el (window--state-get-1): Workaround for bug#14527.
8671 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00941.html
8673 2013-06-25 Lars Magne Ingebrigtsen <larsi@gnus.org>
8675 * net/eww.el (eww-back-url): Implement the history by stashing all
8676 the data into a list.
8677 (eww-forward-url): Allow going forward in the history, too.
8679 2013-06-25 Stefan Monnier <monnier@iro.umontreal.ca>
8681 * files-x.el (read-file-local-variable-value): Use read-from-minibuffer
8682 for values and use read--expression for expressions (bug#14710).
8683 (read-file-local-variable): Avoid setq.
8684 (read-file-local-variable-mode): Use minor-mode-list.
8686 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8688 * textmodes/bibtex.el (bibtex-generate-url-list): Add support
8691 2013-06-25 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
8693 * textmodes/bibtex.el (bibtex-mode, bibtex-set-dialect):
8694 Update imenu-support when dialect changes.
8696 2013-06-25 Leo Liu <sdl.web@gmail.com>
8698 * ido.el (ido-read-internal): Allow forward slash on windows.
8700 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8702 * net/eww.el (eww): Start of strings is \\`, not ^.
8704 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8706 * net/shr.el (shr-browse-url): Fix interactive spec.
8708 * net/eww.el (eww): Add a trailing slash to domain names.
8710 2013-06-24 Juanma Barranquero <lekktu@gmail.com>
8712 * faces.el (face-spec-recalc): Revert part of 2013-06-23T20:29:18Z!lekktu@gmail.com (bug#14705).
8714 2013-06-24 Lars Magne Ingebrigtsen <larsi@gnus.org>
8716 * net/shr.el (shr-browse-url): Use an external browser if given a
8719 * net/eww.el (eww-external-browser): Move to shr.
8721 2013-06-24 Ivan Kanis <ivan@kanis.fr>
8723 * net/eww.el (eww): Work more correctly for file: URLs.
8724 (eww-detect-charset): Allow quoted charsets.
8725 (eww-yank-page-url): New command and keystroke.
8727 2013-06-24 Daiki Ueno <ueno@gnu.org>
8729 * epg.el (epg-make-context): Check if PROTOCOL is valid; embed the
8730 file name of gpg executable.
8731 (epg-context-program): New function.
8732 (epg-context-home-directory): New function.
8733 (epg-context-set-program): New function.
8734 (epg-context-set-home-directory): New function.
8735 (epg--start): Use `epg-context-program' instead of
8737 (epg--list-keys-1): Likewise.
8739 2013-06-24 Leo Liu <sdl.web@gmail.com>
8741 * ido.el (ido-read-internal): Fix bug#14620.
8743 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8745 * faces.el (face-documentation): Simplify.
8746 (read-face-attribute, tty-find-type, x-resolve-font-name):
8747 Use `string-match-p'.
8748 (list-faces-display): Use `string-match-p'. Simplify.
8749 (face-spec-recalc): Check face to avoid face alias loops.
8750 (read-color): Use `string-match-p' and non-capturing parenthesis.
8752 2013-06-23 Lars Magne Ingebrigtsen <larsi@gnus.org>
8754 * net/shr.el (shr-rescale-image): Use the new
8755 :max-width/:max-height functionality.
8757 2013-06-23 Ivan Kanis <ivan@kanis.fr>
8759 * net/eww.el (eww-search-prefix): New variable.
8761 (eww-external-browser): New variable.
8762 (eww-mode-map): New keystroke.
8763 (eww-browse-with-external-browser): New command.
8765 * net/eww.el: Bind `C-c C-c' to "submit" in all form keymaps.
8767 2013-06-23 Juanma Barranquero <lekktu@gmail.com>
8769 * emacs-lisp/tabulated-list.el (tabulated-list-init-header):
8770 Don't skip aligning the next header field when padding is 0;
8771 otherwise, field width is not respected unless the title is as
8774 2013-06-22 Stefan Monnier <monnier@iro.umontreal.ca>
8776 * emacs-lisp/package.el (package-el-version): Remove.
8777 (package-process-define-package): Fix inf-loop.
8778 (package-install): Allow symbols as arguments again.
8780 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8782 * progmodes/ruby-mode.el (ruby-font-lock-keywords): Move `catch',
8783 add some more keyword-like methods.
8784 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00911.html
8786 2013-06-22 Juanma Barranquero <lekktu@gmail.com>
8788 * bs.el (bs-buffer-show-mark): Make defvar-local.
8789 (bs-mode): Use setq-local.
8791 * emacs-lock.el (emacs-lock-mode, emacs-lock--old-mode)
8792 (emacs-lock--try-unlocking): Make defvar-local.
8794 2013-06-22 Glenn Morris <rgm@gnu.org>
8796 * play/cookie1.el (cookie-apropos): Minor simplification.
8798 * progmodes/gdb-mi.el (gdb-mapcar*): Remove, replace with cl-mapcar.
8800 2013-06-22 Dmitry Gutov <dgutov@yandex.ru>
8802 * progmodes/ruby-mode.el (auto-mode-alist): Do not use
8803 `regexp-opt', it breaks the build during dumping.
8805 2013-06-21 Dmitry Gutov <dgutov@yandex.ru>
8807 * progmodes/ruby-mode.el (ruby-font-lock-keywords):
8808 Highlight keyword-like methods on Kernel and Module with
8809 font-lock-builtin-face.
8810 (auto-mode-alist): Consolidate different entries into one regexp
8811 and add more *file-s.
8813 2013-06-21 Stephen Berman <stephen.berman@gmx.net>
8815 * obsolete/otodo-mode.el: Move and rename from calendar/todo-mode.el.
8817 * calendar/diary-lib.el (diary-goto-entry-function): New variable.
8818 (diary-entry): Use it in the action of this button type instead of
8821 * calendar/todo-mode.el: New version.
8822 (todo-add-category): Append new category to end of file and give
8823 it the highest number, instead of putting it at the beginning and
8824 giving it 0. Incorporate noninteractive functionality.
8825 (todo-forward-category): Adapt to 1-based category numbering.
8826 Allow skipping over archived categories.
8827 (todo-backward-category): Derive from todo-forward-category.
8828 (todo-backward-item, todo-forward-item): Make noninteractive and
8829 delegate interactive part to new commands. Make sensitive to done items.
8830 (todo-categories): Make value an alist of category names and
8831 vectors of item counts.
8832 (todo-category-beg): Make a defconst.
8833 (todo-category-number): Use 1 instead of 0 as initial value.
8834 (todo-category-select): Make sensitive to overlays, optional item
8835 highlighting and done items.
8836 (todo-delete-item): Make sensitive to overlays and marked and done items.
8837 (todo-edit-item): Make sensitive to overlays and editing of
8838 date/time header optional. Add format checks.
8839 (todo-edit-multiline): Rename to todo-edit-multiline-item. Make a
8840 no-op if point is not on an item. Advertise using todo-edit-quit.
8841 (todo-edit-mode): Make sensitive to new format, font-locking, and
8842 multiple todo files.
8843 (todo-insert-item, todo-insert-item-here): Derive from
8844 todo-basic-insert-item and extend functionality.
8845 (todo-item-end, todo-item-start): Make sensitive to done items.
8846 (todo-item-string): Don't return text properties. Restore point.
8847 (todo-jump-to-category): Make sensitive to multiple todo files and
8848 todo archives. Use extended category completion.
8849 (todo-lower-item, todo-raise-item): Rename to *-priority and
8850 derive from todo-set-item-priority.
8851 (todo-mode): Derive from special-mode. Make sensitive to new
8852 format, font-locking and multiple todo files. Make read-only.
8853 (todo-mode-map): Don't suppress digit keys, so they can supply
8854 prefix arguments. Add many new key bindings.
8855 (todo-prefix): Insert as an overlay instead of file text.
8856 Change semantics from diary date expression to purely visual mark.
8857 (todo-print): Rename to todo-print-buffer. Make buffer display
8858 features printable. Remove option to restrict number of items
8859 printed. Add option to print to file.
8860 (todo-print-function): Rename to todo-print-buffer-function.
8861 (todo-quit): Extend to handle exiting new todo modes.
8862 (todo-remove-item): Make sensitive to overlays.
8863 (todo-save): Extend to buffers of filtered items.
8864 (todo-show): Make sensitive to done items, multiple todo files and
8865 new todo modes. Offer to convert legacy todo file before creating
8866 first new todo file.
8867 (todo-show-priorities): Rename to todo-top-priorities.
8868 Change semantics of value 0.
8869 (todo-top-priorities): Rename to todo-filter-top-priorities,
8870 derive from todo-filter-items and extend functionality.
8871 (todo-save-top-priorities): Rename to todo-save-filtered-items-buffer
8872 and extend functionality to other types of filtered items.
8873 (todo-add-item-non-interactively, todo-ask-p, todo-cat-slct)
8874 (todo-category-end, todo-category-sep, todo-cats, todo-cmd-back)
8875 (todo-cmd-done, todo-cmd-edit, todo-cmd-forw, todo-cmd-inst)
8876 (todo-cmd-kill, todo-cmd-lowr, todo-cmd-next, todo-cmd-prev)
8877 (todo-cmd-rais, todo-cmd-save, todo-completing-read, todo-cp)
8878 (todo-edit-mode-hook, todo-entry-prefix-function)
8879 (todo-entry-timestamp-initials, todo-file-do, todo-file-done)
8880 (todo-file-item, todo-file-top, todo-header, todo-initial-setup)
8881 (todo-initials, todo-insert-threshold, todo-item-string-start)
8882 (todo-line-string, todo-menu, todo-mode-hook)
8883 (todo-more-important-p, todo-previous-answer, todo-previous-line)
8884 (todo-print-priorities, todo-remove-separator)
8885 (todo-save-top-priorities-too, todo-string-count-lines)
8886 (todo-string-multiline-p, todo-time-string-format)
8887 (todo-tmp-buffer-name): Remove.
8888 (todo-add-file, todo-archive-done-item, todo-choose-archive)
8889 (todo-convert-legacy-files, todo-copy-item, todo-delete-category)
8890 (todo-edit-category-diary-inclusion)
8891 (todo-edit-category-diary-nonmarking, todo-edit-done-item-comment)
8892 (todo-edit-file, todo-edit-item-date-day)
8893 (todo-edit-item-date-day-name, todo-edit-item-date-from-calendar)
8894 (todo-edit-item-date-month, todo-edit-item-date-to-today)
8895 (todo-edit-item-date-year, todo-edit-item-diary-inclusion)
8896 (todo-edit-item-diary-nonmarking, todo-edit-item-header)
8897 (todo-edit-item-time, todo-edit-quit, todo-filter-diary-items)
8898 (todo-filter-diary-items-multifile, todo-filter-regexp-items)
8899 (todo-filter-regexp-items-multifile, todo-filter-top-priorities)
8900 (todo-filter-top-priorities-multifile, todo-find-archive)
8901 (todo-find-filtered-items-file, todo-go-to-source-item)
8902 (todo-insert-item-from-calendar, todo-item-done, todo-item-undone)
8903 (todo-jump-to-archive-category, todo-lower-category)
8904 (todo-mark-category, todo-marked-item-p, todo-merge-category)
8905 (todo-move-category, todo-move-item, todo-next-button)
8906 (todo-next-item, todo-padded-string, todo-powerset)
8907 (todo-previous-button, todo-previous-item)
8908 (todo-print-buffer-to-file, todo-raise-category)
8909 (todo-rename-category, todo-repair-categories-sexp, todo-search)
8910 (todo-set-category-number, todo-set-item-priority)
8911 (todo-set-top-priorities-in-category)
8912 (todo-set-top-priorities-in-file, todo-show-categories-table)
8913 (todo-sort-categories-alphabetically-or-numerically)
8914 (todo-sort-categories-by-archived, todo-sort-categories-by-diary)
8915 (todo-sort-categories-by-done, todo-sort-categories-by-todo)
8916 (todo-toggle-item-header, todo-toggle-item-highlighting)
8917 (todo-toggle-mark-item, todo-toggle-prefix-numbers)
8918 (todo-toggle-view-done-items, todo-toggle-view-done-only)
8919 (todo-unarchive-items, todo-unmark-category): New commands.
8920 (todo-absolute-file-name, todo-add-to-buffer-list)
8921 (todo-adjusted-category-label-length, todo-basic-edit-item-header)
8922 (todo-basic-insert-item, todo-category-completions)
8923 (todo-category-number, todo-category-string-matcher-1)
8924 (todo-category-string-matcher-2, todo-check-filtered-items-file)
8925 (todo-check-format, todo-clear-matches)
8926 (todo-comment-string-matcher, todo-convert-legacy-date-time)
8927 (todo-current-category, todo-date-string-matcher)
8928 (todo-define-insertion-command, todo-diary-expired-matcher)
8929 (todo-diary-goto-entry, todo-diary-item-p)
8930 (todo-diary-nonmarking-matcher, todo-display-as-todo-file)
8931 (todo-display-categories, todo-display-sorted, todo-done-item-p)
8932 (todo-done-item-section-p, todo-done-separator)
8933 (todo-done-string-matcher, todo-files, todo-filter-items)
8934 (todo-filter-items-1, todo-filter-items-filename, todo-find-item)
8935 (todo-gen-arglists, todo-get-count, todo-get-overlay, todo-indent)
8936 (todo-insert-category-line, todo-insert-item-from-calendar)
8937 (todo-insert-sort-button, todo-insert-with-overlays)
8938 (todo-insertion-command-name, todo-insertion-key-bindings)
8939 (todo-label-to-key, todo-longest-category-name-length)
8940 (todo-make-categories-list, todo-mode-external-set)
8941 (todo-mode-line-control, todo-modes-set-1, todo-modes-set-2)
8942 (todo-modes-set-3, todo-multiple-filter-files)
8943 (todo-nondiary-marker-matcher, todo-prefix-overlays)
8944 (todo-read-category, todo-read-date, todo-read-dayname)
8945 (todo-read-file-name, todo-read-time)
8946 (todo-reevaluate-category-completions-files-defcustom)
8947 (todo-reevaluate-default-file-defcustom)
8948 (todo-reevaluate-filelist-defcustoms)
8949 (todo-reevaluate-filter-files-defcustom)
8950 (todo-reset-and-enable-done-separator, todo-reset-comment-string)
8951 (todo-reset-done-separator, todo-reset-done-separator-string)
8952 (todo-reset-done-string, todo-reset-global-current-todo-file)
8953 (todo-reset-highlight-item, todo-reset-nondiary-marker)
8954 (todo-reset-prefix, todo-set-categories)
8955 (todo-set-date-from-calendar, todo-set-show-current-file)
8956 (todo-set-top-priorities, todo-short-file-name)
8957 (todo-show-current-file, todo-sort, todo-time-string-matcher)
8958 (todo-total-item-counts, todo-update-buffer-list)
8959 (todo-update-categories-display, todo-update-categories-sexp)
8960 (todo-update-count, todo-validate-name, todo-y-or-n-p):
8962 (todo-archive-mode, todo-categories-mode, todo-filtered-items-mode):
8964 (todo-categories, todo-display, todo-edit, todo-faces)
8965 (todo-filtered): New defgroups.
8966 (todo-archived-only, todo-button, todo-category-string, todo-date)
8967 (todo-diary-expired, todo-done, todo-done-sep, todo-comment)
8968 (todo-mark, todo-nondiary, todo-prefix-string, todo-search)
8969 (todo-sorted-column, todo-time, todo-top-priority): New deffaces.
8970 (todo-add-item-if-new-category, todo-always-add-time-string)
8971 (todo-categories-align, todo-categories-archived-label)
8972 (todo-categories-category-label, todo-categories-diary-label)
8973 (todo-categories-done-label, todo-categories-number-separator)
8974 (todo-categories-todo-label, todo-categories-totals-label)
8975 (todo-category-completions-files, todo-completion-ignore-case)
8976 (todo-default-todo-file, todo-diary-nonmarking, todo-directory)
8977 (todo-done-separator-string, todo-done-string)
8978 (todo-files-function, todo-filter-done-items, todo-filter-files)
8979 (todo-highlight-item, todo-include-in-diary, todo-indent-to-here)
8980 (todo-initial-category, todo-initial-file, todo-item-mark)
8981 (todo-legacy-date-time-regexp, todo-mode-line-function)
8982 (todo-nondiary-marker, todo-number-prefix)
8983 (todo-print-buffer-function, todo-show-current-file)
8984 (todo-show-done-only, todo-show-first, todo-show-with-done)
8985 (todo-skip-archived-categories, todo-top-priorities-overrides)
8986 (todo-undo-item-omit-comment, todo-use-only-highlighted-region)
8987 (todo-visit-files-commands, todo-wrap-lines, todo-y-with-space):
8989 (todo-category-done, todo-date-pattern, todo-date-string-start)
8990 (todo-diary-items-buffer, todo-done-string-start)
8991 (todo-filtered-items-buffer, todo-item-start)
8992 (todo-month-abbrev-array, todo-month-name-array)
8993 (todo-nondiary-end, todo-nondiary-start, todo-regexp-items-buffer)
8994 (todo-top-priorities-buffer): New defconsts.
8995 (todo-archive-mode-map, todo-archives, todo-categories-mode-map)
8996 (todo-categories-with-marks, todo-category-string-face)
8997 (todo-comment-face, todo-comment-string, todo-current-todo-file)
8998 (todo-date-face, todo-date-from-calendar, todo-descending-counts)
8999 (todo-diary-expired-face, todo-done-face, todo-done-sep-face)
9000 (todo-done-separator, todo-edit-buffer, todo-edit-mode-map)
9001 (todo-file-buffers, todo-files, todo-filtered-items-mode-map)
9002 (todo-font-lock-keywords, todo-global-current-todo-file)
9003 (todo-insertion-commands, todo-insertion-commands-arg-key-list)
9004 (todo-insertion-commands-args)
9005 (todo-insertion-commands-args-genlist)
9006 (todo-insertion-commands-names, todo-insertion-map)
9007 (todo-key-bindings-t, todo-key-bindings-t+a)
9008 (todo-key-bindings-t+a+f, todo-key-bindings-t+f, todo-mode-map)
9009 (todo-multiple-filter-files, todo-multiple-filter-files-widget)
9010 (todo-nondiary-face, todo-print-buffer, todo-time-face)
9011 (todo-visited): New variables.
9013 2013-06-21 Glenn Morris <rgm@gnu.org>
9015 * play/cookie1.el (cookie-apropos): Add optional display argument.
9016 * obsolete/yow.el (apropos-zippy): Use cookie-apropos.
9017 (psychoanalyze-pinhead): Use cookie-doctor.
9019 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9021 * emacs-lisp/package.el (tar-get-file-descriptor)
9022 (tar--extract): Declare.
9024 2013-06-21 Eduard Wiebe <usenet@pusto.de>
9026 Extend flymake's warning predicate to be a function (bug#14217).
9027 * progmodes/flymake.el (flymake-warning-predicate): New.
9028 (flymake-parse-line): Use it.
9029 (flymake-warning-re): Make obsolete alias to
9030 `flymake-warning-predicate'.
9032 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9034 * emacs-lisp/package.el (package-alist): Include obsolete packages.
9035 (package-obsolete-list): Remove.
9036 (package-activate): Remove min-version argument. Add `force' argument.
9037 Adjust to new package-alist format.
9038 (package-mark-obsolete): Remove.
9039 (package-unpack): Force reload of the package's autoloads.
9040 (package-installed-p): Check builtins if the installed package is not
9042 (package-initialize): Don't reset package-obsolete-list.
9043 Don't specify which package version to activate.
9044 (package-process-define-package, describe-package-1)
9045 (package-menu--generate): Adjust to new package-alist format.
9047 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9049 * allout-widgets.el (allout-widgets-mode-off)
9050 (allout-widgets-mode-on, allout-widgets-pre-command-business)
9051 (allout-widgets-post-command-business)
9052 (allout-widgets-after-copy-or-kill-function)
9053 (allout-widgets-after-undo-function, allout-test-range-overlaps)
9054 (allout-decorate-item-and-context)
9055 (allout-graphics-modification-handler): Fix typos in docstrings.
9056 (allout-get-or-create-parent-widget): Use `looking-at-p'.
9058 * cmuscheme.el (scheme-start-file): Doc fix.
9059 (inferior-scheme-mode, switch-to-scheme): Fix typos in docstrings.
9060 (scheme-input-filter): Use `string-match-p'.
9062 * composite.el (compose-gstring-for-terminal): Fix typo in docstring.
9064 * dired-x.el: Use Dired consistently in docstrings.
9066 * dired.el: Use Dired consistently in docstrings.
9067 (dired-readin, dired-mode): Use `setq-local'.
9068 (dired-switches-alist): Make defvar-local.
9069 (dired-buffers-for-dir): Use `zerop'.
9070 (dired-safe-switches-p, dired-switches-escape-p)
9071 (dired-insert-old-subdirs, dired-move-to-end-of-filename)
9072 (dired-glob-regexp, dired-in-this-tree, dired-goto-file-1)
9073 (dired-sort-set-mode-line, dired-sort-toggle, dired-sort-R-check):
9074 (dired-goto-next-nontrivial-file): Use `string-match-p'.
9075 (dired-align-file, dired-insert-directory, dired-mark-files-in-region)
9076 (dired-toggle-marks, dired-mark-files-containing-regexp)
9077 (dired-mark-symlinks, dired-mark-directories, dired-mark-executables)
9078 (dired-flag-auto-save-files, dired-flag-backup-files):
9080 (dired-mark-files-regexp, dired-build-subdir-alist):
9081 Use `string-match-p', `looking-at-p'.
9083 * dos-w32.el (untranslated-canonical-name, untranslated-file-p)
9084 (direct-print-region-helper): Use `string-match-p'.
9086 2013-06-21 Leo Liu <sdl.web@gmail.com>
9088 * comint.el (comint-redirect-results-list-from-process):
9091 2013-06-21 Lars Magne Ingebrigtsen <larsi@gnus.org>
9093 * net/eww.el (eww-update-header-line-format): Quote % characters.
9095 2013-06-21 Glenn Morris <rgm@gnu.org>
9097 * play/cookie1.el (cookie): New custom group.
9098 (cookie-file): New option.
9099 (cookie-check-file): New function.
9100 (cookie): Make it interactive. Make start and end messages optional.
9101 Interactively, display the result. Default to cookie-file.
9102 (cookie-insert): Default to cookie-file.
9103 (cookie-snarf): Make start and end messages optional.
9104 Default to cookie-file. Use with-temp-buffer.
9105 (cookie-read): Rename from read-cookie.
9106 Make start and end messages optional. Default to cookie-file.
9107 (cookie-shuffle-vector): Rename from shuffle-vector. Use dotimes.
9109 (cookie-apropos, cookie-doctor): New functions, copied from yow.el
9110 * obsolete/yow.el (read-zippyism): Use new name for read-cookie.
9112 2013-06-21 Leo Liu <sdl.web@gmail.com>
9114 * progmodes/octave.el (octave-mode): Backward compatibility fix.
9116 2013-06-21 Glenn Morris <rgm@gnu.org>
9118 * font-lock.el (lisp-font-lock-keywords-2): Add with-eval-after-load.
9120 2013-06-21 Stefan Monnier <monnier@iro.umontreal.ca>
9121 Daniel Hackney <dan@haxney.org>
9123 * emacs-lisp/package.el: Use tar-mode rather than tar executable.
9124 Consolidate the single-file vs tarball code.
9125 (package-desc-suffix): New function.
9126 (package-desc-full-name): Don't bother inlining it.
9127 (package-load-descriptor): Return the new package-desc.
9128 (package-mark-obsolete): Remove unused arg `package'.
9129 (package-unpack): Make it work for single files as well.
9130 Make it update package-alist.
9131 (package--make-autoloads-and-stuff): Rename from
9132 package--make-autoloads-and-compile. Don't compile any more.
9133 (package--compile): New function.
9134 (package-generate-description-file): New function, extracted from
9135 package-unpack-single.
9136 (package-unpack-single): Remove.
9137 (package--with-work-buffer): Add indentation and debugging info.
9138 (package-download-single): Remove.
9139 (package-install-from-archive): Rename from package-download-tar, make
9140 it take a pkg-desc, and make it work for single files as well.
9141 (package-download-transaction): Simplify.
9142 (package-tar-file-info): Remove `file' arg. Rewrite not to use an
9143 external tar program.
9144 (package-install-from-buffer): Remove `pkg-desc' argument.
9145 Use package-tar-file-info for tar-mode buffers.
9146 (package-install-file): Simplify accordingly.
9147 (package-archive-base): Change to take a pkg-desc.
9148 * tar-mode.el (tar--check-descriptor): New function, extracted from
9150 (tar-get-descriptor): Use it.
9151 (tar-get-file-descriptor): New function.
9152 (tar--extract): New function, extracted from tar-extract.
9153 (tar--extract): Use it.
9154 * emacs-lisp/package-x.el (package-upload-file): Decode the file, in
9155 case the summary uses non-ascii. Adjust to new calling convention of
9156 package-tar-file-info.
9158 2013-06-21 Leo Liu <sdl.web@gmail.com>
9160 * comint.el (comint-redirect-results-list-from-process):
9161 Fix random delay. (Bug#14681)
9163 2013-06-21 Juanma Barranquero <lekktu@gmail.com>
9165 * profiler.el (profiler-format-number): Use log, not log10.
9167 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9169 * term/x-win.el (emacs-session-filename): Use `locate-user-emacs-file'.
9171 2013-06-20 Stefan Monnier <monnier@iro.umontreal.ca>
9173 * emacs-lisp/cl-loaddefs.el: Don't version-control any more.
9174 * emacs-lisp/cl-lib.el: Load cl-macs when cl-loaddefs is not
9176 * Makefile.in (AUTOGEN_VCS): Move cl-loaddefs.el...
9177 (AUTOGENEL): ... here.
9178 * emacs-lisp/cl-macs.el (cl--sublis): New function.
9179 (cl--defsubst-expand): Use it.
9181 2013-06-20 Paul Eggert <eggert@cs.ucla.edu>
9183 * subr.el (log10): Move here from C code, and declare as obsolete.
9184 All uses of (log10 X) replaced with (log X 10).
9186 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9188 * emacs-lisp/tabulated-list.el (tabulated-list-format): Fix typo.
9189 Declare with `defvar-local'.
9190 (tabulated-list-use-header-line, tabulated-list-entries)
9191 (tabulated-list-padding, tabulated-list-printer)
9192 (tabulated-list-sort-key): Declare with `defvar-local'.
9193 (tabulated-list-init-header, tabulated-list-print-fake-header):
9196 2013-06-20 Michael Albinus <michael.albinus@gmx.de>
9198 * arc-mode.el (archive-mode): Add `archive-write-file' to
9199 `write-contents-functions' also for remote files. (Bug#14652)
9201 2013-06-20 Juanma Barranquero <lekktu@gmail.com>
9203 * cus-edit.el (custom-commands): Fix typos.
9204 (custom-display): Fix tooltip text.
9205 (custom-magic-alist, custom-filter-face-spec, custom-group-members):
9206 Fix typos in docstrings.
9207 (custom--initialize-widget-variables, Custom-mode): Use `setq-local'.
9208 (custom-unlispify-menu-entry, custom-magic-value-create)
9209 (custom-add-see-also, custom-group-value-create): Use ?\s.
9210 (custom-guess-type, customize-apropos, editable-field)
9211 (custom-face-value-create): Use `string-match-p'.
9212 (custom-save-variables, custom-save-faces): Use `looking-at-p'.
9214 * custom.el (custom-load-symbol): Use `string-match-p'.
9216 * ansi-color.el: Convert to lexical binding.
9217 (ansi-colors): Fix URL.
9218 (ansi-color-context, ansi-color-context-region): Use defvar-local.
9219 (ansi-color-apply-sequence, ansi-color-map): Fix typos in docstrings.
9220 (ansi-color-make-color-map): Rename local var ansi-color-map to map.
9222 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9224 * net/eww.el (eww-process-text-input): Display passwords as asterisks.
9226 * net/shr.el (shr-make-table-1): Protect against invalid column-spans.
9228 2013-06-19 Tom Tromey <tromey@redhat.com>
9230 * net/eww.el (eww-top-url): Remove.
9231 (eww-home-url, eww-start-url, eww-contents-url): New defvars.
9232 (eww-render): Set new variables. Don't set eww-top-url.
9233 (eww-handle-link): Handle "prev", "home", and "contents".
9234 Downcase the rel text.
9235 (eww-top-url): Choose best top URL.
9237 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9239 * net/eww.el: Rewrite to implement form elements "by hand" instead of
9240 relying in widget.el. Using widget.el leads to too many
9241 user interface inconsistencies.
9242 (eww-self-insert): Implement entering commands in text fields.
9243 (eww-process-text-input): New function to make text input field editing
9245 (eww-submit): Rewrite to use the new-style form methods.
9246 (eww-select-display): Display the correct selected item.
9247 (eww-change-select): Implement changing the select value.
9248 (eww-toggle-checkbox): Implement radio/checkboxes.
9249 (eww-update-field): Fix compilation error.
9250 (eww-tag-textarea): Implement <textarea>.
9252 * net/shr.el (shr-urlify): Use `keymap' instead of `local-map' so that
9253 we don't shadow mode-specific bindings.
9255 * net/eww.el (eww-browse-url): Don't push stuff onto history if there's
9258 * net/shr.el (shr-map): Bind [down-mouse-1] to browse URLs.
9260 2013-06-19 Glenn Morris <rgm@gnu.org>
9262 * emacs-lisp/eieio.el (defclass): Make it eval-and-compile once more.
9264 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9266 * net/tramp-adb.el (tramp-adb-get-toolbox): Remove function, it is
9269 * net/tramp-sh.el (tramp-find-shell): Don't set "busybox" property.
9271 2013-06-19 Lars Magne Ingebrigtsen <larsi@gnus.org>
9273 * net/browse-url.el (browse-url-browser-function):
9274 `eww-browse-url' has the right calling signature, `eww' does not.
9276 2013-06-19 Glenn Morris <rgm@gnu.org>
9278 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
9279 Only eval autoloaded macros.
9280 (byte-compile-autoload): Only give the macro warning for macros.
9282 * progmodes/cperl-mode.el (ps-bold-faces, ps-italic-faces)
9283 (ps-underlined-faces): Declare.
9285 * progmodes/idlwave.el (func-menu): Only set it up on XEmacs.
9286 (speedbar-add-supported-extension): Declare.
9288 * international/titdic-cnv.el (tit-process-header, miscdic-convert):
9289 Don't include a date stamp in the header of the generated file;
9290 it leads to needless differences between output files.
9292 2013-06-19 Michael Albinus <michael.albinus@gmx.de>
9294 * net/secrets.el (secrets-struct-secret-content-type):
9295 Replace check of introspection data by a test call of "CreateItem".
9296 Some servers do not offer introspection.
9298 2013-06-19 Stefan Monnier <monnier@iro.umontreal.ca>
9300 * electric.el (electric-pair-mode): Improve interaction with
9301 electric-layout-mode.
9302 (electric-pair-default-inhibit): Don't assume (eq char (char-before)).
9303 (electric-pair-syntax): Use text-mode-syntax-table in comments
9305 (electric-pair--insert): New function.
9306 (electric-pair-post-self-insert-function): Use it and
9307 electric--after-char-pos.
9309 2013-06-19 Leo Liu <sdl.web@gmail.com>
9311 * progmodes/octave.el (octave-help): Fix regexp.
9313 2013-06-18 Lars Magne Ingebrigtsen <larsi@gnus.org>
9315 * net/shr.el (shr-make-table-1): Implement <td rowspan>.
9316 (shr-table-horizontal-line): Allow nil as a value, and change the
9318 (shr-insert-table-ruler): Respect the nil value.
9320 2013-06-18 Tom Tromey <tromey@barimba>
9322 * net/eww.el (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9324 (eww-open-file): New defun.
9325 (eww-render): Initialize new variables.
9326 (eww-display-html): Handle "link" and "a".
9327 (eww-handle-link, eww-tag-link, eww-tag-a): New defuns.
9328 (eww-mode-map): Move "p" to "l". Bind "p", "n", "t", and "u".
9329 (eww-back-url): Rename from eww-previous-url.
9330 (eww-next-url, eww-previous-url, eww-up-url, eww-top-url):
9333 2013-06-18 Dmitry Gutov <dgutov@yandex.ru>
9335 * progmodes/ruby-mode.el (ruby-syntax-before-regexp-re):
9336 Distinguish ternary operator tokens from slash symbol and slash
9339 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9341 Convert symbol prettification into minor mode and global minor mode.
9343 * progmodes/prog-mode.el (prettify-symbols-alist): Rename from
9344 `prog-prettify-symbols', and make a local defvar instead of defcustom.
9345 (prettify-symbols--keywords): Rename from
9346 `prog-prettify-symbols-alist' and make a local defvar.
9347 (prettify-symbols--compose-symbol): Rename from
9348 `prog--prettify-font-lock-compose-symbol'.
9349 (prettify-symbols--make-keywords): Rename from
9350 `prog-prettify-font-lock-symbols-keywords' and simplify.
9351 (prog-prettify-install): Remove.
9352 (prettify-symbols-mode): New minor mode, based on
9353 `prog-prettify-install'.
9354 (turn-on-prettify-symbols-mode): New function.
9355 (global-prettify-symbols-mode): New globalized minor mode.
9357 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9358 * progmodes/cfengine.el (cfengine3-mode):
9359 * progmodes/perl-mode.el (perl-mode): Don't call
9360 `prog-prettify-install'; set `prettify-symbols-alist' instead.
9362 2013-06-18 Juri Linkov <juri@jurta.org>
9364 * files-x.el (modify-file-local-variable-message): New function.
9365 (modify-file-local-variable)
9366 (modify-file-local-variable-prop-line): Add arg INTERACTIVE
9367 and call `modify-file-local-variable-message' when it's non-nil.
9368 (add-file-local-variable, delete-file-local-variable)
9369 (add-file-local-variable-prop-line)
9370 (delete-file-local-variable-prop-line): Add arg INTERACTIVE
9371 and use it. (Bug#9820)
9373 2013-06-18 Juri Linkov <juri@jurta.org>
9375 * emulation/vi.el (vi-shell-op):
9376 * emulation/vip.el (vip-execute-com, ex-command):
9377 * emulation/viper-cmd.el (viper-exec-bang):
9378 * emulation/viper-ex.el (ex-command): Add non-nil arg REPLACE to
9379 the call of `shell-command-on-region'. (Bug#14637)
9381 * simple.el (shell-command-on-region): Doc fix.
9383 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9385 * emacs-lisp/eieio-custom.el: Remove misleading Version: header
9388 2013-06-18 Glenn Morris <rgm@gnu.org>
9390 * net/eww.el, net/shr.el, net/shr-color.el: Move here from gnus/.
9392 * newcomment.el (comment-search-forward, comment-search-backward):
9393 Doc fix. (Bug#14376)
9395 2013-06-18 Juanma Barranquero <lekktu@gmail.com>
9397 * face-remap.el (buffer-face-toggle): Fix typo in docstring.
9398 (buffer-face-mode-invoke): Doc fix.
9400 2013-06-18 Matthias Meulien <orontee@gmail.com>
9402 * tabify.el (untabify, tabify): With prefix, apply to entire buffer.
9403 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00545.html>
9405 2013-06-18 Glenn Morris <rgm@gnu.org>
9407 * generic-x.el (bat-generic-mode, rc-generic-mode, rul-generic-mode):
9408 Replace obsolete function generic-make-keywords with its expansion.
9410 * progmodes/python.el (ffap-alist): Declare.
9412 * textmodes/reftex.el (bibtex-mode-map): Declare.
9414 2013-06-18 Stefan Monnier <monnier@iro.umontreal.ca>
9416 * emacs-lisp/package.el: Update package-alist after install (bug#14632).
9417 (package-unpack, package-unpack-single): Return the pkg-dir.
9418 (package-download-transaction): Use it to update package-alist.
9420 2013-06-17 Lars Magne Ingebrigtsen <larsi@gnus.org>
9422 * net/browse-url.el (browse-url-browser-function): Add `eww' as a
9425 2013-06-17 Juri Linkov <juri@jurta.org>
9427 * net/webjump.el (webjump-sample-sites): Add DuckDuckGo.
9429 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9431 * emacs-lisp/package.el (package-load-descriptor):
9432 Remove `with-syntax-table' call, `read' doesn't need it.
9433 http://lists.gnu.org/archive/html/emacs-devel/2013-06/msg00539.html
9435 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9437 * startup.el (command-line): Expand package name returned by
9438 `package--description-file' (bug#14639).
9440 2013-06-17 Dmitry Gutov <dgutov@yandex.ru>
9442 * emacs-lisp/package.el (package-load-descriptor): Do not call
9443 `emacs-lisp-mode', just use its syntax table.
9445 2013-06-17 Juanma Barranquero <lekktu@gmail.com>
9447 * progmodes/prog-mode.el (prog-prettify-install): Add `composition' to
9448 `font-lock-extra-managed-props' if any prettifying keyword is added.
9449 (prog--prettify-font-lock-compose-symbol): Use ?\s instead of ?\ .
9450 (prog-mode): Use `setq-local'.
9452 2013-06-17 Stefan Monnier <monnier@iro.umontreal.ca>
9454 * international/characters.el (standard-case-table): Set syntax of ?»
9455 and ?« to punctuation.
9457 2013-06-16 Juanma Barranquero <lekktu@gmail.com>
9459 * progmodes/prog-mode.el (prog--prettify-font-lock-compose-symbol):
9460 Save relevant match data before calling `syntax-ppss' (bug#14595).
9462 2013-06-15 Juri Linkov <juri@jurta.org>
9464 * files-x.el (modify-file-local-variable-prop-line): Add local
9465 variables to the end of the existing comment on the first line.
9466 Use `file-auto-mode-skip' to skip interpreter magic line,
9467 and also skip XML declaration.
9469 2013-06-15 Stefan Monnier <monnier@iro.umontreal.ca>
9471 * startup.el (package--builtin-versions): New var.
9472 (package-subdirectory-regexp): Remove.
9473 (package--description-file): Hard code its value instead.
9475 * emacs-lisp/package.el: Don't activate packages older than builtin.
9476 (package-obsolete-list): Rename from package-obsolete-alist, and make
9477 it into a simple list of package-desc.
9478 (package-strip-version): Remove.
9479 (package-built-in-p): Use package--builtin-versions.
9480 (package-mark-obsolete): Simplify.
9481 (package-process-define-package): Mark it obsolete if older than the
9483 (package-handle-response): Use line-end-position.
9484 (package-read-archive-contents, package--download-one-archive):
9486 (package--add-to-archive-contents): Skip if older than the builtin or
9488 (package-menu-describe-package): Fix last change.
9489 (package-list-unversioned): New var.
9490 (package-menu--generate): Use it.
9492 * emacs-lisp/autoload.el: Manage package--builtin-versions.
9493 (autoload--insert-text, autoload--insert-cookie-text): New functions.
9494 (autoload-builtin-package-versions): New variable.
9495 (autoload-generate-file-autoloads): Use them.
9496 Remove the list of autoloaded functions/macros from the
9497 (autoload...) comments.
9499 * Makefile.in (autoloads): Set autoload-builtin-package-versions.
9501 2013-06-15 Eli Zaretskii <eliz@gnu.org>
9503 * simple.el (line-move-partial): Don't jump to the next screen
9504 line as soon as it becomes visible. Instead, continue enlarging
9505 the vscroll until the portion of a tall screen line that's left on
9506 display is about the height of the frame's default font.
9509 2013-06-15 Glenn Morris <rgm@gnu.org>
9511 * vc/vc-dispatcher.el (vc-compilation-mode): Avoid making
9512 compilation-error-regexp-alist void, or local while let-bound.
9514 * progmodes/make-mode.el (makefile-mode-syntax-table):
9515 Treat "=" as punctuation. (Bug#14614)
9517 2013-06-15 Juanma Barranquero <lekktu@gmail.com>
9519 * help-fns.el (describe-variable):
9520 Add extra line for permanent-local variables.
9522 2013-06-15 Simen Heggestøyl <simenheg@ifi.uio.no> (tiny change)
9524 * progmodes/scheme.el (scheme-font-lock-keywords-2):
9525 Add export, import, library. (Bug#9164)
9526 (library): Set indent function.
9528 2013-06-14 Glenn Morris <rgm@gnu.org>
9530 * term/xterm.el (xterm--query):
9531 Stop after first matching handler. (Bug#14615)
9533 2013-06-14 Ivan Kanis <ivan@kanis.fr>
9535 Add support for dired in saveplace.
9536 * dired.el (dired-initial-position-hook): New variable.
9537 (dired-initial-position): Call hook to place cursor position.
9538 * saveplace.el (save-place-to-alist): Add dired position.
9539 (save-place-dired-hook): New function.
9541 2013-06-14 Stefan Monnier <monnier@iro.umontreal.ca>
9543 * subr.el (eval-after-load, set-temporary-overlay-map): Use indirection
9544 through a symbol rather than letrec.
9546 * emacs-lisp/package.el: Don't recompute dir. Use pkg-descs more.
9547 (package-desc): Add `dir' field.
9548 (package-desc-full-name): New function.
9549 (package-load-descriptor): Combine the two arguments. Don't use `load'.
9550 (package-maybe-load-descriptor): Remove.
9551 (package-load-all-descriptors): Just call package-load-descriptor.
9552 (package--disabled-p): New function.
9553 (package-desc-vers, package-desc-doc): Remove aliases.
9554 (package--dir): Remove function.
9555 (package-activate): Check if a package is disabled.
9556 (package-process-define-package): New function, extracted from
9558 (define-package): Turn into a place holder.
9559 (package-unpack-single, package-tar-file-info):
9560 Use package--description-file.
9561 (package-compute-transaction): Use package--disabled-p.
9562 (package-download-transaction): Don't call
9563 package-maybe-load-descriptor since they're all loaded anyway.
9564 (package-install): Change argument to be a pkg-desc.
9565 (package-delete): Use a single pkg-desc argument.
9566 (describe-package-1): Use package-desc-dir instead of package--dir.
9567 Use package-desc property instead of package-symbol.
9568 (package-install-button-action): Adjust accordingly.
9569 (package--push): Rewrite.
9570 (package-menu--print-info): Adjust accordingly. Change the ID format
9572 (package-menu-describe-package, package-menu-get-status)
9573 (package-menu--find-upgrades, package-menu-mark-upgrades)
9574 (package-menu-execute, package-menu--name-predicate):
9576 * startup.el (package--description-file): New function.
9577 (command-line): Use it.
9578 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9579 Use package-desc-version.
9581 * emacs-lisp/bytecomp.el (byte-compile-force-lexical-warnings): New var.
9582 (byte-compile-preprocess): Use it.
9583 (byte-compile-file-form-defalias): Try a bit harder to use macros we
9584 can't quite recognize.
9585 (byte-compile-add-to-list): Remove.
9586 * emacs-lisp/cconv.el (cconv-warnings-only): New function.
9587 (cconv-closure-convert): Add assertion.
9589 * emacs-lisp/map-ynp.el: Use lexical-binding.
9590 (map-y-or-n-p): Remove unused vars `tail' and `object'.
9591 Factor out some repeated code.
9593 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9595 * subr.el (with-eval-after-load): New macro.
9596 (eval-after-load): Allow form to be a function.
9597 take advantage of lexical-binding.
9598 (do-after-load-evaluation): Use dolist and adjust to new format.
9599 * simple.el (bad-packages-alist): Use dolist and with-eval-after-load.
9601 2013-06-13 Juri Linkov <juri@jurta.org>
9603 * replace.el (perform-replace): Display "symbol " and other search
9604 modes from `isearch-message-prefix' in the *Help* buffer.
9606 * isearch.el (isearch-query-replace): Add " symbol" and other
9607 possible search modes from `isearch-message-prefix' to the prompt.
9608 (isearch-occur): Use `with-isearch-suspended' to not exit Isearch
9609 when reading a regexp to collect.
9611 2013-06-13 Juri Linkov <juri@jurta.org>
9613 * isearch.el (word-search-regexp): Match whitespace if the search
9614 string begins or ends in whitespace. The LAX arg is applied to
9615 both ends of the search string. Use `regexp-quote' and explicit
9616 \< and \> instead of \b. Use \` and \' instead of ^ and $.
9617 (isearch-symbol-regexp): Sync with `word-search-regexp' where word
9618 boundaries are replaced with symbol boundaries, and characters
9619 between symbols match non-word non-symbol syntax. (Bug#14602)
9621 2013-06-13 Juri Linkov <juri@jurta.org>
9623 * isearch.el (isearch-del-char): Don't exceed the length of
9624 `isearch-string' by the prefix arg. (Bug#14563)
9626 2013-06-13 Juri Linkov <juri@jurta.org>
9628 * isearch.el (isearch-yank-word, isearch-yank-line)
9629 (isearch-char-by-name, isearch-quote-char)
9630 (isearch-printing-char, isearch-process-search-char):
9631 Add optional count prefix arg. (Bug#14563)
9633 * international/isearch-x.el
9634 (isearch-process-search-multibyte-characters):
9635 Add optional count prefix arg.
9637 2013-06-13 Stefan Monnier <monnier@iro.umontreal.ca>
9639 * subr.el (internal-push-keymap, internal-pop-keymap): New functions.
9640 (set-temporary-overlay-map): Use them (bug#14095); and take advantage of
9643 2013-06-13 Vitalie Spinu <spinuvit@gmail.com>
9645 * subr.el (set-temporary-overlay-map): Add on-exit argument.
9647 2013-06-13 Glenn Morris <rgm@gnu.org>
9649 * startup.el (tty-handle-args):
9650 Don't just discard "--" and anything after. (Bug#14608)
9652 * emacs-lisp/lisp.el (forward-sexp, backward-sexp): Doc fixes.
9654 2013-06-13 Michael Albinus <michael.albinus@gmx.de>
9656 Implement changes in Secret Service API. Make it backward compatible.
9657 * net/secrets.el (secrets-struct-secret-content-type): New defonst.
9658 (secrets-create-item): Use it. Prefix properties with interface.
9660 2013-06-13 Michael Hoffman <9qobl2n02@sneakemail.com> (tiny change)
9662 * term.el (term-suppress-hard-newline): New option. (Bug#12017)
9663 (term-emulate-terminal): Respect term-suppress-hard-newline.
9665 2013-06-13 E Sabof <esabof@gmail.com> (tiny change)
9667 * image-dired.el (image-dired-dired-toggle-marked-thumbs):
9668 Only remove a `thumb-file' overlay. (Bug#14548)
9670 2013-06-12 Grégoire Jadi <daimrod@gmail.com>
9672 * mail/reporter.el (reporter-submit-bug-report):
9673 Handle missing package-name. (Bug#14600)
9675 2013-06-12 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
9677 * textmodes/reftex-cite.el (reftex-cite-regexp-hist)
9678 (reftex-citation-prompt, reftex-default-bibliography)
9679 (reftex-bib-or-thebib, reftex-get-bibfile-list)
9680 (reftex-pop-to-bibtex-entry, reftex-extract-bib-entries)
9681 (reftex-bib-sort-author, reftex-bib-sort-year)
9682 (reftex-bib-sort-year-reverse, reftex-get-crossref-alist)
9683 (reftex-extract-bib-entries-from-thebibliography)
9684 (reftex-get-bibkey-default, reftex-get-bib-names)
9685 (reftex-parse-bibtex-entry, reftex-get-bib-field)
9686 (reftex-format-bib-entry, reftex-parse-bibitem)
9687 (reftex-format-bibitem, reftex-do-citation)
9688 (reftex-figure-out-cite-format, reftex-offer-bib-menu)
9689 (reftex-restrict-bib-matches, reftex-extract-bib-file)
9690 (reftex-insert-bib-matches, reftex-format-citation)
9691 (reftex-make-cite-echo-string, reftex-bibtex-selection-callback)
9692 (reftex-create-bibtex-file): Add docstrings, mostly by converting
9693 existing comments into docstrings.
9695 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9697 * ibuf-ext.el (ibuffer-mark-help-buffers): Doc fix.
9699 2013-06-12 Andreas Schwab <schwab@suse.de>
9701 * international/mule.el (auto-coding-alist): Use utf-8-emacs-unix
9702 for auto-save files.
9704 2013-06-12 Glenn Morris <rgm@gnu.org>
9706 * ido.el (ido-delete-ignored-files): Remove.
9707 (ido-wide-find-dirs-or-files, ido-make-file-list-1):
9708 Go back to calling ido-ignore-item-p directly.
9710 2013-06-12 Eyal Lotem <eyal.lotem@gmail.com> (tiny change)
9712 * ido.el (ido-wide-find-dirs-or-files): Respect ido-case-fold.
9714 * ido.el (ido-delete-ignored-files): New function,
9715 split from ido-make-file-list-1.
9716 (ido-wide-find-dirs-or-files): Maybe ignore files. (Bug#13003)
9717 (ido-make-file-list-1): Use ido-delete-ignored-files.
9719 2013-06-12 Leo Liu <sdl.web@gmail.com>
9721 * progmodes/octave.el (inferior-octave-startup)
9722 (inferior-octave-completion-table)
9723 (inferior-octave-track-window-width-change)
9724 (octave-eldoc-function-signatures, octave-help)
9725 (octave-find-definition): Use single quoted strings.
9726 (inferior-octave-startup-args): Change default value.
9727 (inferior-octave-startup): Do not hard code "-i" and
9728 "--no-line-editing".
9729 (inferior-octave-resync-dirs): Add optional arg NOERROR.
9730 (inferior-octave-directory-tracker): Use it.
9731 (octave-goto-function-definition): Robustify.
9732 (octave-help): Support highlighting operators in 'See also'.
9733 (octave-find-definition): Find subfunctions only in Octave mode.
9735 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9737 * help-fns.el (help-fns--compiler-macro): If the handler function is
9738 named, then put a link to it.
9739 * help-mode.el (help-function-cmacro): Adjust regexp for cl-lib names.
9740 * emacs-lisp/cl-macs.el (cl--compiler-macro-typep): New function.
9742 (cl-eval-when): Simplify debug spec.
9743 (cl-define-compiler-macro): Use eval-and-compile. Give a name to the
9744 compiler-macro function instead of setting `compiler-macro-file'.
9746 2013-06-12 Xue Fuqiao <xfq.free@gmail.com>
9748 * vc/vc-cvs.el (vc-cvs-stay-local): Doc fix.
9749 * vc/vc-hooks.el (vc-stay-local): Doc fix.
9751 2013-06-12 Stefan Monnier <monnier@iro.umontreal.ca>
9752 Daniel Hackney <dan@haxney.org>
9754 First part of Daniel Hackney's patch to package.el.
9755 * emacs-lisp/package.el: Use defstruct.
9756 (package-desc): New, main struct.
9757 (package--bi-desc, package--ac-desc): New structs, used to describe the
9758 format in external files.
9759 (package-desc-vers): Replace with package-desc-version accessor.
9760 (package-desc-doc): Replace with package-desc-summary accessor.
9761 (package-activate-1): Remove `package' arg since the pkg-vec now
9763 (define-package): Use package-desc-from-define.
9764 (package-unpack-single): Change file-name arg to be a symbol.
9765 (package--add-to-archive-contents): Use package-desc-create and new
9766 accessor functions to package--ac-desc.
9767 (package-buffer-info, package-tar-file-info): Return a package-desc.
9768 (package-install-from-buffer): Remove `type' argument. Change pkg-info
9769 arg to be a package-desc.
9770 (package-install-file): Adjust accordingly. Use \' to match EOS.
9771 (package--from-builtin): New function.
9772 (describe-package-1, package-menu--generate): Use it.
9773 (package--make-autoloads-and-compile): Change name arg to be a symbol.
9774 (package-generate-autoloads): Idem and return the name of the file.
9775 * emacs-lisp/package-x.el (package-upload-buffer-internal):
9776 Change pkg-info arg to be a package-desc.
9777 Use package-make-ac-desc.
9778 (package-upload-file): Use \' to match EOS.
9779 * finder.el (finder-compile-keywords): Use package-make-builtin.
9781 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9783 * vc/vc.el (vc-deduce-fileset): Change error message.
9784 (vc-read-backend): New function.
9785 (vc-next-action): Use it.
9787 * subr.el (function-arity): Remove (mistakenly added) (bug#14590).
9789 * progmodes/prolog.el (prolog-make-keywords-regexp): Remove.
9790 (prolog-font-lock-keywords): Use regexp-opt instead.
9791 Don't manually highlight strings.
9792 (prolog-mode-variables): Simplify comment-start-skip.
9793 (prolog-consult-compile): Use display-buffer. Remove unused old-filter.
9795 * emacs-lisp/generic.el (generic--normalise-comments)
9796 (generic-set-comment-syntax, generic-set-comment-vars): New functions.
9797 (generic-mode-set-comments): Use them.
9798 (generic-bracket-support): Use setq-local.
9799 (generic-make-keywords-list): Declare obsolete.
9801 2013-06-11 Glenn Morris <rgm@gnu.org>
9803 * emacs-lisp/lisp-mode.el (lisp-mode-variables):
9804 Prettify after setting font-lock-defaults. (Bug#14574)
9806 2013-06-11 Juanma Barranquero <lekktu@gmail.com>
9808 * replace.el (query-replace, occur-read-regexp-defaults-function)
9810 * subr.el (declare-function, number-sequence, local-set-key)
9811 (substitute-key-definition, locate-user-emacs-file)
9812 (with-silent-modifications, split-string, eval-after-load):
9813 Fix typos, remove unneeded backslashes and reflow some docstrings.
9815 2013-06-11 Stefan Monnier <monnier@iro.umontreal.ca>
9817 * international/mule-conf.el (file-coding-system-alist): Use utf-8 as
9818 default for Elisp files.
9820 2013-06-11 Glenn Morris <rgm@gnu.org>
9822 * vc/log-view.el (log-view-mode-map): Inherit from special-mode-map,
9823 although define-derived-mode was doing this anyway. (Bug#14583)
9825 2013-06-10 Juanma Barranquero <lekktu@gmail.com>
9827 * allout.el (allout-encryption-plaintext-sanitization-regexps):
9828 Fix make-variable-buffer-local call to refer to the correct variable.
9830 2013-06-10 Aidan Gauland <aidalgol@amuri.net>
9832 * eshell/em-term.el (eshell-visual-commands)
9833 (eshell-visual-subcommands, eshell-visual-options):
9834 Add summary line to docstrings. Add cross-references.
9836 2013-06-10 Glenn Morris <rgm@gnu.org>
9838 * epa.el (epa-read-file-name): New function. (Bug#14510)
9839 (epa-decrypt-file): Make plain-file optional. Use epa-read-file-name.
9841 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9843 * eshell/em-term.el (eshell-visual-command-p): Fix bug that caused
9844 output redirection to be ignored with visual commands.
9846 2013-06-09 Aidan Gauland <aidalgol@amuri.net>
9848 * eshell/em-term.el (eshell-visual-command-p): New function.
9849 (eshell-term-initialize): Move long lambda to separate function
9850 eshell-visual-command-p.
9851 * eshell/em-dirs.el (eshell-dirs-initialise):
9852 * eshell/em-script.el (eshell-script-initialize):
9853 Add missing #' to lambda.
9855 2013-06-08 Leo Liu <sdl.web@gmail.com>
9857 * progmodes/octave.el (octave-add-log-current-defun): New function.
9858 (octave-mode): Set add-log-current-defun-function.
9859 (octave-goto-function-definition): Do not move point if not found.
9860 (octave-find-definition): Enhance to try subfunctions first.
9862 2013-06-08 Glenn Morris <rgm@gnu.org>
9864 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9865 (byte-compile-backward-char, byte-compile-backward-word):
9866 Improve previous change, to handle non-explicit nil.
9868 2013-06-07 Stefan Monnier <monnier@iro.umontreal.ca>
9870 * emacs-lisp/smie.el: Improve show-paren-mode behavior.
9871 (smie--opener/closer-at-point): New function.
9872 (smie--matching-block-data): Use it. Don't match from right after an
9873 opener or right before a closer. Obey smie-blink-matching-inners.
9874 Don't signal a mismatch for repeated inners like "switch..case..case".
9876 2013-06-07 Leo Liu <sdl.web@gmail.com>
9878 * progmodes/octave.el (octave-mode): Set comment-use-global-state
9880 (octave-function-header-regexp): Fix. (Bug#14570)
9881 (octave-help-mode-finish-hook, octave-help-mode-finish):
9882 Remove. Just use temp-buffer-show-hook.
9884 * newcomment.el (comment-search-backward): Revert last change.
9887 * emacs-lisp/smie.el (smie--matching-block-data): Minor simplification.
9889 2013-06-07 Eli Zaretskii <eliz@gnu.org>
9891 * Makefile.in (TAGS TAGS-LISP): Pass the (long) list of *.el files
9892 through xargs, to avoid failure due to MS-Windows limitations on
9893 command-line length.
9895 2013-06-06 Glenn Morris <rgm@gnu.org>
9897 * font-lock.el (lisp-font-lock-keywords-2):
9898 Treat user-error like error.
9900 * emacs-lisp/bytecomp.el (byte-compile-char-before)
9901 (byte-compile-backward-char, byte-compile-backward-word):
9902 Handle explicit nil arguments. (Bug#14565)
9904 2013-06-05 Alan Mackenzie <acm@muc.de>
9906 * isearch.el (isearch-allow-prefix): New user option.
9907 (isearch-other-meta-char): Don't exit isearch when a prefix
9908 argument is typed whilst `isearch-allow-prefix' is non-nil.
9911 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9913 * autorevert.el (auto-revert-notify-handler): Use memq.
9914 Hide assertion failure.
9916 * skeleton.el: Use cl-lib.
9917 (skeleton-further-elements): Use defvar-local.
9918 (skeleton-insert): Use cl-progv.
9920 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9922 * progmodes/prog-mode.el (prog-prettify-symbols)
9923 (prog-prettify-install): Update docstrings.
9925 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9927 * simple.el: Move all the prog-mode code to prog-mode.el.
9928 * progmodes/prog-mode.el: New file.
9929 * loadup.el: Add prog-mode.el.
9931 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9933 * simple.el (prog-prettify-symbols): Add version.
9934 (prog-prettify-install): Add convenience function to prettify symbols.
9936 * progmodes/perl-mode.el (perl--augmented-font-lock-keywords)
9937 (perl--augmented-font-lock-keywords-1)
9938 (perl--augmented-font-lock-keywords-2, perl-mode): Remove unneeded
9939 variables and use it.
9941 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9942 (cfengine3-mode): Remove unneeded variable and use it.
9944 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9945 (lisp--augmented-font-lock-keywords-1)
9946 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables):
9947 Remove unneeded variables and use it.
9949 2013-06-05 João Távora <joaotavora@gmail.com>
9951 * net/tls.el (open-tls-stream): Remove unneeded buffer contents up
9952 to point when opening the connection. (Bug#14380)
9954 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
9956 * subr.el (load-history-regexp, load-history-filename-element)
9957 (eval-after-load, after-load-functions, do-after-load-evaluation)
9958 (eval-next-after-load, display-delayed-warnings)
9959 (collapse-delayed-warnings, delayed-warnings-hook): Move after the
9960 definition of save-match-data.
9961 (overriding-local-map): Remove accidental obsolescence declaration.
9963 * emacs-lisp/edebug.el (edebug-result): Move before first use.
9965 2013-06-05 Teodor Zlatanov <tzz@lifelogs.com>
9967 Generalize symbol prettify support to prog-mode and implement it
9968 for perl-mode, cfengine3-mode, and emacs-lisp-mode.
9969 * simple.el (prog-prettify-symbols-alist, prog-prettify-symbols)
9970 (prog--prettify-font-lock-compose-symbol)
9971 (prog-prettify-font-lock-symbols-keywords): New variables and
9972 functions to support symbol prettification.
9973 * emacs-lisp/lisp-mode.el (lisp--augmented-font-lock-keywords)
9974 (lisp--augmented-font-lock-keywords-1)
9975 (lisp--augmented-font-lock-keywords-2, lisp-mode-variables)
9976 (lisp--prettify-symbols-alist): Implement prettify of lambda.
9977 * progmodes/cfengine.el (cfengine3--augmented-font-lock-keywords)
9978 (cfengine3--prettify-symbols-alist, cfengine3-mode):
9979 Implement prettify of -> => :: strings.
9980 * progmodes/perl-mode.el (perl-prettify-symbols)
9981 (perl--font-lock-compose-symbol)
9982 (perl--font-lock-symbols-keywords): Move to prog-mode.
9983 (perl--prettify-symbols-alist): Prettify -> => :: strings.
9984 (perl-font-lock-keywords-1)
9985 (perl-font-lock-keywords-2): Remove explicit prettify support.
9986 (perl--augmented-font-lock-keywords)
9987 (perl--augmented-font-lock-keywords-1)
9988 (perl--augmented-font-lock-keywords-2, perl-mode):
9989 Implement prettify support.
9991 2013-06-05 Leo Liu <sdl.web@gmail.com>
9993 Re-implement smie matching block highlight using
9994 show-paren-data-function. (Bug#14395)
9995 * emacs-lisp/smie.el (smie-matching-block-highlight)
9996 (smie--highlight-matching-block-overlay)
9997 (smie--highlight-matching-block-lastpos)
9998 (smie-highlight-matching-block)
9999 (smie-highlight-matching-block-mode): Remove.
10000 (smie--matching-block-data-cache): New variable.
10001 (smie--matching-block-data): New function.
10002 (smie-setup): Use smie--matching-block-data for
10003 show-paren-data-function.
10005 * progmodes/octave.el (octave-mode-menu): Fix.
10006 (octave-find-definition): Skip garbage lines.
10008 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10010 Fix compilation error with simultaneous dynamic+lexical scoping.
10011 Add warning when a defvar appears after the first let-binding.
10012 * emacs-lisp/bytecomp.el (byte-compile-lexical-variables): New var.
10013 (byte-compile-close-variables): Initialize it.
10014 (byte-compile--declare-var): New function.
10015 (byte-compile-file-form-defvar)
10016 (byte-compile-file-form-define-abbrev-table)
10017 (byte-compile-file-form-custom-declare-variable): Use it.
10018 (byte-compile-make-lambda-lexenv): Change the argument. Simplify.
10019 (byte-compile-lambda): Share call to byte-compile-arglist-vars.
10020 (byte-compile-bind): Handle dynamic bindings that shadow
10022 (byte-compile-unbind): Make arg non-optional.
10023 (byte-compile-let): Simplify.
10024 * emacs-lisp/cconv.el (byte-compile-lexical-variables): Declare var.
10025 (cconv--analyse-function, cconv-analyse-form): Populate it.
10026 Protect byte-compile-bound-variables to limit the scope of defvars.
10027 (cconv-analyse-form): Add missing rule for (defvar <foo>).
10028 Remove unneeded rule for `declare'.
10030 * emacs-lisp/cl-macs.el (cl--compiler-macro-adjoin): Use macroexp-let2
10031 so as to avoid depending on cl-adjoin at run-time.
10032 * emacs-lisp/cl-lib.el (cl-pushnew): Use backquotes.
10034 * emacs-lisp/macroexp.el (macroexp--compiling-p): New function.
10035 (macroexp--warn-and-return): Use it.
10037 2013-06-05 Stefan Monnier <monnier@iro.umontreal.ca>
10039 * subr.el: Convert to lexical binding.
10040 (overriding-local-map): Make obsolete.
10041 (add-to-list): Doc fix. Add compiler macro.
10042 (read-key): Swap values of local maps.
10044 2013-06-05 Leo Liu <sdl.web@gmail.com>
10046 * eshell/esh-mode.el (eshell-mode): Fix key bindings.
10048 2013-06-04 Leo Liu <sdl.web@gmail.com>
10050 * progmodes/compile.el (compile-goto-error): Add optional arg NOMSG.
10051 (compilation-auto-jump): Suppress the "Mark set" message to give
10052 way to exit message.
10054 2013-06-04 Alan Mackenzie <acm@muc.de>
10056 Remove faulty optimisation from indentation calculation.
10057 * progmodes/cc-engine.el (c-guess-basic-syntax): Don't calculate
10058 search limit based on 2000 characters back from indent-point.
10060 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10062 * eshell/em-term.el (cl-lib): Require `cl-lib'.
10064 2013-06-03 Stefan Monnier <monnier@iro.umontreal.ca>
10066 * emacs-lisp/lisp.el: Use lexical-binding.
10067 (lisp--local-variables-1, lisp--local-variables): New functions.
10068 (lisp--local-variables-completion-table): New var.
10069 (lisp-completion-at-point): Use it complete let-bound vars.
10071 * emacs-lisp/lisp-mode.el (eval-sexp-add-defvars): Expand macros
10072 eagerly (bug#14422).
10074 2013-06-03 Michael Albinus <michael.albinus@gmx.de>
10076 * autorevert.el (auto-revert-notify-enabled)
10077 (auto-revert-notify-rm-watch, auto-revert-notify-add-watch)
10078 (auto-revert-notify-event-p, auto-revert-notify-event-file-name)
10079 (auto-revert-notify-handler): Handle also gfilenotify.
10081 * subr.el (file-notify-handle-event): New defun. Replacing ...
10082 (inotify-event-p, inotify-handle-event, w32notify-handle-event):
10085 2013-06-03 Juri Linkov <juri@jurta.org>
10087 * bindings.el (search-map): Bind `highlight-symbol-at-point' to
10088 `M-s h .'. (Bug#14427)
10090 * hi-lock.el (highlight-symbol-at-point): New alias for the new
10091 command `hi-lock-face-symbol-at-point'.
10092 (hi-lock-face-symbol-at-point): New command.
10093 (hi-lock-map): Bind `highlight-symbol-at-point' to `C-x w .'.
10094 (hi-lock-menu): Add `highlight-symbol-at-point'.
10095 (hi-lock-mode): Doc fix.
10097 * isearch.el (isearch-forward-symbol-at-point): New command.
10098 (search-map): Bind `isearch-forward-symbol-at-point' to `M-s .'.
10099 (isearch-highlight-regexp): Add a regexp which matches
10100 words/symbols for word/symbol mode.
10102 * subr.el (find-tag-default-bounds): New function with the body
10103 mostly moved from `find-tag-default'.
10104 (find-tag-default): Move most code to `find-tag-default-bounds',
10105 call it and apply `buffer-substring-no-properties' afterwards.
10107 2013-06-03 Tassilo Horn <tsdh@gnu.org>
10109 * eshell/em-term.el (eshell-term-initialize):
10110 Use `cl-intersection' rather than `intersection'.
10112 2013-06-02 Xue Fuqiao <xfq.free@gmail.com>
10114 * vc/log-view.el: Doc fix.
10115 (log-view-mode-map): Copy keymap from `special-mode-map'.
10117 2013-06-02 Eric Ludlam <zappo@gnu.org>
10119 * emacs-lisp/eieio.el (eieio--defalias, eieio-hook)
10120 (eieio-error-unsupported-class-tags, eieio-skip-typecheck)
10121 (eieio-optimize-primary-methods-flag, eieio-initializing-object)
10122 (eieio-unbound, eieio-default-superclass)
10123 (eieio--define-field-accessors, method-static, method-before)
10124 (method-primary, method-after, method-num-lists)
10125 (method-generic-before, method-generic-primary)
10126 (method-generic-after, method-num-slots)
10127 (eieio-specialized-key-to-generic-key)
10128 (eieio--check-type, class-v, class-p)
10129 (eieio-class-name, define-obsolete-function-alias)
10130 (eieio-class-parents-fast, eieio-class-children-fast)
10131 (same-class-fast-p, class-constructor, generic-p)
10132 (generic-primary-only-p, generic-primary-only-one-p)
10133 (class-option-assoc, class-option, eieio-object-p)
10134 (class-abstract-p, class-method-invocation-order)
10135 (eieio-defclass-autoload-map, eieio-defclass-autoload)
10136 (eieio-class-un-autoload, eieio-defclass)
10137 (eieio-eval-default-p, eieio-perform-slot-validation-for-default)
10138 (eieio-add-new-slot, eieio-copy-parents-into-subclass)
10139 (eieio--defgeneric-init-form, eieio-defgeneric-form)
10140 (eieio-defgeneric-reset-generic-form)
10141 (eieio-defgeneric-form-primary-only)
10142 (eieio-defgeneric-reset-generic-form-primary-only)
10143 (eieio-defgeneric-form-primary-only-one)
10144 (eieio-defgeneric-reset-generic-form-primary-only-one)
10145 (eieio-unbind-method-implementations)
10146 (eieio--defmethod, eieio--typep)
10147 (eieio-perform-slot-validation, eieio-validate-slot-value)
10148 (eieio-validate-class-slot-value, eieio-barf-if-slot-unbound)
10149 (eieio-oref, eieio-oref-default, eieio-default-eval-maybe)
10150 (eieio-oset, eieio-oset-default, eieio-slot-originating-class-p)
10151 (eieio-slot-name-index, eieio-class-slot-name-index)
10152 (eieio-set-defaults, eieio-initarg-to-attribute)
10153 (eieio-attribute-to-initarg, eieio-c3-candidate)
10154 (eieio-c3-merge-lists, eieio-class-precedence-c3)
10155 (eieio-class-precedence-dfs, eieio-class-precedence-bfs)
10156 (eieio-class-precedence-list, eieio-generic-call-methodname)
10157 (eieio-generic-call-arglst, eieio-generic-call-key)
10158 (eieio-generic-call-next-method-list)
10159 (eieio-pre-method-execution-functions, eieio-generic-call)
10160 (eieio-generic-call-primary-only, eieiomt-method-list)
10161 (eieiomt-optimizing-obarray, eieiomt-install)
10162 (eieiomt-add, eieiomt-next, eieiomt-sym-optimize)
10163 (eieio-generic-form, eieio-defmethod, make-obsolete)
10164 (eieio-defgeneric, make-obsolete): Move to eieio-core.el.
10165 (defclass): Remove `eval-and-compile' from macro.
10166 (call-next-method, shared-initialize): Instead of using
10167 `scoped-class' variable, use new eieio--scoped-class, and
10168 eieio--with-scoped-class.
10169 (initialize-instance): Rename local variable 'scoped-class' to
10170 'this-class' to remove ambiguitity from old global.
10172 * emacs-lisp/eieio-core.el: New file. Derived from key parts of
10174 (eieio--scoped-class-stack): New variable.
10175 (eieio--scoped-class): New fcn.
10176 (eieio--with-scoped-class): New scoping macro.
10177 (eieio-defclass): Use pushnew instead of add-to-list.
10178 (eieio-defgeneric-form-primary-only-one, eieio-oset-default)
10179 (eieio-slot-name-index, eieio-set-defaults, eieio-generic-call)
10180 (eieio-generic-call-primary-only, eieiomt-add): Instead of using
10181 `scoped-class' variable, use new eieio--scoped-class, and
10182 eieio--with-scoped-class.
10184 * emacs-lisp/eieio-base.el (cl-lib): Require during compile.
10186 2013-06-02 Tassilo Horn <tsdh@gnu.org>
10188 * eshell/esh-ext.el (eshell-external-command): Pass args to
10189 `eshell-find-interpreter'.
10190 (eshell-find-interpreter): Add new second parameter ARGS.
10192 * eshell/em-script.el (eshell-script-initialize): Add second arg
10193 to the function added as MATCH to `eshell-interpreter-alist'.
10195 * eshell/em-dirs.el (eshell-dirs-initialize): Add second arg to
10196 the function added as MATCH to `eshell-interpreter-alist'.
10198 * eshell/em-term.el (eshell-visual-subcommands): New defcustom.
10199 (eshell-visual-options): New defcustom.
10200 (eshell-escape-control-x): Adapt docstring.
10201 (eshell-term-initialize): Test `eshell-visual-subcommands' and
10202 `eshell-visual-options' in addition to `eshell-visual-commands'.
10203 (eshell-exec-visual): Pass args to `eshell-find-interpreter'.
10205 2013-06-01 Fabián Ezequiel Gallina <fgallina@gnu.org>
10207 * progmodes/python.el (python-indent-block-enders): Add break,
10208 continue and raise keywords.
10210 2013-06-01 Glenn Morris <rgm@gnu.org>
10212 * pcmpl-gnu.el (pcomplete/tar): Check obsolete variable is bound.
10214 Plain (f)boundp silences compilation warnings since Emacs 22.1.
10215 * progmodes/cc-cmds.el (delete-forward-p):
10216 * progmodes/cc-defs.el (buffer-syntactic-context-depth):
10217 * progmodes/cc-engine.el (buffer-syntactic-context):
10218 * progmodes/cc-fonts.el (face-property-instance):
10219 * progmodes/cc-mode.el (set-keymap-parents):
10220 * progmodes/cc-vars.el (get-char-table): No need for cc-bytecomp-defun.
10221 * progmodes/cc-defs.el (c-set-region-active, c-beginning-of-defun-1)
10222 * progmodes/cc-mode.el (c-make-inherited-keymap): Use plain fboundp.
10223 * progmodes/cc-defs.el (zmacs-region-stays, zmacs-regions)
10224 (lookup-syntax-properties): Remove unecessary cc-bytecomp-defvar.
10226 * progmodes/cc-vars.el (other): Emacs has this widget since
10227 at least 21.1, so don't (re)define it.
10229 * eshell/em-cmpl.el (eshell-cmpl-initialize):
10230 Replace the obsolete alias pcomplete-arg-quote-list.
10232 2013-06-01 Leo Liu <sdl.web@gmail.com>
10234 * progmodes/octave.el (octave-mode-syntax-table): Give `.'
10235 punctuation syntax.
10236 (inferior-octave-minimal-columns)
10237 (inferior-octave-last-column-width): New variables.
10238 (inferior-octave-track-window-width-change): New function.
10239 (inferior-octave-mode): Adjust column width so that Octave output,
10240 for example from 'ls', can fit into the window nicely.
10242 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10244 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10245 Highlight expansions inside regexp literals.
10247 2013-05-31 Glenn Morris <rgm@gnu.org>
10249 * obsolete/sym-comp.el (symbol-complete):
10250 Replace obsolete completion-annotate-function.
10252 * progmodes/cc-vars.el (c-make-macro-with-semi-re): Silence compiler.
10254 2013-05-31 Dmitry Gutov <dgutov@yandex.ru>
10256 * progmodes/ruby-mode.el (ruby-syntax-expansion-allowed-p):
10257 New function, checks if point is inside a literal that allows
10258 expression expansion.
10259 (ruby-syntax-propertize-expansion): Use it.
10260 (ruby-syntax-propertize-function): Bind `case-fold-search' to nil
10263 2013-05-30 Juri Linkov <juri@jurta.org>
10265 * isearch.el (isearch-mode-map): Bind `isearch-toggle-invisible'
10267 (isearch-invisible): New variable.
10268 (isearch-forward): Doc fix.
10269 (isearch-mode): Set `isearch-invisible'
10270 to the value of `search-invisible'.
10271 (isearch-toggle-case-fold): Doc fix.
10272 (isearch-toggle-invisible): New command.
10273 (isearch-query-replace): Let-bind `search-invisible'
10274 to the value of `isearch-invisible'.
10275 (isearch-search): Use `isearch-invisible' instead of
10276 `search-invisible'. Let-bind `search-invisible'
10277 to the value of `isearch-invisible'. (Bug#11378)
10279 2013-05-30 Juri Linkov <juri@jurta.org>
10281 * replace.el (perform-replace): Avoid `isearch-range-invisible'
10282 call when `query-flag' is nil and `search-invisible' is non-nil.
10285 2013-05-30 Glenn Morris <rgm@gnu.org>
10287 * progmodes/gdb-mi.el (gdb-wait-for-pending): Fix typo.
10289 * progmodes/cc-bytecomp.el (cc-bytecomp-noruntime-functions): New.
10290 (cc-require): Suppress spurious "noruntime" warnings.
10291 (cc-require-when-compile): Use fboundp, for sake of compiler.
10293 * progmodes/cc-mode.el: Move load of cc-vars before that of
10294 cc-langs (which in turn loads cc-vars), to quieten compiler.
10296 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10298 * paren.el: Simplify the code.
10299 (show-paren-mode): Always start the timer.
10300 (show-paren--idle-timer): Rename from show-paren-idle-timer.
10301 (show-paren--overlay, show-paren--overlay-1): Rename from
10302 show-paren-overlay and show-paren-overlay-1, and initialize to an
10303 overlay rather than to nil.
10304 (show-paren-function): Misc cleanup and simplifications.
10306 2013-05-30 Stefan Monnier <monnier@iro.umontreal.ca>
10308 * paren.el (show-paren-data-function): New hook.
10309 (show-paren--default): New function, extracted from show-paren-function.
10310 (show-paren-function): Use show-paren-data-function.
10312 2013-05-30 Glenn Morris <rgm@gnu.org>
10314 * ielm.el (ielm-map, ielm-complete-symbol):
10315 Use completion-at-point rather than obsolete functions.
10316 (inferior-emacs-lisp-mode): Doc fix.
10317 Set completion-at-point-functions, rather than
10318 comint-dynamic-complete-functions.
10320 * eshell/em-cmpl.el (eshell-complete-lisp-symbol): New function.
10321 (eshell-cmpl-initialize, eshell-complete-parse-arguments):
10322 Replace obsolete lisp-complete-symbol with eshell-complete-lisp-symbol.
10324 * image.el (image-animated-p): Tweak definition.
10326 * net/rlogin.el (rlogin-program, rlogin-explicit-args): Default to ssh.
10327 (rlogin-process-connection-type): Tweak default. Add set-after.
10328 (rlogin-host): Doc fix.
10329 (rlogin): Tweak prompt.
10330 (rlogin-tab-or-complete): Use completion-at-point rather than alias.
10332 * net/net-utils.el (nslookup-mode-map, ftp-mode-map):
10333 * progmodes/tcl.el (inferior-tcl-mode-map):
10334 Use completion-at-point rather than obsolete alias.
10336 * emacs-lisp/eieio.el (eieio-eval-default-p): Move before use.
10338 * minibuffer.el (read-file-name-completion-ignore-case):
10339 Move before completion--in-region, for eager macro expansion.
10341 2013-05-29 Juri Linkov <juri@jurta.org>
10343 * replace.el (occur-engine): Rename `globalcount' to `global-lines'
10344 for total count of matching lines. Add `global-matches' for total
10345 count of matches. Rename `matches' to `lines' for count of
10346 matching lines. Add `matches' for count of matches.
10347 Rename `lines' to `curr-line' for line count. Rename `prev-lines'
10348 to `prev-line' for line number of prev match endpt.
10349 Increment `matches' for every match. Print the number of
10350 matching lines in the header.
10351 (occur-context-lines): Rename `lines' to `curr-line'.
10352 Rename `prev-lines' to `prev-line'. (Bug#14017)
10354 2013-05-29 Juri Linkov <juri@jurta.org>
10356 * replace.el (perform-replace): Add `skip-read-only-count',
10357 `skip-filtered-count', `skip-invisible-count' let-bound to 0.
10358 Increment them for corresponding conditions and report the number
10359 of skipped occurrences in the final message. (Bug#11746)
10360 (query-replace, query-replace-regexp, query-replace-regexp-eval)
10361 (replace-string, replace-regexp): Doc fix.
10363 2013-05-29 Stefan Monnier <monnier@iro.umontreal.ca>
10365 * emacs-lisp/trace.el (trace--read-args): Provide a default.
10367 * emacs-lisp/lisp-mode.el (lisp-mode-shared-map): Inherit from
10368 prog-mode-map (bug#14504).
10370 2013-05-29 Leo Liu <sdl.web@gmail.com>
10372 * progmodes/octave.el (octave-indent-comment): Tweak regexps.
10373 (octave-help): Small simplification.
10375 * emacs-lisp/smie.el (smie-highlight-matching-block): Always turn
10376 off the highlight first.
10378 2013-05-29 Glenn Morris <rgm@gnu.org>
10380 * progmodes/idlwave.el (idlwave-concatenate-rinfo-lists):
10381 Handle idlwave-last-system-routine-info-cons-cell being nil.
10383 * progmodes/idlwave.el (idlwave-scan-user-lib-files)
10384 (idlwave-write-paths): Simplify via with-temp-buffer.
10386 * emulation/cua-gmrk.el: Also load cua-base, cua-rect at run time.
10387 * emulation/cua-rect.el: Also load cua-base at run time.
10389 * progmodes/cperl-mode.el (imenu-choose-buffer-index)
10390 (file-of-tag, etags-snarf-tag, etags-goto-tag-location): Declare.
10391 (cperl-imenu-on-info): Require imenu.
10393 2013-05-28 Alan Mackenzie <acm@muc.de>
10395 Handle "capitalised keywords" correctly.
10396 * progmodes/cc-mode.el (c-after-change): Bind case-fold-search to nil.
10398 2013-05-28 Aidan Gauland <aidalgol@amuri.net>
10400 * eshell/em-unix.el: Add -r option to cp.
10402 2013-05-28 Glenn Morris <rgm@gnu.org>
10404 * vc/vc-arch.el (vc-exec-after): Declare.
10405 (vc-switches): Autoload.
10406 * vc/vc-bzr.el: No need to require vc when compiling.
10407 (vc-exec-after, vc-set-async-update, vc-default-dir-printer)
10408 (vc-resynch-buffer, vc-dir-refresh): Declare.
10409 (vc-setup-buffer, vc-switches): Autoload.
10410 * vc/vc-cvs.el (vc-exec-after, vc-coding-system-for-diff)
10411 (vc-resynch-buffer): Declare.
10412 (vc-switches, vc-default-revert, vc-version-backup-file): Autoload.
10413 * vc/vc-dir.el (desktop-missing-file-warning): Declare.
10414 * vc/vc-git.el (vc-exec-after, vc-set-async-update)
10415 (grep-read-regexp, grep-read-files, grep-expand-template)
10416 (vc-dir-refresh): Declare.
10417 (vc-setup-buffer, vc-switches, vc-resynch-buffer): Autoload.
10418 * vc/vc-hg.el (vc-exec-after, vc-set-async-update): Declare.
10419 (vc-setup-buffer, vc-switches, vc-do-async-command): Autoload.
10420 * vc/vc-mtn.el (vc-exec-after): Declare.
10421 (vc-switches): Autoload.
10422 * vc/vc-rcs.el (vc-expand-dirs, vc-switches)
10423 (vc-tag-precondition, vc-buffer-sync, vc-rename-master): Autoload.
10424 (vc-file-tree-walk): Declare.
10425 * vc/vc-sccs.el (vc-file-tree-walk): Declare.
10426 (vc-expand-dirs, vc-switches, vc-setup-buffer, vc-delistify)
10427 (vc-tag-precondition, vc-rename-master): Autoload.
10428 * vc/vc-svn.el (vc-exec-after): Declare.
10429 (vc-switches, vc-setup-buffer): Autoload.
10430 * obsolete/vc-mcvs.el (vc-checkout, vc-switches, vc-default-revert):
10432 (vc-resynch-buffer): Declare.
10434 * obsolete/fast-lock.el (byte-compile-warnings):
10435 Don't warn about obsolete features in this obsolete file.
10437 * progmodes/cc-vars.el (c-macro-names-with-semicolon):
10438 Move definition before use.
10440 * play/dunnet.el (byte-compile-warnings): Don't disable them all.
10441 (dun-unix-verbs): Remove dun-zippy.
10442 (dun-zippy): Remove function.
10444 * emacs-lisp/bytecomp.el (byte-compile-warnings): Doc fix.
10446 2013-05-27 Juri Linkov <juri@jurta.org>
10448 * replace.el (replace-search): New function with code moved out
10449 from `perform-replace'.
10450 (replace-highlight, replace-dehighlight): Move function definitions
10451 up closer to `replace-search'. (Bug#11746)
10453 2013-05-27 Juri Linkov <juri@jurta.org>
10455 * replace.el (perform-replace): Ignore invisible matches.
10456 In addition to checking `query-replace-skip-read-only', also
10457 filter out matches by calling `run-hook-with-args-until-failure'
10458 on `isearch-filter-predicates', and also check `search-invisible'
10459 for t or call `isearch-range-invisible'.
10460 (replace-dehighlight): Call `isearch-clean-overlays'. (Bug#11746)
10462 2013-05-27 Juri Linkov <juri@jurta.org>
10464 * isearch.el (isearch-filter-predicates): Rename from
10465 `isearch-filter-predicate'. Doc fix. (Bug#11378)
10466 (isearch-message-prefix): Display text from the property
10467 `isearch-message-prefix' of the currently active filters.
10468 (isearch-search): Don't compare `isearch-filter-predicate' with
10469 `isearch-filter-visible'. Call `run-hook-with-args-until-failure'
10470 on `isearch-filter-predicates'. Also check `search-invisible' for t
10471 or call `isearch-range-invisible'.
10472 (isearch-filter-visible): Make obsolete.
10473 (isearch-lazy-highlight-search):
10474 Call `run-hook-with-args-until-failure' on
10475 `isearch-filter-predicates' and use `isearch-range-invisible'.
10477 * info.el (Info-search): Call `run-hook-with-args-until-failure' on
10478 `isearch-filter-predicates' instead of `funcall'ing
10479 `isearch-filter-predicate'.
10480 (Info-mode): Set `Info-isearch-filter' to
10481 `isearch-filter-predicates' instead of `isearch-filter-predicate'.
10483 * dired-aux.el (dired-isearch-filter-predicate-orig):
10485 (dired-isearch-filenames-toggle, dired-isearch-filenames-setup)
10486 (dired-isearch-filenames-end): Add and remove
10487 `dired-isearch-filter-filenames' in `isearch-filter-predicates'
10488 instead of changing the value of `isearch-filter-predicate'.
10489 Rebind `dired-isearch-filenames-toggle' from "\M-sf" to "\M-sff".
10490 (dired-isearch-filter-filenames): Don't use `isearch-filter-visible'.
10491 Put property `isearch-message-prefix' to "filename " on
10492 `dired-isearch-filter-filenames'.
10494 * wdired.el (wdired-change-to-wdired-mode):
10495 Add `isearch-filter-predicates' to `wdired-isearch-filter-read-only'
10496 locally instead of changing `isearch-filter-predicate'.
10497 (wdired-isearch-filter-read-only): Don't use `isearch-filter-visible'.
10499 2013-05-27 Dmitry Gutov <dgutov@yandex.ru>
10501 * vc/vc-git.el (vc-git-working-revision): When in detached mode,
10502 return the commit hash (Bug#14459). Also set the
10503 `vc-git-detached' property.
10504 (vc-git--rev-parse): Extract from `vc-git-previous-revision'.
10505 (vc-git-mode-line-string): Use the same help-echo format whether
10506 in detached mode or not, because we know the actual revision now.
10507 When in detached mode, shorten the revision to 7 chars.
10509 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10511 * emacs-lisp/easy-mmode.el (define-minor-mode):
10512 * emacs-lisp/derived.el (define-derived-mode): Always defvar the
10513 mode hook and provide a docstring.
10515 2013-05-27 Alan Mackenzie <acm@muc.de>
10517 Remove spurious syntax-table text properties inserted by C-y.
10518 * progmodes/cc-mode.el (c-after-change): Also clear hard
10519 syntax-table property with value nil.
10521 2013-05-27 Michael Albinus <michael.albinus@gmx.de>
10523 * net/dbus.el (dbus-call-method): Let-bind `inhibit-redisplay'
10524 when reading the events; the buffer layout shall not be changed.
10526 2013-05-27 Leo Liu <sdl.web@gmail.com>
10528 * progmodes/octave.el (inferior-octave-directory-tracker-resync):
10530 (inferior-octave-directory-tracker): Automatically re-sync
10532 (octave-help): Improve handling of 'See also'.
10534 2013-05-27 Stefan Monnier <monnier@iro.umontreal.ca>
10536 * doc-view.el: Minor naming convention tweaks.
10537 (desktop-buffer-mode-handlers): Don't add to it repeatedly.
10539 * image-mode.el (image-mode-reapply-winprops): Call image-mode-winprops
10540 even if there's no `display' property yet (bug#14435).
10542 2013-05-25 Eli Zaretskii <eliz@gnu.org>
10544 * subr.el (unmsys--file-name): Rename from reveal-filename.
10546 * Makefile.in (custom-deps, finder-data, autoloads)
10547 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
10548 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
10549 ($(CAL_DIR)/hol-loaddefs.el): All users changed.
10551 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10553 * emacs-lisp/lisp.el (lisp-completion-at-point): Don't use
10554 error-completion on the first 2 args of condition-case (bug#14446).
10557 2013-05-25 Leo Liu <sdl.web@gmail.com>
10559 * comint.el (comint-previous-matching-input): Do not flood the
10560 *Messages* buffer with trivial messages.
10562 2013-05-25 Stefan Monnier <monnier@iro.umontreal.ca>
10564 * progmodes/flymake.el (flymake-nop): Don't return a string.
10565 (flymake-set-at): Fix typo.
10567 * simple.el (read--expression): New function, extracted from
10568 eval-expression. Set completion-at-point-functions (bug#14465).
10569 (eval-expression, eval-minibuffer): Use it.
10571 2013-05-25 Xue Fuqiao <xfq.free@gmail.com>
10573 * progmodes/flymake.el (flymake-save-buffer-in-file)
10574 (flymake-makehash, flymake-posn-at-point-as-event, flymake-nop)
10575 (flymake-selected-frame, flymake-log, flymake-ins-after)
10576 (flymake-set-at, flymake-get-buildfile-from-cache)
10577 (flymake-add-buildfile-to-cache, flymake-clear-buildfile-cache)
10578 (flymake-find-possible-master-files, flymake-save-buffer-in-file):
10579 Refine the doc string.
10580 (flymake-get-file-name-mode-and-masks): Reformat.
10581 (flymake-get-real-file-name-function): Fix a minor bug.
10583 2013-05-24 Juri Linkov <juri@jurta.org>
10585 * progmodes/grep.el (grep-mode-font-lock-keywords):
10586 Support =linenumber= format used by git-grep for lines with
10587 function names. (Bug#13549)
10589 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10591 * progmodes/octave.el (octave-smie-rules): Return nil rather than
10592 0 after a semi-colon; it works better for smie-auto-fill.
10593 (octave--indent-new-comment-line): New function.
10594 (octave-indent-new-comment-line): Use it (indirectly).
10595 (octave-mode): Don't disable smie-auto-fill. Use add-function to
10596 modify comment-line-break-function.
10598 * emacs-lisp/smie.el (smie-auto-fill): Rework to be more robust.
10599 (smie-setup): Use add-function to set it.
10601 2013-05-24 Sam Steingold <sds@gnu.org>
10603 * sort.el (delete-duplicate-lines): Accept an optional `keep-blanks'
10604 argument (before the `interactive' argument).
10606 2013-05-24 Stefan Monnier <monnier@iro.umontreal.ca>
10608 * image-mode.el (image-mode-winprops): Add winprops to
10609 image-mode-winprops-alist before running
10610 image-mode-new-window-functions.
10611 * doc-view.el (doc-view-new-window-function): Don't delay
10612 doc-view-goto-page via timers (bug#14435).
10614 2013-05-24 Tassilo Horn <tsdh@gnu.org>
10616 * doc-view.el: Integrate with desktop.el. (Bug#14435)
10617 (doc-view-desktop-save-buffer): New function.
10618 (doc-view-restore-desktop-buffer): New function.
10619 (desktop-buffer-mode-handlers):
10620 Add `doc-view-restore-desktop-buffer' as desktop.el buffer mode
10622 (doc-view-mode): Set `doc-view-desktop-save-buffer' as custom
10623 `desktop-save-buffer' function.
10625 2013-05-24 Michael Albinus <michael.albinus@gmx.de>
10627 * net/tramp-gvfs.el (tramp-gvfs-enabled): New defconst.
10628 (tramp-gvfs-file-name-handler): Raise a user error when
10629 `tramp-gvfs-enabled' is nil.
10630 (top): Register signals only when `tramp-gvfs-enabled' is non-nil.
10631 Do not raise a user error when loading package. (Bug#14447)
10633 * net/xesam.el: Move to obsolete/.
10635 2013-05-24 Glenn Morris <rgm@gnu.org>
10637 * font-lock.el (lisp-font-lock-keywords-2): Add with-coding-priority.
10639 * emacs-lisp/chart.el (chart-sort): Replace obsolete `object-name'.
10641 * progmodes/cperl-mode.el (cperl-mode): Use fboundp.
10642 (Info-find-node, Man-getpage-in-background): Declare.
10644 * mail/unrmail.el (unrmail):
10645 Replace obsolete detect-coding-with-priority.
10647 * net/socks.el (socks-split-string): Use this rather than split-string.
10648 (socks-nslookup-host): Update for above change.
10649 (dynamic-choice, s5-dynamic-choice-match)
10650 (s5-dynamic-choice-match-inline, s5-widget-value-create):
10651 Comment out unused code.
10653 * tooltip.el (tooltip-use-echo-area): Warn only on 'set.
10654 * progmodes/gud.el (gud-gdb-completion-function): Move before use.
10655 (gud-tooltip-echo-area): Make obsolete.
10656 (gud-tooltip-process-output, gud-tooltip-tips): Also check tooltip-mode.
10658 * progmodes/js.el (js--optimize-arglist): Declare.
10660 * progmodes/ruby-mode.el (ruby-syntax-propertize-expansion): Declare.
10662 * progmodes/which-func.el (ediff-window-A, ediff-window-B)
10663 (ediff-window-C): Declare.
10665 * obsolete/pgg-gpg.el, obsolete/pgg-pgp.el, obsolete/pgg-pgp5.el:
10666 Tweak requires to silence compiler.
10668 * obsolete/sym-comp.el: No need to load hipper-exp when compiling.
10669 (he-search-string, he-tried-table, he-expand-list)
10670 (he-init-string, he-string-member, he-substitute-string)
10671 (he-reset-string): Declare.
10673 * obsolete/options.el (list-options): Use custom-variable-p,
10674 rather than obsolete alias.
10676 2013-05-23 Sam Steingold <sds@gnu.org>
10678 * simple.el (shell-command-on-region): Pass the `replace' argument
10679 down to `call-process-region' to comply with the doc as reported on
10680 <http://stackoverflow.com/questions/16720458/emacs-noninteractive-call-to-shell-command-on-region-always-deletes-region>
10682 2013-05-23 Stefan Monnier <monnier@iro.umontreal.ca>
10684 * emacs-lisp/smie.el (smie-indent-forward-token)
10685 (smie-indent-backward-token): Handle string tokens (bug#14381).
10687 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10689 * ielm.el (ielm-menu): New menu.
10690 (inferior-emacs-lisp-mode): Set comment-start.
10692 2013-05-23 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
10694 * textmodes/reftex.el (reftex-ref-style-toggle):
10695 Fix deactivate action.
10697 * textmodes/reftex-vars.el (reftex-ref-style-alist):
10698 Add cleveref macros.
10700 * textmodes/reftex-parse.el
10701 (reftex-locate-bibliography-files): Accept options for
10702 bibliography commands.
10703 * textmodes/reftex-vars.el (reftex-bibliography-commands):
10704 Add addbibresource. Basic Biblatex support.
10706 2013-05-23 Michael Albinus <michael.albinus@gmx.de>
10708 * net/tramp-gvfs.el (top):
10709 * net/xesam.el (xesam-dbus-unique-names): Suppress D-Bus errors
10710 when loading package. (Bug#14447)
10712 2013-05-23 Glenn Morris <rgm@gnu.org>
10714 * progmodes/js.el: No need to load comint when compiling.
10715 (ring-insert, comint-send-string, comint-send-input)
10716 (comint-last-input-end, ido-chop): Declare.
10718 * vc/ediff-diff.el, vc/ediff-merg.el: Require ediff-util at run-time.
10719 * vc/ediff-mult.el: Adjust requires.
10720 (ediff-directories-internal, ediff-directory-revisions-internal)
10721 (ediff-patch-file-internal): Declare.
10722 * vc/ediff-ptch.el: Adjust requires.
10723 (ediff-use-last-dir, ediff-buffers-internal): Declare.
10724 (ediff-find-file): Autoload.
10725 * vc/ediff-util.el: No need to load ediff when compiling.
10726 (ediff-regions-internal): Declare.
10727 * vc/ediff-wind.el: Adjust requires.
10728 (ediff-compute-toolbar-width): Define when compiling.
10729 (ediff-setup-control-buffer, ediff-make-bottom-toolbar): Declare.
10730 * vc/ediff.el: No need to load dired, ediff-ptch when compiling.
10731 (dired-get-filename, dired-get-marked-files)
10732 (ediff-last-dir-patch, ediff-patch-default-directory)
10733 (ediff-get-patch-buffer, ediff-dispatch-file-patching-job)
10734 (ediff-patch-buffer-internal): Declare.
10736 * emacs-lisp/checkdoc.el: No need to load ispell when compiling.
10737 (ispell-process, ispell-buffer-local-words, lm-summary)
10738 (lm-section-start, lm-section-end): Declare.
10739 (checkdoc-ispell-init): Simplify.
10741 * progmodes/vera-mode.el (he-init-string, he-dabbrev-beg)
10742 (he-string-member, he-reset-string, he-substitute-string): Declare.
10744 * eshell/em-ls.el: Adjust requires.
10745 (eshell-glob-regexp): Declare.
10746 * eshell/em-tramp.el: Adjust requires.
10747 (eshell-parse-command): Autoload.
10748 * eshell/em-xtra.el: Adjust requires.
10749 (eshell-parse-command): Autoload.
10750 * eshell/esh-ext.el: Adjust requires.
10751 (eshell-parse-command, eshell-close-handles): Autoload.
10752 * eshell/esh-io.el: Adjust requires.
10753 (eshell-output-filter): Autoload.
10754 * eshell/esh-util.el: No need to load tramp when compiling.
10755 (tramp-file-name-structure, ange-ftp-ls, ange-ftp-file-modtime):
10757 (eshell-parse-ange-ls): Require ange-ftp and tramp.
10758 * eshell/em-alias.el, eshell/em-banner.el, eshell/em-basic.el:
10759 * eshell/em-cmpl.el, eshell/em-glob.el, eshell/em-pred.el:
10760 * eshell/em-prompt.el, eshell/em-rebind.el, eshell/em-smart.el:
10761 * eshell/em-term.el, eshell/esh-arg.el, eshell/esh-mode.el:
10762 * eshell/esh-opt.el, eshell/esh-proc.el:
10763 * eshell/esh-var.el: Adjust requires.
10764 * eshell/eshell.el: Do not require esh-util twice.
10765 (eshell-add-input-to-history): Declare.
10766 (eshell-command): Check history module is active before using it.
10768 * eshell/em-ls.el (eshell-ls-dir): Fix -A handling.
10770 2013-05-22 Leo Liu <sdl.web@gmail.com>
10772 * progmodes/octave.el (inferior-octave-startup): Fix bug#14433.
10774 2013-05-22 Michael Albinus <michael.albinus@gmx.de>
10776 * autorevert.el (auto-revert-notify-add-watch)
10777 (auto-revert-notify-handler): Add `attrib' for the inotify case,
10778 it indicates changes in file modification time.
10780 2013-05-22 Glenn Morris <rgm@gnu.org>
10782 * emacs-lisp/bytecomp.el (byte-compile-file-form-autoload):
10783 Always delete the autoloaded function from the noruntime and
10784 unresolved functions lists.
10786 * allout.el: No need to load epa, epg, overlay when compiling.
10787 (epg-context-set-passphrase-callback, epg-list-keys)
10788 (epg-decrypt-string, epg-encrypt-string, epg-user-id-string)
10789 (epg-key-user-id-list): Declare.
10791 * emulation/viper-cmd.el (viper-set-searchstyle-toggling-macros)
10792 (viper-set-parsing-style-toggling-macro)
10793 (viper-set-emacs-state-searchstyle-macros):
10794 Use called-interactively-p on Emacs.
10795 (viper-looking-back): Make it an obsolete alias. Update callers.
10796 * emulation/viper-ex.el: Load viper-keym, not viper-cmd.
10797 Use looking-back rather than viper-looking-back.
10798 (viper-tmp-insert-at-eob, viper-enlarge-region)
10799 (viper-read-string-with-history, viper-register-to-point)
10800 (viper-append-to-register, viper-change-state-to-vi)
10801 (viper-backward-char-carefully, viper-forward-char-carefully)
10802 (viper-Put-back, viper-put-back, viper-add-newline-at-eob-if-necessary)
10803 (viper-change-state-to-emacs): Declare.
10804 * emulation/viper-macs.el: Load viper-mous, viper-ex, not viper-cmd.
10805 (viper-change-state-to-insert, viper-change-state-to-vi): Declare.
10806 * emulation/viper-mous.el: Do not load viper-cmd.
10807 (viper-backward-char-carefully, viper-forward-char-carefully)
10808 (viper-forward-word, viper-adjust-window): Declare.
10810 * vc/ediff.el (ediff-version): Use called-interactively-p on Emacs.
10812 * progmodes/idlw-help.el (idlwave-help-fontify):
10813 Use called-interactively-p.
10815 * term/w32console.el (w32-get-console-codepage)
10816 (w32-get-console-output-codepage): Declare.
10818 * dframe.el (x-sensitive-text-pointer-shape, x-pointer-shape):
10819 Remove unnecessary declarations.
10820 (dframe-message): Doc fix.
10822 * info.el (dframe-select-attached-frame, dframe-current-frame):
10825 * speedbar.el (speedbar-message): Make it an obsolete alias.
10826 Update all callers.
10827 (speedbar-with-attached-buffer)
10828 (speedbar-maybee-jump-to-attached-frame): Make these aliases obsolete.
10829 (speedbar-with-writable): Use backquote.
10830 * emacs-lisp/eieio-opt.el (eieio-describe-class-sb):
10831 * emacs-lisp/eieio-speedbar.el (eieio-speedbar-handle-click):
10832 Use dframe-with-attached-buffer, dframe-maybee-jump-to-attached-frame
10833 rather than speedbar- aliases.
10834 * mail/rmail.el: Load dframe rather than speedbar when compiling.
10835 (speedbar-make-specialized-keymap, speedbar-insert-button)
10836 (dframe-select-attached-frame, dframe-maybee-jump-to-attached-frame)
10837 (speedbar-do-function-pointer): Declare.
10838 (rmail-speedbar-button, rmail-speedbar-find-file)
10839 (rmail-speedbar-move-message):
10840 Use dframe-with-attached-buffer rather than speedbar- alias.
10841 * progmodes/gud.el: Load dframe rather than speedbar when compiling.
10842 (dframe-message, speedbar-make-specialized-keymap)
10843 (speedbar-add-expansion-list, speedbar-mode-functions-list)
10844 (speedbar-make-tag-line, speedbar-remove-localized-speedbar-support)
10845 (speedbar-insert-button, dframe-select-attached-frame)
10846 (dframe-maybee-jump-to-attached-frame)
10847 (speedbar-change-initial-expansion-list)
10848 (speedbar-previously-used-expansion-list-name): Declare.
10849 (gud-speedbar-item-info, gud-gdb-goto-stackframe):
10850 Use dframe-message, dframe-with-attached-buffer rather than
10852 (gud-sentinel): Silence compiler.
10853 * progmodes/vhdl-mode.el (speedbar-refresh)
10854 (speedbar-do-function-pointer, speedbar-add-supported-extension)
10855 (speedbar-add-mode-functions-list, speedbar-make-specialized-keymap)
10856 (speedbar-change-initial-expansion-list, speedbar-add-expansion-list)
10857 (speedbar-extension-list-to-regex, speedbar-directory-buttons)
10858 (speedbar-file-lists, speedbar-make-tag-line)
10859 (speedbar-line-directory, speedbar-goto-this-file)
10860 (speedbar-center-buffer-smartly, speedbar-change-expand-button-char)
10861 (speedbar-delete-subblock, speedbar-position-cursor-on-line)
10862 (speedbar-make-button, speedbar-reset-scanners)
10863 (speedbar-files-item-info, speedbar-line-text)
10864 (speedbar-find-file-in-frame, speedbar-set-timer)
10865 (dframe-maybee-jump-to-attached-frame, speedbar-line-file): Declare.
10866 (speedbar-with-writable): Do not (re)define it.
10867 (vhdl-speedbar-find-file): Use dframe-maybee-jump-to-attached-frame
10868 rather than speedbar- alias.
10870 2013-05-21 Leo Liu <sdl.web@gmail.com>
10872 * progmodes/octave.el (octave-mode-menu): Update and re-organize
10874 (octave-mode): Tweak fill-nobreak-predicate.
10875 (inferior-octave-startup): Check process to avoid infinite loop.
10876 (inferior-octave): Pop to buffer first to show abornmal process
10879 2013-05-21 Glenn Morris <rgm@gnu.org>
10881 * printing.el (pr-menu-bar): Define when compiling.
10883 2013-05-21 Leo Liu <sdl.web@gmail.com>
10885 * progmodes/octave.el (octave-auto-fill): Remove.
10886 (octave-indent-new-comment-line): Improve.
10887 (octave-mode): Use auto fill mode through
10888 comment-line-break-function and fill-nobreak-predicate.
10889 (octave-goto-function-definition): Support DEFUN_DLD.
10890 (octave-beginning-of-defun): Small tweak.
10891 (octave-help): Show parent directory.
10893 2013-05-21 Glenn Morris <rgm@gnu.org>
10895 * files.el (dired-unmark):
10896 * progmodes/gud.el (gdb-input): Update declarations.
10898 * calculator.el (electric, ehelp): No need to load when compiling.
10899 (Electric-command-loop, electric-describe-mode): Declare.
10901 * doc-view.el (doc-view-current-converter-processes): Move before use.
10903 * emacs-lisp/easy-mmode.el (define-globalized-minor-mode):
10904 Move MODE-set-explicitly definition before use.
10906 * international/mule-diag.el (mule-diag):
10907 Don't use obsolete window-system-version.
10909 * mail/feedmail.el (smtpmail): No need to load when compiling.
10910 (smtpmail-via-smtp, smtpmail-smtp-server): Declare.
10912 * mail/mail-utils.el (rfc822): No need to load when compiling.
10913 (rfc822-addresses): Autoload it.
10914 (mail-strip-quoted-names): Trivial simplification.
10916 * mail/rmail.el (rmail-mime-message-p, rmail-mime-toggle-raw): Declare.
10917 (rmail-retry-failure): Don't assume that rmail-mime-feature == rmailmm.
10919 * net/snmp-mode.el (tempo): Don't duplicate requires.
10921 * progmodes/prolog.el (info): No need to load when compiling.
10922 (comint): Require before shell requires it.
10923 (Info-goto-node): Autoload it.
10924 (Info-follow-nearest-node): Declare.
10925 (prolog-help-info, prolog-goto-predicate-info): No need to require info.
10927 * textmodes/artist.el (picture-mode-exit): Declare.
10929 * textmodes/reftex-parse.el (reftex-parse-from-file):
10930 Trivial rewrite so the compiler can parse it better.
10932 2013-05-20 Leo Liu <sdl.web@gmail.com>
10934 * progmodes/octave.el (octave-help-mode-map)
10935 (octave-help-mode-finish-hook): New variables.
10936 (octave-help-mode, octave-help-mode-finish): New functions.
10937 (octave-help): Use octave-help-mode.
10939 2013-05-20 Glenn Morris <rgm@gnu.org>
10941 * format-spec.el (format-spec): Allow spec chars with nil. (Bug#14420)
10943 2013-05-19 Dmitry Gutov <dgutov@yandex.ru>
10945 * progmodes/ruby-mode.el (ruby-expression-expansion-re): Allow to
10946 start at point, so that expansion starting right after opening
10947 slash in a regexp is recognized.
10948 (ruby-syntax-before-regexp-re): New defvar, extracted from
10949 ruby-syntax-propertize-function. Since the value of this regexp
10950 is looked up at runtime now, we should be able to turn
10951 `ruby-syntax-methods-before-regexp' into a defcustom later.
10952 (ruby-syntax-propertize-function): Split regexp matching into two
10953 parts, for opening and closing slashes. That allows us to skip
10954 over string interpolations and support multiline regexps.
10955 Don't call `ruby-syntax-propertize-expansions', instead use another rule
10956 for them, which calls `ruby-syntax-propertize-expansion'.
10957 (ruby-syntax-propertize-expansions): Move `remove-text-properties'
10958 call to `ruby-syntax-propertize-function'.
10959 (ruby-syntax-propertize-expansion): Extracted from
10960 `ruby-syntax-propertize-expansions'. Handles one expansion.
10961 (ruby-syntax-propertize-percent-literal): Leave point right after
10962 the percent symbol, so that the expression expansion rule can
10963 propertize the contents.
10964 (ruby-syntax-propertize-heredoc): Leave point at bol following the
10966 (ruby-syntax-propertize-expansions): Remove.
10968 2013-05-18 Juri Linkov <juri@jurta.org>
10970 * man.el (Man-default-man-entry): Remove `-' from the end
10971 of the default value. (Bug#14400)
10973 2013-05-18 Glenn Morris <rgm@gnu.org>
10975 * comint.el (comint-password-prompt-regexp):
10976 Allow "password for XXX" where XXX contains colons (eg https://...).
10978 2013-05-18 Leo Liu <sdl.web@gmail.com>
10980 * progmodes/octave.el (inferior-octave-startup): Use OCTAVE_SRCDIR
10981 instead. Include "--no-gui" to prevent hangs for Octave > 3.7.
10982 (octave-source-directories): Don't check process.
10983 (octave-source-directories, octave-find-definition): Doc fix.
10985 2013-05-18 Glenn Morris <rgm@gnu.org>
10987 * progmodes/vhdl-mode.el (vhdl-mode-map-init):
10988 Remove backspace/delete bindings. (Bug#14392)
10990 * cus-dep.el (custom-make-dependencies): Sort the output.
10991 (custom-versions-load-alist): Convert comment to doc.
10993 2013-05-17 Leo Liu <sdl.web@gmail.com>
10995 * newcomment.el (comment-search-backward): Stricter in finding
10996 comment start. (Bug#14303)
10998 * progmodes/octave.el (octave-comment-start): Remove the SPC char.
10999 (octave-comment-start-skip): Properly anchored.
11001 2013-05-17 Leo Liu <sdl.web@gmail.com>
11003 * emacs-lisp/smie.el (smie-highlight-matching-block-mode):
11004 Clean up when turned off. (Bug#14395)
11005 (smie--highlight-matching-block-overlay): No longer buffer-local.
11006 (smie-highlight-matching-block): Adjust.
11008 2013-05-17 Paul Eggert <eggert@cs.ucla.edu>
11010 Doc string fix for "nanoseconds" (Bug#14406).
11011 * emacs-lisp/timer.el (timer-relative-time, timer-inc-time):
11012 Fix doc string typo that had "nanoseconds" instead of "microseconds".
11014 2013-05-17 Jay Belanger <jay.p.belanger@gmail.com>
11016 * calc/calc-units.el (math-extract-units): Preserve powers
11019 2013-05-17 Leo Liu <sdl.web@gmail.com>
11021 * subr.el (delete-consecutive-dups): New function.
11022 * ido.el (ido-set-matches-1): Use it.
11023 * progmodes/octave.el (inferior-octave-completion-table): Use it.
11024 * ido.el (ido-remove-consecutive-dups): Remove.
11026 2013-05-17 Stefan Monnier <monnier@iro.umontreal.ca>
11028 * progmodes/f90.el (f90-keywords-re, f90-keywords-level-3-re)
11029 (f90-hpf-keywords-re, f90-constants-re): Use \\_< rather than
11030 regexp-opt's `words'.
11032 2013-05-16 Leo Liu <sdl.web@gmail.com>
11034 * emacs-lisp/smie.el (smie-matching-block-highlight): New face.
11035 (smie--highlight-matching-block-overlay)
11036 (smie--highlight-matching-block-lastpos)
11037 (smie--highlight-matching-block-timer): New variables.
11038 (smie-highlight-matching-block): New function.
11039 (smie-highlight-matching-block-mode): New minor mode. (Bug#14395)
11040 (smie-setup): Conditionally enable smie-blink-matching-open.
11042 2013-05-16 Wilson Snyder <wsnyder@wsnyder.org>
11044 Sync with upstream verilog-mode r840.
11045 * progmodes/verilog-mode.el (verilog-mode-version)
11046 (verilog-mode-release-date): Update.
11047 (verilog-auto-lineup, verilog-auto-reset): Doc fixes.
11048 (verilog-sig-tieoff): Fix string error on
11049 AUTORESET with colon define, bug594. Reported by Andrew Hou.
11050 (verilog-read-decls): Fix parameters confusing
11051 AUTOINST interfaces, bug565. Reported by Leith Johnson.
11053 2013-05-16 Eli Zaretskii <eliz@gnu.org>
11055 * subr.el (reveal-filename): New function.
11057 * loadup.el: Compute Emacs executable versions on MS-Windows,
11058 where executables have the .exe extension. Add a hard link
11059 emacs-XX.YY.ZZ.exe on MS-Windows.
11061 * Makefile.in (XARGS_LIMIT): New variable.
11062 (custom-deps, finder-data, autoloads)
11063 ($(MH_E_DIR)/mh-loaddefs.el, $(TRAMP_DIR)/tramp-loaddefs.el)
11064 ($(CAL_DIR)/cal-loaddefs.el, $(CAL_DIR)/diary-loaddefs.el)
11065 ($(CAL_DIR)/hol-loaddefs.el): Use reveal-filename.
11066 (compile-main): Limit xargs according to $(XARGS_LIMIT).
11068 2013-05-16 Leo Liu <sdl.web@gmail.com>
11070 * progmodes/octave.el (octave-indent-defun): Mark obsolete.
11071 (octave-mode-menu, octave-mode-map): Remove its uses.
11073 2013-05-16 Reto Zimmermann <reto@gnu.org>
11075 Sync with upstream vhdl mode v3.34.2.
11076 * progmodes/vhdl-mode.el: Use `push' throughout.
11077 (vhdl-version, vhdl-time-stamp, vhdl-doc-release-notes): Update.
11078 (vhdl-compiler-alist): Replace "\t\n" by "\\t\\n".
11079 Add IBM & Quartus compiler. Enhance entry for ADVance MS compiler.
11080 (vhdl-actual-generic-name): New option to derive actual generic name.
11081 (vhdl-port-paste-signals): Replace formal by actual generics.
11082 (vhdl-beautify): New name for old group vhdl-align. Update users.
11083 (vhdl-beautify-options): New option.
11084 (vhdl-last-input-event): New compat alias. Use throughout.
11085 (vhdl-goto-line): Replace user level function `goto-line'.
11086 (vhdl-mode-map): Add bindings for vhdl-fix-statement-region,
11087 vhdl-fix-statement-buffer.
11088 (vhdl-create-mode-menu): Add some entries.
11089 (vhdl-align-region-groups): Respect vhdl-beautify-options.
11090 (vhdl-align-inline-comment-region-1): Handle "--" inside string.
11091 (vhdl-fixup-whitespace-region): Handle symbols at EOL.
11092 (vhdl-fix-statement-region, vhdl-fix-statement-buffer): New commands,
11093 to force statements on one line.
11094 (vhdl-remove-trailing-spaces-region):
11095 New, split from vhdl-remove-trailing-spaces.
11096 (vhdl-beautify-region): Fix statements, trailing spaces, ^M character.
11097 Respect vhdl-beautify-options.
11098 (vhdl-update-sensitivity-list-buffer): If non-interactive save buffer.
11099 (vhdl-update-sensitivity-list): Not add with index if exists without.
11100 Not include array index with signal. Ignore keywords in comments.
11101 (vhdl-get-visible-signals): Regexp tweaks.
11102 (vhdl-template-component-inst): Handle empty library.
11103 (vhdl-template-type): Add template for 'enum' type.
11104 (vhdl-port-paste-generic-map, vhdl-port-paste-constants):
11105 Use vhdl-replace-string.
11106 (vhdl-port-paste-signals): Use vhdl-prepare-search-1.
11107 (vhdl-speedbar-mode-map): Rename from vhdl-speedbar-key-map.
11108 (vhdl-speedbar-initialize): Update for above name change.
11109 (vhdl-compose-wire-components): Fix in handling of constants.
11110 (vhdl-error-regexp-emacs-alist): New variable.
11111 (vhdl-error-regexp-add-emacs): New function;
11112 adds support for new compile.el (Emacs 22+)
11113 (vhdl-generate-makefile-1): Change target order for single lib. units.
11114 Allow use of absolute file names.
11116 2013-05-16 Leo Liu <sdl.web@gmail.com>
11118 * simple.el (prog-indent-sexp): Indent enclosing defun.
11120 2013-05-15 Glenn Morris <rgm@gnu.org>
11122 * cus-start.el (show-trailing-whitespace): Move to editing basics.
11123 * faces.el (trailing-whitespace): Don't use whitespace-faces group.
11124 * obsolete/old-whitespace.el (whitespace-faces): Remove group.
11125 (whitespace-highlight): Move to whitespace group.
11127 * comint.el (comint-source):
11128 * pcmpl-linux.el (pcmpl-linux):
11129 * shell.el (shell-faces):
11130 * eshell/esh-opt.el (eshell-opt):
11131 * international/ccl.el (ccl): Remove empty custom groups.
11133 * completion.el (dynamic-completion-mode):
11134 * jit-lock.el (jit-lock-debug-mode):
11135 * minibuffer.el (completion-in-region-mode):
11136 * type-break.el (type-break-mode-line-message-mode)
11137 (type-break-query-mode):
11138 * emulation/tpu-edt.el (tpu-edt-mode):
11139 * progmodes/subword.el (global-subword-mode, global-superword-mode):
11140 * progmodes/vhdl-mode.el (vhdl-electric-mode, vhdl-stutter-mode):
11141 * term/vt100.el (vt100-wide-mode): Specify explicit :group.
11143 * term/xterm.el (xterm): Change parent group to terminals.
11145 * master.el (master): Remove empty custom group.
11146 (master-mode): Remove unused :group argument.
11147 * textmodes/refill.el (refill): Remove empty custom group.
11148 (refill-mode): Remove unused :group argument.
11150 * textmodes/rst.el (rst-compile-toolsets): Use rst-compile group.
11152 * cus-dep.el: Provide a feature.
11153 (custom-make-dependencies): Ignore dotfiles (dir-locals).
11154 Don't mistakenly ignore files whose basenames match a basename
11155 from preloaded-file-list (eg cedet/ede/simple.el).
11156 Add a fallback method for getting :group.
11158 2013-05-15 Juri Linkov <juri@jurta.org>
11160 * isearch.el (isearch-char-by-name): Rename from
11161 `isearch-insert-char-by-name'. Doc fix.
11162 (isearch-forward): Mention `isearch-char-by-name' in
11163 the docstring. (Bug#13348)
11165 * isearch.el (minibuffer-local-isearch-map): Bind "\r" to
11166 `exit-minibuffer' instead of
11167 `isearch-nonincremental-exit-minibuffer'.
11168 (isearch-edit-string): Remove mention of
11169 `isearch-nonincremental-exit-minibuffer' from docstring.
11170 (isearch-nonincremental-exit-minibuffer): Mark as obsolete.
11171 (isearch-forward-exit-minibuffer)
11172 (isearch-reverse-exit-minibuffer): Add docstring. (Bug#13348)
11174 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11176 * loadup.el: Just use unversioned DOC.
11178 * nxml/nxml-mode.el: Treat unclosed <[[, <?, comment, and other
11179 literals as extending to EOB.
11180 (nxml-last-fontify-end): Remove unused variable.
11181 (nxml-after-change1): Use with-silent-modifications.
11182 (nxml-extend-after-change-region): Simplify.
11183 (nxml-extend-after-change-region1): Remove function.
11184 (nxml-after-change1): Don't adjust for dependent regions.
11185 (nxml-fontify-matcher): Simplify.
11186 * nxml/xmltok.el (xmltok-dependent-regions): Remove variable.
11187 (xmltok-add-dependent): Remove function.
11188 (xmltok-scan-after-lt, xmltok-scan-after-processing-instruction-open)
11189 (xmltok-scan-after-comment-open, xmltok-scan-prolog-literal)
11190 (xmltok-scan-prolog-after-processing-instruction-open): Treat
11191 unclosed <[[, <?, comment, and other literals as extending to EOB.
11192 * nxml/rng-valid.el (rng-mark-xmltok-dependent-regions)
11193 (rng-mark-xmltok-dependent-region, rng-dependent-region-changed):
11195 (rng-do-some-validation-1): Don't mark dependent regions.
11196 * nxml/nxml-rap.el (nxml-adjust-start-for-dependent-regions)
11197 (nxml-mark-parse-dependent-regions, nxml-mark-parse-dependent-region)
11198 (nxml-clear-dependent-regions): Remove functions.
11199 (nxml-scan-after-change, nxml-scan-prolog, nxml-tokenize-forward)
11200 (nxml-ensure-scan-up-to-date):
11201 Don't clear&mark dependent regions.
11203 2013-05-15 Leo Liu <sdl.web@gmail.com>
11205 * progmodes/octave.el (octave-goto-function-definition):
11206 Improve and fix callers.
11208 2013-05-15 Stefan Monnier <monnier@iro.umontreal.ca>
11210 * emacs-lisp/cl-extra.el (cl-getf): Return the proper value in
11211 the setter (bug#14387).
11213 * progmodes/f90.el (f90-blocks-re): Include the terminating \> in the
11214 surrounding group (bug#14402).
11216 2013-05-14 Juri Linkov <juri@jurta.org>
11218 * subr.el (find-tag-default-as-regexp): Return nil if `tag' is nil.
11221 2013-05-14 Glenn Morris <rgm@gnu.org>
11223 * progmodes/f90.el (f90-imenu-generic-expression):
11224 Fix typo in 2013-05-08 change. (Bug#14402)
11226 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11228 * progmodes/gdb-mi.el (gdb-running, gdb-starting):
11229 Remove signals for which replies are never received.
11231 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11233 * progmodes/gdb-mi.el: Fix non-responsive gud commands (bug#13845)
11234 (gdb-handler-alist, gdb-handler-number): Remove variables.
11235 (gdb-handler-list): New variable.
11236 (gdb-add-handler, gdb-delete-handler, gdb-get-handler-function)
11237 (gdb-pending-handler-p, gdb-handle-reply)
11238 (gdb-remove-all-pending-triggers): New functions.
11239 (gdb-discard-unordered-replies): New defcustom.
11240 (gdb-handler): New defstruct.
11241 (gdb-wait-for-pending): Fix invalid backquote. Use gdb-handler-list.
11242 instead of gdb-pending-triggers. Update docstring.
11243 (gdb-init-1): Remove dead variables. Initialize gdb-handler-list.
11244 (gdb-speedbar-update, gdb-speedbar-timer-fn, gdb-var-update)
11245 (gdb-var-update-handler, def-gdb-auto-update-trigger)
11246 (def-gdb-auto-update-handler, gdb-get-changed-registers)
11247 (gdb-changed-registers-handler, gdb-get-main-selected-frame)
11248 (gdb-frame-handler): Pending triggers are now automatically managed.
11249 (def-gdb-trigger-and-handler, def-gdb-auto-update-handler):
11251 (gdb-input): Automatically handles pending triggers. Update docstring.
11252 (gdb-resync): Replace gdb-pending-triggers by gdb-handler-list.
11253 (gdb-thread-exited, gdb-thread-selected, gdb-register-names-handler):
11255 (gdb-done-or-error): Now use gdb-handle-reply.
11257 2013-05-14 Jean-Philippe Gravel <jpgravel@gmail.com>
11259 * progmodes/gdb-mi.el (gdb-input): Include token numbers in
11262 2013-05-14 Glenn Morris <rgm@gnu.org>
11264 * subr.el (user-emacs-directory-warning): New option.
11265 (locate-user-emacs-file): Handle non-accessible .emacs.d. (Bug#13930)
11267 2013-05-14 Leo Liu <sdl.web@gmail.com>
11269 * progmodes/octave.el (octave-font-lock-keywords): Fix error
11271 (octave-goto-function-definition, octave-find-definition): Minor tweaks.
11272 (octave-font-lock-texinfo-comment): Fix invalid search bound
11273 error: wrong side of point.
11275 2013-05-14 Glenn Morris <rgm@gnu.org>
11277 * progmodes/flymake.el (flymake-xml-program): New option.
11278 (flymake-xml-init): Use it.
11280 * term/xterm.el: Provide a feature.
11282 * term/sup-mouse.el: Move to obsolete/. Provide a feature.
11284 2013-05-13 Glenn Morris <rgm@gnu.org>
11286 * cus-dep.el (defcustom-mh, defgroup-mh, defface-mh):
11287 Add compat aliases as a hack workaround. (Bug#14384)
11289 2013-05-13 Leo Liu <sdl.web@gmail.com>
11291 * progmodes/octave.el (octave-indent-comment): Fix indentation for
11293 (octave-mode-map): Bind octave-indent-defun to C-c C-q instead of
11295 (octave-comment-start-skip): Include %!.
11296 (octave-mode): Set comment-start-skip to octave-comment-start-skip.
11298 2013-05-12 Leo Liu <sdl.web@gmail.com>
11300 * progmodes/octave.el (inferior-octave-startup): Store the value
11301 of __octave_srcdir__ for octave-source-directories.
11302 (inferior-octave-check-process): New function refactored out of
11303 inferior-octave-send-list-and-digest.
11304 (octave-source-directories)
11305 (octave-find-definition-filename-function): New variables.
11306 (octave-source-directories)
11307 (octave-find-definition-default-filename): New functions.
11308 (octave-find-definition): Improve to find functions implemented in C++.
11310 2013-05-12 Glenn Morris <rgm@gnu.org>
11312 * calendar/diary-lib.el (diary-outlook-format-1):
11313 Don't include dayname in the output. (Bug#14349)
11315 2013-05-11 Glenn Morris <rgm@gnu.org>
11317 * emacs-lisp/autoload.el (generated-autoload-load-name): Doc fix.
11319 * cus-dep.el (custom-make-dependencies): Only use safe local variables.
11320 Treat cc-provide like provide.
11322 2013-05-11 Kevin Ryde <user42@zip.com.au>
11324 * cus-dep.el (custom-make-dependencies):
11325 Use generated-autoload-load-name for the sake of files such
11326 such cedet/semantic/bovine/c.el, where the base file name
11327 is not in load-path. (Bug#5277)
11329 2013-05-11 Glenn Morris <rgm@gnu.org>
11331 * dos-vars.el, emacs-lisp/cl-indent.el, emulation/tpu-extras.el:
11334 2013-05-11 Leo Liu <sdl.web@gmail.com>
11336 * progmodes/octave.el (octave-indent-comment): Improve.
11337 (octave-eldoc-message-style, octave-eldoc-cache): New variables.
11338 (octave-eldoc-function-signatures, octave-eldoc-function):
11340 (octave-mode, inferior-octave-mode): Add eldoc support.
11342 2013-05-11 Richard Stallman <rms@gnu.org>
11344 * epa.el (epa-decrypt-file): Take output file name as argument
11345 and read it using `interactive'.
11347 2013-05-11 Leo Liu <sdl.web@gmail.com>
11349 * progmodes/octave.el (octave-beginning-of-line)
11350 (octave-end-of-line): Check before using up-list because it jumps
11351 out of more syntactic contructs since moving to smie.
11352 (octave-indent-comment): New function.
11353 (octave-mode): Use it in smie-indent-functions. (Bug#14350)
11354 (octave-begin-keywords, octave-end-keywords)
11355 (octave-reserved-words, octave-smie-bnf-table)
11356 (octave-smie-rules): Add new keywords from Octave 3.6.4.
11358 2013-05-11 Glenn Morris <rgm@gnu.org>
11360 * faces.el (internal-face-x-get-resource):
11361 * frame.el (ns-display-monitor-attributes-list):
11362 * calc/calc-aent.el (math-to-radians-2):
11363 * emacs-lisp/package.el (tar-header-name, tar-header-link-type):
11366 * calc/calc-menu.el: Make it loadable in isolation.
11368 * net/eudcb-bbdb.el: Make it loadable without bbdb.
11369 (eudc-bbdb-filter-non-matching-record, eudc-bbdb-extract-phones)
11370 (eudc-bbdb-extract-addresses, eudc-bbdb-format-record-as-result)
11371 (eudc-bbdb-query-internal): Require 'bbdb.
11373 * lpr.el (lpr-headers-switches):
11374 * emacs-lisp/testcover.el (testcover-compose-functions): Fix :type.
11376 * progmodes/sql.el (sql-login-params): Fix and improve :type.
11378 * emulation/edt-mapper.el: In batch mode, error rather than hang.
11380 * term.el (term-set-escape-char): Make it idempotent.
11382 2013-05-10 Leo Liu <sdl.web@gmail.com>
11384 * progmodes/octave.el (inferior-octave-completion-table):
11385 No longer a function and all uses changed. Use cache to speed up
11386 completion due to bug#11906.
11387 (octave-beginning-of-defun): Re-write to be more general.
11389 2013-05-10 Glenn Morris <rgm@gnu.org>
11391 * emacs-lisp/cl-macs.el (cl-loop): Doc fix.
11393 2013-05-09 Stefan Monnier <monnier@iro.umontreal.ca>
11395 * comint.el (comint-redirect-send-command-to-process): Use :around
11396 rather than :override for comint-redirect-filter.
11397 (comint-redirect-filter): Add the corresponding `orig-filter' argument.
11398 Call it instead of comint-redirect-original-filter-function (which
11399 is gone). Reported by Juanma Barranquero <lekktu@gmail.com>.
11401 2013-05-09 Jan Djärv <jan.h.d@swipnet.se>
11403 * frame.el (display-monitor-attributes-list): Add NS case.
11404 (ns-display-monitor-attributes-list): Declare.
11406 2013-05-09 Ulrich Mueller <ulm@gentoo.org>
11408 * descr-text.el (describe-char): Fix %d/%x typo. (Bug#14360)
11410 2013-05-09 Glenn Morris <rgm@gnu.org>
11412 * international/fontset.el (vertical-centering-font-regexp):
11413 Set standard-value.
11415 * tar-mode.el (tar-superior-buffer, tar-superior-descriptor): Add doc.
11417 * bookmark.el (bookmark-search-delay):
11418 * cus-start.el (vertical-centering-font-regexp):
11419 * ps-mule.el (ps-mule-font-info-database-default):
11420 * ps-print.el (ps-default-fg, ps-default-bg):
11421 * type-break.el (type-break-good-break-interval):
11422 * whitespace.el (whitespace-indentation-regexp)
11423 (whitespace-space-after-tab-regexp):
11424 * emacs-lisp/testcover.el (testcover-1value-functions)
11425 (testcover-noreturn-functions, testcover-progn-functions)
11426 (testcover-prog1-functions):
11427 * emulation/viper-init.el (viper-emacs-state-cursor-color):
11428 * eshell/em-glob.el (eshell-glob-translate-alist):
11429 * play/tetris.el (tetris-tty-colors):
11430 * progmodes/cpp.el (cpp-face-default-list):
11431 * progmodes/flymake.el (flymake-allowed-file-name-masks):
11432 * progmodes/idlw-help.el (idlwave-help-browser-generic-program)
11433 (idlwave-help-browser-generic-args):
11434 * progmodes/make-mode.el (makefile-special-targets-list):
11435 * progmodes/python.el (python-shell-virtualenv-path):
11436 * progmodes/verilog-mode.el (verilog-active-low-regexp)
11437 (verilog-auto-input-ignore-regexp, verilog-auto-inout-ignore-regexp)
11438 (verilog-auto-output-ignore-regexp, verilog-auto-tieoff-ignore-regexp)
11439 (verilog-auto-unused-ignore-regexp, verilog-typedef-regexp):
11440 * textmodes/reftex-vars.el (reftex-format-label-function):
11441 * textmodes/remember.el (remember-diary-file): Fix custom types.
11443 * jka-cmpr-hook.el (jka-compr-mode-alist-additions): Fix typo.
11446 2013-05-09 Leo Liu <sdl.web@gmail.com>
11448 * progmodes/octave.el (inferior-octave-completion-at-point):
11449 Restore file completion. (Bug#14300)
11450 (inferior-octave-startup): Fix incorrect highlighting for the
11453 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11455 * progmodes/ruby-mode.el: First cut at SMIE support.
11456 (ruby-use-smie): New var.
11457 (ruby-smie-grammar): New constant.
11458 (ruby-smie--bosp, ruby-smie--implicit-semi-p)
11459 (ruby-smie--forward-token, ruby-smie--backward-token)
11460 (ruby-smie-rules): New functions.
11461 (ruby-mode-variables): Setup SMIE if applicable.
11463 2013-05-08 Eli Zaretskii <eliz@gnu.org>
11465 * simple.el (line-move-visual): Signal beginning/end of buffer
11466 only if vertical-motion moved less than it was requested. Avoids
11467 silly incorrect error messages when there are display strings with
11468 multiple newlines at EOL.
11470 2013-05-08 Stefan Monnier <monnier@iro.umontreal.ca>
11472 * progmodes/vera-mode.el (vera-underscore-is-part-of-word):
11473 * progmodes/prolog.el (prolog-underscore-wordchar-flag)
11474 (prolog-char-quote-workaround):
11475 * progmodes/cperl-mode.el (cperl-under-as-char):
11476 * progmodes/vhdl-mode.el (vhdl-underscore-is-part-of-word):
11478 (vhdl-mode-syntax-table, vhdl-mode-ext-syntax-table): Initialize in
11480 (vhdl-mode-syntax-table-init): Remove.
11482 * progmodes/m4-mode.el (m4-mode-syntax-table): Add comment on
11485 * progmodes/ld-script.el (ld-script-mode-syntax-table): Use symbol
11487 (ld-script-font-lock-keywords):
11488 Change regexps to use things like \_< and \_>.
11490 * progmodes/f90.el (f90-mode-syntax-table): Use symbol syntax for "_".
11491 Change all regexps to use things like \_< and \_>.
11493 * progmodes/autoconf.el (autoconf-definition-regexp)
11494 (autoconf-font-lock-keywords, autoconf-current-defun-function):
11495 Handle a _ with symbol syntax.
11496 (autoconf-mode): Don't change the syntax-table for imenu and font-lock.
11498 * progmodes/ada-mode.el (ada-mode-abbrev-table):
11499 Consolidate declaration.
11500 (ada-mode-syntax-table, ada-mode-symbol-syntax-table): Initialize in
11502 (ada-create-syntax-table): Remove.
11503 (ada-capitalize-word): Don't mess with the syntax of "_" since it
11504 already has the right syntax nowadays.
11505 (ada-goto-next-word): Don't change the syntax of "_".
11507 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight obsolete
11510 2013-05-08 Sam Steingold <sds@gnu.org>
11512 * thingatpt.el (thing-at-point): Accept optional second argument
11513 NO-PROPERTIES to strip the text properties from the return value.
11514 * net/browse-url.el (browse-url-url-at-point): Pass NO-PROPERTIES
11515 to `thing-at-point' instead of stripping the properties ourselves.
11516 Also, when `thing-at-point' fails to find a url, prepend "http://"
11517 to the filename at point on the assumption that the user is
11518 pointing at something like gnu.org/gnu.
11520 2013-05-08 Juanma Barranquero <lekktu@gmail.com>
11522 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
11523 * faces.el (crm-separator):
11524 Silence byte-compiler.
11526 * progmodes/gud.el (gdb-speedbar-auto-raise, gud-tooltip-mode)
11527 (tool-bar-map): Remove unneeded defvars.
11529 2013-05-08 Leo Liu <sdl.web@gmail.com>
11531 Re-work a fix for bug#10994 based on Le Wang's patch.
11532 * ido.el (ido-remove-consecutive-dups): New helper.
11533 (ido-completing-read): Use it.
11534 (ido-chop): Revert fix for bug#10994.
11536 2013-05-08 Adam Spiers <emacs@adamspiers.org>
11538 * cus-edit.el (custom-save-variables):
11539 Pretty-print long values. (Bug#14187)
11541 2013-05-08 Glenn Morris <rgm@gnu.org>
11543 * progmodes/m4-mode.el (m4-program): Assume it is in PATH.
11544 (m4-mode-syntax-table): Init in the defvar.
11545 (m4-mode-abbrev-table): Let define-derived-mode define it.
11547 2013-05-08 Tom Tromey <tromey@redhat.com>
11549 * progmodes/m4-mode.el (m4-mode-syntax-table):
11550 Do not treat "_" as word constituent. (Bug#14167)
11552 2013-05-07 Glenn Morris <rgm@gnu.org>
11554 * eshell/em-hist.el (eshell-isearch-map): Initialize in the defvar.
11555 Remove explicit eshell-isearch-cancel-map.
11557 * progmodes/f90.el (f90-smart-end-names): New option.
11558 (f90-smart-end): Doc fix.
11559 (f90-end-block-optional-name): New constant.
11560 (f90-block-match): Respect f90-smart-end-names.
11562 2013-05-07 Stefan Monnier <monnier@iro.umontreal.ca>
11564 * progmodes/octave.el (octave-smie-forward-token): Be more careful
11565 about implicit semi-colons (bug#14218).
11567 2013-05-07 YAMAMOTO Mitsuharu <mituharu@math.s.chiba-u.ac.jp>
11569 * frame.el (display-monitor-attributes-list)
11570 (frame-monitor-attributes): New functions.
11572 2013-05-06 Leo Liu <sdl.web@gmail.com>
11574 * progmodes/octave.el (octave-syntax-propertize-function): Change
11575 \'s syntax to escape when inside double-quoted strings. (Bug#14332)
11576 (octave-font-lock-keywords): Use octave-operator-regexp.
11577 (octave-completion-at-point): Rename from
11578 octave-completion-at-point-function.
11579 (inferior-octave-directory-tracker): Robustify.
11580 (octave-text-functions): Remove and fix its uses. No such things
11583 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11585 * emacs-lisp/trace.el (trace--display-buffer): New function.
11586 (trace-make-advice): Use it.
11588 2013-05-06 Juri Linkov <juri@jurta.org>
11590 * emacs-lisp/lisp-mode.el (eval-defun-2): Doc fix. (Bug#14344)
11591 (eval-defun-2, eval-defun, eval-last-sexp, eval-last-sexp-1):
11593 (emacs-lisp-mode-map): Replace "minibuffer" with "echo area"
11594 in the help string. (Bug#12985)
11596 2013-05-06 Kelly Dean <kellydeanch@yahoo.com> (tiny change)
11598 * simple.el (shell-command-on-region): Doc fix. (Bug#14279)
11600 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11602 * progmodes/perl-mode.el: Add support for here documents.
11603 (perl-syntax-propertize-function): Match here-doc markers.
11604 (perl-syntax-propertize-special-constructs): Find their end.
11605 (perl-imenu-generic-expression): Use [:alnum:].
11607 * emacs-lisp/nadvice.el (advice--member-p): Return the advice if found.
11608 (advice--add-function): Refresh the advice if already present
11611 2013-05-06 Ivan Andrus <darthandrus@gmail.com>
11613 * find-file.el (cc-other-file-alist): Add ".m" for ObjC. (Bug#14339)
11615 2013-05-06 Glenn Morris <rgm@gnu.org>
11617 * w32-fns.el (w32-charset-info-alist): Declare.
11619 * eshell/em-cmpl.el: Simply require pcomplete; eg we use a bunch
11620 of its defcustom properties.
11621 (eshell-cmpl-initialize): No need to load pcomplete.
11623 * generic-x.el: No need to require comint when compiling.
11625 * net/eudc-export.el: Make it loadable without bbdb.
11626 (top-level): Use require rather than load-library.
11627 (eudc-create-bbdb-record, eudc-bbdbify-phone)
11628 (eudc-batch-export-records-to-bbdb)
11629 (eudc-insert-record-at-point-into-bbdb, eudc-try-bbdb-insert):
11632 2013-05-06 Stefan Monnier <monnier@iro.umontreal.ca>
11634 * progmodes/octave.el (octave-texinfo-font-lock-keywords): Remove.
11635 (octave-font-lock-texinfo-comment): Use texinfo-font-lock-keywords with
11636 some tweaks, instead.
11638 2013-05-05 Leo Liu <sdl.web@gmail.com>
11640 * progmodes/octave.el (octave-font-lock-keywords)
11641 (octave-font-lock-texinfo-comment): Adjust for the byte-compiler.
11642 (inferior-octave-send-list-and-digest): Improve error message.
11643 (octave-mode, inferior-octave-mode): Use setq-local.
11644 (octave-help): Set info-lookup-mode.
11646 2013-05-05 Richard Stallman <rms@gnu.org>
11648 * vc/compare-w.el (compare-windows-whitespace):
11649 Treat no-break space as whitespace.
11651 * mail/rmailsum.el (rmail-summary-rmail-update):
11652 Detect empty summary and don't change selected message.
11653 (rmail-summary-goto-msg): Likewise.
11655 * mail/rmailsum.el (rmail-new-summary, rmail-new-summary-1):
11656 Doc fixes, rename args.
11658 2013-05-05 Alan Mackenzie <acm@muc.de>
11660 * progmodes/cc-defs.el (c-version): Increment to 5.32.5.
11662 2013-05-05 Juri Linkov <juri@jurta.org>
11664 * info.el (Info-read-subfile): Use (point-min) instead of (point)
11665 to not add the length of the summary segment to the return value.
11668 2013-05-05 Leo Liu <sdl.web@gmail.com>
11670 * progmodes/octave.el (inferior-octave-strip-ctrl-g)
11671 (inferior-octave-output-filter): Remove.
11672 (octave-send-region, inferior-octave-startup): Fix callers.
11673 (inferior-octave-mode-map): Don't use comint-dynamic-complete.
11674 (octave-binary-file-extensions): New user variable.
11675 (octave-find-definition): Confirm if opening binary files.
11676 (octave-help-file): Use octave-find-definition to get the binary
11678 (octave-help): Adjust for octave-help-file change.
11680 2013-05-05 Stefan Monnier <monnier@iro.umontreal.ca>
11682 * progmodes/pascal.el (pascal-font-lock-keywords): Use backquotes.
11683 Merge the two entries that handle function definitions.
11684 (pascal--syntax-propertize): New const.
11685 (pascal-mode): Use it. Use setq-local.
11687 2013-05-04 Glenn Morris <rgm@gnu.org>
11689 * calendar/diary-lib.el (diary-from-outlook-function): New variable.
11690 (diary-from-outlook): Respect diary-from-outlook-function.
11692 2013-05-04 Stefan Monnier <monnier@iro.umontreal.ca>
11694 * simple.el (read-expression-map): Use completion-at-point (bug#14255).
11695 Move the declaration from C.
11696 (read-minibuffer, eval-minibuffer): Move from C.
11697 (completion-setup-function): Avoid minibuffer-completion-contents.
11699 2013-05-03 Leo Liu <sdl.web@gmail.com>
11701 * progmodes/octave.el (octave-font-lock-keywords): Do not
11702 dehighlight 'end' in comments or strings.
11703 (octave-completing-read, octave-goto-function-definition):
11705 (octave-help-buffer): New user variable.
11706 (octave-help-file, octave-help-function): New button types.
11707 (octave-help): New command and bind it to C-h ;.
11708 (octave-find-definition): New command and bind it to M-.
11709 (user-error): Alias to error if not defined.
11711 2013-05-02 Leo Liu <sdl.web@gmail.com>
11713 * progmodes/octave.el (octave-mode-syntax-table): Correct syntax
11715 (octave-font-lock-keywords): Include [ and {.
11717 2013-05-02 Leo Liu <sdl.web@gmail.com>
11719 * progmodes/octave.el (inferior-octave-startup-file): Change default.
11720 (inferior-octave): Remove calling comint-mode and return the buffer.
11721 (inferior-octave-startup): Cosmetic changes.
11723 2013-05-02 Leo Liu <sdl.web@gmail.com>
11725 * progmodes/octave.el (octave-syntax-propertize-function):
11726 Include the case when ' is at line beginning. (Bug#14336)
11728 2013-05-02 Glenn Morris <rgm@gnu.org>
11730 * vc/vc-dir.el (vc-dir-mode): Don't autoload it for everyone.
11731 * desktop.el (vc-dir-mode): Just autoload it here.
11733 2013-05-02 Alan Mackenzie <acm@muc.de>
11735 Eliminate variable c-standard-font-lock-fontify-region-function.
11736 * progmodes/cc-mode.el
11737 (c-standard-font-lock-fontify-region-function): Remove.
11738 (c-font-lock-fontify-region, c-after-font-lock-init): Adapt.
11740 2013-05-01 Leo Liu <sdl.web@gmail.com>
11742 * progmodes/octave.el: Compatible with older emacs-24 releases.
11743 (inferior-octave-has-built-in-variables): Remove. Built-in
11744 variables were removed from Octave in 2007.
11745 (inferior-octave-startup): Fix uses.
11746 (comint-line-beginning-position): Remove compatibility code for
11749 2013-05-01 Juri Linkov <juri@jurta.org>
11751 * isearch.el (isearch-forward, isearch-mode): Doc fix. (Bug#13923)
11753 2013-05-01 Juri Linkov <juri@jurta.org>
11755 * comint.el (comint-previous-matching-input): Don't print message
11756 "History item: %d" when `isearch-mode' is active.
11757 (comint-history-isearch-message): Print message "History item: %d"
11758 when `comint-input-ring-index' is not empty and this function is
11759 called from `isearch-update' with a nil `ellipsis'. (Bug#13223)
11761 2013-05-01 Leo Liu <sdl.web@gmail.com>
11763 * progmodes/octave.el (octave-abbrev-table): Remove abbrev
11764 definitions. Use completion-at-point to insert keywords.
11765 (octave-abbrev-start): Remove.
11766 (inferior-octave-mode, octave-mode): Use :abbrev-table instead.
11768 2013-04-30 Leo Liu <sdl.web@gmail.com>
11770 * progmodes/octave.el (inferior-octave-prompt-read-only): Fix last
11773 2013-04-30 Alan Mackenzie <acm@muc.de>
11775 Handle arbitrarily long C++ member initialisation lists.
11776 * progmodes/cc-engine.el (c-back-over-member-initializers):
11778 (c-guess-basic-syntax): New CASE 5R (extracted from 5B) to handle
11779 (most) member init lists.
11781 2013-04-30 Rüdiger Sonderfeld <ruediger@c-plusplus.de>
11783 * progmodes/octave.el (inferior-octave-prompt-read-only): New user
11786 2013-04-30 Leo Liu <sdl.web@gmail.com>
11788 * progmodes/octave.el (octave-variables): Remove. No builtin
11789 variables any more. All converted to functions.
11790 (octave-font-lock-keywords, octave-completion-at-point-function):
11792 (octave-font-lock-texinfo-comment): New user variable.
11793 (octave-texinfo-font-lock-keywords): New variable for texinfo
11795 (octave-function-comment-block): New face.
11796 (octave-font-lock-texinfo-comment): New function.
11797 (octave-mode): Font lock texinfo comment block.
11799 2013-04-29 Leo Liu <sdl.web@gmail.com>
11801 * progmodes/octave.el (octave-font-lock-keywords): Handle 'end' in
11802 indexing expression.
11803 (octave-continuation-string): Do not use \.
11804 (inferior-octave-complete-impossible): Remove.
11805 (inferior-octave-completion-table)
11806 (inferior-octave-completion-at-point): Remove its uses.
11807 (inferior-octave-startup): completion_matches was introduced to
11808 Octave in 1996 so safe to assume it.
11809 (octave-function-file-comment): Improve to follow how Octave does it.
11810 (octave-update-function-file-comment): Tweak.
11812 2013-04-29 Leo Liu <sdl.web@gmail.com>
11814 * progmodes/octave.el (inferior-octave-startup-hook): Obsolete.
11815 (inferior-octave-startup): Remove inferior-octave-startup-hook.
11816 (octave-function-file-comment): Fix typo.
11817 (octave-sync-function-file-names): Use read-char-choice.
11819 2013-04-28 Jay Belanger <jay.p.belanger@gmail.com>
11821 * calc/calc.el (math-normalize): Don't set `math-normalize-error'
11822 to t for the less important warnings.
11824 2013-04-27 Darren Hoo <darren.hoo@gmail.com> (tiny change)
11826 * isearch.el (isearch-fail-pos): Check for empty `cmds'. (Bug#14268)
11828 2013-04-27 Glenn Morris <rgm@gnu.org>
11830 * vc/log-view.el (log-view-current-entry):
11831 Treat "---" separator lines as part of the following rev. (Bug#14169)
11833 2013-04-27 Juri Linkov <juri@jurta.org>
11835 * subr.el (read-number): Doc fix about using it by interactive
11836 code letter `n'. (Bug#14254)
11838 2013-04-27 Juri Linkov <juri@jurta.org>
11840 * desktop.el (desktop-auto-save-timeout): New option.
11841 (desktop-file-checksum): New variable.
11842 (desktop-save): Add optional arg `auto-save' and don't auto-save
11843 if nothing changed.
11844 (desktop-auto-save-timer): New variable.
11845 (desktop-auto-save, desktop-auto-save-set-timer): New functions.
11846 (after-init-hook): Call `desktop-auto-save-set-timer'.
11847 Suggested by Reuben Thomas <rrt@sc3d.org> in
11848 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00327.html>.
11850 2013-04-27 Leo Liu <sdl.web@gmail.com>
11852 * progmodes/octave.el (octave-function-file-p)
11853 (octave-skip-comment-forward, octave-function-file-comment)
11854 (octave-update-function-file-comment): New functions.
11855 (octave-mode-map): Bind C-c ; to
11856 octave-update-function-file-comment.
11857 (octave-mode-menu): Add octave-update-function-file-comment.
11858 (octave-mode, inferior-octave-mode): Fix doc-string.
11859 (octave-insert-defun): Conform to Octave's coding convention.
11862 * files.el (basic-save-buffer): Don't let errors in
11863 before-save-hook prevent saving buffer.
11865 2013-04-20 Roland Winkler <winkler@gnu.org>
11867 * faces.el (read-face-name): Use completing-read if arg multiple
11870 2013-04-27 Ingo Lohmar <i.lohmar@gmail.com> (tiny change)
11872 * ls-lisp.el (ls-lisp-insert-directory): If no files are
11873 displayed, move point to after the totals line.
11874 See http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00677.html
11877 2013-04-27 Stefan Monnier <monnier@iro.umontreal.ca>
11879 * emacs-lisp/package.el (package-autoload-ensure-default-file):
11880 Add current dir to the load-path.
11881 (package-generate-autoloads): Don't rely on
11882 autoload-ensure-default-file.
11884 2013-04-26 Reuben Thomas <rrt@sc3d.org>
11886 * textmodes/remember.el (remember-store-in-files): Document that
11887 the file name format is passed to `format-time-string'.
11889 2013-04-26 Leo Liu <sdl.web@gmail.com>
11891 * progmodes/octave.el (octave-sync-function-file-names): New function.
11892 (octave-mode): Use it in before-save-hook.
11894 2013-04-26 Stefan Monnier <monnier@iro.umontreal.ca>
11896 * emacs-lisp/tabulated-list.el (tabulated-list-mode): Disable undo
11899 * progmodes/octave.el (octave-smie-forward-token): Properly skip
11900 \n and comment, even if it's not an implicit ; (bug#14218).
11902 2013-04-26 Glenn Morris <rgm@gnu.org>
11904 * subr.el (read-number): Once more use `read' rather than
11905 `string-to-number', to trap non-numeric input. (Bug#14254)
11907 2013-04-26 Erik Charlebois <erikcharlebois@gmail.com>
11909 * emacs-lisp/syntax.el (syntax-propertize-multiline):
11910 Use `syntax-multiline' text property consistently instead of
11911 `font-lock-multiline'. (Bug#14237)
11913 2013-04-26 Glenn Morris <rgm@gnu.org>
11915 * emacs-lisp/shadow.el (list-load-path-shadows):
11916 No longer necessary to check for duplicate simple.el, since
11917 2012-07-07 change to init_lread to not include installation lisp
11918 directories in load-path when running uninstalled. (Bug#14270)
11920 2013-04-26 Leo Liu <sdl.web@gmail.com>
11922 * progmodes/octave.el (octave-submit-bug-report): Obsolete.
11923 (octave-mode, inferior-octave-mode): Use setq-local.
11924 (octave-not-in-string-or-comment-p): Rename to
11925 octave-in-string-or-comment-p.
11926 (octave-in-comment-p, octave-in-string-p)
11927 (octave-in-string-or-comment-p): Replace defsubst with defun.
11929 2013-04-25 Paul Eggert <eggert@cs.ucla.edu>
11931 * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~.
11933 2013-04-25 Bastien Guerry <bzg@gnu.org>
11935 * textmodes/remember.el (remember-data-directory)
11936 (remember-directory-file-name-format): Fix custom types.
11938 2013-04-25 Leo Liu <sdl.web@gmail.com>
11940 * progmodes/octave.el (octave-completion-at-point-function):
11941 Make use of inferior octave process.
11942 (octave-initialize-completions): Remove.
11943 (inferior-octave-completion-table): New function.
11944 (inferior-octave-completion-at-point): Use it.
11945 (octave-completion-alist): Remove.
11947 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11949 * progmodes/opascal.el: Use font-lock and syntax-propertize.
11950 (opascal-mode-syntax-table): New var.
11951 (opascal-literal-kind, opascal-is-literal-end)
11952 (opascal-literal-token-at): Rewrite.
11953 (opascal--literal-start-re, opascal-font-lock-keywords)
11954 (opascal--syntax-propertize): New constants.
11955 (opascal-font-lock-defaults): Adjust.
11956 (opascal-mode): Use them. Set comment-<foo> variables as well.
11957 (delphi-comment-face, opascal-comment-face, delphi-string-face)
11958 (opascal-string-face, delphi-keyword-face, opascal-keyword-face)
11959 (delphi-other-face, opascal-other-face): Remove face variables.
11960 (opascal-save-state): Remove macro.
11961 (opascal-fontifying-progress-step): Remove constant.
11962 (opascal--ignore-changes): Remove var.
11963 (opascal-set-token-property, opascal-parse-next-literal)
11964 (opascal-is-stable-literal, opascal-complete-literal)
11965 (opascal-is-literal-start, opascal-face-of)
11966 (opascal-parse-region, opascal-parse-region-until-stable)
11967 (opascal-fontify-region, opascal-after-change)
11968 (opascal-debug-show-is-stable, opascal-debug-unparse-buffer)
11969 (opascal-debug-parse-region, opascal-debug-parse-window)
11970 (opascal-debug-parse-buffer, opascal-debug-fontify-window)
11971 (opascal-debug-fontify-buffer): Remove.
11972 (opascal-debug-mode-map): Adjust accordingly.
11974 2013-04-25 Leo Liu <sdl.web@gmail.com>
11976 Merge octave-mod.el and octave-inf.el into octave.el with some
11978 * progmodes/octave.el: New file renamed from octave-mod.el.
11979 * progmodes/octave-inf.el: Merged into octave.el.
11980 * progmodes/octave-mod.el: Renamed to octave.el.
11982 2013-04-25 Tassilo Horn <tsdh@gnu.org>
11984 * textmodes/reftex-vars.el
11985 (reftex-label-ignored-macros-and-environments): New defcustom.
11987 * textmodes/reftex-parse.el (reftex-parse-from-file): Use it.
11989 2013-04-25 Stefan Monnier <monnier@iro.umontreal.ca>
11991 * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB.
11992 (smie-indent-keyword): Improve the check to ensure that the next
11993 comment is really on the same line.
11994 (smie-indent-comment): Don't align with a subsequent closer (or eob).
11996 * progmodes/octave-mod.el (octave-smie-forward-token): Only emit
11997 semi-colons if the line is not otherwise empty (bug#14218).
11999 2013-04-25 Glenn Morris <rgm@gnu.org>
12001 * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case.
12003 2013-04-24 Stefan Monnier <monnier@iro.umontreal.ca>
12005 * progmodes/opascal.el (opascal-set-token-property): Rename from
12006 opascal-set-text-properties and only set `token' (bug#14134).
12007 Suggested by Erik Knowles <eknowles@geosystemsoftware.com>.
12008 (opascal-literal-text-properties): Remove.
12009 (opascal-parse-next-literal, opascal-debug-unparse-buffer):
12012 2013-04-24 Reuben Thomas <rrt@sc3d.org>
12014 * textmodes/remember.el (remember-handler-functions): Add an
12015 option for a new handler `remember-store-in-files'.
12016 (remember-data-directory, remember-directory-file-name-format):
12018 (remember-store-in-files): New function to store remember notes
12019 as separate files within a directory.
12021 2013-04-24 Magnus Henoch <magnus.henoch@gmail.com>
12023 * progmodes/compile.el (compilation-next-error-function):
12024 Pass "formats" to compilation-find-file (bug#11777).
12026 2013-04-24 Glenn Morris <rgm@gnu.org>
12028 * vc/vc-bzr.el (vc-bzr-print-log):
12029 * vc/vc-hg.el (vc-hg-print-log):
12030 * vc/vc-svn.el (vc-svn-print-log):
12031 Fix START-REVISION with LIMIT != 1. (Bug#14168)
12033 * vc/vc-bzr.el (vc-bzr-print-log):
12034 * vc/vc-cvs.el (vc-cvs-print-log):
12035 * vc/vc-git.el (vc-git-print-log):
12036 * vc/vc-hg.el (vc-hg-print-log):
12037 * vc/vc-mtn.el (vc-mtn-print-log):
12038 * vc/vc-rcs.el (vc-rcs-print-log):
12039 * vc/vc-sccs.el (vc-sccs-print-log):
12040 * vc/vc-svn.el (vc-svn-print-log):
12041 * vc/vc.el (vc-print-log-internal): Doc fixes.
12043 2013-04-23 Glenn Morris <rgm@gnu.org>
12045 * startup.el (normal-no-mouse-startup-screen, normal-about-screen):
12046 Remove venerable code attempting to avoid substitute-command-keys.
12048 2013-04-23 Tassilo Horn <tsdh@gnu.org>
12050 * textmodes/reftex-vars.el (reftex-label-regexps):
12051 Call `reftex-compile-variables' after changes to this variable.
12053 2013-04-23 Stefan Monnier <monnier@iro.umontreal.ca>
12055 * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542).
12056 Use lexical-binding.
12057 (jit-lock-force-redisplay): Use markers, check buffer's continued
12058 existence and beware narrowed buffers.
12059 (jit-lock-fontify-now): Adjust call accordingly.
12061 2013-04-22 Stefan Monnier <monnier@iro.umontreal.ca>
12063 * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info
12064 to avoid misleading the user.
12066 2013-04-22 Leo Liu <sdl.web@gmail.com>
12068 * info-look.el: Prefer latex2e.info. (Bug#14240)
12070 2013-04-22 Michael Albinus <michael.albinus@gmx.de>
12072 Fix pack/unpack coding. Reported by David Smith <davidsmith@acm.org>.
12074 * net/tramp-compat.el (tramp-compat-call-process): Move function ...
12075 * net/tramp.el (tramp-call-process): ... here.
12076 (tramp-set-completion-function, tramp-parse-putty):
12077 * net/tramp-adb.el (tramp-adb-execute-adb-command):
12078 * net/tramp-gvfs.el (tramp-gvfs-send-command):
12079 * net/tramp-sh.el (tramp-sh-handle-set-file-times)
12080 (tramp-set-file-uid-gid, tramp-sh-handle-write-region)
12081 (tramp-call-local-coding-command): Use `tramp-call-process'
12082 instead of `tramp-compat-call-process'.
12084 * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst.
12085 (tramp-local-coding-commands, tramp-remote-coding-commands): Use them.
12086 (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region):
12087 (tramp-find-inline-compress): Improve traces.
12088 (tramp-maybe-send-script): Check for Perl binary.
12089 (tramp-get-inline-coding): Do not redirect STDOUT for local decoding.
12091 2013-04-22 Daiki Ueno <ueno@gnu.org>
12093 * epg.el (epg-context-pinentry-mode): New function.
12094 (epg-context-set-pinentry-mode): New function.
12095 (epg--start): Pass --pinentry-mode option to gpg command.
12097 2013-04-21 Xue Fuqiao <xfq.free@gmail.com>
12099 * comint.el (comint-dynamic-complete-functions, comint-mode-map):
12100 `comint-dynamic-complete' is obsolete since 24.1, replaced by
12101 `completion-at-point'. (Bug#13774)
12103 * startup.el (normal-no-mouse-startup-screen): Bug fix, the
12104 default key binding for `describe-distribution' has been moved to
12105 `C-h C-o'. (Bug#13970)
12107 2013-04-21 Glenn Morris <rgm@gnu.org>
12109 * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal):
12111 (vc-print-log): Clarify interactive prompt.
12113 2013-04-20 Glenn Morris <rgm@gnu.org>
12115 * emacs-lisp/bytecomp.el (byte-compile-insert-header):
12116 No longer include timestamp etc information.
12118 2013-04-20 Roland Winkler <winkler@gnu.org>
12120 * faces.el (read-face-name): Bug fix, return just one face if arg
12121 multiple is nil. (Bug#14209)
12123 2013-04-20 Stefan Monnier <monnier@iro.umontreal.ca>
12125 * emacs-lisp/nadvice.el (advice--where-alist): Add :override.
12126 (remove-function): Autoload.
12128 * comint.el (comint-redirect-original-filter-function): Remove.
12129 (comint-redirect-cleanup, comint-redirect-send-command-to-process):
12130 * vc/vc-cvs.el (vc-cvs-annotate-process-filter)
12131 (vc-cvs-annotate-command):
12132 * progmodes/octave-inf.el (inferior-octave-send-list-and-digest):
12133 * progmodes/prolog.el (prolog-consult-compile):
12134 * progmodes/gdb-mi.el (gdb, gdb--check-interpreter):
12135 Use add/remove-function instead.
12136 * progmodes/gud.el (gud-tooltip-original-filter): Remove.
12137 (gud-tooltip-process-output, gud-tooltip-tips):
12138 Use add/remove-function instead.
12139 * progmodes/xscheme.el (xscheme-previous-process-state): Remove.
12140 (scheme-interaction-mode, exit-scheme-interaction-mode):
12141 Use add/remove-function instead.
12143 * vc/vc-dispatcher.el: Use lexical-binding.
12144 (vc--process-sentinel): Rename from vc-process-sentinel.
12145 Change last arg to be the code to run. Don't use vc-previous-sentinel
12146 and vc-sentinel-commands any more.
12147 (vc-exec-after): Allow code to be a function. Use add/remove-function.
12148 (compilation-error-regexp-alist, view-old-buffer-read-only): Declare.
12150 2013-04-19 Masatake YAMATO <yamato@redhat.com>
12152 * progmodes/sh-script.el (sh-imenu-generic-expression):
12153 Handle function names with a single character. (Bug#14111)
12155 2013-04-19 Dima Kogan <dima@secretsauce.net> (tiny change)
12157 * progmodes/gud.el (gud-perldb-marker-filter): Understand position info
12158 for subroutines defined in an eval (bug#14182).
12160 2013-04-19 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12162 * bookmark.el (bookmark-completing-read): Improve handling of empty
12163 string (bug#14176).
12165 2013-04-19 Stefan Monnier <monnier@iro.umontreal.ca>
12167 * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg.
12169 2013-04-19 Fabián Ezequiel Gallina <fgallina@gnu.org>
12171 New faster Imenu implementation (bug#14058).
12172 * progmodes/python.el:
12173 (python-imenu-prev-index-position):
12174 (python-imenu-format-item-label-function)
12175 (python-imenu-format-parent-item-label-function)
12176 (python-imenu-format-parent-item-jump-label-function):
12178 (python-imenu-format-item-label)
12179 (python-imenu-format-parent-item-label)
12180 (python-imenu-format-parent-item-jump-label)
12181 (python-imenu--put-parent, python-imenu--build-tree)
12182 (python-imenu-create-index, python-imenu-create-flat-index)
12183 (python-util-popn): New functions.
12184 (python-mode): Set imenu-create-index-function to
12185 python-imenu-create-index.
12187 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12189 * winner.el (winner-active-region): Use region-active-p, activate-mark
12190 and deactivate-mark (bug#14225).
12192 * simple.el (deactivate-mark): Don't inline it.
12194 2013-04-18 Michael Albinus <michael.albinus@gmx.de>
12196 * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0".
12198 2013-04-18 Tassilo Horn <tsdh@gnu.org>
12200 * files.el (auto-mode-alist): Delete OpenDocument and StarOffice
12201 file extensions from the archive-mode entry in order to prefer
12202 doc-view-mode-maybe with archive-mode as fallback (bug#14188).
12204 2013-04-18 Leo Liu <sdl.web@gmail.com>
12206 * bindings.el (help-event-list): Add ?\?.
12208 2013-04-18 Stefan Monnier <monnier@iro.umontreal.ca>
12210 * subr.el (with-wrapper-hook): Declare obsolete.
12211 * simple.el (filter-buffer-substring-function): New hook.
12212 (filter-buffer-substring): Use it.
12213 (filter-buffer-substring-functions): Mark obsolete.
12214 * minibuffer.el (completion-in-region-function): New hook.
12215 (completion-in-region): Use it.
12216 (completion-in-region-functions): Mark obsolete.
12217 * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function.
12218 * abbrev.el (abbrev-expand-function): New hook.
12219 (expand-abbrev): Use it.
12220 (abbrev-expand-functions): Mark obsolete.
12221 * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args
12222 and :filter-return.
12224 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12226 * progmodes/python.el (python-nav--syntactically): Fix cornercases
12227 and do not care about match data.
12229 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12231 * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized
12232 completion tables when completing error conditions and
12233 `declare' arguments.
12234 (lisp-complete-symbol, field-complete): Mark as obsolete.
12235 (check-parens): Unmatched parens are user errors.
12236 * minibuffer.el (minibuffer-completion-contents): Mark as obsolete.
12238 2013-04-17 Michal Nazarewicz <mina86@mina86.com>
12240 * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if
12241 command changed buffer (ie. `flyspell-pre-buffer' is not current
12242 buffer), which prevents making decisions based on invalid value of
12243 `flyspell-pre-point' in the wrong buffer. Most notably, this used to
12244 cause an error when `flyspell-pre-point' was nil after switching
12246 (flyspell-post-command-hook): No longer needs to change buffers when
12247 checking pre-word. While at it remove unnecessary progn.
12249 2013-04-17 Nicolas Richard <theonewiththeevillook@yahoo.fr> (tiny change)
12251 * textmodes/ispell.el (ispell-add-per-file-word-list):
12252 Fix `flyspell-correct-word-before-point' error when accepting
12253 words and `coment-padding' is an integer by using
12254 `comment-normalize-vars' (Bug #14214).
12256 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12258 New defun movement commands.
12259 * progmodes/python.el (python-nav--syntactically)
12260 (python-nav--forward-defun, python-nav-backward-defun)
12261 (python-nav-forward-defun): New functions.
12263 2013-04-17 Fabián Ezequiel Gallina <fgallina@gnu.org>
12265 * progmodes/python.el (python-syntax--context-compiler-macro): New defun.
12266 (python-syntax-context): Use named compiler-macro for backwards
12267 compatibility with Emacs 24.x.
12269 2013-04-17 Leo Liu <sdl.web@gmail.com>
12271 * progmodes/octave-mod.el (octave-mode-map): Fix key binding to
12272 octave-hide-process-buffer.
12274 2013-04-17 Stefan Monnier <monnier@iro.umontreal.ca>
12276 * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names
12279 2013-04-17 Jean-Philippe Gravel <jpgravel@gmail.com>
12281 * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result):
12282 Fix adjustment of offset when receiving incomplete responses from GDB
12285 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12287 * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from
12288 python-mode-abbrev-table.
12289 (python-skeleton-define): Adjust accordingly.
12290 (python-mode-abbrev-table): New table that inherits from it so that
12291 python-skeleton-autoinsert does not affect non-skeleton abbrevs.
12293 * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol.
12294 (abbrev-symbol): Use it.
12295 (abbrev--before-point): Use it since we already handle inheritance.
12297 2013-04-16 Leo Liu <sdl.web@gmail.com>
12299 * progmodes/octave-mod.el (octave-mode-map): Remove redundant key
12300 binding to info-lookup-symbol.
12302 2013-04-16 Juanma Barranquero <lekktu@gmail.com>
12304 * minibuffer.el (completion--twq-all):
12305 * term/ns-win.el (ns-initialize-window-system):
12306 * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler.
12308 2013-04-16 Stefan Monnier <monnier@iro.umontreal.ca>
12310 * emacs-lisp/nadvice.el (add-function): Default simple vars to their
12313 * doc-view.el (doc-view-start-process): Handle url-handler directories.
12315 2013-04-15 Dmitry Gutov <dgutov@yandex.ru>
12317 * progmodes/ruby-mode.el (ruby-beginning-of-defun)
12318 (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search'
12320 (ruby-end-of-defun): Remove the unused arg, change the docstring
12321 to reflect that this function is only used as the value of
12322 `end-of-defun-function'.
12323 (ruby-beginning-of-defun): Remove "top-level" from the docstring,
12324 to reflect an earlier change that beginning/end-of-defun functions
12325 jump between methods in a class definition, as well as top-level
12328 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12330 * minibuffer.el (minibuffer-complete): Don't just scroll
12331 a *Completions* that's been iconified.
12332 (minibuffer-force-complete): Make sure repetitions do cycle when going
12333 through completion-in-region -> minibuffer-complete.
12335 2013-04-15 Alan Mackenzie <acm@muc.de>
12337 Correct the placement of c-cpp-delimiters when there're #s not at
12340 * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and
12341 place a submatch around the #.
12342 * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP):
12343 Start a search at BOL. Put the c-cpp-delimiter category text propertiy
12346 2013-04-15 Stefan Monnier <monnier@iro.umontreal.ca>
12348 * emacs-lisp/nadvice.el: Properly test names when adding advice.
12349 (advice--member-p): New arg `name'.
12350 (advice--add-function, advice-member-p): Use it (bug#14202).
12352 2013-04-15 Filipp Gunbin <fgunbin@fastmail.fm>
12354 Reformulate java imenu-generic-expression.
12355 The old expression contained ill formed regexps.
12357 * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp)
12358 (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp)
12359 (cc-imenu-java-method-arg-regexp): New defconsts.
12360 (cc-imenu-java-build-type-args-regex): New defun.
12361 (cc-imenu-java-generic-expression): Fix, to remove "ambiguous"
12362 handling of spaces in the regexp.
12364 2013-03-15 Agustín Martín Domingo <agustin.martin@hispalinux.es>
12366 * textmodes/ispell.el (ispell-command-loop): Remove
12367 flyspell highlight of a word when ispell accepts it (bug #14178).
12369 2013-04-15 Michael Albinus <michael.albinus@gmx.de>
12371 * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun,
12372 uses code from the previous `ange-ftp-run-real-handler'.
12373 (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler'
12374 only in case that function exist. This is needed for proper
12375 unloading of Tramp.
12377 2013-04-15 Tassilo Horn <tsdh@gnu.org>
12379 * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom.
12381 * textmodes/reftex.el (reftex-compile-variables): Use it.
12383 2013-04-14 Stefan Monnier <monnier@iro.umontreal.ca>
12385 * files.el (normal-mode): Only use default major-mode if no other mode
12388 * emacs-lisp/trace.el (trace-values): New function.
12390 * files.el: Allow : in local variables (bug#14089).
12391 (hack-local-variable-regexp): New var.
12392 (hack-local-variables-prop-line, hack-local-variables): Use it.
12394 2013-04-13 Roland Winkler <winkler@gnu.org>
12396 * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match
12397 data before it gets modified by bibtex-beginning-of-entry.
12399 2013-04-13 Roland Winkler <winkler@gnu.org>
12401 * textmodes/bibtex.el (bibtex-url): Doc fix.
12403 2013-04-13 Roland Winkler <winkler@gnu.org>
12405 * textmodes/bibtex.el (bibtex-initialize): If the current buffer
12406 does not visit a BibTeX file, exclude it from the list of buffers
12407 returned by bibtex-initialize.
12409 2013-04-13 Stephen Berman <stephen.berman@gmx.net>
12411 * window.el (split-window): Remove interactive form, since as a
12412 command this function is a special case of split-window-below.
12413 Correct doc string.
12415 2013-04-12 Roland Winkler <winkler@gnu.org>
12417 * faces.el (read-face-name): Do not override value of arg default.
12418 Allow single faces and strings as default values. Remove those
12419 elements from return value that are not faces.
12420 (describe-face): Simplify.
12421 (face-at-point): New optional args thing and multiple so that this
12422 function can provide the same functionality previously provided by
12424 (make-face-bold, make-face-unbold, make-face-italic)
12425 (make-face-unitalic, make-face-bold-italic, invert-face)
12426 (modify-face, read-face-and-attribute): Use face-at-point.
12428 * cus-edit.el (customize-face, customize-face-other-window)
12429 * cus-theme.el (custom-theme-add-face)
12430 * face-remap.el (buffer-face-set)
12431 * facemenu.el (facemenu-set-face): Use face-at-point.
12433 2013-04-12 Michael Albinus <michael.albinus@gmx.de>
12435 * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus".
12437 2013-04-10 Tassilo Horn <tsdh@gnu.org>
12439 * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut
12440 off leading { and trailing } from field values.
12442 2013-04-10 Stefan Monnier <monnier@iro.umontreal.ca>
12444 * emacs-lisp/timer.el (timer--check): New function.
12445 (timer--time, timer-set-function, timer-event-handler): Use it.
12446 (timer-set-idle-time): Simplify.
12447 (timer--activate): CSE.
12448 (timer-event-handler): Give more info in error message.
12449 (internal-timer-start-idle): New function, moved from C.
12451 * mpc.el (mpc-proc): Add `restart' argument.
12452 (mpc-proc-cmd): Use it.
12453 (mpc--status-timer-run): Also catch signals from `mpc-proc'.
12454 (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc'
12457 2013-04-10 Masatake YAMATO <yamato@redhat.com>
12459 * progmodes/sh-script.el: Implement `sh-mode' own
12460 `add-log-current-defun-function' (bug#14112).
12461 (sh-current-defun-name): New function.
12462 (sh-mode): Use the function.
12464 2013-04-09 Bastien Guerry <bzg@gnu.org>
12466 * simple.el (choose-completion-string): Fix docstring (bug#14163).
12468 2013-04-08 Stefan Monnier <monnier@iro.umontreal.ca>
12470 * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144).
12472 * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled
12475 2013-04-07 Nic Ferrier <nferrier@ferrier.me.uk>
12477 * emacs-lisp/ert.el (should, should-not, should-error): Add edebug
12480 2013-04-07 Leo Liu <sdl.web@gmail.com>
12482 * pcmpl-x.el: New file.
12484 2013-04-06 Dmitry Antipov <dmantipov@yandex.ru>
12486 Do not set x-display-name until X connection is established.
12487 This is needed to prevent from weird situation described at
12488 <http://lists.gnu.org/archive/html/emacs-devel/2013-04/msg00212.html>.
12489 * frame.el (make-frame): Set x-display-name after call to
12490 window system initialization function, not before.
12491 * term/x-win.el (x-initialize-window-system): Add optional
12492 display argument and use it.
12493 * term/w32-win.el (w32-initialize-window-system):
12494 * term/ns-win.el (ns-initialize-window-system):
12495 * term/pc-win.el (msdos-initialize-window-system):
12496 Add compatible optional display argument.
12498 2013-04-06 Eli Zaretskii <eliz@gnu.org>
12500 * files.el (normal-backup-enable-predicate): On MS-Windows and
12501 MS-DOS compare truenames of temporary-file-directory and of the
12502 file, so that 8+3 aliases (usually found in $TEMP on Windows)
12503 don't fail comparison by compare-strings. Also, compare file
12504 names case-insensitively on MS-Windows and MS-DOS.
12506 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12508 * emacs-lisp/package.el (package-compute-transaction): Fix last fix.
12509 Suggested by Donald Curtis <dcurtis@coe.edu> (bug#14082).
12511 2013-04-05 Dmitry Gutov <dgutov@yandex.ru>
12513 * whitespace.el (whitespace-color-on, whitespace-color-off):
12514 Only call `font-lock-fontify-buffer' when `font-lock-mode' is on.
12516 2013-04-05 Jacek Chrząszcz <chrzaszcz@mimuw.edu.pl> (tiny change)
12518 * ispell.el (ispell-set-spellchecker-params):
12519 Really set `ispell-args' for all equivs.
12521 2013-04-05 Stefan Monnier <monnier@iro.umontreal.ca>
12523 * ido.el (ido-completions): Use extra elements of ido-decorations
12525 (ido-decorations): Update docstring.
12527 2013-04-05 Michael Albinus <michael.albinus@gmx.de>
12529 * autorevert.el (auto-revert-mode, auto-revert-tail-mode)
12530 (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to
12531 nil during initialization, in order not to miss changes since the
12532 file was opened. (Bug#14140)
12534 2013-04-05 Leo Liu <sdl.web@gmail.com>
12536 * kmacro.el (kmacro-call-macro): Fix bug#14135.
12538 2013-04-05 Jay Belanger <jay.p.belanger@gmail.com>
12540 * calc/calc-units.el (calc-convert-units): Rewrite conditional.
12542 2013-04-04 Glenn Morris <rgm@gnu.org>
12544 * electric.el (electric-pair-inhibit-predicate): Add :version.
12546 2013-04-04 Stefan Monnier <monnier@iro.umontreal.ca>
12548 * emacs-lisp/package.el (package-compute-transaction): Fix ordering
12549 when a package is required several times (bug#14082).
12551 2013-04-04 Roland Winkler <winkler@gnu.org>
12553 * faces.el (read-face-name): Behave as promised by the docstring.
12554 Assume that arg default is a list of faces.
12555 (describe-face): Call read-face-name with list of default faces.
12557 2013-04-04 Thierry Volpiatto <thierry.volpiatto@gmail.com>
12559 * bookmark.el: Fix deletion of bookmarks (bug#13972).
12560 (bookmark-bmenu-list): Don't toggle filenames if alist is empty.
12561 (bookmark-bmenu-execute-deletions): Only skip first line if it's
12563 (bookmark-exit-hook-internal): Save even if list is empty.
12565 2013-04-04 Yann Hodique <yann.hodique@gmail.com> (tiny change)
12567 * emacs-lisp/package.el (package-pinned-packages): New var.
12568 (package--add-to-archive-contents): Obey it (bug#14118).
12570 2013-04-03 Alan Mackenzie <acm@muc.de>
12572 Handle `parse-partial-sexp' landing inside a comment opener (Bug#13244).
12573 Also adapt to the new values of element 7 of a parse state.
12575 * progmodes/cc-engine.el (c-state-pp-to-literal): New optional
12576 parameter `not-in-delimiter'. Handle being inside comment opener.
12577 (c-invalidate-state-cache-1): Reckon with an extra "invalid"
12578 character in case we're typing a '*' after a '/'.
12579 (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm
12580 instead by passing the parameter to c-state-pp-to-literal.
12582 * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling
12583 for elt. 7 of a parse state.
12585 2013-04-01 Paul Eggert <eggert@cs.ucla.edu>
12587 Use UTF-8 for most files with non-ASCII characters (Bug#13936).
12588 * international/latin1-disp.el, international/mule-util.el:
12589 * language/cyril-util.el, language/european.el, language/ind-util.el:
12590 * language/lao-util.el, language/thai.el, language/tibet-util.el:
12591 * language/tibetan.el, language/viet-util.el:
12592 Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs.
12594 2013-04-01 Stefan Monnier <monnier@iro.umontreal.ca>
12596 * electric.el (electric-pair-inhibit-predicate): New var (bug#14000).
12597 (electric-pair-post-self-insert-function): Use it.
12598 (electric-pair-default-inhibit): New function, extracted from
12599 electric-pair-post-self-insert-function.
12601 2013-03-31 Roland Winkler <winkler@gnu.org>
12603 * emacs-lisp/crm.el (completing-read-multiple): Doc fix.
12605 2013-03-31 Stefan Monnier <monnier@iro.umontreal.ca>
12607 * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891).
12609 2013-03-30 Fabián Ezequiel Gallina <fabian@anue.biz>
12611 Un-indent after "pass" and "return" statements (Bug#13888)
12612 * progmodes/python.el (python-indent-block-enders): New var.
12613 (python-indent-calculate-indentation): Use it.
12615 2013-03-30 Michael Albinus <michael.albinus@gmx.de>
12617 * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary
12618 defun. Defining it as defalias could introduce too eager
12619 byte-compiler optimization. (Bug#14030)
12621 2013-03-30 Chong Yidong <cyd@gnu.org>
12623 * iswitchb.el (iswitchb-read-buffer): Fix typo.
12625 2013-03-30 Leo Liu <sdl.web@gmail.com>
12627 * kmacro.el (kmacro-call-macro): Add optional arg MACRO.
12628 (kmacro-execute-from-register): Pass the keyboard macro to
12629 kmacro-call-macro or repeating won't work correctly.
12631 2013-03-30 Teodor Zlatanov <tzz@lifelogs.com>
12633 * progmodes/subword.el: Back to using `forward-symbol'.
12635 * subr.el (forward-whitespace, forward-symbol)
12636 (forward-same-syntax): Move from thingatpt.el.
12638 2013-03-29 Leo Liu <sdl.web@gmail.com>
12640 * kmacro.el (kmacro-to-register): New command.
12641 (kmacro-execute-from-register): New function.
12642 (kmacro-keymap): Bind to 'x'. (Bug#14071)
12644 2013-03-29 Stefan Monnier <monnier@iro.umontreal.ca>
12646 * mpc.el: Use defvar-local and setq-local.
12647 (mpc--proc-connect): Connection failures are not bugs.
12648 (mpc-mode-map): `follow-link' only applies to the buffer's content.
12649 (mpc-volume-map): Bind to the up-events.
12651 2013-03-29 Teodor Zlatanov <tzz@lifelogs.com>
12653 * progmodes/subword.el (superword-mode): Use `forward-sexp'
12654 instead of `forward-symbol'.
12656 2013-03-28 Stefan Monnier <monnier@iro.umontreal.ca>
12658 * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode.
12659 (edebug--recursive-edit): Use it.
12660 (edebug-kill-buffer): Don't let-bind kill-buffer-hook.
12661 (edebug-temp-display-freq-count): Don't let-bind buffer-read-only.
12663 2013-03-28 Leo Liu <sdl.web@gmail.com>
12665 * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066)
12667 2013-03-27 Eli Zaretskii <eliz@gnu.org>
12669 * facemenu.el (list-colors-callback): New defvar.
12670 (list-colors-redisplay): New function.
12671 (list-colors-display): Install list-colors-redisplay as the
12672 revert-buffer-function. (Bug#14063)
12674 2013-03-27 Stefan Monnier <monnier@iro.umontreal.ca>
12676 * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes
12677 and suffixes don't overlap (bug#14061).
12679 * case-table.el: Use lexical-binding.
12680 (case-table-get-table): New function.
12681 (get-upcase-table): Use it. Mark as obsolete. Adjust callers.
12683 2013-03-27 Teodor Zlatanov <tzz@lifelogs.com>
12685 * progmodes/subword.el: Add `superword-mode' to do word motion
12686 over symbol_words (parallels and leverages `subword-mode' which
12687 does word motion inside MixedCaseWords).
12689 2013-03-27 Aidan Gauland <aidalgol@no8wireless.co.nz>
12691 * eshell/em-unix.el: Move su and sudo to...
12692 * eshell/em-tramp.el: ...Eshell tramp module.
12694 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12696 * desktop.el (desktop--v2s): Rename from desktop-internal-v2s.
12697 Change return value to be a sexp. Delay `get-buffer' to after
12698 restoring the desktop (bug#13951).
12700 2013-03-26 Leo Liu <sdl.web@gmail.com>
12702 * register.el: Move semantic tag handling back to
12703 cedet/semantic/senator.el. (Bug#14052)
12705 2013-03-26 Stefan Monnier <monnier@iro.umontreal.ca>
12707 * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert
12708 into the prompt either (bug#13963).
12710 2013-03-25 Stefan Monnier <monnier@iro.umontreal.ca>
12712 * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error"
12713 part of "(error-foo)".
12715 2013-03-24 Juri Linkov <juri@jurta.org>
12717 * replace.el (list-matching-lines-prefix-face): New defcustom.
12718 (occur-1): Pass `list-matching-lines-prefix-face' to the function
12719 `occur-engine' if `face-differs-from-default-p' returns t.
12720 (occur-engine): Add `,' inside backquote construct to evaluate
12721 `prefix-face'. Propertize the prefix with the `prefix-face' face.
12722 Pass `prefix-face' to the functions `occur-context-lines' and
12723 `occur-engine-add-prefix'.
12724 (occur-engine-add-prefix, occur-context-lines): Add optional arg
12725 `prefix-face' and propertize the prefix with `prefix-face'.
12728 2013-03-24 Leo Liu <sdl.web@gmail.com>
12730 * nxml/rng-valid.el (rng-validate-while-idle)
12731 (rng-validate-quick-while-idle): Guard against deleted buffer.
12734 * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer
12735 is the last entry in kill-buffer-hook.
12737 * files.el (kill-buffer-hook): Doc fix.
12739 2013-03-23 Dmitry Gutov <dgutov@yandex.ru>
12741 * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column):
12742 Make it safe-local.
12744 * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034).
12746 2013-03-23 Leo Liu <sdl.web@gmail.com>
12748 * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes):
12751 * nxml/rng-valid.el (rng-validate-mode)
12752 (rng-after-change-function, rng-do-some-validation):
12753 * nxml/rng-maint.el (rng-validate-buffer):
12754 * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date):
12755 * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state):
12756 * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change)
12757 (nxml-extend-after-change-region): Use with-silent-modifications.
12759 * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind
12762 * nxml/rng-valid.el (rng-validate-while-idle-continue-p)
12763 (rng-next-error-1, rng-previous-error-1): Do not let-bind
12764 timer-idle-list. (Bug#13999)
12766 2013-03-23 Juri Linkov <juri@jurta.org>
12768 * info.el (info-index-match): New face.
12769 (Info-index, Info-apropos-matches): Add a nested subgroup to the
12770 main pattern and add text properties with the new face to matches
12771 in index entries relative to the beginning of the index entry.
12774 2013-03-21 Eric Ludlam <zappo@gnu.org>
12776 * emacs-lisp/eieio-datadebug.el (data-debug/eieio-insert-slots):
12777 Inhibit read only while inserting objects.
12779 2013-03-22 Teodor Zlatanov <tzz@lifelogs.com>
12781 * progmodes/cfengine.el: Update docs to mention
12782 `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for
12783 symbol motion. Remove "_" from the word syntax.
12785 2013-03-21 Teodor Zlatanov <tzz@lifelogs.com>
12787 * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word
12788 syntax for both `cfengine2-mode' and `cfengine3-mode'.
12790 2013-03-20 Juri Linkov <juri@jurta.org>
12792 * info.el (Info-next-reference-or-link)
12793 (Info-prev-reference-or-link): New functions.
12794 (Info-next-reference, Info-prev-reference): Use them.
12795 (Info-try-follow-nearest-node): Handle footnote navigation.
12796 (Info-fontify-node): Fontify footnotes. (Bug#13989)
12798 2013-03-20 Stefan Monnier <monnier@iro.umontreal.ca>
12800 * subr.el (posn-point, posn-string): Fix it here instead (bug#13979).
12801 * mouse.el (mouse-on-link-p): Undo scroll-bar fix.
12803 2013-03-20 Paul Eggert <eggert@cs.ucla.edu>
12805 Suppress unnecessary non-ASCII chatter during build process.
12806 * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi)
12807 (batch-skkdic-convert): Suppress most of the chatter.
12808 It's not needed so much now that machines are faster,
12809 and its non-ASCII component was confusing; see Dmitry Gutov in
12810 <http://lists.gnu.org/archive/html/emacs-devel/2013-03/msg00508.html>.
12812 2013-03-20 Leo Liu <sdl.web@gmail.com>
12814 * ido.el (ido-chop): Fix bug#10994.
12816 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12818 * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode):
12820 (whitespace-color-on, whitespace-color-off):
12821 Use `font-lock-fontify-buffer' (Bug#13817).
12823 2013-03-19 Stefan Monnier <monnier@iro.umontreal.ca>
12825 * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link
12826 remapping in mode-line.
12827 (mouse-on-link-p): Also check [mode-line follow-link] bindings.
12829 2013-03-19 Dmitry Gutov <dgutov@yandex.ru>
12831 * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE
12832 value for `whitespace-line' face (Bug#13875).
12833 (whitespace-font-lock-keywords): Change description.
12834 (whitespace-color-on): Don't save `font-lock-keywords' value, save
12835 the constructed keywords instead.
12836 (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817).
12838 2013-03-19 Leo Liu <sdl.web@gmail.com>
12840 * progmodes/compile.el (compilation-display-error): New command.
12841 (compilation-mode-map, compilation-minor-mode-map): Bind it to
12844 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12846 * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936).
12848 2013-03-18 Jan Djärv <jan.h.d@swipnet.se>
12850 * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979).
12852 2013-03-18 Michael Albinus <michael.albinus@gmx.de>
12854 * net/tramp-compat.el (tramp-compat-user-error): New defun.
12856 * net/tramp-adb.el (tramp-adb-handle-shell-command):
12857 * net/tramp-gvfs.el (top):
12858 * net/tramp.el (tramp-find-method, tramp-dissect-file-name)
12859 (tramp-handle-shell-command): Use it.
12860 (tramp-dissect-file-name): Raise an error when hostname is a
12861 method name, and neither method nor user is specified.
12863 * net/trampver.el: Update release number.
12865 2013-03-18 Leo Liu <sdl.web@gmail.com>
12867 Make sure eldoc can be turned off properly.
12868 * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on
12870 (eldoc-display-message-p): Revert last change.
12871 (eldoc-display-message-no-interference-p)
12872 (eldoc-print-current-symbol-info): Tweak.
12874 2013-03-18 Tassilo Horn <tsdh@gnu.org>
12876 * doc-view.el (doc-view-new-window-function): Check the new window
12877 overlay's display property instead the char property of the
12878 buffer's first char. Use `with-selected-window' instead of
12879 `save-window-excursion' with `select-window'.
12880 (doc-view-document->bitmap): Check the current doc-view overlay's
12881 display property instead the char property of the buffer's first char.
12883 2013-03-18 Paul Eggert <eggert@cs.ucla.edu>
12885 Automate the build of ja-dic.el (Bug#13984).
12886 * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations
12887 from the input, rather than assume that it's been done for us by the
12888 SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put
12889 the current date into a ja-dic.el comment, as that complicates
12890 regression testing.
12892 2013-03-18 Stefan Monnier <monnier@iro.umontreal.ca>
12894 * whitespace.el: Fix double evaluation.
12895 (whitespace-space, whitespace-hspace, whitespace-tab)
12896 (whitespace-newline, whitespace-trailing, whitespace-line)
12897 (whitespace-space-before-tab, whitespace-indentation)
12898 (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into
12900 (whitespace-hspace-regexp): Fix regexp for emacs-unicode.
12901 (whitespace-color-on): Use a single font-lock-add-keywords call.
12902 Fix double-evaluation of face variables.
12904 2013-03-17 Michael Albinus <michael.albinus@gmx.de>
12906 * net/tramp-adb.el (tramp-adb-parse-device-names):
12907 Use `start-process' instead of `call-process'. Otherwise, the
12908 function might be blocked under MS Windows. (Bug#13299)
12910 2013-03-17 Leo Liu <sdl.web@gmail.com>
12912 Extend eldoc to display info in the mode-line. (Bug#13978)
12913 * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode.
12914 (eldoc-mode-line-string): New variable.
12915 (eldoc-minibuffer-message): New function.
12916 (eldoc-message-function): New variable.
12917 (eldoc-message): Use it.
12918 (eldoc-display-message-p)
12919 (eldoc-display-message-no-interference-p):
12920 Support eldoc-post-insert-mode.
12922 * simple.el (eval-expression-minibuffer-setup-hook): New hook.
12923 (eval-expression): Run it.
12925 2013-03-17 Roland Winkler <winkler@gnu.org>
12927 * emacs-lisp/crm.el (completing-read-multiple): Ignore empty
12928 strings in the list of return values.
12930 2013-03-17 Jay Belanger <jay.p.belanger@gmail.com>
12932 * calc/calc-ext.el (math-read-number-fancy): Check for an explicit
12933 radix before checking for HMS forms.
12935 2013-03-16 Leo Liu <sdl.web@gmail.com>
12937 * progmodes/scheme.el: Add indentation and font-locking for λ.
12940 2013-03-16 Stefan Monnier <monnier@iro.umontreal.ca>
12942 * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no
12943 token before point (bug#13942).
12945 2013-03-16 Leo Liu <sdl.web@gmail.com>
12947 * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after.
12949 2013-03-16 Eli Zaretskii <eliz@gnu.org>
12951 * startup.el (command-line-normalize-file-name): Fix handling of
12952 backslashes in DOS and Windows file names. Reported by Xue Fuqiao
12953 <xfq.free@gmail.com> in
12954 http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html.
12956 2013-03-15 Michael Albinus <michael.albinus@gmx.de>
12958 Sync with Tramp 2.2.7.
12960 * net/trampver.el: Update release number.
12962 2013-03-14 Tassilo Horn <tsdh@gnu.org>
12964 * doc-view.el: Fix bug#13887.
12965 (doc-view-insert-image): Don't modify overlay associated to
12966 non-live windows, and implement horizontal centering of image in
12967 case it's smaller than the window.
12968 (doc-view-new-window-function): Force redisplay of new windows on
12971 2013-03-13 Karl Fogel <kfogel@red-bean.com>
12973 * saveplace.el (save-place-alist-to-file): Don't sort
12974 `save-place-alist', just pretty-print it (bug#13882).
12976 2013-03-13 Michael Albinus <michael.albinus@gmx.de>
12978 * net/tramp-sh.el (tramp-sh-handle-insert-directory):
12979 Check whether `default-file-name-coding-system' is bound.
12980 It isn't in XEmacs.
12982 2013-03-13 Stefan Monnier <monnier@iro.umontreal.ca>
12984 * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use
12985 backquotes for `obsolete' (bug#13929).
12987 * international/mule.el (find-auto-coding): Include file name in
12988 obsolescence warning (bug#13922).
12990 2013-03-12 Teodor Zlatanov <tzz@lifelogs.com>
12992 * progmodes/cfengine.el (cfengine-parameters-indent): New variable
12993 for CFEngine 3-specific indentation.
12994 (cfengine3-indent-line): Use it. Fix up category regex.
12995 (cfengine3-font-lock-keywords): Add bundle and namespace characters.
12997 2013-03-12 Stefan Monnier <monnier@iro.umontreal.ca>
12999 * type-break.el (type-break-file-name):
13000 * textmodes/remember.el (remember-data-file):
13001 * strokes.el (strokes-file):
13002 * shadowfile.el (shadow-initialize):
13003 * saveplace.el (save-place-file):
13004 * ps-bdf.el (bdf-cache-file):
13005 * progmodes/idlwave.el (idlwave-config-directory):
13006 * net/quickurl.el (quickurl-url-file):
13007 * international/kkc.el (kkc-init-file-name):
13008 * ido.el (ido-save-directory-list-file):
13009 * emulation/viper.el (viper-custom-file-name):
13010 * emulation/vip.el (vip-startup-file):
13011 * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top):
13012 * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file.
13014 2013-03-12 Paul Eggert <eggert@cs.ucla.edu>
13016 Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880).
13017 * language/thai-word.el: Switch to UTF-8.
13019 See ChangeLog.16 for earlier changes.
13021 ;; Local Variables:
13025 Copyright (C) 2011-2014 Free Software Foundation, Inc.
13027 This file is part of GNU Emacs.
13029 GNU Emacs is free software: you can redistribute it and/or modify
13030 it under the terms of the GNU General Public License as published by
13031 the Free Software Foundation, either version 3 of the License, or
13032 (at your option) any later version.
13034 GNU Emacs is distributed in the hope that it will be useful,
13035 but WITHOUT ANY WARRANTY; without even the implied warranty of
13036 MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13037 GNU General Public License for more details.
13039 You should have received a copy of the GNU General Public License
13040 along with GNU Emacs. If not, see <http://www.gnu.org/licenses/>.