From: Glenn Morris Date: Fri, 26 Apr 2013 07:34:54 +0000 (-0700) Subject: Merge from emacs-24; up to 2012-12-27T08:21:08Z!rgm@gnu.org X-Git-Url: https://git.hcoop.net/bpt/emacs.git/commitdiff_plain/af80458d7e9d2f81a8d13a0b4ad152743c34520c Merge from emacs-24; up to 2012-12-27T08:21:08Z!rgm@gnu.org --- af80458d7e9d2f81a8d13a0b4ad152743c34520c diff --cc lisp/ChangeLog index b8c0f62904,2e0645e515..340dc41a74 --- a/lisp/ChangeLog +++ b/lisp/ChangeLog @@@ -1,4500 -1,551 +1,4511 @@@ -2013-04-24 Glenn Morris ++2013-04-26 Glenn Morris + + * subr.el (read-number): Once more use `read' rather than + `string-to-number', to trap non-numeric input. (Bug#14254) + -2013-04-22 Erik Charlebois ++2013-04-26 Erik Charlebois + + * emacs-lisp/syntax.el (syntax-propertize-multiline): + Use `syntax-multiline' text property consistently instead of + `font-lock-multiline'. (bug#14237). + -2013-04-06 Stefan Monnier +2013-04-26 Glenn Morris - * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert - into the prompt either (bug#13963). + * emacs-lisp/shadow.el (list-load-path-shadows): + No longer necessary to check for duplicate simple.el, since + 2012-07-07 change to init_lread to not include installation lisp + directories in load-path when running uninstalled. (Bug#14270) + +2013-04-26 Leo Liu -2013-03-26 Fabián Ezequiel Gallina + * progmodes/octave.el (octave-submit-bug-report): Obsolete. + (octave-mode, inferior-octave-mode): Use setq-local. + (octave-not-in-string-or-comment-p): Renamed to + octave-in-string-or-comment-p. + (octave-in-comment-p, octave-in-string-p) + (octave-in-string-or-comment-p): Replace defsubst with defun. - Un-indent after "pass" and "return" statements (Bug#13888) - * progmodes/python.el (python-indent-block-enders): New var. - (python-indent-calculate-indentation): Use it. +2013-04-25 Paul Eggert -2013-03-25 Michael Albinus + * Makefile.in (distclean): Remove $(lisp)/loaddefs.el~. - * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary - defun. Defining it as defalias could introduce too eager - byte-compiler optimization. (Bug#14030) +2013-04-25 Bastien Guerry -2013-03-25 Chong Yidong + * textmodes/remember.el (remember-data-directory) + (remember-directory-file-name-format): Fix custom types. - * iswitchb.el (iswitchb-read-buffer): Fix typo. +2013-04-25 Leo Liu -2013-03-16 Leo Liu + * progmodes/octave.el (octave-completion-at-point-function): Make + use of inferior octave process. + (octave-initialize-completions): Remove. + (inferior-octave-completion-table): New function. + (inferior-octave-completion-at-point): Use it. + (octave-completion-alist): Remove. - * progmodes/scheme.el: Add indentation and font-locking for λ. - (Bug#13975) +2013-04-25 Stefan Monnier -2013-03-14 Stefan Monnier + * progmodes/opascal.el: Use font-lock and syntax-propertize. + (opascal-mode-syntax-table): New var. + (opascal-literal-kind, opascal-is-literal-end) + (opascal-literal-token-at): Rewrite. + (opascal--literal-start-re, opascal-font-lock-keywords) + (opascal--syntax-propertize): New constants. + (opascal-font-lock-defaults): Adjust. + (opascal-mode): Use them. Set comment- variables as well. + (delphi-comment-face, opascal-comment-face, delphi-string-face) + (opascal-string-face, delphi-keyword-face, opascal-keyword-face) + (delphi-other-face, opascal-other-face): Remove face variables. + (opascal-save-state): Remove macro. + (opascal-fontifying-progress-step): Remove constant. + (opascal--ignore-changes): Remove var. + (opascal-set-token-property, opascal-parse-next-literal) + (opascal-is-stable-literal, opascal-complete-literal) + (opascal-is-literal-start, opascal-face-of) + (opascal-parse-region, opascal-parse-region-until-stable) + (opascal-fontify-region, opascal-after-change) + (opascal-debug-show-is-stable, opascal-debug-unparse-buffer) + (opascal-debug-parse-region, opascal-debug-parse-window) + (opascal-debug-parse-buffer, opascal-debug-fontify-window) + (opascal-debug-fontify-buffer): Remove. + (opascal-debug-mode-map): Adjust accordingly. - * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no - token before point (bug#13942). +2013-04-25 Leo Liu -2013-03-14 Leo Liu + Merge octave-mod.el and octave-inf.el into octave.el with some + cleanups. + * progmodes/octave.el: New file renamed from octave-mod.el. + * progmodes/octave-inf.el: Merged into octave.el. + * progmodes/octave-mod.el: Renamed to octave.el. - * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after. +2013-04-25 Tassilo Horn -2013-03-11 Glenn Morris + * textmodes/reftex-vars.el + (reftex-label-ignored-macros-and-environments): New defcustom. - * Version 24.3 released. + * textmodes/reftex-parse.el (reftex-parse-from-file): Use it. -2013-02-25 Glenn Morris +2013-04-25 Stefan Monnier - * textmodes/paragraphs.el (mark-paragraph): Doc fix. + * emacs-lisp/smie.el (smie-indent--hanging-p): Don't burp at EOB. + (smie-indent-keyword): Improve the check to ensure that the next + comment is really on the same line. + (smie-indent-comment): Don't align with a subsequent closer (or eob). -2013-02-21 Juri Linkov + * progmodes/octave-mod.el (octave-smie-forward-token): Only emit + semi-colons if the line is not otherwise empty (bug#14218). - * isearch.el (isearch-lazy-highlight-new-loop): - Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end' - to `isearch-other-end' if it is not nil. (Bug#13402) +2013-04-25 Glenn Morris - * replace.el (replace-highlight): Let-bind `isearch-other-end' - to `match-beg'. + * vc/vc-bzr.el (vc-bzr-print-log): Tweak LIMIT = 1 case. - * textmodes/ispell.el (ispell-highlight-spelling-error-overlay): - Let-bind `isearch-other-end' to `start', `isearch-forward' to t - and `isearch-error' to nil. +2013-04-24 Stefan Monnier -2013-02-20 Fabián Ezequiel Gallina + * progmodes/opascal.el (opascal-set-token-property): Rename from + opascal-set-text-properties and only set `token' (bug#14134). + Suggested by Erik Knowles . + (opascal-literal-text-properties): Remove. + (opascal-parse-next-literal, opascal-debug-unparse-buffer): + Adjust callers. - * progmodes/python.el (python-info-current-defun): - Enhance match-data cluttering prevention. +2013-04-24 Reuben Thomas -2013-02-19 Glenn Morris + * textmodes/remember.el (remember-handler-functions): Add an + option for a new handler `remember-store-in-files'. + (remember-data-directory, remember-directory-file-name-format): + New options. + (remember-store-in-files): New function to store remember notes + as separate files within a directory. - * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not - loaded while outline-regexp is let bound. (Bug#9584) +2013-04-24 Magnus Henoch -2013-02-19 Fabián Ezequiel Gallina + * progmodes/compile.el (compilation-next-error-function): + Pass "formats" to compilation-find-file (bug#11777). - * progmodes/python.el (python-info-current-defun): Fix failed - defun name retrieval because of unwanted match-data cluttering. +2013-04-24 Glenn Morris -2013-02-19 Fabián Ezequiel Gallina + * vc/vc-bzr.el (vc-bzr-print-log): + * vc/vc-hg.el (vc-hg-print-log): + * vc/vc-svn.el (vc-svn-print-log): + Fix START-REVISION with LIMIT != 1. (Bug#14168) - * progmodes/python.el (python-indent-context): - Fix python-info-line-ends-backslash-p call. - (python-info-line-ends-backslash-p) - (python-info-beginning-of-backslash): Respect line-number - argument. - (python-info-current-line-comment-p): Fix behavior when not at - beginning-of-line. - (python-util-position): Remove function. - (python-util-goto-line): New function. + * vc/vc-bzr.el (vc-bzr-print-log): + * vc/vc-cvs.el (vc-cvs-print-log): + * vc/vc-git.el (vc-git-print-log): + * vc/vc-hg.el (vc-hg-print-log): + * vc/vc-mtn.el (vc-mtn-print-log): + * vc/vc-rcs.el (vc-rcs-print-log): + * vc/vc-sccs.el (vc-sccs-print-log): + * vc/vc-svn.el (vc-svn-print-log): + * vc/vc.el (vc-print-log-internal): Doc fixes. -2013-02-18 Michael Albinus +2013-04-23 Glenn Morris - * eshell/em-unix.el (eshell/su): Require tramp. - (eshell/sudo): Require tramp. Remove now unnecessary check. + * startup.el (normal-no-mouse-startup-screen, normal-about-screen): + Remove venerable code attempting to avoid substitute-command-keys. - * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind - `tramp-current-connection' in order to avoid an error when several - commands are invoked in a short time in eshell and friends. +2013-04-23 Tassilo Horn -2013-02-16 Didier Verna + * textmodes/reftex-vars.el (reftex-label-regexps): + Call `reftex-compile-variables' after changes to this variable. - * net/network-stream.el (network-stream-open-starttls): - Check that response to the starttls-command is non-nil. (Bug#13706) +2013-04-23 Stefan Monnier -2013-02-14 Glenn Morris + * jit-lock.el: Fix signals in jit-lock-force-redisplay (bug#13542). + Use lexical-binding. + (jit-lock-force-redisplay): Use markers, check buffer's continued + existence and beware narrowed buffers. + (jit-lock-fontify-now): Adjust call accordingly. - * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. +2013-04-22 Stefan Monnier -2013-02-14 Stefan Monnier + * minibuffer.el (minibuffer-completion-contents): Fix obsolescence info + to avoid misleading the user. - * net/goto-addr.el (goto-address-fontify): Add start and end args. - (goto-address-fontify-region): Use them instead of narrowing, so - syntax-ppss has access to the whole buffer. +2013-04-22 Leo Liu -2013-02-14 Fabián Ezequiel Gallina + * info-look.el: Prefer latex2e.info. (Bug#14240) - * progmodes/python.el: Explain how to restore "cc-mode"-like - forward-sexp movement in header documentation (Bug#13642). - (python-nav--forward-sexp): Behave like emacs-lisp-mode in - comments and strings (GH bug 114). +2013-04-22 Michael Albinus -2013-02-13 Fabián Ezequiel Gallina + Fix pack/unpack coding. Reported by David Smith . - * progmodes/python.el (python-info-current-defun): Fix current - defun detection (Bug#13618). + * net/tramp-compat.el (tramp-compat-call-process): Move function ... + * net/tramp.el (tramp-call-process): ... here + (tramp-set-completion-function, tramp-parse-putty): + * net/tramp-adb.el (tramp-adb-execute-adb-command): + * net/tramp-gvfs.el (tramp-gvfs-send-command): + * net/tramp-sh.el (tramp-sh-handle-set-file-times) + (tramp-set-file-uid-gid, tramp-sh-handle-write-region) + (tramp-call-local-coding-command): Use `tramp-call-process' + instead of `tramp-compat-call-process'. -2013-02-13 Chong Yidong + * net/tramp-sh.el (tramp-perl-pack, tramp-perl-unpack): New defconst. + (tramp-local-coding-commands, tramp-remote-coding-commands): Use them. + (tramp-sh-handle-file-local-copy, tramp-sh-handle-write-region): + (tramp-find-inline-compress):Improve traces. + (tramp-maybe-send-script): Check for Perl binary. + (tramp-get-inline-coding): Do not redirect STDOUT for local decoding. - * xml.el (xml-parse-string): Fix typo in handling of bad character - references. +2013-04-22 Daiki Ueno -2013-02-10 Michael Albinus + * epg.el (epg-context-pinentry-mode): New function. + (epg-context-set-pinentry-mode): New function. + (epg--start): Pass --pinentry-mode option to gpg command. - * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error, - if DIR exists and PARENTS is non-nil. +2013-04-21 Xue Fuqiao -2013-02-09 Chong Yidong + * comint.el: (comint-dynamic-complete-functions, comint-mode-map): + `comint-dynamic-complete' is obsolete since 24.1, replaced by + `completion-at-point'. (Bug#13774) - * mail/emacsbug.el (report-emacs-bug): Change binding of - report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510). + * startup.el (normal-no-mouse-startup-screen): Bug fix, the + default key binding for `describe-distribution' has been moved to + `C-h C-o'. (Bug#13970) -2013-02-02 Alan Mackenzie +2013-04-21 Glenn Morris - Fix bug in the state cache mechanism. Remove 'BOD "strategy". Refactor. - * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove. - (c-parse-state-get-strategy): Don't return 'BOD any more. - (c-append-lower-brace-pair-to-state-cache): Extra parameter HERE - instead of narrowing. Widen to top of buffer before searching - backwards for a brace pair. - (c-state-push-any-brace-pair): Add HERE parameter to function - call. - (c-append-to-state-cache): Extra parameter HERE in place of - narrowing. Narrow to parameter HERE, in place of being called - narrowed. - (c-remove-stale-state-cache): Extra parameter HERE in place of - narrowing. Check there's an open brace in the cache before - searching for its match. - (c-invalidate-state-cache-1): Add HERE parameter to function call. - (c-parse-state-1): Don't narrow here for 'forward strategy, - instead passing extra parameter HERE to several functions. - Remove 'BOD strategy. + * vc/vc.el (vc-print-log-setup-buttons, vc-print-log-internal): + Add doc strings. + (vc-print-log): Clarify interactive prompt. -2013-02-01 Stefan Monnier +2013-04-20 Glenn Morris - * mouse.el (mouse-drag-track): Always deactivate the mark before - running the final event's command since that command is in charge of - activating the mark if needed (bug#13523). + * emacs-lisp/bytecomp.el (byte-compile-insert-header): + No longer include timestamp etc information. -2013-02-01 Juri Linkov +2013-04-20 Roland Winkler - * replace.el (perform-replace): Move let-bindings of isearch-* - variables deeper to the loop that searches for the next match. - Add bindings for `isearch-nonincremental' and `isearch-adjusted'. - Use `isearch-search-fun-default' instead of `isearch-search-fun'. - (Bug#13579) + * faces.el (read-face-name): Bug fix, return just one face if arg + multiple is nil. (Bug#14209) - * isearch.el (isearch-search-fun-default): Check for null - first element of isearch-cmds as a precaution when it's used - with inactive isearch. +2013-04-20 Stefan Monnier -2013-02-01 Andrew W. Nosenko (tiny change) + * emacs-lisp/nadvice.el (advice--where-alist): Add :override. + (remove-function): Autoload. - * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range" - error when buffer in question is narrowed so position 1 is out of - visible part. + * comint.el (comint-redirect-original-filter-function): Remove. + (comint-redirect-cleanup, comint-redirect-send-command-to-process): + * vc/vc-cvs.el (vc-cvs-annotate-process-filter,vc-cvs-annotate-command): + * progmodes/octave-inf.el (inferior-octave-send-list-and-digest): + * progmodes/prolog.el (prolog-consult-compile): + * progmodes/gdb-mi.el (gdb, gdb--check-interpreter): + Use add/remove-function instead. + * progmodes/gud.el (gud-tooltip-original-filter): Remove. + (gud-tooltip-process-output, gud-tooltip-tips): + Use add/remove-function instead. + * progmodes/xscheme.el (xscheme-previous-process-state): Remove. + (scheme-interaction-mode, exit-scheme-interaction-mode): + Use add/remove-function instead. -2013-01-31 Glenn Morris + * vc/vc-dispatcher.el: Use lexical-binding. + (vc--process-sentinel): Rename from vc-process-sentinel. + Change last arg to be the code to run. Don't use vc-previous-sentinel + and vc-sentinel-commands any more. + (vc-exec-after): Allow code to be a function. Use add/remove-function. + (compilation-error-regexp-alist, view-old-buffer-read-only): Declare. - * textmodes/remember.el (remember-clipboard): Doc fix. +2013-04-19 Masatake YAMATO -2013-01-30 Stefan Monnier + * progmodes/sh-script.el (sh-imenu-generic-expression): + Handle function names with a single character. (Bug#14111) - * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table - properties (bug#13179). +2013-04-19 Dima Kogan (tiny change) -2013-01-30 Glenn Morris + * progmodes/gud.el (gud-perldb-marker-filter): Understand position info + for subroutines defined in an eval (bug#14182). - * mouse.el (mouse-drag-line): Avoid pushing same event onto - unread-command-events twice in some cases. This tries to implement - the 2012-07-26 changes in a different way. (Bug#13560) +2013-04-19 Thierry Volpiatto -2013-01-30 Fabián Ezequiel Gallina + * bookmark.el (bookmark-completing-read): Improve handling of empty + string (bug#14176). - * progmodes/python.el - (python-pdbtrack-comint-output-filter-function): Enhancements on - stacktrace detection. (thanks @gnovak) +2013-04-19 Stefan Monnier -2013-01-30 Glenn Morris + * vc/vc-dispatcher.el (vc-do-command): Get rid of default sentinel msg. - * imenu.el (imenu-default-create-index-function): - Put back a version of the infinite loop test removed 2013-01-23. +2013-04-19 Fabián Ezequiel Gallina -2013-01-28 Fabián Ezequiel Gallina + New faster Imenu implementation (bug#14058). + * progmodes/python.el: + (python-imenu-prev-index-position): + (python-imenu-format-item-label-function) + (python-imenu-format-parent-item-label-function) + (python-imenu-format-parent-item-jump-label-function): + New vars. + (python-imenu-format-item-label) + (python-imenu-format-parent-item-label) + (python-imenu-format-parent-item-jump-label) + (python-imenu--put-parent, python-imenu--build-tree) + (python-imenu-create-index, python-imenu-create-flat-index) + (python-util-popn): New functions. + (python-mode): Set imenu-create-index-function to + python-imenu-create-index. - * progmodes/python.el (python-shell-parse-command): - Find python-shell-interpreter with modified environment. +2013-04-18 Stefan Monnier -2013-01-26 Stefan Monnier + * winner.el (winner-active-region): Use region-active-p, activate-mark + and deactivate-mark (bug#14225). - * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias. + * simple.el (deactivate-mark): Don't inline it. -2013-01-24 Fabián Ezequiel Gallina +2013-04-18 Michael Albinus - * progmodes/python.el: Enhancements to header documentation about - skeletons. (Bug#5716) + * net/tramp-sh.el (tramp-remote-process-environment): Add "TMOUT=0". -2013-01-23 Fabián Ezequiel Gallina +2013-04-18 Tassilo Horn - * imenu.el (imenu-default-create-index-function): Remove useless - infinite loop check. (Bug#13438) + * files.el (auto-mode-alist): Delete OpenDocument and StarOffice + file extensions from the archive-mode entry in order to prefer + doc-view-mode-maybe with archive-mode as fallback (bug#14188). -2013-01-23 Alan Mackenzie +2013-04-18 Leo Liu - Fix a bug in the state cache mechanism. Refactor this a bit. + * bindings.el (help-event-list): Add ?\?. - * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the - `cache-pos' element from the return value. - (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of - buffer to enable proper searching from beyond HERE. Amend the - test for detecting the sought brace pair. Amend the value written - to the "brace desert cache" when the brace isn't found. - (c-remove-stale-state-cache): Rename `good-pos' to `start-point', - and several other variables analogously. - (c-remove-stale-state-cache-backwards): Change `cache-pos' from a - parameter to a locally calculated variable. - (c-parse-state-1): Change the calling conventions to the two - defuns involving `cache-pos'. +2013-04-18 Stefan Monnier -2013-01-23 Chong Yidong + * subr.el (with-wrapper-hook): Declare obsolete. + * simple.el (filter-buffer-substring-function): New hook. + (filter-buffer-substring): Use it. + (filter-buffer-substring-functions): Mark obsolete. + * minibuffer.el (completion-in-region-function): New hook. + (completion-in-region): Use it. + (completion-in-region-functions): Mark obsolete. + * mail/mailabbrev.el (mail-abbrevs-setup): Use abbrev-expand-function. + * abbrev.el (abbrev-expand-function): New hook. + (expand-abbrev): Use it. + (abbrev-expand-functions): Mark obsolete. + * emacs-lisp/nadvice.el (advice--where-alist): Add :filter-args + and :filter-return. - * xml.el (xml-entity-or-char-ref-re): Fix regexp. +2013-04-17 Fabián Ezequiel Gallina -2013-01-18 Leo Liu + * progmodes/python.el (python-nav--syntactically): Fix cornercases + and do not care about match data. - * dired.el (dired-get-marked-files): Prune erroneous values due to - last change. (Bug#13152) +2013-04-17 Stefan Monnier -2013-01-17 Glenn Morris + * emacs-lisp/lisp.el (lisp-completion-at-point): Provide specialized + completion tables when completing error conditions and + `declare' arguments. + (lisp-complete-symbol, field-complete): Mark as obsolete. + (check-parens): Unmatched parens are user errors. + * minibuffer.el (minibuffer-completion-contents): Mark as obsolete. - * progmodes/etags.el (tags-table-check-computed-list): - Preserve point in tags buffer. (Bug#13412) +2013-04-17 Michal Nazarewicz -2013-01-16 Glenn Morris + * textmodes/flyspell.el (flyspell-check-pre-word-p): Return nil if + command changed buffer (ie. `flyspell-pre-buffer' is not current + buffer), which prevents making decisions based on invalid value of + `flyspell-pre-point' in the wrong buffer. Most notably, this used to + cause an error when `flyspell-pre-point' was nil after switching + buffers. + (flyspell-post-command-hook): No longer needs to change buffers when + checking pre-word. While at it remove unnecessary progn. - * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix. +2013-04-17 Nicolas Richard (tiny change) - * mail/rmailmm.el (rmail-insert-mime-forwarded-message): - Revert 2012-12-29 change. Ref: - + * textmodes/ispell.el (ispell-add-per-file-word-list): + Fix `flyspell-correct-word-before-point' error when accepting + words and `coment-padding' is an integer by using + `comment-normalize-vars' (Bug #14214). -2013-01-10 Fabián Ezequiel Gallina +2013-04-17 Fabián Ezequiel Gallina - * progmodes/python.el (python-nav-end-of-statement): - Fix cornercase when handling multiline strings. + New defun movement commands. + * progmodes/python.el (python-nav--syntactically) + (python-nav--forward-defun, python-nav-backward-defun) + (python-nav-forward-defun): New functions. -2013-01-10 Glenn Morris +2013-04-17 Fabián Ezequiel Gallina - * emacs-lisp/authors.el (authors-ignored-files) - (authors-valid-file-names, authors-renamed-files-alist): - Add some more entries. + * progmodes/python.el (python-syntax--context-compiler-macro): New defun. + (python-syntax-context): Use named compiler-macro for backwards + compatibility with Emacs 24.x. -2013-01-09 Stefan Monnier +2013-04-17 Leo Liu - * image-mode.el (image-mode-winprops): Don't throw away the fallback - `t' pseudo-window entry. + * progmodes/octave-mod.el (octave-mode-map): Fix key binding to + octave-hide-process-buffer. -2013-01-09 Alan Mackenzie +2013-04-17 Stefan Monnier - Fix bugs in the c-parse-state mechanism. Reuse some markers - instead of continually generating new ones. + * vc/vc-hg.el (vc-hg-annotate-re): Disallow ": " in file names + (bug#14216). - * progmodes/cc-engine.el (c-state-old-cpp-beg-marker) - (c-state-old-cpp-end-marker): New variables. - (c-append-lower-brace-pair-to-state-cache): Start a backward - search for "}" definitively outside CPP constructs. - (c-remove-stale-state-cache): Inform the caller of a need to - search back for a brace pair in certain circumstances. - (c-state-maybe-marker): New macro. - (c-parse-state): Reuse markers when appropriate. +2013-04-17 Jean-Philippe Gravel -2013-01-09 Glenn Morris + * progmodes/gdb-mi.el (gdbmi-bnf-incomplete-record-result): + Fix adjustment of offset when receiving incomplete responses from GDB + (bug#14129). - * simple.el (execute-extended-command): Doc fix. - Bind prefix-arg around read-extended-command, for prompt. (Bug#13395) +2013-04-16 Stefan Monnier -2013-01-09 Chong Yidong + * progmodes/python.el (python-mode-skeleton-abbrev-table): Rename from + python-mode-abbrev-table. + (python-skeleton-define): Adjust accordingly. + (python-mode-abbrev-table): New table that inherits from it so that + python-skeleton-autoinsert does not affect non-skeleton abbrevs. - * faces.el (read-face-name): Doc fix. + * abbrev.el (abbrev--symbol): New function, extracted from abbrev-symbol. + (abbrev-symbol): Use it. + (abbrev--before-point): Use it since we already handle inheritance. -2013-01-09 Glenn Morris +2013-04-16 Leo Liu - * emacs-lisp/trace.el (trace-function, trace-function-background): - Doc fix. + * progmodes/octave-mod.el (octave-mode-map): Remove redundant key + binding to info-lookup-symbol. -2013-01-09 Juri Linkov +2013-04-16 Juanma Barranquero - * international/mule-cmds.el (read-char-by-name): Move let-binding - of completion-ignore-case around completing-read to fix regression - exhibited by the test case `C-x 8 RET *acc TAB' and caused by - `string-match-p' using the nil value of `case-fold-search' and - `completion-ignore-case' in `completion-pcm--all-completions'. - (Bug#12615). + * minibuffer.el (completion--twq-all): + * term/ns-win.el (ns-initialize-window-system): + * term/w32-win.el (w32-initialize-window-system): Silence byte-compiler. -2013-01-07 Glenn Morris +2013-04-16 Stefan Monnier - * progmodes/compile.el (compilation-parse-errors): - Fix typo. (Bug#13369) + * emacs-lisp/nadvice.el (add-function): Default simple vars to their + global bindings. -2013-01-07 Vitalie Spinu (tiny change) + * doc-view.el (doc-view-start-process): Handle url-handler directories. - * comint.el (comint-send-input): Check size of buffer before - waiting for process output, in case already accepted. (Bug#13290) +2013-04-15 Dmitry Gutov -2013-01-04 Michael Albinus + * progmodes/ruby-mode.el (ruby-beginning-of-defun) + (ruby-end-of-defun, ruby-move-to-block): Bind `case-fold-search' + to nil. + (ruby-end-of-defun): Remove the unused arg, change the docstring + to reflect that this function is only used as the value of + `end-of-defun-function'. + (ruby-beginning-of-defun): Remove "top-level" from the docstring, + to reflect an earlier change that beginning/end-of-defun functions + jump between methods in a class definition, as well as top-level + functions. - * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be - non-negative integers. Otherwise, the default values are used. - (tramp-convert-file-attributes): Convert uid and gid to integers. +2013-04-15 Stefan Monnier -2013-01-03 Glenn Morris + * minibuffer.el (minibuffer-complete): Don't just scroll + a *Completions* that's been iconified. + (minibuffer-force-complete): Make sure repetitions do cycle when going + through completion-in-region -> minibuffer-complete. - * term.el (term-handle-colors-array): Ensure face attributes - are fully specified, not nil. (Bug#13337) +2013-04-15 Alan Mackenzie - * term.el (term-default-fg-color, term-default-bg-color): - Fix custom type. + Correct the placement of c-cpp-delimiters when there're #s not at + col 0. - * progmodes/etags.el (tags-compression-info-list): Doc fix. - (tag-find-file-of-tag-noselect): Check auto-compression-mode - rather than 'jka-compr being loaded. (Bug#13338) + * progmodes/cc-langs.el (c-anchored-cpp-prefix): Reformulate and + place a submatch around the #. + * progmodes/cc-mode.el(c-neutralize-syntax-in-and-mark-CPP): + Start a search at BOL. Put the c-cpp-delimiter category text propertiy + on the #, not BOL. - * subr.el (eval-after-load): Don't purecopy the form, so that it - can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331) +2013-04-15 Stefan Monnier + + * emacs-lisp/nadvice.el: Properly test names when adding advice. + (advice--member-p): New arg `name'. + (advice--add-function, advice-member-p): Use it (bug#14202). + +2013-04-15 Filipp Gunbin + + Reformulate java imenu-generic-expression. + The old expression contained ill formed regexps. + + * progmodes/cc-menus.el (cc-imenu-java-ellipsis-regexp) + (cc-imenu-java-type-spec-regexp, cc-imenu-java-comment-regexp) + (cc-imenu-java-method-arg-regexp): New defconsts. + (cc-imenu-java-build-type-args-regex): New defun. + (cc-imenu-java-generic-expression): Fix, to remove "ambiguous" + handling of spaces in the regexp. + +2013-03-15 Agustín Martín Domingo + + * textmodes/ispell.el (ispell-command-loop): Remove + flyspell highlight of a word when ispell accepts it (bug #14178). + +2013-04-15 Michael Albinus + + * net/ange-ftp.el (ange-ftp-run-real-handler-orig): New defun, + uses code from the previous `ange-ftp-run-real-handler'. + (ange-ftp-run-real-handler): Set it to `tramp-run-real-handler' + only in case that function exist. This is needed for proper + unloading of Tramp. + +2013-04-15 Tassilo Horn + + * textmodes/reftex-vars.el (reftex-label-regexps): New defcustom. + + * textmodes/reftex.el (reftex-compile-variables): Use it. + +2013-04-14 Stefan Monnier + + * files.el (normal-mode): Only use default major-mode if no other mode + was specified. + + * emacs-lisp/trace.el (trace-values): New function. + + * files.el: Allow : in local variables (bug#14089). + (hack-local-variable-regexp): New var. + (hack-local-variables-prop-line, hack-local-variables): Use it. + +2013-04-13 Roland Winkler + + * textmodes/bibtex.el (bibtex-search-entries): Bug fix. Use match + data before it gets modified by bibtex-beginning-of-entry. + +2013-04-13 Roland Winkler + + * textmodes/bibtex.el (bibtex-url): Doc fix. + +2013-04-13 Roland Winkler + + * textmodes/bibtex.el (bibtex-initialize): If the current buffer + does not visit a BibTeX file, exclude it from the list of buffers + returned by bibtex-initialize. + +2013-04-13 Stephen Berman + + * window.el (split-window): Remove interactive form, since as a + command this function is a special case of split-window-below. + Correct doc string. + +2013-04-12 Roland Winkler + + * faces.el (read-face-name): Do not override value of arg default. + Allow single faces and strings as default values. Remove those + elements from return value that are not faces. + (describe-face): Simplify. + (face-at-point): New optional args thing and multiple so that this + function can provide the same functionality previously provided by + read-face-name. + (make-face-bold, make-face-unbold, make-face-italic) + (make-face-unitalic, make-face-bold-italic, invert-face) + (modify-face, read-face-and-attribute): Use face-at-point. + + * cus-edit.el (customize-face, customize-face-other-window) + * cus-theme.el (custom-theme-add-face) + * face-remap.el (buffer-face-set) + * facemenu.el (facemenu-set-face): Use face-at-point. + +2013-04-12 Michael Albinus + + * info.el (Info-file-list-for-emacs): Add "tramp" and "dbus". + +2013-04-10 Tassilo Horn + + * textmodes/reftex-cite.el (reftex-parse-bibtex-entry): Don't cut + off leading { and trailing } from field values. + +2013-04-10 Stefan Monnier + + * emacs-lisp/timer.el (timer--check): New function. + (timer--time, timer-set-function, timer-event-handler): Use it. + (timer-set-idle-time): Simplify. + (timer--activate): CSE. + (timer-event-handler): Give more info in error message. + (internal-timer-start-idle): New function, moved from C. + + * mpc.el (mpc-proc): Add `restart' argument. + (mpc-proc-cmd): Use it. + (mpc--status-timer-run): Also catch signals from `mpc-proc'. + (mpc-status-buffer-show, mpc-tagbrowser-dir-toggle): Call `mpc-proc' + less often. + +2013-04-10 Masatake YAMATO + + * progmodes/sh-script.el: Implement `sh-mode' own + `add-log-current-defun-function' (bug#14112). + (sh-current-defun-name): New function. + (sh-mode): Use the function. + +2013-04-09 Bastien Guerry + + * simple.el (choose-completion-string): Fix docstring (bug#14163). + +2013-04-08 Stefan Monnier + + * emacs-lisp/edebug.el (edebug-mode): Fix typo (bug#14144). + + * emacs-lisp/timer.el (timer-event-handler): Don't retrigger a canceled + timer (bug#14156). + +2013-04-07 Nic Ferrier + + * emacs-lisp/ert.el (should, should-not, should-error): Add edebug + declaration. + +2013-04-07 Leo Liu + + * pcmpl-x.el: New file. + +2013-04-06 Dmitry Antipov + + Do not set x-display-name until X connection is established. + This is needed to prevent from weird situation described at + . + * frame.el (make-frame): Set x-display-name after call to + window system initialization function, not before. + * term/x-win.el (x-initialize-window-system): Add optional + display argument and use it. + * term/w32-win.el (w32-initialize-window-system): + * term/ns-win.el (ns-initialize-window-system): + * term/pc-win.el (msdos-initialize-window-system): + Add compatible optional display argument. + +2013-04-06 Eli Zaretskii + + * files.el (normal-backup-enable-predicate): On MS-Windows and + MS-DOS compare truenames of temporary-file-directory and of the + file, so that 8+3 aliases (usually found in $TEMP on Windows) + don't fail comparison by compare-strings. Also, compare file + names case-insensitively on MS-Windows and MS-DOS. + +2013-04-05 Stefan Monnier + + * emacs-lisp/package.el (package-compute-transaction): Fix last fix. + Suggested by Donald Curtis (bug#14082). + +2013-04-05 Dmitry Gutov + + * whitespace.el (whitespace-color-on, whitespace-color-off): + Only call `font-lock-fontify-buffer' when `font-lock-mode' is on. + +2013-04-05 Jacek Chrząszcz (tiny change) + + * ispell.el (ispell-set-spellchecker-params): + Really set `ispell-args' for all equivs. + +2013-04-05 Stefan Monnier + + * ido.el (ido-completions): Use extra elements of ido-decorations + (bug#14143). + (ido-decorations): Update docstring. + +2013-04-05 Michael Albinus + + * autorevert.el (auto-revert-mode, auto-revert-tail-mode) + (global-auto-revert-mode): Let-bind `auto-revert-use-notify' to + nil during initialization, in order not to miss changes since the + file was opened. (Bug#14140) + +2013-04-05 Leo Liu + + * kmacro.el (kmacro-call-macro): Fix bug#14135. + +2013-04-05 Jay Belanger + + * calc/calc-units.el (calc-convert-units): Rewrite conditional. + +2013-04-04 Glenn Morris + + * electric.el (electric-pair-inhibit-predicate): Add :version. + +2013-04-04 Stefan Monnier + + * emacs-lisp/package.el (package-compute-transaction): Fix ordering + when a package is required several times (bug#14082). + +2013-04-04 Roland Winkler + + * faces.el (read-face-name): Behave as promised by the docstring. + Assume that arg default is a list of faces. + (describe-face): Call read-face-name with list of default faces. + +2013-04-04 Thierry Volpiatto + + * bookmark.el: Fix deletion of bookmarks (bug#13972). + (bookmark-bmenu-list): Don't toggle filenames if alist is empty. + (bookmark-bmenu-execute-deletions): Only skip first line if it's + the header. + (bookmark-exit-hook-internal): Save even if list is empty. + +2013-04-04 Yann Hodique (tiny change) + + * emacs-lisp/package.el (package-pinned-packages): New var. + (package--add-to-archive-contents): Obey it (bug#14118). + +2013-04-03 Alan Mackenzie + + Handle `parse-partial-sexp' landing inside a comment opener + (Bug#13244). Also adapt to the new values of element 7 of a parse + state. + + * progmodes/cc-engine.el (c-state-pp-to-literal): New optional + parameter `not-in-delimiter'. Handle being inside comment opener. + (c-invalidate-state-cache-1): Reckon with an extra "invalid" + character in case we're typing a '*' after a '/'. + (c-literal-limits): Handle the awkward "not-in-delimiter" cond arm + instead by passing the parameter to c-state-pp-to-literal. + + * progmodes/cc-fonts.el (c-font-lock-doc-comments): New handling + for elt. 7 of a parse state. + +2013-04-01 Paul Eggert + + Use UTF-8 for most files with non-ASCII characters (Bug#13936). + * international/latin1-disp.el, international/mule-util.el: + * language/cyril-util.el, language/european.el, language/ind-util.el: + * language/lao-util.el, language/thai.el, language/tibet-util.el: + * language/tibetan.el, language/viet-util.el: + Switch from iso-2022-7bit to utf-8 or (if needed) utf-8-emacs. + +2013-04-01 Stefan Monnier + + * electric.el (electric-pair-inhibit-predicate): New var (bug#14000). + (electric-pair-post-self-insert-function): Use it. + (electric-pair-default-inhibit): New function, extracted from + electric-pair-post-self-insert-function. + +2013-03-31 Roland Winkler + + * emacs-lisp/crm.el (completing-read-multiple): Doc fix. + +2013-03-31 Stefan Monnier + + * hi-lock.el (hi-lock-mode): Cleanup after revert-buffer (bug#13891). + +2013-03-30 Fabián Ezequiel Gallina + + Un-indent after "pass" and "return" statements (Bug#13888) + * progmodes/python.el (python-indent-block-enders): New var. + (python-indent-calculate-indentation): Use it. + +2013-03-30 Michael Albinus + + * net/tramp.el (tramp-drop-volume-letter): Make it an ordinary + defun. Defining it as defalias could introduce too eager + byte-compiler optimization. (Bug#14030) + +2013-03-30 Chong Yidong + + * iswitchb.el (iswitchb-read-buffer): Fix typo. + +2013-03-30 Leo Liu + + * kmacro.el (kmacro-call-macro): Add optional arg MACRO. + (kmacro-execute-from-register): Pass the keyboard macro to + kmacro-call-macro or repeating won't work correctly. + +2013-03-30 Teodor Zlatanov + + * progmodes/subword.el: Back to using `forward-symbol'. + + * subr.el (forward-whitespace, forward-symbol) + (forward-same-syntax): Move from thingatpt.el. + +2013-03-29 Leo Liu + + * kmacro.el (kmacro-to-register): New command. + (kmacro-execute-from-register): New function. + (kmacro-keymap): Bind to 'x'. (Bug#14071) + +2013-03-29 Stefan Monnier + + * mpc.el: Use defvar-local and setq-local. + (mpc--proc-connect): Connection failures are not bugs. + (mpc-mode-map): `follow-link' only applies to the buffer's content. + (mpc-volume-map): Bind to the up-events. + +2013-03-29 Teodor Zlatanov + + * progmodes/subword.el (superword-mode): Use `forward-sexp' + instead of `forward-symbol'. + +2013-03-28 Stefan Monnier + + * emacs-lisp/edebug.el (edebug-mode): Make it a minor mode. + (edebug--recursive-edit): Use it. + (edebug-kill-buffer): Don't let-bind kill-buffer-hook. + (edebug-temp-display-freq-count): Don't let-bind buffer-read-only. + +2013-03-28 Leo Liu + + * vc/vc-bzr.el (vc-bzr-revert): Don't backup. (Bug#14066) + +2013-03-27 Eli Zaretskii + + * facemenu.el (list-colors-callback): New defvar. + (list-colors-redisplay): New function. + (list-colors-display): Install list-colors-redisplay as the + revert-buffer-function. (Bug#14063) + +2013-03-27 Stefan Monnier + + * minibuffer.el (completion-pcm--merge-completions): Make sure prefixes + and suffixes don't overlap (bug#14061). + + * case-table.el: Use lexical-binding. + (case-table-get-table): New function. + (get-upcase-table): Use it. Mark as obsolete. Adjust callers. + +2013-03-27 Teodor Zlatanov + + * progmodes/subword.el: Add `superword-mode' to do word motion + over symbol_words (parallels and leverages `subword-mode' which + does word motion inside MixedCaseWords). + +2013-03-27 Aidan Gauland + + * eshell/em-unix.el: Move su and sudo to... + * eshell/em-tramp.el: ...Eshell tramp module. + +2013-03-26 Stefan Monnier + + * desktop.el (desktop--v2s): Rename from desktop-internal-v2s. + Change return value to be a sexp. Delay `get-buffer' to after + restoring the desktop (bug#13951). + +2013-03-26 Leo Liu + + * register.el: Move semantic tag handling back to + cedet/semantic/senator.el. (Bug#14052) + +2013-03-26 Stefan Monnier + + * eshell/em-prompt.el (eshell-emit-prompt): Make sure we can't insert + into the prompt either (bug#13963). + +2013-03-25 Stefan Monnier + + * font-lock.el (lisp-font-lock-keywords-2): Don't highlight the "error" + part of "(error-foo)". + +2013-03-24 Juri Linkov + + * replace.el (list-matching-lines-prefix-face): New defcustom. + (occur-1): Pass `list-matching-lines-prefix-face' to the function + `occur-engine' if `face-differs-from-default-p' returns t. + (occur-engine): Add `,' inside backquote construct to evaluate + `prefix-face'. Propertize the prefix with the `prefix-face' face. + Pass `prefix-face' to the functions `occur-context-lines' and + `occur-engine-add-prefix'. + (occur-engine-add-prefix, occur-context-lines): Add optional arg + `prefix-face' and propertize the prefix with `prefix-face'. + (Bug#14017) + +2013-03-24 Leo Liu + + * nxml/rng-valid.el (rng-validate-while-idle) + (rng-validate-quick-while-idle): Guard against deleted buffer. + (Bug#13999) + + * emacs-lisp/edebug.el (edebug-mode): Make sure edebug-kill-buffer + is the last entry in kill-buffer-hook. + + * files.el (kill-buffer-hook): Doc fix. + +2013-03-23 Dmitry Gutov + + * emacs-lisp/lisp-mode.el (emacs-lisp-docstring-fill-column): + Make it safe-local. + + * vc/diff-mode.el (diff-mode-shared-map): Unbind "/" (Bug#14034). + +2013-03-23 Leo Liu + + * nxml/nxml-util.el (nxml-with-unmodifying-text-property-changes): + Remove. + + * nxml/rng-valid.el (rng-validate-mode) + (rng-after-change-function, rng-do-some-validation): + * nxml/rng-maint.el (rng-validate-buffer): + * nxml/nxml-rap.el (nxml-tokenize-forward, nxml-ensure-scan-up-to-date): + * nxml/nxml-outln.el (nxml-show-all, nxml-set-outline-state): + * nxml/nxml-mode.el (nxml-mode, nxml-degrade, nxml-after-change) + (nxml-extend-after-change-region): Use with-silent-modifications. + + * nxml/rng-nxml.el (rng-set-state-after): Do not let-bind + timer-idle-list. + + * nxml/rng-valid.el (rng-validate-while-idle-continue-p) + (rng-next-error-1, rng-previous-error-1): Do not let-bind + timer-idle-list. (Bug#13999) + +2013-03-23 Juri Linkov + + * info.el (info-index-match): New face. + (Info-index, Info-apropos-matches): Add a nested subgroup to the + main pattern and add text properties with the new face to matches + in index entries relative to the beginning of the index entry. + (Bug#14015) + +2013-03-21 Eric Ludlam + + * eieio/eieio-datadebug.el (data-debug/eieio-insert-slots): + Inhibit read only while inserting objects. + +2013-03-22 Teodor Zlatanov + + * progmodes/cfengine.el: Update docs to mention + `cfengine-auto-mode'. Use \_> and \_< instead of \> and \< for + symbol motion. Remove "_" from the word syntax. + +2013-03-21 Teodor Zlatanov + + * progmodes/cfengine.el (cfengine-common-syntax): Add "_" to word + syntax for both `cfengine2-mode' and `cfengine3-mode'. + +2013-03-20 Juri Linkov + + * info.el (Info-next-reference-or-link) + (Info-prev-reference-or-link): New functions. + (Info-next-reference, Info-prev-reference): Use them. + (Info-try-follow-nearest-node): Handle footnote navigation. + (Info-fontify-node): Fontify footnotes. (Bug#13989) + +2013-03-20 Stefan Monnier + + * subr.el (posn-point, posn-string): Fix it here instead (bug#13979). + * mouse.el (mouse-on-link-p): Undo scroll-bar fix. + +2013-03-20 Paul Eggert + + Suppress unnecessary non-ASCII chatter during build process. + * international/ja-dic-cnv.el (skkdic-collect-okuri-nasi) + (batch-skkdic-convert): Suppress most of the chatter. + It's not needed so much now that machines are faster, + and its non-ASCII component was confusing; see Dmitry Gutov in + . + +2013-03-20 Leo Liu + + * ido.el (ido-chop): Fix bug#10994. + +2013-03-19 Dmitry Gutov + + * whitespace.el (whitespace-font-lock, whitespace-font-lock-mode): + Remove vars. + (whitespace-color-on, whitespace-color-off): + Use `font-lock-fontify-buffer' (Bug#13817). + +2013-03-19 Stefan Monnier + + * mouse.el (mouse--down-1-maybe-follows-link): Fix follow-link + remapping in mode-line. + (mouse-on-link-p): Also check [mode-line follow-link] bindings. + +2013-03-19 Dmitry Gutov + + * whitespace.el (whitespace-color-on): Use `prepend' OVERRIDE + value for `whitespace-line' face (Bug#13875). + (whitespace-font-lock-keywords): Change description. + (whitespace-color-on): Don't save `font-lock-keywords' value, save + the constructed keywords instead. + (whitespace-color-off): Use `font-lock-remove-keywords' (Bug#13817). + +2013-03-19 Leo Liu + + * progmodes/compile.el (compilation-display-error): New command. + (compilation-mode-map, compilation-minor-mode-map): Bind it to + C-o. (Bug#13992) + +2013-03-18 Paul Eggert + + * term/x-win.el (x-keysym-pair): Add a Fixme (Bug#13936). + +2013-03-18 Jan Djärv + + * mouse.el (mouse-on-link-p): Check for scroll bar (Bug#13979). + +2013-03-18 Michael Albinus + + * net/tramp-compat.el (tramp-compat-user-error): New defun. + + * net/tramp-adb.el (tramp-adb-handle-shell-command): + * net/tramp-gvfs.el (top): + * net/tramp.el (tramp-find-method, tramp-dissect-file-name) + (tramp-handle-shell-command): Use it. + (tramp-dissect-file-name): Raise an error when hostname is a + method name, and neither method nor user is specified. + + * net/trampver.el: Update release number. + +2013-03-18 Leo Liu + + Make sure eldoc can be turned off properly. + * emacs-lisp/eldoc.el (eldoc-schedule-timer): Conditionalize on + eldoc-mode. + (eldoc-display-message-p): Revert last change. + (eldoc-display-message-no-interference-p) + (eldoc-print-current-symbol-info): Tweak. + +2013-03-18 Tassilo Horn + + * doc-view.el (doc-view-new-window-function): Check the new window + overlay's display property instead the char property of the + buffer's first char. Use `with-selected-window' instead of + `save-window-excursion' with `select-window'. + (doc-view-document->bitmap): Check the current doc-view overlay's + display property instead the char property of the buffer's first char. + +2013-03-18 Paul Eggert + + Automate the build of ja-dic.el (Bug#13984). + * international/ja-dic-cnv.el (skkdic-convert): Remove the annotations + from the input, rather than assume that it's been done for us by the + SKK script unannotate.awk. Switch ja-dic.el to UTF-8. Don't put + the current date into a ja-dic.el comment, as that complicates + regression testing. + +2013-03-18 Stefan Monnier + + * whitespace.el: Fix double evaluation. + (whitespace-space, whitespace-hspace, whitespace-tab) + (whitespace-newline, whitespace-trailing, whitespace-line) + (whitespace-space-before-tab, whitespace-indentation) + (whitespace-empty, whitespace-space-after-tab): Turn defcustoms into + obsolete defvars. + (whitespace-hspace-regexp): Fix regexp for emacs-unicode. + (whitespace-color-on): Use a single font-lock-add-keywords call. + Fix double-evaluation of face variables. + +2013-03-17 Michael Albinus + + * net/tramp-adb.el (tramp-adb-parse-device-names): + Use `start-process' instead of `call-process'. Otherwise, the + function might be blocked under MS Windows. (Bug#13299) + +2013-03-17 Leo Liu + + Extend eldoc to display info in the mode-line. (Bug#13978) + * emacs-lisp/eldoc.el (eldoc-post-insert-mode): New minor mode. + (eldoc-mode-line-string): New variable. + (eldoc-minibuffer-message): New function. + (eldoc-message-function): New variable. + (eldoc-message): Use it. + (eldoc-display-message-p) + (eldoc-display-message-no-interference-p): + Support eldoc-post-insert-mode. + + * simple.el (eval-expression-minibuffer-setup-hook): New hook. + (eval-expression): Run it. + +2013-03-17 Roland Winkler + + * emacs-lisp/crm.el (completing-read-multiple): Ignore empty + strings in the list of return values. + +2013-03-17 Jay Belanger + + * calc/calc-ext.el (math-read-number-fancy): Check for an explicit + radix before checking for HMS forms. + +2013-03-16 Leo Liu + + * progmodes/scheme.el: Add indentation and font-locking for λ. + (Bug#13975) + +2013-03-16 Stefan Monnier + + * emacs-lisp/smie.el (smie-auto-fill): Don't inf-loop if there's no + token before point (bug#13942). + +2013-03-16 Leo Liu + + * thingatpt.el (end-of-sexp): Fix bug#13952. Use syntax-after. + +2013-03-16 Eli Zaretskii + + * startup.el (command-line-normalize-file-name): Fix handling of + backslashes in DOS and Windows file names. Reported by Xue Fuqiao + in + http://lists.gnu.org/archive/html/help-gnu-emacs/2013-03/msg00245.html. + +2013-03-15 Michael Albinus + + Sync with Tramp 2.2.7. + + * net/trampver.el: Update release number. + +2013-03-14 Tassilo Horn + + * doc-view.el Fix bug#13887. + (doc-view-insert-image): Don't modify overlay associated to + non-live windows, and implement horizontal centering of image in + case it's smaller than the window. + (doc-view-new-window-function): Force redisplay of new windows on + doc-view buffers. + +2013-03-13 Karl Fogel + + * saveplace.el (save-place-alist-to-file): Don't sort + `save-place-alist', just pretty-print it (bug#13882). + +2013-03-13 Michael Albinus + + * net/tramp-sh.el (tramp-sh-handle-insert-directory): Check, + whether `default-file-name-coding-system' is bound. It isn't in + XEmacs. + +2013-03-13 Stefan Monnier + + * emacs-lisp/byte-run.el (defun-declarations-alist): Don't use + backquotes for `obsolete' (bug#13929). + + * international/mule.el (find-auto-coding): Include file name in + obsolescence warning (bug#13922). + +2013-03-12 Teodor Zlatanov + + * progmodes/cfengine.el (cfengine-parameters-indent): New variable + for CFEngine 3-specific indentation. + (cfengine3-indent-line): Use it. Fix up category regex. + (cfengine3-font-lock-keywords): Add bundle and namespace characters. + +2013-03-12 Stefan Monnier + + * type-break.el (type-break-file-name): + * textmodes/remember.el (remember-data-file): + * strokes.el (strokes-file): + * shadowfile.el (shadow-initialize): + * saveplace.el (save-place-file): + * ps-bdf.el (bdf-cache-file): + * progmodes/idlwave.el (idlwave-config-directory): + * net/quickurl.el (quickurl-url-file): + * international/kkc.el (kkc-init-file-name): + * ido.el (ido-save-directory-list-file): + * emulation/viper.el (viper-custom-file-name): + * emulation/vip.el (vip-startup-file): + * calendar/todo-mode.el (todo-file-do, todo-file-done, todo-file-top): + * calendar/timeclock.el (timeclock-file): Use locate-user-emacs-file. + +2013-03-12 Paul Eggert + + Switch encodings of tutorials, thai-word to UTF-8 (Bug#13880). + * language/thai-word.el: Switch to UTF-8. + +2013-03-11 Stefan Monnier + + * recentf.el (recentf-save-file): Use locate-user-emacs-file (bug#13870). + +2013-03-11 Thierry Volpiatto + + * net/net-utils.el (net-utils-remove-ctrl-m-filter): + Use with-current-buffer and don't move point. + (net-utils-run-simple): Remove useless code. + (net-utils-remove-ctl-m): Remove unused custom. + +2013-03-11 Per Starbäck + + * international/characters.el (glyphless-set-char-table-range): New fun. + (update-glyphless-char-display): Use it (bug#13744). + +2013-03-11 Teodor Zlatanov + + * progmodes/cfengine.el: Update for CFEngine 3.4.2 and higher: + namespaces in the syntax, indent closer for hanging brace + correctly, allow single-quote delimited 'strings', and make + `cfengine3-mode' the default. + +2013-03-11 Jean-Philippe Gravel + + * progmodes/gdb-mi.el: Speed up initialization (bug#10580). + Use lexical-binding. Fix up docstring according to conventions. + (gdbmi-debug-mode): New var. + (gdbmi-start-with, gdbmi-same-start, gdbmi-is-number, gdbmi-bnf-init) + (gdbmi-bnf-output, gdbmi-bnf-skip-unrecognized, gdbmi-bnf-gdb-prompt) + (gdbmi-bnf-result-record, gdbmi-bnf-out-of-band-record) + (gdbmi-bnf-async-record, gdbmi-bnf-stream-record) + (gdbmi-bnf-console-stream-output, gdbmi-bnf-target-stream-output) + (gdbmi-bnf-log-stream-output, gdbmi-bnf-result-and-async-record-impl) + (gdbmi-bnf-incomplete-record-result): New functions. + (gdb-car<): Remove function. + (gdbmi-record-list): Remove variable. + (gdbmi-bnf-state, gdbmi-bnf-offset): New vars. + (gdbmi-bnf-result-state-configs): New const. + (gud-gdbmi-marker-filter): Rewrite. + (gdb-ignored-notification, gdb-thread-created, gdb-thread-exited) + (gdb-thread-selected, gdb-running, gdb-starting, gdb-stopped): + Add `token' argument. + (gdb-done, gdb-error): New functions. + (gdb-done-or-error): Add `is-complete' argument. Change arg order. + +2013-03-11 Stefan Monnier + + * term/xterm.el (xterm--report-background-handler): Don't burp + upon timeout. + (xterm--version-handler): Extract from terminal-init-xterm. + (xterm--query): Don't mishandle timeout. Remove debugging messages. + Allow multiple handlers. + (terminal-init-xterm): Handle OSX's Terminal.app's incorrect answer. + + * term/xterm.el: Don't discard input (bug#6758). Use lexical-binding. + (xterm--report-background-handler, xterm--query): New functions. + (terminal-init-xterm): Use them. + +2013-03-11 Michael R. Mauger + + * progmodes/sql.el Version 3.2 + Please note that my address changed to ; + the address remains active. + (sql-connection-alist): Updates documentation to fix bug#13715. + (sql-connect): Handle missing `sql-connection-alist' correctly. + (sql-mode-oracle-font-lock-keywords): Add missing keywords. + (sql-magic-go, sql-magic-semicolon): Mark with `delete-selection' + property. + (sql-default-value): New function. + (sql-get-login-ext, sql-get-login): Fixes bug where buffer-local + values were not used. + (sql-rename-buffer): Make sure alternate buffer name has no text + properties. + (sql-input-sender, sql-execute-feature): Fetch variable with + `buffer-local-value' rather than `with-current-buffer'. + (sql-*): Use #' function syntax consistently. + (sql-*): Use message/error/user-error consistently. + +2013-03-11 Stefan Monnier + + * xt-mouse.el (xterm-mouse-event-read): Remove. + (xterm-mouse--read-event-sequence-1000) + (xterm-mouse--read-event-sequence-1006): Use read-event instead. + +2013-03-10 Stefan Monnier + + * term/xterm.el (xterm-function-map): Support format used with + formatOtherKeys=1 (bug#13839). + + * emacs-lisp/byte-run.el (dont-compile): Declare obsolete. + (with-no-warnings): Use `declare'. + + * whitespace.el (whitespace-enable-predicate): New variable. + (whitespace-enable-predicate): Use it. + + * comint.el (comint-send-input, comint-snapshot-last-prompt) + (comint-output-filter, comint-update-fence): + Use with-silent-modifications. + +2013-03-10 Jambunathan K + + * replace.el (occur-read-regexp-defaults-function): New var. + (occur-read-regexp-defaults): New defun. + (occur-read-primary-args): Propagate above change (bug#13892). + +2013-03-09 Stefan Monnier + + * mouse.el (mouse-drag-track): Remove left-over debugging code. + +2013-03-09 Michael Albinus + + Major rewrite due to changed D-Bus interface of GVFS 1.14. + + * net/tramp-gvfs.el (top): Extend check for gvfs availability. + (tramp-gvfs-methods-mounttracker, tramp-gvfs-listmounts) + (tramp-gvfs-mountlocation, tramp-gvfs-mountlocation-signature): + New defconst. + (tramp-gvfs-file-name-handler-alist) [directory-files] + [directory-files-and-attributes, file-exists-p, file-modes]: + Use Tramp default handler. + [file-acl, file-selinux-context, process-file, set-file-acl]: + [set-file-modes, set-file-selinux-context, shell-command]: + [start-file-process]: Remove handler. + [verify-visited-file-modtime]: New handler. + (tramp-gvfs-dbus-string-to-byte-array) + (tramp-gvfs-dbus-byte-array-to-string): New defuns. Replace all + calls of `dbus-string-to-byte-array' and + `tramp-gvfs-dbus-byte-array-to-string'. + (tramp-gvfs-handle-copy-file) + (tramp-gvfs-handle-delete-directory) + (tramp-gvfs-handle-delete-file, tramp-gvfs-handle-file-attributes) + (tramp-gvfs-handle-file-directory-p) + (tramp-gvfs-handle-file-executable-p) + (tramp-gvfs-handle-file-name-all-completions) + (tramp-gvfs-handle-file-readable-p) + (tramp-gvfs-handle-file-writable-p) + (tramp-gvfs-handle-insert-directory) + (tramp-gvfs-handle-insert-file-contents) + (tramp-gvfs-handle-make-directory, tramp-gvfs-handle-rename-file) + (tramp-gvfs-handle-set-visited-file-modtime) + (tramp-gvfs-handle-write-region): Rewrite. + (tramp-gvfs-handle-file-acl) + (tramp-gvfs-handle-file-selinux-context) + (tramp-gvfs-handle-process-file, tramp-gvfs-handle-set-file-acl) + (tramp-gvfs-handle-set-file-modes) + (tramp-gvfs-handle-set-file-selinux-context) + (tramp-gvfs-handle-shell-command) + (tramp-gvfs-handle-start-file-process) + (tramp-gvfs-handle-verify-visited-file-modtime): Remove defuns. + (tramp-gvfs-url-file-name): Do not use `file-truename', we work + over the symlinks. Fix user handling. + (top, tramp-gvfs-handler-mounted-unmounted): Handle different names + of the D-Bus signals. + (tramp-gvfs-connection-mounted-p): Handle different names of the + D-Bus methods. + (tramp-gvfs-mount-spec-entry): New defun. + (tramp-gvfs-mount-spec): Use it. + (tramp-gvfs-maybe-open-connection): Check, that in case of "smb" + there is a share name. Handle different names of the D-Bus + signals and methods. Set connection properties needed for + `tramp-check-cached-permissions'. + (tramp-gvfs-send-command): Apply `tramp-gvfs-maybe-open-connection'. + Return t or nil. + + * net/tramp.el (tramp-backtrace): Move up. + (tramp-error): Dump a backtrace into the debug buffer when + `tramp-verbose > 9. + (tramp-file-mode-type-map, tramp-file-mode-from-int) + (tramp-file-mode-permissions, tramp-get-local-uid) + (tramp-get-local-gid, tramp-check-cached-permissions): Move from + tramp-sh.el. + + * net/tramp-sh.el (tramp-file-mode-type-map) + (tramp-check-cached-permissions, tramp-file-mode-from-int) + (tramp-file-mode-permissions, tramp-get-local-uid) + (tramp-get-local-gid): Move to tramp.el. + +2013-03-09 Stefan Monnier + + Separate mouse-1-click-follows-link from mouse-drag-region. + * mouse.el (mouse--down-1-maybe-follows-link): New function. + (key-translation-map): Use it to implement mouse-1-click-follows-link. + (mouse-drag-line, mouse-drag-track): + Remove mouse-1-click-follows-link code. + (mouse--remap-link-click-p): Remove. + +2013-03-08 Jambunathan K + + * hi-lock.el (hi-lock-read-regexp-defaults-function): New var. + (hi-lock-read-regexp-defaults): New defun. + (hi-lock-line-face-buffer, hi-lock-face-buffer) + (hi-lock-face-phrase-buffer): Propagate above change. + Update docstring (bug#13892). + + * subr.el (find-tag-default-as-regexp): New defun. + * replace.el (read-regexp): Propagate above change. + +2013-03-08 Jay Belanger + + * calc/calc-units.el (calc-convert-units): Fix the way that default + new units are stored. + +2013-03-07 Matthias Meulien + + * bookmark.el: Define a face to highlight bookmark names in + bookmark menu buffers, where the default is a bold face similarly + to buffer names in buffer menu buffers. + (bookmark-menu-bookmark): New face to highlight bookmark names. + (bookmark-insert-location): Remove duplicated text property to + conform to buffer list (see `list-buffers'). + (bookmark-bmenu-list, bookmark-bmenu-hide-filenames): Apply face + `bookmark-menu-bookmark' to bookmark names. + +2013-03-07 Matthias Meulien + Karl Fogel + + * bookmark.el: Display the bookmark list header similarly to the + buffer list header (see `list-buffers'), where the default is now + an immovable/immutable header line. + (bookmark-bmenu-use-header-line): New variable. + (bookmark-bmenu-inline-header-height): New name for + `bookmark-bmenu-header-height', to avoid confusion with the code + for the new immovable header. All references changed. + (bookmark-bmenu-set-header): New function. + (bookmark-bmenu-list, bookmark-bmenu-toggle-filenames): + Conditionalize header construction accordingly. + (bookmark-bmenu-ensure-position): Conditionalize the skipping of + the inline header height. + (bookmark-bmenu-show-filenames, bookmark-bmenu-hide-filenames): + Conditionalize the skipping of the inline header height. + +2013-03-07 Dmitry Gutov + + * progmodes/js.el (js--multi-line-declaration-indentation): + Merge from js2-mode (https://github.com/mooz/js2-mode/issues/89). + +2013-03-06 Dmitry Gutov + + * progmodes/ruby-mode.el (ruby-syntax-propertize-function): + Only propertize regexp when not inside a string (Bug#13885). + +2013-03-06 Alan Mackenzie + + Correct the position of point in some line-up functions. + * progmodes/cc-align.el (c-lineup-whitesmith-in-block) + (c-lineup-assignments, c-lineup-gcc-asm-reg ): take position of + point at column 0 rather than at a random place in the line. + +2013-03-05 Michael Albinus + + * net/tramp-compat.el (tramp-compat-delete-directory): + Implement TRASH argument. + +2013-03-05 Dmitry Gutov + + Keep pre-existing highlighting in completion candidates (Bug#13250). + * minibuffer.el (completions-first-difference): State that the + face is "added" in the docstring. + (completions-common-part): Same. And don't inherit from default. + (completion-hilit-commonality): Prepend 'completions-common-part + and 'completion-first-difference faces to the 'face property, + instead of replacing the value(s). + (completion--insert-strings): Same with 'completions-annotations face. + (completion-hilit-commonality): Use 'face instead of + 'font-lock-face, because it gets priority if the completion + strings already have 'face set. + +2013-03-04 Alan Mackenzie + + Replace `last-command-event' by `last-command-char' in XEmacs. + * progmodes/cc-defs.el (c-last-command-char): New macro. + * progmodes/cc-align.el (c-semi&comma-inside-parenlist) + (c-semi&comma-no-newlines-before-nonblanks) + (c-semi&comma-no-newlines-for-oneline-inliners): Use the new macro + in place of `last-command-event'. + * progmodes/cc-cmds.el (c-electric-pound, c-electric-brace) + (c-electric-slash, c-electric-semi&comma, c-electric-lt-gt) + (c-electric-paren, c-electric-continued-statement): Use the new + macro in place of `last-command-event'. + +2013-03-04 Glenn Morris + + * files.el (inhibit-local-variables-regexps): + Add .diff and .patch. (Bug#13862) + +2013-03-03 Michael Albinus + + * net/tramp-adb.el (tramp-adb-maybe-open-connection): Cache, + whether the "su" command is available on the device. + +2013-03-01 Michael Albinus + + * net/tramp-adb.el (tramp-adb-prompt): Extend regexp. + (tramp-adb-handle-process-file): Remove superfluous setting. + (tramp-adb-command-exit-status): Handle case that COMMAND is nil. + (tramp-adb-barf-unless-okay): Use `tramp-adb-command-exit-status'. + (tramp-adb-maybe-open-connection): Apply "su" if user is defined. + +2013-03-01 Stefan Monnier + + * textmodes/ispell.el: Fix nitpicks and byte-compiler warnings. + (ispell-print-if-debug): Build `format' in. Avoid end-of-buffer. + (ispell-parse-hunspell-affix-file): Avoid beginning-of-buffer. + Use dict-key rather than dict-name for the error message. + +2013-03-01 Thierry Volpiatto + + * net/net-utils.el (net-utils-run-simple): Don't display-buffer + when reverting (bug#13831). + +2013-03-01 Agustín Martín Domingo + + * textmodes/ispell.el (ispell-find-hunspell-dictionaries): + Always expand affix-file before storing to protect against changed + `default-directory'. + (ispell-print-if-debug): Make sure message is printed at the end + of the debug buffer. + +2013-03-01 Michael Albinus + + * net/tramp.el (tramp-obsolete-methods): New defconst. + (tramp-warned-obsolete-methods): New defvar. + (tramp-find-method): Check for obsolete methods. Map them to a + replacement method if appropriate. + + * net/tramp-sh.el (tramp-methods) [scp1, scp2, ssh1, ssh2, plink1]: + Remove methods. + (top): Remove completion functions for "scp1", "scp2", "ssh1", + "ssh2" and "plink1". + +2013-02-28 Dale Sedivec + + * textmodes/sgml-mode.el (sgml-syntax-propertize-function): + Return valid syntax-table property value when converting + quotes within text from string syntax to punctuation syntax (bug#13844). + +2013-02-28 Juri Linkov + + * dired-aux.el (dired-diff): If file at point is a backup file, + use its original as the default value, and reverse the order + of arguments to the `diff' call. Doc fix. (Bug#13772) + +2013-02-28 Michael Albinus + + * net/tramp-adb.el (tramp-adb-sdk-dir): Remove. Replaced by ... + (tramp-adb-program): New defcustom. Remove function. Adapt calls. + +2013-02-28 Agustín Martín Domingo + + Initial support for hunspell dictionaries auto-detection (Bug#13639) + + * textmodes/ispell.el (ispell-find-hunspell-dictionaries): + Ask hunspell about available and default dictionaries. + (ispell-parse-hunspell-affix-file): Extract relevant info from + hunspell affix file. + (ispell-hunspell-fill-dictionary-entry): Fill non-initialized + `ispell-dictionary-alist' entry for given dictionary after info + provided by `ispell-parse-hunspell-affix-file'. + (ispell-hunspell-dict-paths-alist): New defvar to contain an alist + of parsed hunspell dicts and associated affix files. + (ispell-hunspell-dictionary-alist): New defvar to contain an alist + of parsed hunspell dicts and associated parameters. + (ispell-set-spellchecker-params): + Call `ispell-find-hunspell-dictionaries' if hunspell and not + previously done. + (ispell-start-process): + Call `ispell-hunspell-fill-dictionary-entry' for current + dictionary if it is not initialized. + +2013-02-28 Stefan Monnier + + * imenu.el: Comment nitpicks. + +2013-02-28 Sam Steingold + + * vc/diff-mode.el (diff-hunk-file-names): Handle filenames with spaces. + See . + +2013-02-28 Thierry Volpiatto + + * net/net-utils.el (net-utils--revert-function): New fun (bug#13831). + (net-utils-mode): Use it. + (net-utils--revert-cmd): New var. + (net-utils-run-simple): Set it, and remove bogus interactive spec. + (traceroute): Use net-utils-run-simple. + +2013-02-28 Glenn Morris + + * textmodes/paragraphs.el (mark-paragraph): Doc fix. + +2013-02-28 Stefan Monnier + + * doc-view.el: Preserve h&v scroll across C-c C-c C-c C-c. + (doc-view-fallback-mode): Remove overlays here. + (doc-view-toggle-display): Instead of here. Don't throw away + image-mode-winprops-alist. + (doc-view-goto-page): Don't mess with hscroll. + +2013-02-27 Thierry Volpiatto + + * font-lock.el (lisp-font-lock-keywords-2): Fix highlighting of + &optional (bug#13819). + +2013-02-27 Michael Albinus + + * net/tramp-adb.el (tramp-adb-parse-device-names) + (tramp-adb-maybe-open-connection): Add timeouts. (Bug#13299) + +2013-02-26 Michael Albinus + + * net/tramp-sh.el (tramp-sh-handle-insert-directory): + Add "2>/dev/null" to the ls command, in case "en_US.utf8" is not + defined. POSIX environments fall back to the "C" locale then and + emit a warning, which shall be suppressed. + +2013-02-26 Stefan Monnier + + * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): Tweak logic. + (easy-mmode-set-keymap-parents): Use make-composed-keymap. + +2013-02-25 Stefan Monnier + + * emacs-lisp/bytecomp.el (byte-compile-file): Use let. + +2013-02-25 Juri Linkov + + * replace.el (read-regexp): Let-bind `default' to the first + element of `defaults' if it's a list, otherwise it should be + a string or nil. Let-bind `suggestions' to `defaults' if it's + a list, otherwise make a list with the string value. Doc fix. + (Bug#13805) + +2013-02-25 Eli Zaretskii + + * emacs-lisp/bytecomp.el (byte-recompile-directory): Reject files + that match "\`\.#", to avoid compiling lock files, even if they + are readable (as they are on MS-Windows). + +2013-02-25 Stefan Monnier + + * files.el (basic-save-buffer): Remove redundant directory-creation. + +2013-02-24 Jay Belanger + + * calc/calc-ext.el (math-to-radians-2, math-from-radians-2): + Add option to force `pi' to remain symbolic. + * calc/calcalg2.el (calcFunc-sin, calcFunc-cos, calcFunc-tan) + (calcFunc-cot, calcFunc-csc, calcFunc-sec, calcFunc-arcsin) + (calcFunc-arccos, calcFunc-arctan): Use symbolic `pi' in the + derivatives, when necessary. + +2013-02-23 Peter Kleiweg + + * progmodes/ps-mode.el (ps-mode-version): Bump to 1.1i. + (ps-mode-octal-region): Use string-make-unibyte. + +2013-02-23 Glenn Morris + + * emulation/viper-cmd.el (viper-submit-report): + * progmodes/ps-mode.el (ps-mode-maintainer-address): + * progmodes/vera-mode.el (vera-mode-help-address): + * textmodes/artist.el (artist-maintainer-address): + * textmodes/reftex.el (reftex-report-bug): + * vc/ediff-util.el (ediff-submit-report): + Add bug-gnu-emacs to bug report address. + + * progmodes/simula.el (simula-mode-menu, simula-mode-map): + Remove bug report entries. + (simula-mode-help-address, simula-submit-bug-report): Make obsolete. + + * emacs-lisp/bytecomp.el (byte-compile-level): New. + (byte-compile-file, byte-compile-from-buffer): + Use separate input/output buffers for each level of recursive + byte-compile-file calls. (Bug#13787) + +2013-02-23 Michael Albinus + + * net/tramp.el (tramp-methods): Fix docstring. + (tramp-ssh-controlmaster-options): Rename it from + `tramp-ssh-controlmaster-template'. Return a string. + (tramp-default-method): Adapt check for + `tramp-ssh-controlmaster-options'. + + * net/tramp-sh.el (tramp-methods): + Replace `tramp-ssh-controlmaster-template' by "%c". + (tramp-do-copy-or-rename-file-out-of-band) + (tramp-maybe-open-connection): Use it in format spec. Ensure, + that it is applied for the first hop only. + +2013-02-22 Juri Linkov + + * isearch.el (isearch-lazy-highlight-new-loop): + Set `isearch-lazy-highlight-start' and `isearch-lazy-highlight-end' + to `isearch-other-end' if it is not nil. (Bug#13402) + + * replace.el (replace-highlight): Let-bind `isearch-other-end' + to `match-beg'. + + * textmodes/ispell.el (ispell-highlight-spelling-error-overlay): + Let-bind `isearch-other-end' to `start', `isearch-forward' to t + and `isearch-error' to nil. + +2013-03-16 Fabián Ezequiel Gallina + + * progmodes/python.el (python-info-current-defun): + Enhance match-data cluttering prevention. + +2013-02-22 Michael Albinus + + * net/tramp.el (tramp-tramp-file-p): Fix docstring. + + * net/tramp-sh.el (tramp-sh-handle-insert-directory): + Handle multibyte file names. + +2013-02-22 Glenn Morris + + * textmodes/sgml-mode.el (sgml-xml-mode): Move before use. + (sgml-transformation-function): Give it a :set function. + (sgml-tag): Doc fix. + + * cmuscheme.el (scheme-buffer): + * progmodes/inf-lisp.el (inferior-lisp-buffer): + * progmodes/tcl.el (inferior-tcl-buffer): + * textmodes/tex-mode.el (tex-command): Doc fixes. + + * image-mode.el (image-mode): Add mouse bindings for mode-line-process. + + * htmlfontify.el (hfy-default-header): Encode title string. (Bug#7457) + +2013-02-21 Bastien Guerry + + * cmuscheme.el (scheme-buffer): Fix docstring. (Bug#13778) + +2013-02-21 Fabián Ezequiel Gallina + + * progmodes/python.el (python-info-current-defun): + Enhance match-data cluttering prevention. + +2013-02-21 Glenn Morris + + * net/tramp.el (tramp-get-debug-buffer): Ensure outline.el is not + loaded while outline-regexp is let bound. (Bug#9584) + +2013-02-21 Fabián Ezequiel Gallina + + * progmodes/python.el (python-info-current-defun): Fix failed + defun name retrieval because of unwanted match-data cluttering. + +2013-02-21 Michael Albinus + + * net/tramp.el (tramp-ssh-controlmaster-template): Make it a + defconst. Apply independent check for ControlPersist. + + * net/tramp-sh.el (tramp-sh-handle-set-file-times): Set $UTC only + temporarily, via "env". + +2013-02-21 Glenn Morris + + * info.el (Info-enable-edit): Remove. + (Info-edit): Disable it rather than using Info-enable. + (Info-edit-mode-hook, Info-edit-map, Info-edit-mode, Info-edit) + (Info-cease-edit): Make editing of Info files obsolete. + + * informat.el (Info-tagify): + Handle buffers not visiting files. (Bug#13763) + +2013-02-21 Juanma Barranquero + + * calc/calc-graph.el (calc-graph-show-dumb): Fix typo. + +2013-02-21 Glenn Morris + + * files.el (basic-save-buffer): Move check for existing parent + directory after hooks. (Bug#13773) + +2013-02-20 Stefan Monnier + + * simple.el (command-execute): Move from C. Add obsolete check. + (extended-command-history): Move from C. + +2013-02-20 Ulrich Müller + + * jka-cmpr-hook.el (jka-compr-compression-info-list) + (jka-compr-mode-alist-additions): Handle .txz suffix for + XZ-compressed tar archives (bug#13770). + +2013-02-20 Bastien Guerry + + * outline.el (outline-regexp, outline-heading-end-regexp): + Make variables, not options (bug#13731). + +2013-02-20 Glenn Morris + + * image.el (image-current-frame): Change from variable to function. + (image-show-frame): Rename from image-nth-frame. Update callers. + * image-mode.el (image-multi-frame): New variable. + (image-mode-map, image-mode, image-goto-frame): + Use image-multi-frame rather than image-current-frame. + (image-mode, image-goto-frame): Use image-current-frame as + function rather than as variable. + + * emacs-lisp/cl-lib.el (cl-floatp-safe): Make it an alias for floatp. + * emacs-lisp/cl-macs.el (cl--make-type-test) + (cl--compiler-macro-assoc): Use floatp rather than cl-floatp-safe. + +2013-02-19 Michael Albinus + + * net/tramp-cache.el (tramp-get-hash-table): New defun. + (tramp-get-file-property, tramp-set-file-property) + (tramp-get-connection-property, tramp-set-connection-property): Use it. + (tramp-flush-file-property, tramp-flush-directory-property): + Rename argument to KEY. + (tramp-flush-connection-property): Simplify a little bit. + (tramp-connection-property-p): New defun. + (top): Reapply saved values only if there isn't a corresponding + entry in `tramp-connection-properties'. + +2013-02-19 Fabián Ezequiel Gallina + + * progmodes/python.el (python-indent-context): + Fix python-info-line-ends-backslash-p call. + (python-info-line-ends-backslash-p) + (python-info-beginning-of-backslash): Respect line-number argument. + (python-info-current-line-comment-p): + Fix behavior when not at beginning-of-line. + (python-util-position): Remove function. + (python-util-goto-line): New function. + +2013-02-19 Michael Albinus + + * eshell/em-unix.el (eshell/su): Require tramp. + (eshell/sudo): Require tramp. Remove now unnecessary check. + + * net/tramp-sh.el (tramp-sh-handle-start-file-process): Let-bind + `tramp-current-connection' in order to avoid an error when several + commands are invoked in a short time in eshell and friends. + +2013-02-19 Stefan Monnier + + Cleanup some of EIEIO's namespace. + * emacs-lisp/eieio.el (eieio--define-field-accessors): New macro. + Use it to define all the class-* and object-* field accessors (renamed + to eieio--class-* and eieio--object-*). Update all uses. + (eieio--class-num-slots, eieio--object-num-slots): Rename from + class-num-slots and object-num-slots. + (eieio--check-type): New macro. + (eieio-defclass, eieio-oref, eieio-oref-default, same-class-p) + (object-of-class-p, child-of-class-p, object-slots, class-slot-initarg) + (eieio-oset, eieio-oset-default, object-assoc, object-assoc-list) + (object-assoc-list-safe): Use it. + (eieio-defclass): Tighten regexp. + (eieio--defmethod): Use `memq'. Signal an error for unknown method kind. + Remove unreachable code. + (object-class-fast): Declare obsolete. + (eieio-class-name, eieio-object-name, eieio-object-set-name-string) + (eieio-object-class, eieio-object-class-name, eieio-class-parents) + (eieio-class-children, eieio-class-precedence-list, eieio-class-parent): + Rename from class-name, object-name, object-set-name-string, + object-class, object-class-name, class-parents, class-children, + class-precedence-list, class-parent; with obsolete alias. + (class-of, class-direct-superclasses, class-direct-subclasses): + Declare obsolete. + (eieio-defmethod): Use `memq'; remove unreachable code. + * emacs-lisp/eieio-base.el (eieio-persistent-read): + * emacs-lisp/eieio-opt.el (eieio-class-button, eieio-describe-generic) + (eieio-browse-tree, eieio-browse): Use eieio--check-type. + +2013-02-18 Aidan Gauland + + * eshell/em-cmpl.el: Correct "context-related help" keybinding in + commentary. + +2013-02-18 Michael Heerdegen + + * emacs-lisp/eldoc.el (eldoc-highlight-function-argument): + Use font-lock-keyword-face for macros and special forms (bug#8345). + +2013-02-17 Didier Verna + + * net/network-stream.el (network-stream-open-starttls): + Check that response to the starttls-command is non-nil. (Bug#13706) + +2013-02-17 Stefan Monnier + + * font-lock.el (lisp-font-lock-keywords-1, lisp-font-lock-keywords-2): + Don't assume all identifier chars have syntax word. + * emacs-lisp/lisp-mode.el (lisp-mode-variables): + Remove bar-not-symbol. Adjust callers. + (lisp-mode-variables): Don't set a font-lock-syntax-table. + +2013-02-17 Leo Liu + + * net/rcirc.el (rcirc-keepalive): Fix invalid timer error. + +2013-02-17 Glenn Morris + + * menu-bar.el (menu-bar-tools-menu): Fix case of EDE entry. + + * image-mode.el (image-mode-map): Add image-dired menu entry. + + * image-dired.el (tumme): Make this alias obsolete. + +2013-02-16 Glenn Morris + + * image.el (image-animated-types): Remove. + (image-multi-frame-p): Rename from image-animated-p, and generalize. + (image-animated-p): Make obsolete alias. + (image-animate, image-nth-frame, image-animate-timeout): + Use image-multi-frame-p. + (image-animate-timeout): If no delay, use image-default-frame-delay. + * image-mode.el (image-mode, image-toggle-animation): + Use image-multi-frame-p. (Bug#763, bug#10739) + (image-mode): Adjust startup message for a multi-frame image. + + * image-mode.el (image-mode-map): Give it a menu. + +2013-02-16 Michael Albinus + + * net/tramp-cache.el (tramp-connection-properties): New customer + option. + (tramp-get-connection-property): Use it. + + * net/tramp-compat.el (top): Require 'trampver. + + * net/tramp-sh.el (tramp-remote-process-environment): + Set tramp-autoload cookie. + +2013-02-16 Kevin Ryde + + * info-look.el (info-lookup-select-mode): If major-mode has no + info-lookup-alist entry then search up derived-mode-parent (bug#8660). + +2013-02-16 Jambunathan K + + * replace.el (read-regexp): Tighten the regexp that matches tag. + When tag is retrieved with `find-tag-default', use regexp that + matches tag at point. Also update docstring (Bug#13687). + +2013-02-16 Eli Zaretskii + + * autorevert.el (auto-revert-notify-add-watch): With 'w32notify', + add watch for the file, not its parent directory, since w32notify + sets up the watch for the directory internally. (Bug#13725) + +2013-02-16 Glenn Morris + + * image.el (image-default-frame-delay): New variable. + (image-animated-p): Use image-default-frame-delay. + (image-minimum-frame-delay): New constant. + (image-animate-timeout): Use image-minimum-frame-delay. + + * image.el (image-nth-frame): New, split from image-animate-timeout. + (image-animate-timeout): Use image-nth-frame. + * image-mode.el (image-goto-frame, image-next-frame) + (image-previous-frame): New commands. + (image-mode-map): Add new frame commands. + +2013-02-16 Jonas Bernoulli + + * emacs-lisp/tabulated-list.el (tabulated-list-print-col): + If col-desc already has help-echo, use it. (Bug#13563) + +2013-02-16 Glenn Morris + + * image.el (image-current-frame): New variable. + (image-animate-timeout): Set image-current-frame. + * image-mode.el (image-mode): For animated images, + display a frame counter via mode-line-process. + + * font-lock.el (lisp-font-lock-keywords-1): Add defvar-local. + +2013-02-15 Stefan Monnier + + * simple.el (eval-expression): Let `exp' set the mark (bug#13724). + +2013-02-15 Alan Mackenzie + + * emacs-lisp/easy-mmode.el (define-globalized-minor-mode): When a + global minor mode has been enabled, call the minor mode function + for a new buffer once only, after the major mode hook, whilst + allowing that hook explicitly to disable the minor mode. + (MODE-disable-in-buffer): New (generated) function. + (disable-MODE): New (generated) buffer local variable. + +2013-02-15 Jambunathan K + + * iswitchb.el (iswitchb-read-buffer): Bind `C-.' and `C-,' to + `iswitchb-next-match' and `iswitchb-prev-match' resply. + * ido.el (ido-init-completion-maps): Bind `C-.' and `C-,' to + `ido-next-match' and `ido-prev-match' resply. + * icomplete.el (icomplete-minibuffer-map): Unbind `C-s' and `C-r'. + Bind `C-.' and `C-,' to `icomplete-forward-completions' and + `icomplete-backward-completions' (Bug#13708). + +2013-02-15 Glenn Morris + + * emacs-lisp/easy-mmode.el (define-minor-mode): Doc fix. + +2013-02-15 Stefan Monnier + + * net/goto-addr.el (goto-address-fontify): Add start and end args. + (goto-address-fontify-region): Use them instead of narrowing, so + syntax-ppss has access to the whole buffer. + +2013-02-15 Fabián Ezequiel Gallina + + * progmodes/python.el: Explain how to restore "cc-mode"-like + forward-sexp movement in header documentation (Bug#13642). + (python-nav--forward-sexp): Behave like emacs-lisp-mode in + comments and strings (GH bug 114). + +2013-02-15 Fabián Ezequiel Gallina + + * progmodes/python.el (python-info-current-defun): Fix current + defun detection (Bug#13618). + +2013-02-15 Chong Yidong + + * xml.el (xml-parse-string): Fix typo in handling of bad character + references. + +2013-02-15 Glenn Morris + + * play/fortune.el (fortune-compile): Simplify and fix previous change. + +2013-02-14 Michael Albinus + + * net/tramp.el (tramp-debug-message): + Add `tramp-condition-case-unless-debug'. + (tramp-debug-on-error): New defvar. + (tramp-condition-case-unless-debug): New defun. + (tramp-file-name-handler): Use it. + +2013-02-14 Juri Linkov + + * info.el (Info-isearch-filter): Treat non-nil values of + `search-invisible' including its default value `open' + like the value `t' to match hidden text. (Bug#13402) + +2013-02-14 Glenn Morris + + * help-fns.el (find-lisp-object-file-name): Give special treatment + to all ~/.foo.elc files, not just ~/.emacs. (Bug#9007) + +2013-02-14 David Biesack (tiny change) + + * net/quickurl.el (quickurl-save-urls): + Ensure quickurl-urls is not truncated on printing. (Bug#9276) + +2013-02-14 Dmitry Gutov + + * progmodes/ruby-mode.el (ruby-parse-partial): Don't increase + depth for unfinished percent literal. Not using it in the caller. + (ruby-move-to-block): Jump over multiline literals of all types, + ignoring code-looking contents inside them. + (ruby-add-log-current-method): Improve performance at the expense + of accuracy. `ruby-block-contains-point' is relatively slow, so + only use it for method and singleton class blocks. + +2013-02-13 Michael Albinus + + Use ControlMaster where applicable. (Bug#13677) + + * net/tramp.el (tramp-ssh-controlmaster-template): New defvar, + replacing `tramp-detect-ssh-controlmaster'. + (tramp-default-method): Use it. + + * net/tramp-sh.el (tramp-methods) [scp, scp1, scp2, scpx, sftp]: + [rsync, ssh, ssh1, ssh2, sshx]: Add ControlPath and ControlMaster + arguments. + [scpc, rsyncc]: Remove methods. + (top): Remove completion functions for "scpc", "rsyncc", "ssh1_old" + and "ssh2_old". + (tramp-do-copy-or-rename-file-out-of-band): Change trace level. + (tramp-maybe-open-connection): Reuse tmpfile for ControlPath. + +2013-02-13 Stefan Monnier + + * emacs-lisp/package.el (package--initialized): Move before first use. + +2013-02-13 Jambunathan K + + * icomplete.el (icomplete-hide-common-prefix): New user option. + (icomplete-first-match): New face. + (icomplete-completions): Correct handling of "complete but not + unique" (Bug#12638). + +2013-02-13 YE Qianchuan (tiny change) + + * descr-text.el (describe-char): Display the script (bug#13698). + +2013-02-13 Stefan Monnier + + * tmm.el: Use lexical-binding and current-active-maps. + (tmm-menubar): Use map-keymap and pcase. + (tmm--completion-table): New function. + (tmm-prompt): Use it to fix the menu order. + (tmm-get-keybind): Use current-active-maps. + +2013-02-12 Christopher Schmidt + + Add dired-hide-details-mode. (Bug#6799) + + * locate.el (locate-mode): Set parent mode property to dired-mode. + + * find-dired.el (find-dired): Call dired-insert-set-properties on + initial information line. Set process mark on end of buffer. + (find-dired-sentinel): + Call dired-insert-set-properties on summary. + + * dired.el (dired-hide-details-hide-symlink-targets) + (dired-hide-details-hide-information-lines): New options. + (dired-insert-directory): + Set properties after final treatment of output. + (dired-insert-set-properties): + Set dired-hide-details-* properties. + (dired-mode-map): Bind dired-hide-details-mode. + (dired-mode): Set buffer-invisibility-spec to a list. + (dired-next-line): Skip hidden lines. + (dired-previous-line): Use dired-next-line. + (dired-hide-details-mode): New minor mode. + (dired-hide-details-update-invisibility-spec): New function. + +2013-02-13 Glenn Morris + + * play/yow.el: Move to obsolete/. (Bug#9384) + +2013-02-13 Juri Linkov + + * vc/ediff-util.el (ediff-recenter): Use `select-frame-set-input-focus' + to select `ediff-control-frame' and set input focus correctly on Xfce. + (Bug#12218) + +2013-02-13 Juri Linkov + + * image-mode.el (image-mode-map): + * doc-view.el (doc-view-mode-map): + * vc/ediff-util.el (ediff-setup-keymap): + Make S-SPC scroll in the opposite sense to SPC. (Bug#2145) + +2013-02-13 Dmitry Gutov + + * progmodes/ruby-mode.el (ruby-move-to-block): Improve + performance. Instead of recalculating indentation fully for each + line, sum up indentation depth based only on visited lines. + (ruby-parse-partial): Increase the depth after "do" even when END + is right after it. + (ruby-parse-partial): When END is in the middle of a percent + literal, increase the depth if the delimiter chars belong to the + paren syntax class. + +2013-02-13 Kirill A. Korinskiy + + * play/fortune.el (fortune-compile): Also make the compiled file + if it does not exist at all, not just if it is old. (Bug#5338) + +2013-02-13 Glenn Morris + + * emacs-lisp/package.el (package-menu-execute): Doc fix. + +2013-02-13 Yves Baumes (tiny change) + + * lisp/emacs-lisp/package.el (package-menu-execute): + Add optional noquery argument. (Bug#13625) + +2013-02-13 Michael Albinus + + * net/ange-ftp.el (ange-ftp-make-directory): Don't raise an error, + if DIR exists and PARENTS is non-nil. + +2013-02-13 Juanma Barranquero + + * progmodes/js.el (js--multi-line-declaration-indentation): + Silence byte-compiler warning. + +2013-02-12 Michael Albinus + + * net/tramp-adb.el (tramp-adb-handle-start-file-process): Rewrite. + + * net/tramp-compat.el (top): Declare `remote-file-name-inhibit-cache' + only if it doesn't exist. + + * net/tramp-sh.el (tramp-sh-handle-start-file-process): + Set process marker. + +2013-02-12 Tassilo Horn + + * doc-view.el (doc-view-odf->pdf-converter-soffice): Use separate + UserInstallation when calling soffice to work around LibreOffice + bug 37531. + +2013-02-12 Glenn Morris + + * files.el (basic-save-buffer): + Offer to create a non-existing directory. (Bug#3016) + + * calc/calc-graph.el (calc-graph-show-dumb): + * calendar/calendar.el (calendar-mode-map): + * cus-edit.el (custom-mode-map): + * ehelp.el (electric-help-map): + * emulation/vip.el (vip-mode-map): + * epa.el (epa-key-list-mode-map): + * info.el (Info-mode-map): + * mail/rmail.el (rmail-mode-map): + * mail/rmailsum.el (rmail-summary-mode-map): + * man.el (Man-mode-map): + * net/newst-plainview.el (newsticker-mode-map): + * progmodes/cpp.el (cpp-edit-mode-map): + * progmodes/grep.el (grep-mode-map): + * progmodes/idlw-help.el (idlwave-help-mode-map): + * simple.el (special-mode-map): + * startup.el (splash-screen-keymap): + * view.el (view-mode-map): + Make S-SPC scroll in the opposite sense to SPC. (Bug#2145) + +2013-02-11 Elias Pipping + + * doc-view.el (doc-view-current-cache-dir): Beware % escapes + (bug#13679). + +2013-02-11 Stefan Monnier + + * cus-start.el (all): Remove inhibit-local-menu-bar-menus. + +2013-02-11 Glenn Morris + + * vc/diff.el (diff-use-labels): New variable. + (diff-no-select): Use --label rather than -L, and first + check that it is supported. (Bug#11067) + + * files.el (enable-dir-local-variables): New variable. + (hack-dir-local-variables): Respect enable-dir-local-variables. + * tutorial.el (help-with-tutorial): + Ignore directory-local variables. (Bug#11127) + + * vc/vc-svn.el (vc-svn-command): Move --non-interactive from here... + (vc-svn-global-switches): ... to here. (Bug#13513) + +2013-02-10 Christopher Schmidt + + * minibuf-eldef.el (minibuffer-default--in-prompt-regexps): + Handle "foo (bar, default: xxx): " prompts. + +2013-02-10 Chong Yidong + + * files.el (basic-save-buffer-1): Do not set + buffer-file-coding-system-explicit (Bug#4533). + + * mail/emacsbug.el (report-emacs-bug): Change binding of + report-emacs-bug-insert-to-mailer to C-c M-i (Bug#13510). + +2013-02-09 Jay Belanger + + * calc/calc.el (calc-allow-units-as-numbers): New variable. + * calc/calc-units.el (calc-convert-units): Use new variable. + +2013-02-09 Eli Zaretskii + + * subr.el (buffer-file-type, default-buffer-file-type): Remove. + + * net/ange-ftp.el (ange-ftp-insert-file-contents): Don't reference + buffer-file-type. + + * mail/feedmail.el (feedmail-force-binary-write): Doc fix. + (feedmail-run-the-queue, feedmail-dump-message-to-queue) + (feedmail-send-it-immediately): Don't bind buffer-file-type, bind + coding-system-for-write instead. + + * jka-compr.el (jka-compr-write-region): Don't bind + buffer-file-type. + + * emacs-lisp/bytecomp.el (byte-compile-file): Don't bind + buffer-file-type. + + * files.el (file-name-buffer-file-type-alist): Remove defvar. + (insert-file-contents-literally): Remove reference to + file-name-buffer-file-type-alist. + + * dos-w32.el (file-name-buffer-file-type-alist): Deprecate and + make-obsolete. + (find-buffer-file-type-match, find-buffer-file-type): Remove. + (find-buffer-file-type-coding-system): Remove references to + find-buffer-file-type-match, find-buffer-file-type, and + buffer-file-type. + Don't put find-buffer-file-type-coding-system into + file-coding-system-alist. + (find-file-binary, find-file-text): Bind coding-system-for-read + instead of file-name-buffer-file-type-alist. + +2013-02-09 Jambunathan K + + * doc-view.el: Use (and prefer) soffice as default ODF->PDF + converter (Bug#13622). + (doc-view-unoconv-program): Make obsolete alias. + (doc-view-odf->pdf-converter-program): New variable. + (doc-view-odf->pdf-converter-function): New variable. + (doc-view-mode-p): Use it. + (doc-view-odf->pdf-converter-unoconv): + Rename from `doc-view-odf->pdf-converter-unoconv'. + (doc-view-odf->pdf-converter-soffice): New function. + (doc-view-convert-current-doc): + Use `doc-view-odf->pdf-converter-function'. + +2013-02-09 Chong Yidong + + * minibuffer.el (minibuffer-inactive-mode-map): Bind mouse-1 to + view-echo-area-messages (Bug#13340). + + * help.el (view-echo-area-messages): Use display-buffer. + + * dired-x.el (dired-do-run-mail): Prompt for confirmation + (Bug#13561). + +2013-02-08 Stefan Monnier + + * emacs-lisp/byte-run.el (eval-when-compile, eval-and-compile): + Eval body right away, now that we do eager macroexpansion (bug#13605). + + * simple.el (end-of-buffer): Don't touch unrelated windows (bug#13466). + (fundamental-mode): Use run-mode-hooks. + + * eshell/esh-proc.el (eshell/kill): Fix last change. + * eshell/em-ls.el (eshell-ls-dir): Fix use of CL in last change. + +2013-02-08 Aidan Gauland + + * eshell/esh-proc.el (eshell/kill): Rewrite. + + * eshell/em-ls.el (show-almost-all): Declare. + (eshell-do-ls): Add support for -A argument. + +2013-02-08 Jambunathan K + + * icomplete.el (icomplete-forward-completions) + (icomplete-backward-completions): Handle corner case (bug#13602). + +2013-02-07 Michael Albinus + + * vc/vc-hooks.el (vc-find-file-hook): `buffer-file-truename' can + be nil. Handle this. (Bug#13636) + +2013-02-07 Richard Stallman + + * mail/rmail.el (rmail-variables): Specify `no-conversion' for + `save-buffer-coding-system'. + +2013-02-07 Alan Mackenzie + + Fix bug in state cache mechanism. Remove 'BOD "strategy". Refactor. + * progmodes/cc-engine.el (c-get-fallback-scan-pos): Remove. + (c-parse-state-get-strategy): Don't return 'BOD any more. + (c-append-lower-brace-pair-to-state-cache): + Extra parameter HERE instead of narrowing. + Widen to top of buffer before searching backwards for a brace pair. + (c-state-push-any-brace-pair): Add HERE parameter to function call. + (c-append-to-state-cache): Extra parameter HERE in place of narrowing. + Narrow to parameter HERE, in place of being called narrowed. + (c-remove-stale-state-cache): Extra parameter HERE in place of + narrowing. Check there's an open brace in the cache before + searching for its match. + (c-invalidate-state-cache-1): Add HERE parameter to function call. + (c-parse-state-1): Don't narrow here for 'forward strategy, + instead passing extra parameter HERE to several functions. + Remove 'BOD strategy. + +2013-02-06 Nicolas Richard (tiny change) + + * emacs-lisp/package.el (describe-package-1): Tell what archive is + used to install the package. + +2013-02-06 Glenn Morris + + * vc/vc-hooks.el (vc-find-file-hook): Don't ask about following links + if we can't get user input. (Bug#6567) + + * startup.el (command-line): If simple.el is missing, + test and warn about for some possible causes. + +2013-02-05 Jan Djärv + + * cus-start.el (all): Add ns-use-native-fullscreen. + +2013-02-05 Glenn Morris + + * profiler.el (profiler-report-mode-map): Add a restart menu entry. + + * play/gamegrid.el (gamegrid-add-score-with-update-game-score): + Fix directory creation in fallback case. + +2013-02-04 Thierry Volpiatto + + * vc/vc.el (vc-next-action): Fix inf-loop (bug#13610). + (vc-update-change-log): Use dolist. + +2013-02-04 Chong Yidong + + * thingatpt.el: Rewrite the URL detection routines, absorbing some + code from ffap.el. + (thing-at-point-beginning-of-url-regexp): New var. + (thing-at-point-uri-schemes): Update list of URI schemes. + (thing-at-point-url-regexp): Variable deleted. + (thing-at-point-markedup-url-regexp): Disallow newlines. + (thing-at-point-newsgroup-regexp) + (thing-at-point-newsgroup-heads) + (thing-at-point-default-mail-uri-scheme): New variables. + (thing-at-point-bounds-of-url-at-point): Rewrite. Use ffap's + method to find the possible bounds of the URI at point. + New optional argument to find ill-formed URIs. + (thing-at-point-url-at-point): Rewrite. New arguments for finding + ill-formed URIs. Use thing-at-point-bounds-of-url-at-point, and + the scheme-adding heuristics from ffap-url-at-point. + (thing-at-point--bounds-of-well-formed-url): New function. + Do parens matching to decide whether to include parens in the URI + (Bug#9153). + + * ffap.el: Require thingatpt. + (ffap-url-at-point): Delegate URI detection to thing-at-point. + All URI-valid characters are now recognized (Bug#5673). + (ffap-string-at-point): Use use-region-p. + (ffap-url-regexp): Extra character is handled by thing-at-point. + (ffap-string-at-point-mode-alist): Allow parentheses. + (ffap-newsgroup-regexp, ffap-newsgroup-heads, ffap-newsgroup-p): + Convert to aliases; code moved to thingatpt.el. + (ffap-gnus-hook): Use setq-local. + +2013-02-04 Glenn Morris + + * emacs-lisp/ert.el (ert--explain-format-atom): + Don't try to print non-characters as characters. (Bug#13543) + +2013-02-03 Michael Albinus + + * net/tramp.el (tramp-debug-message): Extend function exclude list. + (tramp-backtrace): New defun. + (tramp-handle-insert-file-contents): Use `visit' when inserting + the local copy. + + * net/tramp-sh.el (tramp-sh-handle-set-visited-file-modtime): + Use `remote-file-name-inhibit-cache'. + +2013-02-03 Stefan Monnier + + * progmodes/cperl-mode.el (cperl-mode): Avoid byte-compile warning + (bug#13614). + + * subr.el (internal--called-interactively-p--get-frame): Avoid filling + current-load-list (bug#13366). + +2013-02-02 Christopher Schmidt + + * progmodes/compile.el (compilation-error-regexp-alist-alist): + Identify g++ template instantiation trace. (Bug#12287) + (compilation-mode-hook, compilation-start-hook) + (compilation-window-height): Simplify docstrings. (Bug#13379) + +2013-02-02 Stefan Monnier + + * mouse.el (mouse-drag-track): Always deactivate the mark before + running the final event's command since that command is in charge of + activating the mark if needed (bug#13523). + +2013-02-02 Juri Linkov + + * replace.el (perform-replace): Move let-bindings of isearch-* + variables deeper to the loop that searches for the next match. + Add bindings for `isearch-nonincremental' and `isearch-adjusted'. + Use `isearch-search-fun-default' instead of `isearch-search-fun'. + (Bug#13579) + + * isearch.el (isearch-search-fun-default): Check for null + first element of isearch-cmds as a precaution when it's used + with inactive isearch. + +2013-02-02 Andrew W. Nosenko (tiny change) + + * net/tramp.el (tramp-check-for-regexp): Avoid "Args out of range" + error when buffer in question is narrowed so position 1 is out of + visible part. + +2013-02-02 Glenn Morris + + * textmodes/remember.el (remember-clipboard): Doc fix. + +2013-02-02 Stefan Monnier + + * progmodes/make-mode.el (makefile-fill-paragraph): Reset syntax-table + properties (bug#13179). + +2013-02-02 Juri Linkov + + * progmodes/grep.el (grep-regexp-alist): Use variable grep-match-face + instead of hard-coded default face `match'. (Bug#9438) + +2012-02-01 Christopher Schmidt + + * vc/vc-arch.el (vc-arch-registered): + * vc/vc-bzr.el (vc-bzr-registered): + * vc/vc-cvs.el (vc-cvs-registered): + * vc/vc-git.el (vc-git-registered): + * vc/vc-hg.el (vc-hg-registered): + * vc/vc-mtn.el (vc-mtn-registered): + * vc/vc-svn.el (vc-svn-registered): Suppress load messages. + (Bug#13139) + + * info.el (Info-next-reference, Info-prev-reference): Add numeric + prefix argument. (Bug#11656) + +2013-02-01 Stefan Monnier + + * help-fns.el (help-split-fundoc): Don't insert byte-compiled body. + +2013-02-01 Glenn Morris + + * vc/vc-hooks.el (vc-menu-map): Disable vc-rollback menu item + if the backend is known not to support it. + + * imenu.el (imenu-default-create-index-function): + Tweak infinite loop test to check for forward motion as well as none. + +2013-02-01 Alex Harsanyi + + * net/soap-client.el (soap-invoke): Encode the string for + `url-request-data' as UTF-8. + Fixes . + +2013-02-01 Glenn Morris + + * calc/calc-help.el (calc-view-news): Use view-emacs-news. + + * calc/README, calc/README.prev: Rename/merge to etc/CALC-NEWS. + +2013-01-31 Michael Albinus + + * net/tramp.el (tramp-tramp-file-p): Comment check for + `string-as-unibyte'. The function does not exist on XEmacs, and + likely we need another approach. + + * net/tramp-sh.el (tramp-compute-multi-hops): Check, whether + `tramp-gw-*' variables are bound. + +2013-01-31 Glenn Morris + + * files.el (basic-save-buffer-2): Choose coding system for + writing the file before backing it up, to reduce delay between + backing up and writing the new version. (Bug#13522) + +2013-01-31 Michal Nazarewicz + + * simple.el (cycle-spacing): New command. + (just-one-space): Use it. + +2013-01-31 Stefan Monnier + + * progmodes/opascal.el: Rename from delphi.el. Use lexical-binding. + (opascal-newline-always-indents): Remove custom. + (opascal-tab, opascal-newline): Remove commands. + (opascal-new-comment-line): Insert "\n" instead of calling newline. + (opascal-mode-map): Keep default bindings for RET and TAB and DEL. + (opascal-save-match-data): Remove, use save-match-data instead. + (opascal-save-state): Use with-silent-modifications. + + * progmodes/pascal.el (pascal-mode-syntax-table): Accept //..\n comments + (bug#13585). + +2013-01-30 Juri Linkov + + * frame.el (toggle-frame-maximized, toggle-frame-fullscreen): + Use fullboth as an alias for fullscreen. Suggested by Jan Djärv in + . + +2013-01-30 Stefan Monnier + + * progmodes/make-mode.el (makefile-backslash-region): Don't compute + column if we're just deleting the backslashes. + (makefile-fill-paragraph): Use eolp. + +2013-01-30 Michael Albinus + + * autorevert.el (auto-revert-use-notify): Fix docstring. + +2013-01-30 Leo Liu + + * imenu.el (imenu--truncate-items): Fix subalist checking (bug#13576). + +2013-01-30 Glenn Morris + + * mouse.el (mouse-drag-line): Avoid pushing same event onto + unread-command-events twice in some cases. This tries to implement + the 2012-07-26 changes in a different way. (Bug#13560) + +2013-01-30 Fabián Ezequiel Gallina + + * progmodes/python.el + (python-pdbtrack-comint-output-filter-function): Enhancements on + stacktrace detection. (thanks @gnovak) + +2013-01-30 Stefan Monnier + + * jit-lock.el (jit-lock-stealth-chunk-start): Don't widen (bug#13542). + (jit-lock-mode, jit-lock-functions, jit-lock-context-unfontify-pos): + Use defvar-local. + (jit-lock-register): Use setq-local. + +2013-01-30 Jay Belanger + + * calc-units.el (math-default-units-table): Remove initial value. + (calc-convert-units): Treat expressions where all the units cancel as + if they didn't have units. + +2013-01-30 Michael Albinus + + * net/tramp.el (tramp-process-connection-type): Fix docstring. + (tramp-completion-reread-directory-timeout): Fix type. + (tramp-connection-min-time-diff): New defcustom. + + * net/tramp-sh.el (tramp-maybe-open-connection): Use it. + +2013-01-30 Glenn Morris + + * imenu.el (imenu-default-create-index-function): + Put back a version of the infinite loop test removed 2013-01-23. + +2013-01-30 Fabián Ezequiel Gallina + + * progmodes/python.el (python-shell-parse-command): + Find python-shell-interpreter with modified environment. + +2013-01-30 Stefan Monnier + + * emacs-lisp/cl.el (cl-set-getf): Add compatibility alias. + +2013-01-29 Alan Mackenzie + + Amend to fontify /regexp/s in actions correctly. + * cc-awk.el (c-awk-harmless-char-re, c-awk-harmless-string*-re): + (c-awk-harmless-string*-here-re): Braces, parens and semicolons + are no longer included. + (c-awk-harmless-line-char-re, c-awk-harmless-line-string*-re): + What used to be these variables without "-line" in the name. + (c-awk-neutral-re): { is no longer neutral. Escaped newlines now are. + (c-awk-non-arith-op-bra-re): Now also matches {. + (c-awk-pre-exp-alphanum-kwd-re): New regexp to match "print", + "return", and "case". + (c-awk-kwd-regexp-sign-re): New, to match "print", etc., followed + by /. + (c-awk-syntax-tablify-/): Check special cases "print /re/", etc. + (c-awk-set-syntax-table-properties): Extend FSM to handle {,},(,),;. + +2013-01-29 Michael Albinus + + * autorevert.el (auto-revert-use-notify): + Use `custom-initialize-default' for initialization. (Bug#13583) + + * net/ange-ftp.el (ange-ftp-skip-msgs): Add another message. + + * net/tramp-sh.el (tramp-sh-handle-start-file-process): + Catch `suppress'. Otherwise, `tramp-run-real-handler' might be called + in `tramp-file-name-handler'. + (tramp-gw-tunnel-method, tramp-gw-socks-method): Declare for + compatibility. + (tramp-compute-multi-hops): Check, whether + `tramp-gw-tunnel-method' and `tramp-gw-socks-method' are non-nil. + +2013-01-28 Stefan Monnier + + * hi-lock.el (hi-lock-unface-buffer): Don't assume `face' is a symbol + (bug#13297). + +2013-01-27 Dmitry Gutov + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): Remove some + checks made superfluous by the \_< operator. + * progmodes/ruby-mode.el (ruby-move-to-block): Work with (maybe + temporarily) broken indentation. + * progmodes/ruby-mode.el (ruby-font-lock-keywords): + Highlight nested constants, too. \_< broke that. + +2013-01-27 Nobuyoshi Nakada + + * progmodes/ruby-mode.el (ruby-font-lock-keywords): Use "\\_<" + instead of "\\b". + +2013-01-27 Michael Albinus + + * autorevert.el (auto-revert-handler): Notifications which result + from a saved file shall not be taken into account. (Bug#13557) + +2013-01-26 Andreas Schwab + + * emacs-lisp/lisp-mode.el (lisp-mode-variables): Add optional + parameter BAR-NOT-SYMBOL to control syntax of | for font-lock. + (lisp-mode): Pass t for it. (Bug#13556) + +2013-01-25 Alan Mackenzie + + AWK Mode: Fix indentation bug at top level. Bug #12274. + + * progmodes/cc-engine.el (c-guess-basic-syntax): Move CASE 5P to + just before CASE 5D. + +2013-01-25 Dmitry Antipov + + * net/socks.el (socks-nslookup-host): Use string-to-number. + +2013-01-25 Michael Albinus + + * autorevert.el (auto-revert-remote-files) + (auto-revert-notify-exclude-dir-regexp): New defcustoms. + (auto-revert-notify-enabled, auto-revert-use-notify) + (auto-revert-notify-watch-descriptor-hash-list) + (auto-revert-notify-modified-p, auto-revert-notify-event-p) + (auto-revert-notify-event-descriptor) + (auto-revert-notify-event-action) + (auto-revert-notify-event-file-name): Doc fix. + (global-auto-revert-mode): Reorder checks. + (auto-revert-notify-rm-watch): Respect changed values of + `auto-revert-notify-watch-descriptor-hash-list'. + (auto-revert-notify-add-watch): Check for + `auto-revert-notify-exclude-dir-regexp'. Adapt filters for + `inotify-add-watch'. Watch `default-directory' instead of + `buffer-file-name'. `auto-revert-notify-watch-descriptor-hash-list' + has a changed meaning now. (Bug#13540) + (auto-revert-notify-handler): Change implementation wrt events + returning from a directory. + (auto-revert-handler): Reorder implementation for checks of remote + files. + (auto-revert-buffers): Fix parentheses error. + +2013-01-25 Fabián Ezequiel Gallina + + * progmodes/python.el: Enhancements to header documentation about + skeletons. (Bug#5716) + + * imenu.el (imenu-default-create-index-function): Remove useless + infinite loop check. (Bug#13438) + +2013-01-25 Alan Mackenzie + + Fix a bug in the state cache mechanism. Refactor this a bit. + + * progmodes/cc-engine.el (c-parse-state-get-strategy): Remove the + `cache-pos' element from the return value. + (c-append-lower-brace-pair-to-state-cache): "Narrow" to end of + buffer to enable proper searching from beyond HERE. Amend the + test for detecting the sought brace pair. Amend the value written + to the "brace desert cache" when the brace isn't found. + (c-remove-stale-state-cache): Rename `good-pos' to `start-point', + and several other variables analogously. + (c-remove-stale-state-cache-backwards): Change `cache-pos' from a + parameter to a locally calculated variable. + (c-parse-state-1): Change the calling conventions to the two + defuns involving `cache-pos'. + +2013-01-25 Chong Yidong + + * xml.el (xml-entity-or-char-ref-re): Fix regexp. + +2013-01-24 Aaron Ecay (tiny change) + + * paren.el (show-paren-function): Make sure to set 'priority and + 'face only if the overlay does exist. + +2013-01-24 Michael Albinus + + * net/tramp.el (tramp-tramp-file-p): Check, whether NAME is unibyte. + + * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Do not suppress + basic attributes. + (tramp-sh-handle-set-file-acl): Improve error checking. + +2013-01-24 Dmitry Antipov + + * doc-view.el (doc-view-display): Force mode line update until all + document is converted. Suggested by Stefan Monnier (Bug#13164). + +2013-01-23 Bastien Guerry + + * paren.el (show-paren-function): Make sure an overlay exists + before trying to delete it. Also use `pos' as a position only + when it is an integer. + +2013-01-23 Dmitry Antipov + + * play/gametree.el (gametree-break-line-here): Use point-marker. + +2013-01-22 Michael Albinus + + * net/tramp-cmds.el (tramp-bug, tramp-append-tramp-buffers): + Mark descriptive parts with `display' property. + +2013-01-21 Agustín Martín Domingo + + * textmodes/ispell.el (ispell-hunspell-dictionary-equivs-alist): + New variable to map standard dict names to hunspell ones. + (ispell-set-spellchecker-params): Make sure specific dict names + are used for standard dicts with hunspell. + +2013-01-21 Tassilo Horn + + * textmodes/reftex-cite.el (reftex-format-citation): Add format + chars for note (%N) and url (%U). + * textmodes/reftex-vars.el (reftex-cite-format): Document them. + +2013-01-21 Juri Linkov + + * frame.el: Bind `f10' in `esc-map' to `toggle-frame-maximized' + in addition to existing separate binding `meta f10' in `global-map'. + (Bug#13484) + +2013-01-21 Michael Albinus + + Improve XEmacs compatibility. + + * net/tramp.el (tramp-replace-environment-variables): Make it a defun. + + * net/tramp-adb.el (top): Require `time-date'. + (tramp-adb-ls-output-time-less-p): Use `tramp-time-less-p'. + (tramp-adb-handle-copy-file, tramp-adb-handle-rename-file): + Use `tramp-file-name-handler'. + (tramp-adb-maybe-open-connection): + Use `tramp-compat-set-process-query-on-exit-flag'. + + * net/tramp-sh.el (tramp-sh-handle-file-acl): + Use `tramp-compat-funcall'. + + * net/tramp-smb.el (tramp-smb-handle-file-acl): Use `looking-at' and + `tramp-compat-funcall'. + +2013-01-21 Jürgen Hötzel + + * net/tramp-adb.el (tramp-adb-handle-start-file-process): Complete + reimplementation using "adb shell command ..." instead of running + remote shell interactively. + +2013-01-20 Glenn Morris + + * emacs-lisp/lisp-mode.el (emacs-lisp-mode-map): + Add native profiler menu entries. + + * profiler.el (profiler-running-p): New function. + (profiler-cpu-profile): Use profiler-running-p. + (profiler-report-mode-map): Add some more menu entries. + +2013-01-19 Glenn Morris + + * mail/unrmail.el (unrmail): Do not mangle the mbox From line; + fixes 2012-12-07 change. (Bug#13499) + +2013-01-19 Leo Liu + + * dired.el (dired-get-marked-files): Prune erroneous values due to + last change. (Bug#13152) + +2013-01-19 Glenn Morris + + * progmodes/etags.el (tags-table-check-computed-list): + Preserve point in tags buffer. (Bug#13412) + + * emacs-lisp/lisp-mode.el (lisp-indent-function): Doc fix. + +2013-01-19 Christian Wittern (tiny change) + Chong Yidong + + * image-mode.el (image-next-file, image-previous-file): + New commands (Bug#8453). + (image-mode-map): Bind them to n and p. + (image-mode--images-in-directory): New helper function. + +2013-01-19 Chong Yidong + + * image-mode.el (image-mode-fit-frame): Add a frame argument. + Suggested by Drew Adams (Bug#7730). Handle window decorations; + save and restore the old window configuration. + +2013-01-18 Leo Liu + + * progmodes/js.el: Tweak autoload cookie for alias. + +2013-01-17 Michael Albinus + + * autorevert.el (auto-revert-notify-watch-descriptor): Make it + buffer local, again. This was lost with the fix on 2013-01-12. + +2013-01-17 Jürgen Hötzel + + * eshell/esh-util.el (eshell-path-env): Make it buffer local, in + order to support several eshell buffers in parallel. + +2013-01-17 Michael Albinus + + * autorevert.el (auto-revert-use-notify): In the :set function, do + not modify `kill-buffer-hook'. + (auto-revert-notify-rm-watch): + Remove `auto-revert-notify-rm-watch' from `kill-buffer-hook'. + (auto-revert-notify-add-watch): Do not call + `auto-revert-notify-rm-watch', but add it to a buffer local + `kill-buffer-hook'. + +2013-01-16 Stefan Monnier + + * emacs-lisp/trace.el (trace--read-args): Use a closure and an honest + call to `eval' rather than a backquoted lambda. + +2013-01-15 Stefan Monnier + + * emacs-lisp/nadvice.el (advice--tweak): Make it possible for `tweak' + to return an explicit nil. + (advice--remove-function): Change accordingly. + + * emacs-lisp/advice.el (ad-preactivate-advice): Adjust the cleanup to + the use of nadvice.el. + + * progmodes/which-func.el (which-function): Silence imenu errors + (bug#13433). + +2013-01-15 Michael R. Mauger + + * progmodes/sql.el (sql-imenu-generic-expression): + (sql-mode-font-lock-object-name): Match schema qualified names. + (sql-connect): Use string keys. + (sql-product-interactive): Wait for interpreter prompt. + (sql-comint-oracle): Set process coding based on NLS_LANG. + +2013-01-15 Michael R. Mauger + + * progmodes/sql.el (sql-output-to-send): Remove, unused. + (sql-interactive-remove-continuation-prompt): + (sql-send-magic-terminator, sql-interactive-mode): Remove references. + +2013-01-14 Leo Liu + + * calendar/calendar.el (calendar-redraw): Sync window-point and point. + (Bug#13420) + +2013-01-14 Glenn Morris + + * progmodes/compile.el (compilation-error-regexp-alist-alist): + Fix interpretation of gnu line.col1-col2 format. (Bug#13335) + +2013-01-13 Fabián Ezequiel Gallina + + * progmodes/python.el (python-nav-end-of-statement): + Fix cornercase when handling multiline strings. + +2013-01-13 Richard Stallman + + * mail/sendmail.el (mail-position-on-field): Add doc string. + + * mail/rmailmm.el (rmail-insert-mime-forwarded-message): + Get current message boundaries and pass them to + message-forward-make-body-mime. Minor style changes. + +2013-01-13 Eli Zaretskii + + * cus-start.el (all): Avoid warnings about + scroll-bar-adjust-thumb-portion on platforms where it is not defined. + +2013-01-11 Jan Djärv + + * cus-start.el (all): Add scroll-bar-adjust-thumb-portion. + +2013-01-13 Stefan Monnier + + * jit-lock.el (jit-lock-debug-mode): New minor mode. + (jit-lock--debug-fontifying): New var. + (jit-lock--debug-fontify): New function. + * subr.el (condition-case-unless-debug): Don't prevent catching the + error, just let the debbugger run. + * emacs-lisp/timer.el (timer-event-handler): Don't prevent debugging + timer code and don't drop errors silently. + +2013-01-12 Michael Albinus + + * autorevert.el (auto-revert-notify-watch-descriptor): Give it + `permanent-local' property. + (auto-revert-notify-handler): Use `file-equal-p'. + +2013-01-12 Eli Zaretskii + + * autorevert.el (auto-revert-notify-handler): Fix filtering of + file notification by ACTION. For filtering by file name, compare + only the non-directory part of the file name. + +2013-01-12 Stefan Monnier + + * autorevert.el: Use cl-lib instead of cl. + + * vc/vc-bzr.el (vc-bzr--sanitize-header): New function (bug#13307). + (vc-bzr-checkin): Use it. + * vc/log-edit.el (log-edit-extract-headers): Don't presume FUNCTION + will preserve match-data. + +2013-01-11 Felix H. Dahlke + + * progmodes/js.el: Fix multiline declarations's indentation (bug#8576). + (js--declaration-keyword-re): New var. + (js--multi-line-declaration-indentation): New function. + (js--proper-indentation): Use it. + +2013-01-11 Aaron S. Hawley + + * calc/calc.el (calc-highlight-selections-with-faces) + (calc-dispatch): + * comint.el (comint-history-isearch-message): + * emacs-lisp/edebug.el (edebug-read, edebug-eval-defun): + * ffap.el (ffap-string-at-point-region, ffap-next) + (ffap-string-at-point, ffap-string-around) + (ffap-copy-string-as-kill, ffap-highlight-overlay) + (ffap-literally): + * font-lock.el (font-lock-keywords-alist) + (font-lock-removed-keywords-alist): + * help-mode.el (help-xref-symbol-regexp): + * info.el (Info-find-emacs-command-nodes): + * international/mule.el (add-to-coding-system-list): + * isearch.el (isearch-message-function, isearch-fail-pos): + * misearch.el (multi-isearch-next-buffer-function): + * newcomment.el (comment-box): + * printing.el (pr-txt-printer-alist, pr-ps-printer-alist) + (pr-setting-database): + * progmodes/cc-fonts.el (c-font-lock-keywords-3) + (c++-font-lock-keywords-3, objc-font-lock-keywords-3) + (java-font-lock-keywords-3, idl-font-lock-keywords-3) + (pike-font-lock-keywords-3): + * progmodes/compile.el (compile): + * progmodes/etags.el (tags-table-files) + (tags-table-files-function, tags-included-tables-function): + * progmodes/gdb-mi.el (gdb, gdb-setup-windows) + (gdb-restore-windows): + * ps-print.el (ps-even-or-odd-pages, ps-spool-buffer-with-faces) + (ps-n-up-filling-database): + * server.el (server-buffer, server-log): + * simple.el (newline, delete-backward-char, delete-forward-char) + (minibuffer-history-isearch-message, kill-line, track-eol) + (temporary-goal-column): + * textmodes/flyspell.el (flyspell-mark-duplications-flag) + (flyspell-default-deplacement-commands): + * textmodes/ispell.el (ispell-accept-output): + * textmodes/sgml-mode.el (html-tag-help): + * vc/compare-w.el (compare-ignore-whitespace) + (compare-ignore-case, compare-windows-dehighlight): + * vc/diff.el (diff): + * whitespace.el (whitespace-point) + (whitespace-font-lock-refontify, whitespace-bob-marker) + (whitespace-eob-marker): Fix ambiguous doc string cross-reference(s). + +2013-01-11 Michael Albinus + + * autorevert.el (top): Require 'cl in order to pacify byte compiler. + (auto-revert-notify-rm-watch): Ignore errors. + (auto-revert-notify-add-watch): Ignore errors. Use '(modify) for + inotify, and '(size last-write-time) for w32notify. + Set buffer-local `auto-revert-use-notify' to nil when adding a file + watch fails - this is a fallback to the file modification check. + (auto-revert-notify-event-p, auto-revert-notify-event-descriptor) + (auto-revert-notify-event-action) + (auto-revert-notify-event-file-name): New defuns. + (auto-revert-notify-handler): Use them. Implement first + plausibility checks. + (auto-revert-handler): Handle also `auto-revert-tail-mode'. + +2013-01-11 Julien Danjou + + * color.el (color-rgb-to-hsv): Fix conversion computing in case min and + max are almost equal. Also return the correct value for V which is + already between 0 and 1. + +2013-01-11 Dmitry Antipov + + * emacs-lisp/ert.el (ert-run-test): Use point-max-marker. + +2013-01-11 Eli Zaretskii + + * autorevert.el (auto-revert-notify-rm-watch) + (auto-revert-notify-add-watch): Fix typos in w32notify function + names. + +2013-01-10 Michael Albinus + + * autorevert.el (auto-revert-notify-enabled): Move up. + (auto-revert-use-notify): New defcustom. + (auto-revert-mode, global-auto-revert-mode) + (auto-revert-notify-add-watch, auto-revert-handler) + (auto-revert-buffers): Use `auto-revert-use-notify' instead of + `auto-revert-notify-enabled'. + +2013-01-10 Elias Pipping + + * files.el (auto-mode-alist): Use doc-view for djvu files (bug#13164). + * doc-view.el (doc-view-document->bitmap): + Use doc-view-single-page-converter-function instead of + single-page-converter arg; adjust callers. + +2013-01-10 Feng Li (tiny change) + + * progmodes/which-func.el (which-function): Understand Semantic's use + of overlays in imenu--index-alist. + +2013-01-10 Wolfgang Jenkner + + * man.el: Handle different "man -k" behaviors (bug#13160). Use utf-8. + (Man-man-k-use-anchor): New var. + (Man-parse-man-k): New function. + (Man-completion-table): Use it. + (man): Flush the completion cache between uses. + +2013-01-10 Michael Albinus + + * autorevert.el: Add file watch support. + (auto-revert-notify-enabled): New defconst. + (auto-revert-notify-watch-descriptor-hash-list) + (auto-revert-notify-watch-descriptor) + (auto-revert-notify-modified-p): New defvars. + (auto-revert-notify-rm-watch, auto-revert-notify-add-watch) + (auto-revert-notify-handler): New defuns. + (auto-revert-mode, global-auto-revert-mode): Remove file watches + when mode is disabled. + (auto-revert-handler): Check for `auto-revert-notify-modified-p'. + (auto-revert-buffers): Add file watches for active buffers. + +2013-01-10 Dmitry Antipov + + * cus-start.el (toplevel): Only allow float values for + scroll-up-aggressively and scroll-down-aggressively. + Allow any number for line-spacing. + +2013-01-10 Stefan Monnier + + * doc-view.el (doc-view-pdfdraw-program): Allow "pdfdraw" name. + (doc-view-pdf->png-converter-function): Use mupdf if available. + (doc-view-djvu->png-converter-function) + (doc-view-ps->png-converter-function): Remove. + (doc-view--image-file-pattern): Replace doc-view--image-file-extension. + (doc-view-goto-page, doc-view-convert-current-doc, doc-view-display) + (doc-view-already-converted-p): Adjust accordingly. + (doc-view-mode-p): Simplify. + (doc-view-enlarge): Use setq-local. + (doc-view-pdf->png-converter-ghostscript) + (doc-view-djvu->png-converter-ddjvu) + (doc-view-pdf->png-converter-mupdf): Rework to call + doc-view-start-process directly. + (doc-view-pdf/ps->png): Simplify accordingly. + (doc-view-pdf->png-1, doc-view-djvu->png-1): Remove. + (doc-view-document->bitmap): Rename from doc-view-document->png. + (doc-view-convert-current-doc): Merge pdf and djvu cases. + (doc-view-set-slice-from-bounding-box): Fix completion table. + (doc-view-mode): Use add-hook for after-revert-hook. + +2013-01-10 Glenn Morris + + * emacs-lisp/authors.el (authors-ignored-files) + (authors-valid-file-names, authors-renamed-files-alist): + Add some more entries. + +2013-01-10 Stefan Monnier + + * image-mode.el (image-mode-winprops): Don't throw away the fallback + `t' pseudo-window entry. + +2013-01-10 Alan Mackenzie + + Fix bugs in the c-parse-state mechanism. Reuse some markers + instead of continually generating new ones. + + * progmodes/cc-engine.el (c-state-old-cpp-beg-marker) + (c-state-old-cpp-end-marker): New variables. + (c-append-lower-brace-pair-to-state-cache): Start a backward + search for "}" definitively outside CPP constructs. + (c-remove-stale-state-cache): Inform the caller of a need to + search back for a brace pair in certain circumstances. + (c-state-maybe-marker): New macro. + (c-parse-state): Reuse markers when appropriate. + +2013-01-10 Glenn Morris + + * simple.el (execute-extended-command): Doc fix. + Bind prefix-arg around read-extended-command, for prompt. (Bug#13395) + +2013-01-10 Chong Yidong + + * faces.el (read-face-name): Doc fix. + +2013-01-10 Roland Winkler + + * emacs-lisp/crm.el: Allow any regexp for separators. + (crm-default-separator): All spaces around the default comma separator. + (crm--completion-command): New macro. + (crm-completion-help, crm-complete, crm-complete-word): Use it. + (crm-complete-and-exit): Handle non-single-char separators. + +2013-01-09 Elias Pipping + + * doc-view.el: Add support for DjVu (bug#13164). + (doc-view-djvu->png-converter-function): New config var. + (doc-view-single-page-converter-function, doc-view--image-type) + (doc-view--image-file-extension): New vars. + (doc-view-mode): Initialize them. + (doc-view-goto-page): Use them. + (doc-view-mode-p): Add support for ddjvu. + (doc-view-djvu->png-converter-ddjvu, doc-view-djvu->png-1) + (doc-view-set-up-single-converter): New funs. + (doc-view-pdf/ps->png): Extend for djvu. + (doc-view-document->png): Rename from doc-view-pdf->png. + (doc-view-convert-current-doc): Handle djvu. + (doc-view-insert-image, doc-view-display) + (doc-view-already-converted-p): Don't hardcode png. + (doc-view-set-doc-type): Recognize djvu docs. + +2013-01-09 Elias Pipping + + * doc-view.el: Add support for mupdf converter (bug#13164). + (doc-view-pdfdraw-program, doc-view-pdf->png-converter-function) + (doc-view-ps->png-converter-function): New config vars. + (doc-view-pdf->png-converter-ghostscript) + (doc-view-ps->png-converter-ghostscript) + (doc-view-pdf->png-converter-mupdf): New functions. + (doc-view-pdf/ps->png, doc-view-pdf->png-1): Use them. + +2013-01-09 Jürgen Hötzel + + * net/tramp.el (tramp-eshell-directory-change): Check remote-path + first in session cache: When `tramp-own-remote-path' is in + `tramp-remote-path', the remote path is only set in the session + cache. + +2013-01-09 Glenn Morris + + * emacs-lisp/trace.el (trace-function-foreground) + (trace-function-background): Doc fix. + +2013-01-09 Juri Linkov + + * international/mule-cmds.el (read-char-by-name): Move let-binding + of completion-ignore-case around completing-read to fix regression + exhibited by the test case `C-x 8 RET *acc TAB' and caused by + `string-match-p' using the nil value of `case-fold-search' and + `completion-ignore-case' in `completion-pcm--all-completions'. + (Bug#12615). + +2013-01-09 Glenn Morris + + * progmodes/compile.el (compilation-parse-errors): + Fix typo. (Bug#13369) + +2013-01-09 Vitalie Spinu (tiny change) + + * comint.el (comint-send-input): Check size of buffer before + waiting for process output, in case already accepted. (Bug#13290) + +2013-01-09 Paul Eggert + + Spelling fixes. + * net/tramp-adb.el (tramp-adb-get-toolbox): + Fix misspelling of 'unknown'. + +2013-01-08 Juri Linkov + + * textmodes/flyspell.el (flyspell-incorrect, flyspell-duplicate): + * progmodes/flymake.el (flymake-errline, flymake-warnline): + Use underline style wave on terminals that support it. (Bug#13000) + +2013-01-08 Stefan Monnier + + * emacs-lisp/pcase.el (pcase--split-equal): Also take advantage if + the predicate returns nil. + + * simple.el: Use lexical-binding. + (primitive-undo): Use pcase. + (minibuffer-history-isearch-push-state): Use a closure. + +2013-01-08 Aaron S. Hawley + + * simple.el (primitive-undo): Move from undo.c. + +2013-01-08 Stefan Monnier + + * vc/pcvs.el (cvs-cleanup-collection): Extend meaning of `rm-handled'. + (cvs-mode-remove-handled): Use it (bug#13380). + + * emacs-lisp/nadvice.el (advice--tweak): New function. + (advice--remove-function, advice--subst-main): Use it. + + * emacs-lisp/advice.el: Update commentary. + +2013-01-08 Michael Albinus + + * net/tramp-adb.el (tramp-adb-file-name-handler-alist): + Remove spurious entry. + +2013-01-08 Glenn Morris + + * net/tramp.el (tramp-default-host-alist): Add :version. + +2013-01-08 Juri Linkov + + * info.el (Info-read-node-name-2): Don't duplicate suffixes for + single completion. (Bug#12456) + (info--manual-names): Expand node completions into an explicit list + before appending it to another list. Filter out internal buffers + with the leading space in the buffer name. (Bug#10771) + +2013-01-08 Juri Linkov + + * info.el (Info-read-node-name-1): Allow empty node name in (FILENAME) + that defaults to the Top node. + (Info-goto-node, Info-read-node-name): Doc fix to mention that + the short format (FILENAME) goes to the Top node. + (Info-build-node-completions): Rename arg `file' to `filename'. + (Bug#13365) + +2013-01-07 Bastien Guerry + + * menu-bar.el (menu-bar-search-documentation-menu): + Use `apropos-user-option' and fix the help message. + +2013-01-07 Bastien Guerry + + * apropos.el (apropos-do-all): Update docstring. + (apropos-user-option-button): New face. + (apropos-user-option): Rename from `apropos-variable' and update + docstring. + (apropos-variable): Rewrite, now show all variables by default. + (apropos-print): Mention "User option" instead of "Variable" when + printing doc for user options. (Bug#13276) + +2013-01-07 Jürgen Hötzel + + * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls): + Handle filename correctly, when parsing "source -> target" symlink + output. + (tramp-adb-handle-set-file-times): New defun. + +2013-01-07 Stefan Monnier + + * emacs-lisp/advice.el (ad-activate-advised-definition): Refresh the + advice list when the interactive-spec of ad-Advice-* changes. + +2013-01-07 Katsumi Yamaoka + + * wid-edit.el (widget-default-get): Work for inlined elements. + (Bug#12670) + +2013-01-07 Michael Albinus + + * net/tramp.el (tramp-default-host-alist): New defcustom. + (tramp-find-host): Use it. + (tramp-eshell-directory-change): Move from tramp-sh.el. Add to + `eshell-directory-change-hook'. + + * net/tramp-adb.el (top): Add adb specific entry in + `tramp-default-host-alist'. + (tramp-adb-file-name-host): Remove function. + (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection): + Use `tramp-file-name-host' instead of `tramp-adb-file-name-host'. + + * net/tramp-sh.el: Move eshell integration code to tramp.el. + +2013-01-06 Jürgen Hötzel + + * net/tramp-adb.el (tramp-methods): Add `tramp-tmpdir' entry. + +2013-01-06 Michael Albinus + + * net/tramp-adb.el (tramp-adb-ls-toolbox-regexp): The file size can + consist of more than one digit. + (tramp-adb-file-name-handler-alist): + Use `tramp-handle-file-exists-p' consistently. + (tramp-adb-file-name-handler): Don't tweak `tramp-default-host'. + (tramp-adb-handle-file-exists-p): Remove function. + (tramp-adb-file-name-host): New defun. + (tramp-adb-execute-adb-command, tramp-adb-maybe-open-connection): + Use it. + (tramp-adb-maybe-open-connection): Set "remote-path" property. + +2013-01-06 Chong Yidong + + * vc/vc.el (vc-next-action): Detect buffer modifications + conflicting with locking VCS operation (Bug#11490). + + * vc/vc-hooks.el (vc-after-save): DTRT for locking VCSes. + +2013-01-05 Michael Albinus + + * net/tramp-adb.el (tramp-do-parse-file-attributes-with-ls): + (tramp-adb-handle-directory-files-and-attributes): Fix typos. + +2013-01-05 Jürgen Hötzel + + * net/tramp-adb.el (tramp-adb-handle-file-attributes): More robust + parsing of ls output using regular expression (handle filenames + with spaces). Use virtual device number. + (tramp-do-parse-file-attributes-with-ls): New defun (Code + cleanup). + +2013-01-04 Daiki Ueno + + * epg.el: Silence byte-compiler warnings. + (epg--start): Use delete-char instead of delete-backward-char. + (epg-wait-for-completion): Pass FRAME arg to redraw-frame. + +2013-01-04 Daiki Ueno + + * epg.el (epg--start): Don't call "tty" program on W32 platforms. + Suggested by Eli Zaretskii . + +2013-01-04 Michael Albinus + + * net/tramp-sh.el (tramp-set-file-uid-gid): UID and GID must be + non-negative integers. Otherwise, the default values are used. + (tramp-convert-file-attributes): Convert uid and gid to integers. + +2013-01-04 Glenn Morris + + * term.el (term-handle-colors-array): Ensure face attributes + are fully specified, not nil. (Bug#13337) + + * term.el (term-default-fg-color, term-default-bg-color): + Fix custom type. + + * progmodes/etags.el (tags-compression-info-list): Doc fix. + (tag-find-file-of-tag-noselect): Check auto-compression-mode + rather than 'jka-compr being loaded. (Bug#13338) + +2013-01-04 Wesley Dawson (tiny change) + + * icomplete.el (icomplete-completions): + Honor icomplete-prospects-height once more following + 2012-11-29 changes. (Bug#13224) + +2013-01-04 Stefan Monnier + + * subr.el (internal--called-interactively-p--get-frame): Find aliases + of called-interactively-p as well (bug#13237). + + * view.el (view--enable, view--disable): Rename from view-mode-enable + and view-mode-disable and assume it's called from view-mode. + (view-mode-enable, view-mode-disable): Redefine as obsolete + compatibility layer above view-mode. + (view-mode-enter): Call `view-mode'. + + * files.el (after-find-file): Call `view-mode'. + + * doc-view.el (doc-view-scale-internally): New var. + (doc-view-enlarge, doc-view-insert-image): Obey it. + +2013-01-03 Daiki Ueno + + * epg.el (epg--start): Ignore errors when /dev/fd/0 does not + exist. (Bug#13344) + +2013-01-03 Glenn Morris + + * mail/rmail.el (rmail-set-header-1): Ignore case. + Handle multi-line headers. (Bug#13330) + + * progmodes/make-mode.el (makefile-fill-paragraph): Add doc. + Handle paragraph starting at beginning of buffer. + + * subr.el (eval-after-load): Don't purecopy the form, so that it + can be nconc'd later on; reverts 2009-11-11 change. (Bug#13331) + + * emacs-lisp/byte-run.el (defun): Place cl declarations + after any interactive spec. (Bug#13265) + +2013-01-02 Andreas Schwab + + * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as + defun. Don't check for DECL if DOCSTRING isn't a string. + (defun): Likewise. + +2013-01-02 Glenn Morris + + * eshell/em-cmpl.el (eshell-pcomplete): + More thoroughly imitate pcomplete. (Bug#13293) + + * files.el (parse-colon-path): Doc fix. (Bug#12351) + Return nil for empty path elements. (Bug#13296) + +2013-01-02 Fabián Ezequiel Gallina + + * progmodes/python.el (python-nav-end-of-statement): Rewrite in + order to improve efficiency (Based on Daniel Colascione's + patch). (Bug#13182) + +2013-01-02 Glenn Morris + + * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string. + +2013-01-02 Andreas Schwab + + * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if + neither DOCSTRING nor DECL was given. (Bug#13316) + +2013-01-02 Michael Albinus + + * net/tramp-sh.el (tramp-sh-handle-set-file-acl): Add argument to + `error' call. + (tramp-do-copy-or-rename-file): Ignore errors when calling + `set-file-extended-attributes'. + + * net/tramp-smb.el (tramp-smb-file-name-handler-alist): + Add handler for `file-acl'. + (tramp-smb-handle-file-acl): New defun. + +2013-01-02 Jay Belanger + + * calc/README: Mention ISO 8601 week-numbering dates. + +2013-01-01 Martin Rudalics + + * view.el (view-mode-enable): New argument run-view-mode-hook. + Run view-mode-hook only when it's non-nil (Bug#13315). + (view-mode-enter): Call view-mode-enable with run-view-mode-hook + argument t. + +2012-12-31 Jürgen Hötzel + + * net/tramp-adb.el (tramp-adb-maybe-open-connection): Handle errors + (No device connected, invalid device name). (Bug #13299) + +2012-12-31 Martin Rudalics + + * window.el (window-resizable--p): Rename to window-resizable-p. + (window-resize-no-error): New function. + + * mail/rmail.el (rmail-maybe-display-summary): Restore behavior + broken in fix from 2012-12-28. + +2012-12-31 Stefan Monnier + + * subr.el (special-form-p): Don't signal errors on undef aliases. + +2012-12-31 Jay Belanger + + * calc/calc-forms.el (math-parse-date): Try using + `math-parse-iso-date' when it looks like it might be needed. + Allow times of 24:00. + (math-parse-date-validate, math-parse-iso-date-validate): Allow times + of 24:00. + +2012-12-30 Glenn Morris + + * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary): + Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294) + (rmail-summary-displayed, rmail-summary): Declare. + (mairix-rmail-display): Just require rmail. + +2012-12-30 Chong Yidong + + * emacs-lisp/package.el (package-untar-buffer): Improve integrity + check for the tarball contents. + +2012-12-30 Matt Fidler (tiny change) + + * emacs-lisp/package.el (package-untar-buffer): Handle problematic + tarfile content listings (Bug#13136). + +2012-12-30 Mark Lillibridge + + * mail/rmailmm.el (rmail-insert-mime-forwarded-message): + Insert the undecoded text of the message being forwarded. (Bug#9521) + +2012-12-30 Michael Albinus + + * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to + integers, if they are real numbers. (Bug#13282) + + * net/tramp-sh.el (tramp-sh-handle-set-file-selinux-context): + Return `t' on success. + + * net/tramp-smb.el (tramp-smb-file-name-handler-alist): + Add handler for `set-file-selinux-context'. + +2012-12-29 Michael Albinus + + * net/tramp-sh.el (tramp-sh-handle-file-acl): Suppress basic attributes. + (tramp-sh-handle-set-file-acl): Return `t' on success. + +2012-12-29 Eli Zaretskii + + * files.el (backup-buffer-copy, basic-save-buffer-2): + If set-file-extended-attributes fails, fall back on set-file-modes + instead of signaling an error. (Bug#13298) + (basic-save-buffer): Likewise. + +2012-12-29 Fabián Ezequiel Gallina + + * progmodes/python.el: Support other commands triggering + python-indent-line so indentation cycling continues to work. + (python-indent-trigger-commands): New defcustom. + (python-indent-line): Use it. + +2012-12-29 Fabián Ezequiel Gallina + + * progmodes/python.el (python-shell-send-region): Add blank lines + for non sent code so backtraces remain correct. + +2012-12-29 Fabián Ezequiel Gallina + + * progmodes/python.el: Remove cl dependency. + (python-syntax-count-quotes): Replace incf call. + (python-fill-string): Replace setf call. + +2012-12-29 Damien Cassou + + * info.el (info-other-window): New arg, for consistency with info. + +2012-12-28 Martin Rudalics + + * mail/rmail.el (rmail-maybe-display-summary): + Rewrite (Bug#13066). + +2012-12-28 Andreas Schwab + + * epg.el (epg--start): Modify process-environment locally. + +2012-12-28 Daiki Ueno + + * epg.el: Support pinentry-curses. + Suggested by Werner Koch in + . + (epg-agent-file, epg-agent-mtime): New variable. + (epg--start): Record the modified time of gpg-agent socket file, + to restore Emacs frame after pinentry-curses termination. + (epg-wait-for-completion): Restore Emacs frame here. + +2012-12-27 Juri Linkov + + * info.el (Info-file-completions): New variable. + (Info-read-node-name-1): Complete node names in the Info file + when a file name is given. Call `Info-build-node-completions' + with a file name. + (Info-build-node-completions): Add new arg `file'. When it is + non-nil, visit it in a temporary buffer and cache its completions in + `Info-current-file-completions'. Move most of the function body to + `Info-build-node-completions-1'. + (Info-build-node-completions-1): New function with the body from + `Info-build-node-completions'. (Bug#12456) + +2012-12-27 Juri Linkov + + * frame.el (frame-maximization-style): Remove user option. + (cycle-frame-maximized): Remove function. + (toggle-frame-maximized): Rewrite and bind to M-. + (toggle-frame-fullscreen): New command bound to instead of + `toggle-frame-maximized'. + http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00703.html + +2012-12-27 Michael Albinus + + * net/tramp.el (tramp-handle-file-accessible-directory-p): New defun. + + * net/tramp-adb.el (tramp-adb-file-name-handler-alist): + * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): + * net/tramp-sh.el (tramp-sh-file-name-handler-alist): Add handler + for `file-accessible-directory-p'. (Bug#13275) + +2012-12-27 Sam Steingold + + * progmodes/cperl-mode.el (cperl-calculate-indent): Do not stagger + continuations, see . + +2012-12-27 Dmitry Gutov + + * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class", + "module" and "def" to have indentation before them. + Regression from 2012-09-07T04:15:56Z!dgutov@yandex.ru (see the new test). + + * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200). + +2012-12-27 Alan Mackenzie + + Speed up fontification where there's large brace blocks. + * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit + to a call of c-beginning-of-decl-1. + +2012-12-27 Vitalie Spinu (tiny change) + + * comint.el (comint-adjust-window-point): New function. + (comint-postoutput-scroll-to-bottom): + Call comint-adjust-window-point (Bug#13248). + +2012-12-26 Dmitry Gutov + + * progmodes/ruby-mode.el (auto-mode-alist): `purecopy' the + Rakefile regexp. + (auto-mode-alist): Associate .gemspec files with ruby-mode + (https://bugs.ruby-lang.org/issues/5453). + +2012-12-26 Jürgen Hötzel + + * net/tramp-adb.el (tramp-adb-get-ls-command): New defun. + Suppress coloring, if possible (required for BusyBox based systems like + CyanogenMod). + (tramp-adb-handle-file-attributes) + (tramp-adb-handle-insert-directory) + (tramp-adb-handle-file-name-all-completions): Use it. + (tramp-adb-get-toolbox): New defun. Check for remote shell + implementation (BusyBox or Toolbox). + +2012-12-24 Constantin Kulikov (tiny change) + + * startup.el (initial-buffer-choice): Allow function as value + (Bug#13251). + (command-line-1): Handle case where initial-buffer-choice + specifies a function. + * server.el (server-execute): Handle case where + initial-buffer-choice specifies a function. + +2012-12-24 Lars Ingebrigtsen + + * mail/smtpmail.el (smtpmail-try-auth-method): Refactored out into + its own function. + (smtpmail-try-auth-methods): Forget the user name/password if the + login is unsuccessful (bug#12424). + +2012-12-22 Michael Albinus + + * notifications.el (notifications-notify): Protect body with + `with-demoted-errors'. + + * net/tramp-adb.el (tramp-adb-maybe-open-connection): + Check properties of remote device. Restart connection, if there is a + change. + +2012-12-21 Chong Yidong + + * sort.el (sort-subr): Doc fix (Bug#13056). + +2012-12-21 Bastien Guerry + + * progmodes/etags.el (tags-search): Fix typo. Bug #13232. + +2012-12-21 Michael Albinus + + * simple.el (process-file): Overwrite stderr file, if exists. + +2012-12-21 Daiki Ueno + + * epg.el (epg--start): Print GPG_AGENT_INFO in the debug buffer. + (epg-error): Set `error-message' property. + +2012-12-21 Chong Yidong + + * international/mule-cmds.el (read-char-by-name): Signal an error + if the user does not supply a valid character (Bug#13177). + + * simple.el (transpose-subr-1): Preserve marker positions by + changing the insertion sequence (Bug#13122). + +2012-12-21 Kelly Dean (tiny change) + + * simple.el (kill-region): Deactivate mark even for empty regions + (Bug#13169). + +2012-12-21 Chong Yidong + + * help-fns.el (describe-variable): Make sure we get the right + buffer name (Bug#13105). Suggested by Kelly Dean. + +2012-12-20 Michael R. Mauger + + * comint.el (comint-redirect-previous-input-string): New variable. + (comint-redirect-setup, comint-redirect-cleanup) + (comint-redirect-preoutput-filter): Use it. Fixes redirection bug. + (comint-redirect-preoutput-filter): Fix verbose message. + +2012-12-20 Michael Albinus + + * progmodes/grep.el (rgrep): Escape command line. Sometimes, it + is too long for Tramp. See discussion in + . + + * progmodes/compile.el (compilation-start): Remove line escape + template. + +2012-12-20 Dmitry Antipov + + * vc/ediff-ptch.el (ediff-map-patch-buffer): Use `point-min-marker'. + Adjust comment. + +2012-12-19 Jonas Bernoulli + + * emacs-lisp/lisp-mnt.el (lm-section-end): Always end before the + following non-comment text (bug#13207). + (lm-header-multiline): Continuation lines need to be indented more than + the first line. + (lm-homepage): New function. + (lm-with-file): Don't be confused if narrowing is in effect. + +2012-12-19 Stefan Monnier + + * vc/diff-mode.el (diff-post-command-hook): Don't ignore changes at the + very beginning of a hunk (e.g. killing the first line). + +2012-12-19 Michael Albinus + + * net/tramp-sh.el (tramp-sh-handle-file-acl): Delete empty lines + and text properties from returned ACL string. + (tramp-sh-handle-set-file-acl): Do not use additional parentheses + for "setfacl" command. + +2012-12-18 Michael Albinus + + * net/tramp.el (tramp-error-with-buffer): Give a hint to use + `tramp-cleanup-this-connection', when the process has died. + (Bug#13151) + +2012-12-17 Stefan Monnier + + * icomplete.el (icomplete-completions): Also use … to truncate prefix. + +2012-12-17 Kevin Ryde + + * files.el (auto-save-file-name-p): Use \` and \' (bug#13186). + +2012-12-17 Michael Albinus + + Add support for preserving ACL entries of files. + + * net/tramp.el (tramp-file-name-for-operation): Add `file-acl' and + `set-file-acl' handlers. + + * net/tramp-adb.el (tramp-adb-handle-copy-file): + Handle PRESERVE-EXTENDED-ATTRIBUTES. + + * net/tramp-compat.el (tramp-compat-copy-file): + Handle PRESERVE-EXTENDED-ATTRIBUTES. + + * net/tramp-gvfs.el (tramp-gvfs-file-name-handler-alist): + Add `file-acl' and `set-file-acl' handlers. + (tramp-gvfs-handle-copy-file): + Handle PRESERVE-EXTENDED-ATTRIBUTES. + (tramp-gvfs-handle-file-acl, tramp-gvfs-handle-set-file-acl): + New defuns. + + * net/tramp-sh.el (tramp-sh-file-name-handler-alist): + Add `file-acl' and `set-file-acl' handlers. + (tramp-remote-acl-p, tramp-sh-handle-file-acl) + (tramp-sh-handle-set-file-acl): New defuns. + (tramp-sh-handle-copy-file, tramp-do-copy-or-rename-file): + Handle PRESERVE-EXTENDED-ATTRIBUTES. + + * net/tramp-smb.el (tramp-smb-file-name-handler-alist): + Add `file-acl' and `set-file-acl' handlers. + (tramp-smb-handle-copy-file): Handle PRESERVE-EXTENDED-ATTRIBUTES. + +2012-12-17 Kelly Dean (tiny change) + + * help-macro.el (make-help-screen): Instead of switch-to-buffer + use pop-to-buffer with NORECORD argument t. As buffer name, use + *Metahelp* with a leading space (Bug#13190). + +2012-12-16 Romain Francoise + + * files.el (file-extended-attributes) + (set-file-extended-attributes): New functions. + (backup-buffer): Use them to handle both SELinux context and ACL + entries. + (backup-buffer-copy): Work with an alist of extended attributes, + rather than an SELinux context. + (basic-save-buffer-2): Ditto. + +2012-12-16 Timo Myyrä + + * battery.el (battery-bsd-apm): New function. + +2012-12-16 Jay Belanger + + * calc/calc.el (calc-standard-date-formats): Adjust one of the + standard date formats. + +2012-12-15 Juri Linkov + + * isearch.el (isearch-mode-map): Bind `C-x 8 RET' to + `isearch-insert-char-by-name'. + (with-isearch-suspended): New defmacro with body mostly from + `isearch-edit-string' except the part that sets + `isearch-new-string' and `isearch-new-message'. + (isearch-edit-string): Use new macro `with-isearch-suspended' with + body that sets `isearch-new-string' and `isearch-new-message'. + (isearch-insert-char-by-name): New command. + * international/mule-cmds.el (read-char-by-name): Let-bind + `enable-recursive-minibuffers' to t. + http://lists.gnu.org/archive/html/emacs-devel/2012-12/msg00234.html + +2012-12-15 Juri Linkov + + * isearch.el (isearch-delete-char, isearch-del-char): Doc fix. + (Bug#13175) + +2012-12-15 Christopher Schmidt + + * dired-x.el (dired-guess-shell-command): Put colon at the end of + the prompt. (Bug#13045) + +2012-12-14 Glenn Morris + + * emacs-lisp/macroexp.el (macroexp--warn-and-return): + Try to include filename in non-bytecomp warning. (Bug#13132) + +2012-12-14 Paul Eggert + + Fix permissions bugs with setgid directories etc. (Bug#13125) + * files.el (backup-buffer): Don't rely on 9th output of + file-attributes, as it's now a placeholder. Instead, use the new + optional arg of file-ownership-preserved-p. + (file-ownership-preserved-p): New optional arg GROUP. + Fix mishandling of setuid directories that would cause this + function to return t when it should have returned nil. + Document what happens if the file does not exist, and when + it's not known whether the ownership will be preserved. + * net/tramp-sh.el (tramp-sh-handle-file-ownership-preserved-p): + Likewise. + (tramp-get-local-gid): Use group-gid for integer, as that's + faster and more reliable. + +2012-12-14 Julien Danjou + + * progmodes/sql.el (sql-mode-postgres-font-lock-keywords): + Update keywords list, data type and PL/pgSQL. + +2012-12-14 Dave Abrahams + + * vc/ediff-util.el (ediff-buffer-type): New function. + (ediff-clone-buffer-for-current-diff-comparison): Compute the buf-type + rather than taking it as as argument. + (ediff-inferior-compare-regions): Adjust calls accordingly (bug#11319). + +2012-12-14 Ryan Crum + + * json.el: Add pretty-print option (bug#12634). + (json-encoding-separator, json-encoding-default-indentation) + (json--encoding-current-indentation, json-encoding-pretty-print) + (json-encoding-lisp-style-closings): New vars. + (json--with-indentation): New macro. + (json-encode-hash-table, json-encode-alist, json-encode-plist) + (json-encode-array): Use it to obey json-encoding-pretty-print. + (json-pretty-print-buffer, json-pretty-print): New commands. + +2012-12-14 Dmitry Gutov + + * progmodes/ruby-mode.el (ruby-syntax-propertize-function): + Extract `ruby-syntax-propertize-expansions'. + (ruby-syntax-propertize-expansions): Only change syntax on + certain string delimiters, to punctuation. This way the common + functions like forward-word and thing-at-point still work. + (ruby-match-expression-expansion): Improve readability. + (ruby-block-contains-point): New function. + (ruby-add-log-current-method): Handle several edge cases. + +2012-12-13 Juanma Barranquero + + * emacs-lisp/edebug.el (edebug-unload-function): Make sure that + unload-feature finishes even when aborting an ongoing edebug session. + Also, do not worry about edebug-mode, unload-feature takes care of it. + +2012-12-13 Andreas Schwab + + * net/tls.el (tls-program): Update customize type. + +2012-12-13 Juanma Barranquero + + * emacs-lisp/edebug.el (edebug--require-cl-read): New function. + (edebug-setup-hook, cl-read-load-hooks): Use it. + (edebug-unload-function): New function. (Bug#13163) + +2012-12-13 Michael Albinus + + * net/tramp-adb.el (tramp-adb-file-name-p): Make it a defsubst. + Otherwise, there could be errors in autoloading. (Bug#13151) + +2012-12-13 Jürgen Hötzel + + * net/tramp-adb.el (tramp-adb-wait-for-output): Remove spurious " ^H" + sequences. + +2012-12-13 Alan Mackenzie + + Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841. + * progmodes/cc-engine.el (c-backward-comments): Add code to work + around `forward-comment' not recognizing ^M as whitespace. + +2012-12-13 Fabián Ezequiel Gallina + + * progmodes/python.el (python-skeleton-class) + (python-skeleton-def): Do not add space after defun name. + +2012-12-13 Stefan Monnier + + * emacs-lisp/cl.el (letf): Make it an alias of cl-letf. + (cl--symbol-function): Remove (now that funbound is like nil). + +2012-12-12 Glenn Morris + + * button.el (button--area-button-p): Fix typo. + +2012-12-12 Sam Steingold + + * frame.el (frame-maximization-style): New user option. + (toggle-frame-maximized): Toggle frame maximization according to + `frame-maximization-style', bound to . + (cycle-frame-maximized): Cycle between all maximization styles and + non-maximized frame, bound to shift-. + +2012-12-12 David Cadé + + * mpc.el (mpc-format): Use truncate-string-to-width (bug#13143). + +2012-12-12 Jonas Bernoulli + + * lisp/emacs-lisp/eieio.el: Prettier object pretty-printing (bug#13115). + (eieio-override-prin1): Don't quote kewords and booleans. + (object-write) : Don't put closing parens + on new line, avoid needless empty lines, align values that are objects + with the slot keyword (instead of beginning on the same line). + (eieio-list-prin1): Align value with slot keyword; increase + eieio-print-depth before printing members of the list. + +2012-12-11 Stefan Monnier + + * mail/emacsbug.el (report-emacs-bug): Move the intangible text to + a display text-property. + (report-emacs-bug-hook): Don't bother deleting it any more. + + * hilit-chg.el (highlight-save-buffer-state): Delete. + Use with-silent-modifications instead. + (hilit-chg-set-face-on-change): Only fixup the text that's modified. + + * button.el: Handle buttons in display text-properties. + (button--area-button-p, button--area-button-string): + Use (STRING . STRING-POS) representation instead of just STRING. + +2012-12-11 Eli Zaretskii + + * makefile.w32-in (compile4-SH): Fix a typo that caused term + subdirectory be skipped. + +2012-12-11 Glenn Morris + + * net/rcirc.el (rcirc-urls, rcirc-condition-filter): Doc fixes. + + * progmodes/f90.el (f90-line-continued, f90-indent-region): + Treat preprocessor lines embedded in continuations like comments. + (f90-indent-line): Special-case preprocessor lines. (Bug#13138) + +2012-12-11 Jay Belanger + + * calc/calc.el (calc-standard-date-formats): Add more date + formats. + * calc/calc-forms.el (math-parse-iso-date): New function. + (math-parse-date): Use `math-parse-iso-date' when appropriate. + (math-parse-iso-date-validate): Add extra error checking. + (calc-date-notation): Add ability to access new date formats. + +2012-12-10 Stefan Monnier + + * hi-lock.el (hi-lock--regexps-at-point): Fix boundary case for + font-lock as well as when there's no text-property. + +2012-12-10 Jambunathan K + + * hi-lock.el: Refine the choice of default face. + (hi-lock-keyword->face): New function. Use it wherever we used + cadadadr instead. + (hi-lock--regexps-at-point): Ignore faces that can't come from hi-lock. + (hi-lock--last-face): Remove var. + (hi-lock--unused-faces): New var to replace it. + (hi-lock-read-face-name): Use/maintain it. + (hi-lock-unface-buffer): Maintain it. Fix error for the C-u case. + (hi-lock-set-pattern): Ignore new rule if it has the same regexp even + if it has another face. + +2012-12-10 Eli Zaretskii + + * subr.el (w32notify-handle-event): New function. + (inotify-handle-event): Doc fix. + +2012-12-10 Rüdiger Sonderfeld + + * subr.el (inotify-event-p, inotify-handle-event): New functions. + +2012-12-10 Dani Moncayo + + * simple.el (just-one-space): Doc fix. + +2012-12-10 Eli Zaretskii + + * textmodes/texinfo.el (texinfo-enable-quote-envs): Add "smallexample". + +2012-12-10 Le Wang + + * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in + narrowed buffer (bug#12361). + +2012-12-10 Juanma Barranquero + + * vc/vc-hooks.el (vc-state): Doc fix. + +2012-12-10 Glenn Morris + + * mail/rmail.el (rmail-maybe-display-summary): + Preserve buffer, in case select-window changes it. (Bug#13066) + +2012-12-10 Stefan Monnier + + * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and + cl-load-hook where they belong. + +2012-12-10 Stefan Monnier + + * emacs-lisp/cl-lib.el (cl-declaim): Paren typo. + +2012-12-09 Eli Zaretskii + + Parallelize byte compilation on MS-Windows. + * makefile.w32-in (WINS_BASIC1, WINS_BASIC2, WINS_BASIC3) + (WINS_BASIC4): New variables, subdivide subdirectories into 4 parts. + (WINS_BASIC): Define as concatenation of the above. + (compile): Subdivide into 4 separate and independent jobs that can + be run in parallel. + (compile0-CMD, compile0-SH): New targets for compiling + COMPILE_FIRST files, which are prerequisites for the rest of the + byte-compilation. + (compile1-CMD, compile2-CMD, compile3-CMD, compile4-CMD): + New targets for parallel compilation with cmd.exe. + (compile1-SH, compile2-SH, compile3-SH, compile4-SH): Ditto for + compiling under a Unixy shell. + +2012-12-09 Chong Yidong + + * simple.el (set-mark-default-inactive): Delete this + accidentally-introduced option. + (set-mark-command, exchange-point-and-mark): Remove calls. + +2012-12-09 Glenn Morris + + * emacs-lisp/lisp-mode.el (eval-defun-1): Doc fix. + Respect a defcustom's :set function, if appropriate. (Bug#109) + (eval-defun): Doc fix. + +2012-12-08 Juri Linkov + + * info.el (Info-copy-current-node-name, Info-breadcrumbs) + (Info-fontify-node, Info-bookmark-make-record): Remove the + file extension from Info-current-file (Bug#13016). + +2012-12-07 Stefan Monnier + + * hi-lock.el (hi-lock-unface-buffer): If there's no matching regexp at + point, still provide some default. + (hi-lock--regexps-at-point): Don't enforce a "hi-lock-" prefix on face + names, since we don't use it right now. Actually return the list. + (hi-lock-file-patterns, hi-lock-interactive-patterns): Use defvar-local. + +2012-12-07 Chong Yidong + + * novice.el (disabled-command-function): Remove a spurious help + xref (Bug#13043). Suggested by Kelly Dean. + + * subr.el (text-clone-maintain): Fix clone overlay deletion when a + syntax is specified (Bug#13025). + + * info.el (Info-set-mode-line): Remove the file extension from + Info-current-file if there is one (Bug#13016). + +2012-12-07 Glenn Morris + + * mail/rmail.el (rmail-mime-decoded): New permanent local. + (rmail-show-message-1): Set rmail-mime-decoded when appropriate. + * mail/rmailedit.el (rmail-cease-edit): Respect rmail-mbox-format + and rmail-mime-decoded. (Bug#9841) + + * mail/unrmail.el (unrmail-mbox-format): New option. (Bug#6574) + (batch-unrmail, unrmail): Doc fixes. + (unrmail): Respect unrmail-mbox-format. + * mail/rmail.el (rmail-mbox-format): New option. + (rmail-show-message-1): Respect rmail-mbox-format. + +2012-12-07 Stefan Monnier + + * emacs-lisp/cl-macs.el (cl-tagbody): New macro. + +2012-12-06 Stefan Monnier + + Further cleanup of the "cl-" namespace. Fit CL in 80 columns. + * emacs-lisp/cl-macs.el (cl--pop2, cl--optimize-safety) + (cl--optimize-speed, cl--not-toplevel, cl--parse-loop-clause) + (cl--expand-do-loop, cl--proclaim-history, cl--declare-stack) + (cl--do-proclaim, cl--proclaims-deferred): Rename from the "cl-" prefix. + (cl-progv): Don't rely on dynamic scoping to find the body. + * emacs-lisp/cl-lib.el (cl--optimize-speed, cl--optimize-safety) + (cl--proclaims-deferred): Rename from the "cl-" prefix. + (cl-declaim): Use backquotes. + * emacs-lisp/cl-extra.el (cl-make-random-state, cl-random-state-p): + Use "cl--" prefix for the object's tag. + + * ses.el: Use advice-add/remove. + (ses--advice-copy-region-as-kill, ses--advice-yank): New functions. + (copy-region-as-kill, yank): Use advice-add. + (ses-unload-function): Use advice-remove. + +2012-12-06 Jonas Bernoulli + + * button.el: Make them work in header-lines (bug#12817). + (button-map): Add bindings for header-line and mode-line use. + (button-get, button-put, button-label): `button' may now be a string. + (button-activate): Don't make it a defsubst. + (button--area-button-p, button--area-button-string): New functions. + (make-text-button): Fix the return value when `beg' was a string. + (push-button): Handle the mode-line case. + +2012-12-06 Stefan Monnier + + * progmodes/sql.el: Use cl-lib and lexical-binding; various cleanup. + (sql-signum): Remove. Use `cl-signum' instead. + (sql-read-passwd): Remove; use read-passwd instread. + (sql-get-login-ext): Use read-string. + (sql-get-login): Use dolist and pcase. + (sql--completion-table): Rename from sql-try-completion. + Use complete-with-action. + (sql-mode): Don't change abbrev-all-caps globally. + (sql-connect): Don't rely on dynamic scoping for `new-name'. + (sql-postgres-completion-object): Initialize vars in their `let'. + (sql-comint-sybase, sql-comint-sqlite, sql-comint-mysql) + (sql-comint-solid, sql-comint-ms, sql-comint-postgres) + (sql-comint-interbase): Use a single append, without setq. + (sql-comint-linter): Same, and unwind-protect the LINTER_MBX var. + + * hi-lock.el: Rework the default face and the serialize regexp code. + (hi-lock--auto-select-face-defaults): Remove. + (hi-lock-string-serialize-serial): Remove. + (hi-lock--hashcons-hash): Rename from hi-lock-string-serialize-hash; + make weak. + (hi-lock--hashcons): Rename from hi-lock-string-serialize, return an + equal string. + (hi-lock-set-pattern): Adjust accordingly. + (hi-lock--regexps-at-point): Simplify accordingly. + (hi-lock--auto-select-face-defaults): Remove. + (hi-lock--last-face): New var to replace it. + (hi-lock-read-face-name): Rewrite (bug#11095). + (hi-lock-unface-buffer): Arrange for the face to be the next default. + +2012-12-06 Michael Albinus + + * net/tramp.el (tramp-replace-environment-variables): + Hide compiler warning. + (tramp-file-name-for-operation): Remove `executable-find', + `start-process', `call-process' and `call-process-region'. + + * net/tramp-compat.el (top): Don't require 'tramp-util and 'tramp-vc. + + * net/tramp-gvfs.el (tramp-gvfs-dbus-event-error): Ensure backward + compatibility. + + * net/tramp-sh.el (top): Remove `tramp-sh-handle-call-process-region'. + +2012-12-06 Chong Yidong + + * ffap.el (ffap-replace-file-component): Fix typo. + +2012-12-06 Stefan Monnier + + * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and + fix open-paren-like token test (bug#12785). + +2012-12-06 Glenn Morris + + * mail/rmailsum.el (rmail-new-summary): Tweak for + rmail-maybe-display-summary changing buffer. (Bug#13066) + +2012-12-06 Juri Linkov + + * info.el (Info-fontify-node): Don't hide the last newline. + (Bug#12272) + +2012-12-06 Katsumi Yamaoka + + * mail/mailabbrev.el (mail-abbrev-expand-wrapper): Work in minibuffer + so as to enable message-read-from-minibuffer to expand mail aliases. + +2012-12-06 Stefan Monnier + + * minibuf-eldef.el (minibuf-eldef-update-minibuffer): Don't mess with + the `intangible' property. + Suggested by Christopher Schmidt + +2012-12-05 Deniz Dogan + + * net/rcirc.el (rcirc-urls): Update documentation. + (rcirc-condition-filter): New function. + (rcirc-browse-url, rcirc-markup-urls): Use only URLs before point + and exclude consecutive duplicate URLs (Bug#6082). + +2012-12-05 Michael Albinus + + * net/tramp-sh.el (tramp-do-copy-or-rename-file-out-of-band): + Check return code of copy command. + + * net/tramp-adb.el (tramp-adb-sdk-dir, tramp-adb-prompt): + Use group `tramp'. Add version. + +2012-12-05 Chong Yidong + + * ffap.el (ffap-url-regexp): Don't require matching at front of + string (Bug#4952). + (ffap-url-p): If only a substring matches, return that. + (ffap-url-at-point): Use the return value of ffap-url-p. + (ffap-read-file-or-url, ffap-read-file-or-url-internal) + (find-file-at-point, dired-at-point, dired-at-point-prompter) + (ffap-guess-file-name-at-point): Likewise. + (ffap-replace-file-component): Fix typo. + + * info.el (info-display-manual): Add existing Info buffers, whose + files may not be in Info-directory-list, to the completion. + (info--manual-names): New helper function. + +2012-12-05 Glenn Morris + + * vc/vc-hg.el (vc-hg-resolve-when-done, vc-hg-find-file-hook): + New functions, for detecting and resolving conflicts. (Bug#10709) + +2012-12-04 Jambunathan K + + * hi-lock.el (hi-lock-auto-select-face): New user variable. + (hi-lock-auto-select-face-defaults): New buffer local variable. + (hi-lock-read-face-name): Honor `hi-lock-auto-select-face'. + (hi-lock-unface-buffer): Prompt user with useful defaults. + With prefix arg, unhighlight all hi-lock patterns in buffer. + +2012-12-04 Stefan Monnier + + * obsolete/terminal.el, obsolete/longlines.el: Add obsolecence info. + +2012-12-04 Michael Albinus + + * Makefile.in (TRAMP_SRC): + * makefile.w32-in (TRAMP_SRC): Add tramp-adb.el. - * emacs-lisp/byte-run.el (defun): Place cl declarations - after any interactive spec. (Bug#13265) +2012-12-04 Juergen Hoetzel -2012-12-31 Andreas Schwab + * net/tramp-adb.el: New package. - * emacs-lisp/byte-run.el (defmacro): Use same argument parsing as - defun. Don't check for DECL if DOCSTRING isn't a string. - (defun): Likewise. +2012-12-04 Chong Yidong -2012-12-31 Glenn Morris + * terminal.el: Move to obsolete/. - * eshell/em-cmpl.el (eshell-pcomplete): - More thoroughly imitate pcomplete. (Bug#13293) + * longlines.el: Move to obsolete/. - * files.el (parse-colon-path): Doc fix. (Bug#12351) - Return nil for empty path elements. (Bug#13296) + * vc/ediff-diff.el (ediff-extract-diffs, ediff-extract-diffs3): + Remove code referring to longlines mode. -2012-12-31 Fabián Ezequiel Gallina +2012-12-03 Juri Linkov - * progmodes/python.el (python-nav-end-of-statement): Rewrite in - order to improve efficiency (Based on Daniel Colascione's - patch). (Bug#13182) + * sort.el (delete-duplicate-lines): New command. (Bug#13032) -2012-12-31 Glenn Morris +2012-12-03 Agustín Martín Domingo - * vc/log-edit.el (log-edit-header-contents-regexp): Add doc string. + * textmodes/ispell.el (ispell-init-process) + (ispell-start-process, ispell-internal-change-dictionary): + Make sure personal dictionary name is expanded after initial + `default-directory' value. Use expanded strings for + keep/restart checks and for value (Bug#13019). -2012-12-31 Fabián Ezequiel Gallina +2012-12-03 Jay Belanger - * progmodes/python.el: Support other commands triggering - python-indent-line so indentation cycling continues to work. - (python-indent-trigger-commands): New defcustom. - (python-indent-line): Use it. + * calc/calc-forms.el (math-date-to-iso-dt): Fix weekday number. -2012-12-31 Fabián Ezequiel Gallina +2012-12-03 Leo Liu - * progmodes/python.el (python-shell-send-region): Add blank lines - for non sent code so backtraces remain correct. + * files.el (dir-locals-read-from-file): Check file non-empty + before reading. (Bug#13038) -2012-12-31 Andreas Schwab +2012-12-03 Glenn Morris - * emacs-lisp/byte-run.el (defmacro): Don't lose final nil if - neither DOCSTRING nor DECL was given. (Bug#13316) + * jka-cmpr-hook.el (jka-compr-get-compression-info): + Remove any version extension before checking filename. (Bug#13006) + (jka-compr-compression-info-list): Belated :version bump. -2012-12-30 Glenn Morris +2012-12-03 Chong Yidong - * net/mairix.el (rmail, rmail-summary-displayed, rmail-summary): - Remove unnecessary/buggy autoloads (missing interactive). (Bug#13294) - (rmail-summary-displayed, rmail-summary): Declare. - (mairix-rmail-display): Just require rmail. + * simple.el (transient-mark-mode): Doc fix (Bug#11523). -2012-12-29 Chong Yidong + * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode) + (buffer-menu): Doc fix (Bug#12294). - * emacs-lisp/package.el (package-untar-buffer): Improve integrity - check for the tarball contents. +2012-12-03 Roland Winkler -2012-12-29 Matt Fidler (tiny change) + * calendar/diary-lib.el (diary-header-line-format): Use keybinding + of diary-show-all-entries in the diary buffer (Bug#12994). - * emacs-lisp/package.el (package-untar-buffer): Handle problematic - tarfile content listings (Bug#13136). +2012-12-03 Michael Albinus -2012-12-29 Mark Lillibridge + * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of + "". This is binary safe. - * mail/rmailmm.el (rmail-insert-mime-forwarded-message): - Insert the undecoded text of the message being forwarded. (Bug#9521) +2012-12-03 Jay Belanger -2012-12-28 Michael Albinus + * calc/calc-forms.el (math-absolute-from-iso-dt) + (math-date-to-iso-dt, math-parse-iso-date-validate) + (math-iso-dt-to-date): New functions. + (math-fd-iso-dt, math-fd-isoyear, math-fd-isoweek) + (math-fd-isoweekday): New variables. + (calc-date-notation, math-parse-standard-date, math-format-date) + (math-format-date-part): Add support for more formatting codes. - * net/tramp-sh.el (tramp-set-file-uid-gid): Convert UID and GID to - integers, if they are real numbers. (Bug#13282) +2012-12-02 Dmitry Gutov -2012-12-26 Dmitry Gutov + * vc/vc.el (vc-delete-file, vc-rename-file): Default to the + current buffer's file name when called interactively (Bug#12488). - * progmodes/ruby-mode.el (ruby-indent-beg-re): Only allow "class", - "module" and "def" to have indentation before them. - Regression from 109911 (see the new test). +2012-12-02 Juri Linkov -2012-12-24 Dmitry Gutov + * info.el (info-display-manual): Don't clobber an existing Info + buffer (Bug#10770). Add completion (Bug#10771). - * progmodes/ruby-mode.el: Bump the version to 1.2 (Bug#13200). +2012-12-01 Yuya Nishihara (tiny change) -2012-12-23 Alan Mackenzie + * vc/vc-hooks.el (vc-find-file-hook): Expand buffer-file-truename + before using it for comparison (Bug#5297). - Speed up fontification where there's large brace blocks. - * progmodes/cc-fonts.el (c-font-lock-enclosing-decls): Add a limit - to a call of c-beginning-of-decl-1. +2012-12-01 Jari Aalto -2012-12-21 Chong Yidong + * textmodes/css-mode.el (css-current-defun-name): New function. + (css-mode): Use it. - * sort.el (sort-subr): Doc fix (Bug#13056). + * textmodes/sgml-mode.el (html-current-defun-name): New function. + (html-mode): Use it. -2012-12-20 Bastien Guerry +2012-12-01 Chong Yidong - * progmodes/etags.el (tags-search): Fix typo. Bug #13232. + Modularize add-log-current-defun (Bug#2224). + Suggested by Jari Aalto. -2012-12-11 Alan Mackenzie + * vc/add-log.el (add-log-current-defun-function): Doc fix. + (add-log-current-defun): Move mode-specific code to other files. + (add-log-lisp-like-modes, add-log-c-like-modes) + (add-log-tex-like-modes): Variables deleted. - Make CC Mode not hang when _some_ lines end in CRLF. Bug #11841. - * progmodes/cc-engine.el (c-backward-comments): Add code to work - around `forward-comment' not recognizing ^M as whitespace. + * emacs-lisp/lisp-mode.el (lisp-current-defun-name): New. + (lisp-mode-variables): Use it. -2012-12-11 Fabián Ezequiel Gallina + * progmodes/cc-mode.el (c-common-init): + * progmodes/cperl-mode.el (cperl-mode): Set a value for + add-log-current-defun-function. - * progmodes/python.el (python-skeleton-class) - (python-skeleton-def): Do not add space after defun name. + * progmodes/m4-mode.el (m4-current-defun-name): New function. + (m4-mode): Use it. -2012-12-09 Chong Yidong + * progmodes/perl-mode.el (perl-current-defun-name): New. + (perl-mode): Use it. - * simple.el (set-mark-default-inactive): Mark as obsolete, for - removal after 24.3. + * progmodes/scheme.el (scheme-mode-variables, dsssl-mode): + Use lisp-current-defun-name. -2012-12-08 Dani Moncayo + * textmodes/tex-mode.el (tex-current-defun-name): New. + (tex-common-initialization): Use it. - * simple.el (just-one-space): Doc fix. + * textmodes/texinfo.el (texinfo-current-defun-name): New. + (texinfo-mode): Use it. -2012-12-07 Eli Zaretskii +2012-12-01 Chong Yidong - * textmodes/texinfo.el (texinfo-enable-quote-envs): - Add "smallexample". + * emacs-lisp/lisp-mode.el (lisp-mode-variables, lisp-mode): + * progmodes/autoconf.el (autoconf-mode): + * progmodes/js.el (js-mode): + * progmodes/make-mode.el (makefile-mode, makefile-makepp-mode) + (makefile-bsdmake-mode, makefile-imake-mode, makefile-browse): + * progmodes/perl-mode.el (perl-mode): + * progmodes/sh-script.el (sh-mode, sh-set-shell): + * textmodes/css-mode.el (css-mode): + * textmodes/sgml-mode.el (html-mode, sgml-mode) + (sgml-tags-invisible, sgml-guess-indent): + * textmodes/tex-mode.el (tex-common-initialization) + (latex-complete-bibtex-keys, tex-shell, tex-main-file) + (doctex-mode, plain-tex-mode, latex-mode): + * textmodes/texinfo.el (texinfo-mode): Use setq-local. -2012-12-07 Le Wang +2012-12-01 Kirk Kelsey - * hilit-chg.el (hilit-chg-set-face-on-change): Don't burp in - narrowed buffer (bug#12361). + * vc/vc-hg.el (vc-hg-next-revision): + Ensure use of default "tip" output format. (Bug#6968) -2012-12-07 Michael Heerdegen +2012-12-01 Kim F. Storm - * emacs-lisp/debug.el (debug): Fix hard-coded frame counts (bug#10025). - Virtually backported from trunk. + * startup.el (fancy-startup-tail): Add a clickable link + (Bug#2176). -2012-12-07 Juanma Barranquero +2012-12-01 Chong Yidong - * vc/vc-hooks.el (vc-state): Doc fix. + * startup.el (fancy-startup-tail): Improve the message about + auto-save files (Bug#2176). -2012-12-06 Glenn Morris + * files.el (recover-session): Improve the descriptive message, and + use substitute-command-keys. - * mail/rmail.el (rmail-maybe-display-summary): - Preserve buffer, in case select-window changes it. (Bug#13066) +2012-12-01 Glenn Morris -2012-12-06 Stefan Monnier + * ido.el (ido-file-internal): + Handle other-window, other-frame for dired. (Bug#13036) - * emacs-lisp/cl.el, emacs-lisp/cl-lib.el: Move cl-unload-function and - cl-load-hook where they belong. +2012-11-30 Glenn Morris -2012-12-06 Chong Yidong + * icomplete.el (icomplete-separator): Fix :version. - * ffap.el (ffap-replace-file-component): Fix typo. +2012-11-30 Chong Yidong -2012-12-05 Stefan Monnier + * shell.el (shell): For C-u M-x shell, use an inactive shell + buffer as the default (Bug#1975). + (shell-apply-ansi-color, shell-reapply-ansi-color): New functions. + (shell-mode): Use them to reapply ansi colorization if Shell mode + is re-enabled. - * progmodes/octave-mod.el (octave-mark-block): Move out of tokens and - fix open-paren-like token test (bug#12785). +2012-11-30 Yuriy Vostrikov (tiny change) -2012-12-04 Glenn Morris + * vc/vc-git.el (vc-git-command): Disable the pager (Bug#6137). - * mail/rmailsum.el (rmail-new-summary): Tweak for - rmail-maybe-display-summary changing buffer. (Bug#13066) +2012-11-30 Samuel Bronson -2012-12-03 Juri Linkov + * progmodes/grep.el (grep-compute-defaults): Do not pass the -e + flag to xargs, for compatibility with BSD xargs (Bug#11703). - * info.el (Info-fontify-node): Don't hide the last newline. - (Bug#12272) +2012-11-30 Toru TSUNEYOSHI -2012-12-01 Leo Liu + * textmodes/fill.el (fill-region-as-paragraph): Handle overshoot + by move-to-column (Bug#3234). - * files.el (dir-locals-read-from-file): Check file non-empty - before reading. (Bug#13038) +2012-11-30 Chong Yidong -2012-11-28 Glenn Morris + * longlines.el (longlines-wrap-line, longlines-encode-region): + Preserve text properties (Bug#1425). - * jka-cmpr-hook.el (jka-compr-get-compression-info): - Remove any version extension before checking filename. (Bug#13006) - (jka-compr-compression-info-list): Belated :version bump. +2012-11-30 OKAZAKI Tetsurou (tiny change) -2012-11-28 Chong Yidong + * vc/vc.el (vc-register): Allow registering a file which is + already registered with a different backend (Bug#10589). - * simple.el (transient-mark-mode): Doc fix (Bug#11523). +2012-11-29 Jambunathan K + Stefan Monnier - * buff-menu.el (Buffer-menu-delete-backwards, Buffer-menu-mode) - (buffer-menu): Doc fix (Bug#12294). + * icomplete.el: Change separator; add ido-style commands. + (icomplete-show-key-bindings): Remove custom var. + (icomplete-get-keys): Remove function. + (icomplete-forward-completions, icomplete-backward-completions): + New commands. + (icomplete-minibuffer-map): New var. + (icomplete-minibuffer-setup): Use it. + (icomplete-exhibit): Don't delay if the list of completions is known. + (icomplete-separator): New custom. + (icomplete-completions): Use it. + * minibuffer.el (completion-all-sorted-completions): Delete duplicates. + (minibuffer-force-complete-and-exit): New command. + (minibuffer--complete-and-exit): New function extracted from + minibuffer-complete-and-exit. + (minibuffer-complete-and-exit): Use it. + + * progmodes/etags.el (visit-tags-table-buffer): Give a more precise + error message when the file doesn't exist (bug#12974). + +2012-11-29 Kelly Dean (tiny change) + + * simple.el (activate-mark): Run activate-mark-hook (bug#13027). + +2012-11-29 Glenn Morris + + * files.el (hack-dir-local-variables): Warn if try to set + coding via dir-locals, since it doesn't work. (Bug#7169) + + Add desktop support for restoring vc-dir buffers. (Bug#10606) + * vc/vc-dir.el (vc-dir-mode): Autoload it (for desktop restore). + Set buffer-local value of desktop-save-buffer. + (vc-dir-desktop-buffer-misc-data, vc-dir-restore-desktop-buffer): + New functions. + (desktop-buffer-mode-handlers): Add vc-dir-mode entry. + * desktop.el (desktop-save-buffer-p): Treat vc-dir like dired. -2012-11-27 Roland Winkler + * files.el (inhibit-local-variables-ignore-case): New. (Bug#10610) + (inhibit-local-variables-p): Use inhibit-local-variables-ignore-case. + Doc fix. + (inhibit-local-variables-regexps, inhibit-local-variables-suffixes): + Doc fixes. - * calendar/diary-lib.el (diary-header-line-format): Use keybinding - of diary-show-all-entries in the diary buffer (Bug#12994). +2012-11-28 Jay Belanger -2012-11-27 Michael Albinus + * calc/calc-forms.el (calc-date-notation): Fix regexp + used to find time codes. Fix symbol for seconds. - * net/tramp-sh.el (tramp-perl-encode): Use "read STDIN" instead of - "". This is binary safe. +2012-11-27 Glenn Morris + + * emacs-lisp/derived.el (derived-mode-make-docstring): + Don't mention "abbrev" or "syntax" if nil. (Bug#11277) 2012-11-27 Stefan Monnier